Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const CloudPlatformScope + 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 + EntryPoint string + EnvironmentVariables map[string]string + EventTrigger *EventTrigger + ForceSendFields []string + HttpsTrigger *HTTPSTrigger + Labels map[string]string + LatestOperation string + MaxInstances int64 + Name string + Network string + NullFields []string + Runtime string + ServiceAccount string + SourceArchiveUrl string + SourceRepository *SourceRepository + SourceRepositoryUrl string + SourceUploadUrl string + Status string + Timeout string + UpdateTime string + VersionId int64 + VpcConnector 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 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 + Target string + Type string + UpdateTime string + VersionId int64 + func (s *OperationMetadataV1) MarshalJSON() ([]byte, error) + type OperationMetadataV1Beta2 struct + ForceSendFields []string + NullFields []string + Request googleapi.RawMessage + Target string + Type string + UpdateTime string + VersionId int64 + func (s *OperationMetadataV1Beta2) 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 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 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 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) List(location string) *ProjectsLocationsFunctionsListCall + func (r *ProjectsLocationsFunctionsService) Update(name string, cloudfunction *CloudFunction) *ProjectsLocationsFunctionsUpdateCall + type ProjectsLocationsFunctionsUpdateCall struct + func (c *ProjectsLocationsFunctionsUpdateCall) Context(ctx context.Context) *ProjectsLocationsFunctionsUpdateCall + func (c *ProjectsLocationsFunctionsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsFunctionsUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsFunctionsUpdateCall + func (c *ProjectsLocationsFunctionsUpdateCall) 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 SourceRepository struct + Branch string + DeployedRevision string + ForceSendFields []string + NullFields []string + RepositoryUrl string + Revision string + SourcePath string + Tag 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)