Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + 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 + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type CallFunctionRequest struct + Data string + ForceSendFields []string + NullFields []string + func (s *CallFunctionRequest) MarshalJSON() ([]byte, error) + type CallFunctionResponse struct + Error string + ExecutionId string + ForceSendFields []string + NullFields []string + Result string + func (s *CallFunctionResponse) MarshalJSON() ([]byte, error) + type CloudFunction struct + AvailableMemoryMb int64 + BuildEnvironmentVariables map[string]string + BuildId string + Description string + EntryPoint string + EnvironmentVariables map[string]string + EventTrigger *EventTrigger + ForceSendFields []string + HttpsTrigger *HttpsTrigger + IngressSettings string + Labels map[string]string + MaxInstances int64 + Name string + Network string + NullFields []string + Runtime string + ServiceAccountEmail string + SourceArchiveUrl string + SourceRepository *SourceRepository + SourceUploadUrl string + Status string + Timeout string + UpdateTime string + VersionId int64 + VpcConnector string + VpcConnectorEgressSettings string + func (s *CloudFunction) MarshalJSON() ([]byte, error) + type EventTrigger struct + EventType string + FailurePolicy *FailurePolicy + ForceSendFields []string + NullFields []string + Resource string + Service string + func (s *EventTrigger) MarshalJSON() ([]byte, error) + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type FailurePolicy struct + ForceSendFields []string + NullFields []string + Retry *Retry + func (s *FailurePolicy) MarshalJSON() ([]byte, error) + type GenerateDownloadUrlRequest struct + ForceSendFields []string + NullFields []string + VersionId uint64 + func (s *GenerateDownloadUrlRequest) MarshalJSON() ([]byte, error) + type GenerateDownloadUrlResponse struct + DownloadUrl string + ForceSendFields []string + NullFields []string + func (s *GenerateDownloadUrlResponse) MarshalJSON() ([]byte, error) + type GenerateUploadUrlRequest struct + type GenerateUploadUrlResponse struct + ForceSendFields []string + NullFields []string + UploadUrl string + func (s *GenerateUploadUrlResponse) MarshalJSON() ([]byte, error) + type HttpsTrigger struct + ForceSendFields []string + NullFields []string + Url string + func (s *HttpsTrigger) MarshalJSON() ([]byte, error) + type ListFunctionsResponse struct + ForceSendFields []string + Functions []*CloudFunction + NextPageToken string + NullFields []string + Unreachable []string + func (s *ListFunctionsResponse) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type Location struct + DisplayName string + ForceSendFields []string + Labels map[string]string + LocationId string + Metadata googleapi.RawMessage + Name string + NullFields []string + func (s *Location) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationMetadataV1 struct + BuildId string + ForceSendFields []string + NullFields []string + Request googleapi.RawMessage + SourceToken string + Target string + Type string + UpdateTime string + VersionId int64 + func (s *OperationMetadataV1) MarshalJSON() ([]byte, error) + type OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsListCall struct + func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall + func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall + func (c *OperationsListCall) Filter(filter string) *OperationsListCall + func (c *OperationsListCall) Header() http.Header + func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall + func (c *OperationsListCall) Name(name string) *OperationsListCall + func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall + func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall + func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type OperationsService struct + func NewOperationsService(s *Service) *OperationsService + func (r *OperationsService) Get(name string) *OperationsGetCall + func (r *OperationsService) List() *OperationsListCall + type Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) MarshalJSON() ([]byte, error) + type ProjectsLocationsFunctionsCallCall struct + func (c *ProjectsLocationsFunctionsCallCall) Context(ctx context.Context) *ProjectsLocationsFunctionsCallCall + func (c *ProjectsLocationsFunctionsCallCall) Do(opts ...googleapi.CallOption) (*CallFunctionResponse, error) + func (c *ProjectsLocationsFunctionsCallCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsCallCall + func (c *ProjectsLocationsFunctionsCallCall) Header() http.Header + type ProjectsLocationsFunctionsCreateCall struct + func (c *ProjectsLocationsFunctionsCreateCall) Context(ctx context.Context) *ProjectsLocationsFunctionsCreateCall + func (c *ProjectsLocationsFunctionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsFunctionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsCreateCall + func (c *ProjectsLocationsFunctionsCreateCall) Header() http.Header + type ProjectsLocationsFunctionsDeleteCall struct + func (c *ProjectsLocationsFunctionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsFunctionsDeleteCall + func (c *ProjectsLocationsFunctionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsFunctionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsDeleteCall + func (c *ProjectsLocationsFunctionsDeleteCall) Header() http.Header + type ProjectsLocationsFunctionsGenerateDownloadUrlCall struct + func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Context(ctx context.Context) *ProjectsLocationsFunctionsGenerateDownloadUrlCall + func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Do(opts ...googleapi.CallOption) (*GenerateDownloadUrlResponse, error) + func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsGenerateDownloadUrlCall + func (c *ProjectsLocationsFunctionsGenerateDownloadUrlCall) Header() http.Header + type ProjectsLocationsFunctionsGenerateUploadUrlCall struct + func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Context(ctx context.Context) *ProjectsLocationsFunctionsGenerateUploadUrlCall + func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Do(opts ...googleapi.CallOption) (*GenerateUploadUrlResponse, error) + func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsGenerateUploadUrlCall + func (c *ProjectsLocationsFunctionsGenerateUploadUrlCall) Header() http.Header + type ProjectsLocationsFunctionsGetCall struct + func (c *ProjectsLocationsFunctionsGetCall) Context(ctx context.Context) *ProjectsLocationsFunctionsGetCall + func (c *ProjectsLocationsFunctionsGetCall) Do(opts ...googleapi.CallOption) (*CloudFunction, error) + func (c *ProjectsLocationsFunctionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsGetCall + func (c *ProjectsLocationsFunctionsGetCall) Header() http.Header + func (c *ProjectsLocationsFunctionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsFunctionsGetCall + type ProjectsLocationsFunctionsGetIamPolicyCall struct + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFunctionsGetIamPolicyCall + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsGetIamPolicyCall + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) Header() http.Header + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsFunctionsGetIamPolicyCall + func (c *ProjectsLocationsFunctionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsFunctionsGetIamPolicyCall + type ProjectsLocationsFunctionsListCall struct + func (c *ProjectsLocationsFunctionsListCall) Context(ctx context.Context) *ProjectsLocationsFunctionsListCall + func (c *ProjectsLocationsFunctionsListCall) Do(opts ...googleapi.CallOption) (*ListFunctionsResponse, error) + func (c *ProjectsLocationsFunctionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsListCall + func (c *ProjectsLocationsFunctionsListCall) Header() http.Header + func (c *ProjectsLocationsFunctionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsFunctionsListCall + func (c *ProjectsLocationsFunctionsListCall) PageSize(pageSize int64) *ProjectsLocationsFunctionsListCall + func (c *ProjectsLocationsFunctionsListCall) PageToken(pageToken string) *ProjectsLocationsFunctionsListCall + func (c *ProjectsLocationsFunctionsListCall) Pages(ctx context.Context, f func(*ListFunctionsResponse) error) error + type ProjectsLocationsFunctionsPatchCall struct + func (c *ProjectsLocationsFunctionsPatchCall) Context(ctx context.Context) *ProjectsLocationsFunctionsPatchCall + func (c *ProjectsLocationsFunctionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsFunctionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsPatchCall + func (c *ProjectsLocationsFunctionsPatchCall) Header() http.Header + func (c *ProjectsLocationsFunctionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsFunctionsPatchCall + type ProjectsLocationsFunctionsService struct + func NewProjectsLocationsFunctionsService(s *Service) *ProjectsLocationsFunctionsService + func (r *ProjectsLocationsFunctionsService) Call(name string, callfunctionrequest *CallFunctionRequest) *ProjectsLocationsFunctionsCallCall + func (r *ProjectsLocationsFunctionsService) Create(location string, cloudfunction *CloudFunction) *ProjectsLocationsFunctionsCreateCall + func (r *ProjectsLocationsFunctionsService) Delete(name string) *ProjectsLocationsFunctionsDeleteCall + func (r *ProjectsLocationsFunctionsService) GenerateDownloadUrl(name string, generatedownloadurlrequest *GenerateDownloadUrlRequest) *ProjectsLocationsFunctionsGenerateDownloadUrlCall + func (r *ProjectsLocationsFunctionsService) GenerateUploadUrl(parent string, generateuploadurlrequest *GenerateUploadUrlRequest) *ProjectsLocationsFunctionsGenerateUploadUrlCall + func (r *ProjectsLocationsFunctionsService) Get(name string) *ProjectsLocationsFunctionsGetCall + func (r *ProjectsLocationsFunctionsService) GetIamPolicy(resource string) *ProjectsLocationsFunctionsGetIamPolicyCall + func (r *ProjectsLocationsFunctionsService) List(parent string) *ProjectsLocationsFunctionsListCall + func (r *ProjectsLocationsFunctionsService) Patch(name string, cloudfunction *CloudFunction) *ProjectsLocationsFunctionsPatchCall + func (r *ProjectsLocationsFunctionsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsFunctionsSetIamPolicyCall + func (r *ProjectsLocationsFunctionsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsFunctionsTestIamPermissionsCall + type ProjectsLocationsFunctionsSetIamPolicyCall struct + func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsFunctionsSetIamPolicyCall + func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsSetIamPolicyCall + func (c *ProjectsLocationsFunctionsSetIamPolicyCall) Header() http.Header + type ProjectsLocationsFunctionsTestIamPermissionsCall struct + func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsFunctionsTestIamPermissionsCall + func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsTestIamPermissionsCall + func (c *ProjectsLocationsFunctionsTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsListCall struct + func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) + func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Header() http.Header + func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error + type ProjectsLocationsService struct + Functions *ProjectsLocationsFunctionsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type Retry struct + type Service struct + BasePath string + Operations *OperationsService + 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 SourceRepository struct + DeployedUrl string + ForceSendFields []string + NullFields []string + Url string + func (s *SourceRepository) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) 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)