Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const BigqueryScope + const CloudPlatformScope + type AuditConfig struct + AuditLogConfigs []*AuditLogConfig + ForceSendFields []string + NullFields []string + Service string + func (s *AuditConfig) MarshalJSON() ([]byte, error) + type AuditLogConfig struct + ExemptedMembers []string + ForceSendFields []string + LogType string + NullFields []string + func (s *AuditLogConfig) MarshalJSON() ([]byte, error) + type Binding struct + BindingId string + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type CloudSqlCredential struct + ForceSendFields []string + NullFields []string + Password string + Username string + func (s *CloudSqlCredential) MarshalJSON() ([]byte, error) + type CloudSqlProperties struct + Credential *CloudSqlCredential + Database string + ForceSendFields []string + InstanceId string + NullFields []string + Type string + func (s *CloudSqlProperties) MarshalJSON() ([]byte, error) + type Connection struct + CloudSql *CloudSqlProperties + CreationTime int64 + Description string + ForceSendFields []string + FriendlyName string + HasCredential bool + LastModifiedTime int64 + Name string + NullFields []string + func (s *Connection) MarshalJSON() ([]byte, error) + type ConnectionCredential struct + CloudSql *CloudSqlCredential + ForceSendFields []string + NullFields []string + func (s *ConnectionCredential) MarshalJSON() ([]byte, error) + type Empty struct + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type GetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Options *GetPolicyOptions + func (s *GetIamPolicyRequest) MarshalJSON() ([]byte, error) + type GetPolicyOptions struct + ForceSendFields []string + NullFields []string + RequestedPolicyVersion int64 + func (s *GetPolicyOptions) MarshalJSON() ([]byte, error) + type ListConnectionsResponse struct + Connections []*Connection + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListConnectionsResponse) MarshalJSON() ([]byte, error) + type Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) MarshalJSON() ([]byte, error) + type ProjectsLocationsConnectionsCreateCall struct + func (c *ProjectsLocationsConnectionsCreateCall) ConnectionId(connectionId string) *ProjectsLocationsConnectionsCreateCall + func (c *ProjectsLocationsConnectionsCreateCall) Context(ctx context.Context) *ProjectsLocationsConnectionsCreateCall + func (c *ProjectsLocationsConnectionsCreateCall) Do(opts ...googleapi.CallOption) (*Connection, error) + func (c *ProjectsLocationsConnectionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsCreateCall + func (c *ProjectsLocationsConnectionsCreateCall) Header() http.Header + type ProjectsLocationsConnectionsDeleteCall struct + func (c *ProjectsLocationsConnectionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsConnectionsDeleteCall + func (c *ProjectsLocationsConnectionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsConnectionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsDeleteCall + func (c *ProjectsLocationsConnectionsDeleteCall) Header() http.Header + type ProjectsLocationsConnectionsGetCall struct + func (c *ProjectsLocationsConnectionsGetCall) Context(ctx context.Context) *ProjectsLocationsConnectionsGetCall + func (c *ProjectsLocationsConnectionsGetCall) Do(opts ...googleapi.CallOption) (*Connection, error) + func (c *ProjectsLocationsConnectionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsGetCall + func (c *ProjectsLocationsConnectionsGetCall) Header() http.Header + func (c *ProjectsLocationsConnectionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsGetCall + type ProjectsLocationsConnectionsGetIamPolicyCall struct + func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsConnectionsGetIamPolicyCall + func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsGetIamPolicyCall + func (c *ProjectsLocationsConnectionsGetIamPolicyCall) Header() http.Header + type ProjectsLocationsConnectionsListCall struct + func (c *ProjectsLocationsConnectionsListCall) Context(ctx context.Context) *ProjectsLocationsConnectionsListCall + func (c *ProjectsLocationsConnectionsListCall) Do(opts ...googleapi.CallOption) (*ListConnectionsResponse, error) + func (c *ProjectsLocationsConnectionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsListCall + func (c *ProjectsLocationsConnectionsListCall) Header() http.Header + func (c *ProjectsLocationsConnectionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConnectionsListCall + func (c *ProjectsLocationsConnectionsListCall) MaxResults(maxResults int64) *ProjectsLocationsConnectionsListCall + func (c *ProjectsLocationsConnectionsListCall) PageToken(pageToken string) *ProjectsLocationsConnectionsListCall + func (c *ProjectsLocationsConnectionsListCall) Pages(ctx context.Context, f func(*ListConnectionsResponse) error) error + type ProjectsLocationsConnectionsPatchCall struct + func (c *ProjectsLocationsConnectionsPatchCall) Context(ctx context.Context) *ProjectsLocationsConnectionsPatchCall + func (c *ProjectsLocationsConnectionsPatchCall) Do(opts ...googleapi.CallOption) (*Connection, error) + func (c *ProjectsLocationsConnectionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsPatchCall + func (c *ProjectsLocationsConnectionsPatchCall) Header() http.Header + func (c *ProjectsLocationsConnectionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConnectionsPatchCall + type ProjectsLocationsConnectionsService struct + func NewProjectsLocationsConnectionsService(s *Service) *ProjectsLocationsConnectionsService + func (r *ProjectsLocationsConnectionsService) Create(parent string, connection *Connection) *ProjectsLocationsConnectionsCreateCall + func (r *ProjectsLocationsConnectionsService) Delete(name string) *ProjectsLocationsConnectionsDeleteCall + func (r *ProjectsLocationsConnectionsService) Get(name string) *ProjectsLocationsConnectionsGetCall + func (r *ProjectsLocationsConnectionsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsConnectionsGetIamPolicyCall + func (r *ProjectsLocationsConnectionsService) List(parent string) *ProjectsLocationsConnectionsListCall + func (r *ProjectsLocationsConnectionsService) Patch(name string, connection *Connection) *ProjectsLocationsConnectionsPatchCall + func (r *ProjectsLocationsConnectionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsConnectionsSetIamPolicyCall + func (r *ProjectsLocationsConnectionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsConnectionsTestIamPermissionsCall + func (r *ProjectsLocationsConnectionsService) UpdateCredential(name string, connectioncredential *ConnectionCredential) *ProjectsLocationsConnectionsUpdateCredentialCall + type ProjectsLocationsConnectionsSetIamPolicyCall struct + func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsConnectionsSetIamPolicyCall + func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsSetIamPolicyCall + func (c *ProjectsLocationsConnectionsSetIamPolicyCall) Header() http.Header + type ProjectsLocationsConnectionsTestIamPermissionsCall struct + func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsConnectionsTestIamPermissionsCall + func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsTestIamPermissionsCall + func (c *ProjectsLocationsConnectionsTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsConnectionsUpdateCredentialCall struct + func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Context(ctx context.Context) *ProjectsLocationsConnectionsUpdateCredentialCall + func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Fields(s ...googleapi.Field) *ProjectsLocationsConnectionsUpdateCredentialCall + func (c *ProjectsLocationsConnectionsUpdateCredentialCall) Header() http.Header + type ProjectsLocationsService struct + Connections *ProjectsLocationsConnectionsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Policy *Policy + UpdateMask string + func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsRequest struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsResponse struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error)