Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const CloudPlatformScope + type AccessSecretVersionResponse struct + ForceSendFields []string + Name string + NullFields []string + Payload *SecretPayload + func (s AccessSecretVersionResponse) MarshalJSON() ([]byte, error) + type AddSecretVersionRequest struct + ForceSendFields []string + NullFields []string + Payload *SecretPayload + func (s AddSecretVersionRequest) MarshalJSON() ([]byte, error) + 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 Automatic struct + type Binding struct + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s Binding) MarshalJSON() ([]byte, error) + type DestroySecretVersionRequest struct + type DisableSecretVersionRequest struct + type Empty struct + type EnableSecretVersionRequest struct + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s Expr) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListSecretVersionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + TotalSize int64 + Versions []*SecretVersion + func (s ListSecretVersionsResponse) MarshalJSON() ([]byte, error) + type ListSecretsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Secrets []*Secret + TotalSize int64 + func (s ListSecretsResponse) 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 Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s Policy) MarshalJSON() ([]byte, error) + type ProjectsLocationsGetCall struct + func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error) + func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Header() http.Header + func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall + 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 + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall + func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall + type ProjectsSecretsAddVersionCall struct + func (c *ProjectsSecretsAddVersionCall) Context(ctx context.Context) *ProjectsSecretsAddVersionCall + func (c *ProjectsSecretsAddVersionCall) Do(opts ...googleapi.CallOption) (*SecretVersion, error) + func (c *ProjectsSecretsAddVersionCall) Fields(s ...googleapi.Field) *ProjectsSecretsAddVersionCall + func (c *ProjectsSecretsAddVersionCall) Header() http.Header + type ProjectsSecretsCreateCall struct + func (c *ProjectsSecretsCreateCall) Context(ctx context.Context) *ProjectsSecretsCreateCall + func (c *ProjectsSecretsCreateCall) Do(opts ...googleapi.CallOption) (*Secret, error) + func (c *ProjectsSecretsCreateCall) Fields(s ...googleapi.Field) *ProjectsSecretsCreateCall + func (c *ProjectsSecretsCreateCall) Header() http.Header + func (c *ProjectsSecretsCreateCall) SecretId(secretId string) *ProjectsSecretsCreateCall + type ProjectsSecretsDeleteCall struct + func (c *ProjectsSecretsDeleteCall) Context(ctx context.Context) *ProjectsSecretsDeleteCall + func (c *ProjectsSecretsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsSecretsDeleteCall) Fields(s ...googleapi.Field) *ProjectsSecretsDeleteCall + func (c *ProjectsSecretsDeleteCall) Header() http.Header + type ProjectsSecretsGetCall struct + func (c *ProjectsSecretsGetCall) Context(ctx context.Context) *ProjectsSecretsGetCall + func (c *ProjectsSecretsGetCall) Do(opts ...googleapi.CallOption) (*Secret, error) + func (c *ProjectsSecretsGetCall) Fields(s ...googleapi.Field) *ProjectsSecretsGetCall + func (c *ProjectsSecretsGetCall) Header() http.Header + func (c *ProjectsSecretsGetCall) IfNoneMatch(entityTag string) *ProjectsSecretsGetCall + type ProjectsSecretsGetIamPolicyCall struct + func (c *ProjectsSecretsGetIamPolicyCall) Context(ctx context.Context) *ProjectsSecretsGetIamPolicyCall + func (c *ProjectsSecretsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsSecretsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsSecretsGetIamPolicyCall + func (c *ProjectsSecretsGetIamPolicyCall) Header() http.Header + func (c *ProjectsSecretsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsSecretsGetIamPolicyCall + func (c *ProjectsSecretsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsSecretsGetIamPolicyCall + type ProjectsSecretsListCall struct + func (c *ProjectsSecretsListCall) Context(ctx context.Context) *ProjectsSecretsListCall + func (c *ProjectsSecretsListCall) Do(opts ...googleapi.CallOption) (*ListSecretsResponse, error) + func (c *ProjectsSecretsListCall) Fields(s ...googleapi.Field) *ProjectsSecretsListCall + func (c *ProjectsSecretsListCall) Header() http.Header + func (c *ProjectsSecretsListCall) IfNoneMatch(entityTag string) *ProjectsSecretsListCall + func (c *ProjectsSecretsListCall) PageSize(pageSize int64) *ProjectsSecretsListCall + func (c *ProjectsSecretsListCall) PageToken(pageToken string) *ProjectsSecretsListCall + func (c *ProjectsSecretsListCall) Pages(ctx context.Context, f func(*ListSecretsResponse) error) error + type ProjectsSecretsPatchCall struct + func (c *ProjectsSecretsPatchCall) Context(ctx context.Context) *ProjectsSecretsPatchCall + func (c *ProjectsSecretsPatchCall) Do(opts ...googleapi.CallOption) (*Secret, error) + func (c *ProjectsSecretsPatchCall) Fields(s ...googleapi.Field) *ProjectsSecretsPatchCall + func (c *ProjectsSecretsPatchCall) Header() http.Header + func (c *ProjectsSecretsPatchCall) UpdateMask(updateMask string) *ProjectsSecretsPatchCall + type ProjectsSecretsService struct + Versions *ProjectsSecretsVersionsService + func NewProjectsSecretsService(s *Service) *ProjectsSecretsService + func (r *ProjectsSecretsService) AddVersion(parent string, addsecretversionrequest *AddSecretVersionRequest) *ProjectsSecretsAddVersionCall + func (r *ProjectsSecretsService) Create(parent string, secret *Secret) *ProjectsSecretsCreateCall + func (r *ProjectsSecretsService) Delete(name string) *ProjectsSecretsDeleteCall + func (r *ProjectsSecretsService) Get(name string) *ProjectsSecretsGetCall + func (r *ProjectsSecretsService) GetIamPolicy(resource string) *ProjectsSecretsGetIamPolicyCall + func (r *ProjectsSecretsService) List(parent string) *ProjectsSecretsListCall + func (r *ProjectsSecretsService) Patch(name string, secret *Secret) *ProjectsSecretsPatchCall + func (r *ProjectsSecretsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsSecretsSetIamPolicyCall + func (r *ProjectsSecretsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsSecretsTestIamPermissionsCall + type ProjectsSecretsSetIamPolicyCall struct + func (c *ProjectsSecretsSetIamPolicyCall) Context(ctx context.Context) *ProjectsSecretsSetIamPolicyCall + func (c *ProjectsSecretsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsSecretsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsSecretsSetIamPolicyCall + func (c *ProjectsSecretsSetIamPolicyCall) Header() http.Header + type ProjectsSecretsTestIamPermissionsCall struct + func (c *ProjectsSecretsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsSecretsTestIamPermissionsCall + func (c *ProjectsSecretsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsSecretsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsSecretsTestIamPermissionsCall + func (c *ProjectsSecretsTestIamPermissionsCall) Header() http.Header + type ProjectsSecretsVersionsAccessCall struct + func (c *ProjectsSecretsVersionsAccessCall) Context(ctx context.Context) *ProjectsSecretsVersionsAccessCall + func (c *ProjectsSecretsVersionsAccessCall) Do(opts ...googleapi.CallOption) (*AccessSecretVersionResponse, error) + func (c *ProjectsSecretsVersionsAccessCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsAccessCall + func (c *ProjectsSecretsVersionsAccessCall) Header() http.Header + func (c *ProjectsSecretsVersionsAccessCall) IfNoneMatch(entityTag string) *ProjectsSecretsVersionsAccessCall + type ProjectsSecretsVersionsDestroyCall struct + func (c *ProjectsSecretsVersionsDestroyCall) Context(ctx context.Context) *ProjectsSecretsVersionsDestroyCall + func (c *ProjectsSecretsVersionsDestroyCall) Do(opts ...googleapi.CallOption) (*SecretVersion, error) + func (c *ProjectsSecretsVersionsDestroyCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsDestroyCall + func (c *ProjectsSecretsVersionsDestroyCall) Header() http.Header + type ProjectsSecretsVersionsDisableCall struct + func (c *ProjectsSecretsVersionsDisableCall) Context(ctx context.Context) *ProjectsSecretsVersionsDisableCall + func (c *ProjectsSecretsVersionsDisableCall) Do(opts ...googleapi.CallOption) (*SecretVersion, error) + func (c *ProjectsSecretsVersionsDisableCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsDisableCall + func (c *ProjectsSecretsVersionsDisableCall) Header() http.Header + type ProjectsSecretsVersionsEnableCall struct + func (c *ProjectsSecretsVersionsEnableCall) Context(ctx context.Context) *ProjectsSecretsVersionsEnableCall + func (c *ProjectsSecretsVersionsEnableCall) Do(opts ...googleapi.CallOption) (*SecretVersion, error) + func (c *ProjectsSecretsVersionsEnableCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsEnableCall + func (c *ProjectsSecretsVersionsEnableCall) Header() http.Header + type ProjectsSecretsVersionsGetCall struct + func (c *ProjectsSecretsVersionsGetCall) Context(ctx context.Context) *ProjectsSecretsVersionsGetCall + func (c *ProjectsSecretsVersionsGetCall) Do(opts ...googleapi.CallOption) (*SecretVersion, error) + func (c *ProjectsSecretsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsGetCall + func (c *ProjectsSecretsVersionsGetCall) Header() http.Header + func (c *ProjectsSecretsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsSecretsVersionsGetCall + type ProjectsSecretsVersionsListCall struct + func (c *ProjectsSecretsVersionsListCall) Context(ctx context.Context) *ProjectsSecretsVersionsListCall + func (c *ProjectsSecretsVersionsListCall) Do(opts ...googleapi.CallOption) (*ListSecretVersionsResponse, error) + func (c *ProjectsSecretsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsSecretsVersionsListCall + func (c *ProjectsSecretsVersionsListCall) Header() http.Header + func (c *ProjectsSecretsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsSecretsVersionsListCall + func (c *ProjectsSecretsVersionsListCall) PageSize(pageSize int64) *ProjectsSecretsVersionsListCall + func (c *ProjectsSecretsVersionsListCall) PageToken(pageToken string) *ProjectsSecretsVersionsListCall + func (c *ProjectsSecretsVersionsListCall) Pages(ctx context.Context, f func(*ListSecretVersionsResponse) error) error + type ProjectsSecretsVersionsService struct + func NewProjectsSecretsVersionsService(s *Service) *ProjectsSecretsVersionsService + func (r *ProjectsSecretsVersionsService) Access(name string) *ProjectsSecretsVersionsAccessCall + func (r *ProjectsSecretsVersionsService) Destroy(name string, destroysecretversionrequest *DestroySecretVersionRequest) *ProjectsSecretsVersionsDestroyCall + func (r *ProjectsSecretsVersionsService) Disable(name string, disablesecretversionrequest *DisableSecretVersionRequest) *ProjectsSecretsVersionsDisableCall + func (r *ProjectsSecretsVersionsService) Enable(name string, enablesecretversionrequest *EnableSecretVersionRequest) *ProjectsSecretsVersionsEnableCall + func (r *ProjectsSecretsVersionsService) Get(name string) *ProjectsSecretsVersionsGetCall + func (r *ProjectsSecretsVersionsService) List(parent string) *ProjectsSecretsVersionsListCall + type ProjectsService struct + Locations *ProjectsLocationsService + Secrets *ProjectsSecretsService + func NewProjectsService(s *Service) *ProjectsService + type Replica struct + ForceSendFields []string + Location string + NullFields []string + func (s Replica) MarshalJSON() ([]byte, error) + type Replication struct + Automatic *Automatic + ForceSendFields []string + NullFields []string + UserManaged *UserManaged + func (s Replication) MarshalJSON() ([]byte, error) + type Secret struct + CreateTime string + ForceSendFields []string + Labels map[string]string + Name string + NullFields []string + Replication *Replication + func (s Secret) MarshalJSON() ([]byte, error) + type SecretPayload struct + Data string + ForceSendFields []string + NullFields []string + func (s SecretPayload) MarshalJSON() ([]byte, error) + type SecretVersion struct + CreateTime string + DestroyTime string + ForceSendFields []string + Name string + NullFields []string + State string + func (s SecretVersion) MarshalJSON() ([]byte, error) + 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) + type UserManaged struct + ForceSendFields []string + NullFields []string + Replicas []*Replica + func (s UserManaged) MarshalJSON() ([]byte, error)