Documentation
Index ¶
- Variables
- func RegisterStorageServer(s *grpc.Server, srv StorageServer)
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (x *Bucket) GetAcl() []*BucketAccessControl
- func (x *Bucket) GetBilling() *Bucket_Billing
- func (x *Bucket) GetCors() []*Bucket_Cors
- func (x *Bucket) GetDefaultEventBasedHold() bool
- func (x *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl
- func (x *Bucket) GetEncryption() *Bucket_Encryption
- func (x *Bucket) GetEtag() string
- func (x *Bucket) GetIamConfiguration() *Bucket_IamConfiguration
- func (x *Bucket) GetId() string
- func (x *Bucket) GetLabels() map[string]string
- func (x *Bucket) GetLifecycle() *Bucket_Lifecycle
- func (x *Bucket) GetLocation() string
- func (x *Bucket) GetLocationType() string
- func (x *Bucket) GetLogging() *Bucket_Logging
- func (x *Bucket) GetMetageneration() int64
- func (x *Bucket) GetName() string
- func (x *Bucket) GetOwner() *Owner
- func (x *Bucket) GetProjectNumber() int64
- func (x *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy
- func (x *Bucket) GetStorageClass() string
- func (x *Bucket) GetTimeCreated() *timestamppb.Timestamp
- func (x *Bucket) GetUpdated() *timestamppb.Timestamp
- func (x *Bucket) GetVersioning() *Bucket_Versioning
- func (x *Bucket) GetWebsite() *Bucket_Website
- func (x *Bucket) GetZoneAffinity() []string
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type BucketAccessControl
- func (*BucketAccessControl) Descriptor() ([]byte, []int)
- func (x *BucketAccessControl) GetBucket() string
- func (x *BucketAccessControl) GetDomain() string
- func (x *BucketAccessControl) GetEmail() string
- func (x *BucketAccessControl) GetEntity() string
- func (x *BucketAccessControl) GetEntityId() string
- func (x *BucketAccessControl) GetEtag() string
- func (x *BucketAccessControl) GetId() string
- func (x *BucketAccessControl) GetProjectTeam() *ProjectTeam
- func (x *BucketAccessControl) GetRole() string
- func (*BucketAccessControl) ProtoMessage()
- func (x *BucketAccessControl) ProtoReflect() protoreflect.Message
- func (x *BucketAccessControl) Reset()
- func (x *BucketAccessControl) String() string
- type Bucket_Billing
- type Bucket_Cors
- func (*Bucket_Cors) Descriptor() ([]byte, []int)
- func (x *Bucket_Cors) GetMaxAgeSeconds() int32
- func (x *Bucket_Cors) GetMethod() []string
- func (x *Bucket_Cors) GetOrigin() []string
- func (x *Bucket_Cors) GetResponseHeader() []string
- func (*Bucket_Cors) ProtoMessage()
- func (x *Bucket_Cors) ProtoReflect() protoreflect.Message
- func (x *Bucket_Cors) Reset()
- func (x *Bucket_Cors) String() string
- type Bucket_Encryption
- type Bucket_IamConfiguration
- func (*Bucket_IamConfiguration) Descriptor() ([]byte, []int)
- func (x *Bucket_IamConfiguration) GetUniformBucketLevelAccess() *Bucket_IamConfiguration_UniformBucketLevelAccess
- func (*Bucket_IamConfiguration) ProtoMessage()
- func (x *Bucket_IamConfiguration) ProtoReflect() protoreflect.Message
- func (x *Bucket_IamConfiguration) Reset()
- func (x *Bucket_IamConfiguration) String() string
- type Bucket_IamConfiguration_UniformBucketLevelAccess
- func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Descriptor() ([]byte, []int)
- func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled() bool
- func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime() *timestamppb.Timestamp
- func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage()
- func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoReflect() protoreflect.Message
- func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) Reset()
- func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) String() string
- type Bucket_Lifecycle
- type Bucket_Lifecycle_Rule
- func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int)
- func (x *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action
- func (x *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition
- func (*Bucket_Lifecycle_Rule) ProtoMessage()
- func (x *Bucket_Lifecycle_Rule) ProtoReflect() protoreflect.Message
- func (x *Bucket_Lifecycle_Rule) Reset()
- func (x *Bucket_Lifecycle_Rule) String() string
- type Bucket_Lifecycle_Rule_Action
- func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int)
- func (x *Bucket_Lifecycle_Rule_Action) GetStorageClass() string
- func (x *Bucket_Lifecycle_Rule_Action) GetType() string
- func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()
- func (x *Bucket_Lifecycle_Rule_Action) ProtoReflect() protoreflect.Message
- func (x *Bucket_Lifecycle_Rule_Action) Reset()
- func (x *Bucket_Lifecycle_Rule_Action) String() string
- type Bucket_Lifecycle_Rule_Condition
- func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int)
- func (x *Bucket_Lifecycle_Rule_Condition) GetAge() int32
- func (x *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *timestamppb.Timestamp
- func (x *Bucket_Lifecycle_Rule_Condition) GetIsLive() *wrapperspb.BoolValue
- func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string
- func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string
- func (x *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32
- func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()
- func (x *Bucket_Lifecycle_Rule_Condition) ProtoReflect() protoreflect.Message
- func (x *Bucket_Lifecycle_Rule_Condition) Reset()
- func (x *Bucket_Lifecycle_Rule_Condition) String() string
- type Bucket_Logging
- func (*Bucket_Logging) Descriptor() ([]byte, []int)
- func (x *Bucket_Logging) GetLogBucket() string
- func (x *Bucket_Logging) GetLogObjectPrefix() string
- func (*Bucket_Logging) ProtoMessage()
- func (x *Bucket_Logging) ProtoReflect() protoreflect.Message
- func (x *Bucket_Logging) Reset()
- func (x *Bucket_Logging) String() string
- type Bucket_RetentionPolicy
- func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int)
- func (x *Bucket_RetentionPolicy) GetEffectiveTime() *timestamppb.Timestamp
- func (x *Bucket_RetentionPolicy) GetIsLocked() bool
- func (x *Bucket_RetentionPolicy) GetRetentionPeriod() int64
- func (*Bucket_RetentionPolicy) ProtoMessage()
- func (x *Bucket_RetentionPolicy) ProtoReflect() protoreflect.Message
- func (x *Bucket_RetentionPolicy) Reset()
- func (x *Bucket_RetentionPolicy) String() string
- type Bucket_Versioning
- type Bucket_Website
- func (*Bucket_Website) Descriptor() ([]byte, []int)
- func (x *Bucket_Website) GetMainPageSuffix() string
- func (x *Bucket_Website) GetNotFoundPage() string
- func (*Bucket_Website) ProtoMessage()
- func (x *Bucket_Website) ProtoReflect() protoreflect.Message
- func (x *Bucket_Website) Reset()
- func (x *Bucket_Website) String() string
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)
- func (x *Channel) GetAddress() string
- func (x *Channel) GetExpiration() *timestamppb.Timestamp
- func (x *Channel) GetId() string
- func (x *Channel) GetParams() map[string]string
- func (x *Channel) GetPayload() bool
- func (x *Channel) GetResourceId() string
- func (x *Channel) GetResourceUri() string
- func (x *Channel) GetToken() string
- func (x *Channel) GetType() string
- func (*Channel) ProtoMessage()
- func (x *Channel) ProtoReflect() protoreflect.Message
- func (x *Channel) Reset()
- func (x *Channel) String() string
- type ChecksummedData
- func (*ChecksummedData) Descriptor() ([]byte, []int)
- func (x *ChecksummedData) GetContent() []byte
- func (x *ChecksummedData) GetCrc32C() *wrapperspb.UInt32Value
- func (*ChecksummedData) ProtoMessage()
- func (x *ChecksummedData) ProtoReflect() protoreflect.Message
- func (x *ChecksummedData) Reset()
- func (x *ChecksummedData) String() string
- type CommonEnums
- type CommonEnums_PredefinedBucketAcl
- func (CommonEnums_PredefinedBucketAcl) Descriptor() protoreflect.EnumDescriptor
- func (x CommonEnums_PredefinedBucketAcl) Enum() *CommonEnums_PredefinedBucketAcl
- func (CommonEnums_PredefinedBucketAcl) EnumDescriptor() ([]byte, []int)
- func (x CommonEnums_PredefinedBucketAcl) Number() protoreflect.EnumNumber
- func (x CommonEnums_PredefinedBucketAcl) String() string
- func (CommonEnums_PredefinedBucketAcl) Type() protoreflect.EnumType
- type CommonEnums_PredefinedObjectAcl
- func (CommonEnums_PredefinedObjectAcl) Descriptor() protoreflect.EnumDescriptor
- func (x CommonEnums_PredefinedObjectAcl) Enum() *CommonEnums_PredefinedObjectAcl
- func (CommonEnums_PredefinedObjectAcl) EnumDescriptor() ([]byte, []int)
- func (x CommonEnums_PredefinedObjectAcl) Number() protoreflect.EnumNumber
- func (x CommonEnums_PredefinedObjectAcl) String() string
- func (CommonEnums_PredefinedObjectAcl) Type() protoreflect.EnumType
- type CommonEnums_Projection
- func (CommonEnums_Projection) Descriptor() protoreflect.EnumDescriptor
- func (x CommonEnums_Projection) Enum() *CommonEnums_Projection
- func (CommonEnums_Projection) EnumDescriptor() ([]byte, []int)
- func (x CommonEnums_Projection) Number() protoreflect.EnumNumber
- func (x CommonEnums_Projection) String() string
- func (CommonEnums_Projection) Type() protoreflect.EnumType
- type CommonObjectRequestParams
- func (*CommonObjectRequestParams) Descriptor() ([]byte, []int)
- func (x *CommonObjectRequestParams) GetEncryptionAlgorithm() string
- func (x *CommonObjectRequestParams) GetEncryptionKey() string
- func (x *CommonObjectRequestParams) GetEncryptionKeySha256() string
- func (*CommonObjectRequestParams) ProtoMessage()
- func (x *CommonObjectRequestParams) ProtoReflect() protoreflect.Message
- func (x *CommonObjectRequestParams) Reset()
- func (x *CommonObjectRequestParams) String() string
- type CommonRequestParams
- func (*CommonRequestParams) Descriptor() ([]byte, []int)
- func (x *CommonRequestParams) GetFields() *fieldmaskpb.FieldMask
- func (x *CommonRequestParams) GetQuotaUser() string
- func (x *CommonRequestParams) GetUserProject() string
- func (*CommonRequestParams) ProtoMessage()
- func (x *CommonRequestParams) ProtoReflect() protoreflect.Message
- func (x *CommonRequestParams) Reset()
- func (x *CommonRequestParams) String() string
- type ComposeObjectRequest
- func (*ComposeObjectRequest) Descriptor() ([]byte, []int)
- func (x *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ComposeObjectRequest) GetDestination() *Object
- func (x *ComposeObjectRequest) GetDestinationBucket() string
- func (x *ComposeObjectRequest) GetDestinationObject() string
- func (x *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *ComposeObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *ComposeObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *ComposeObjectRequest) GetKmsKeyName() string
- func (x *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects
- func (*ComposeObjectRequest) ProtoMessage()
- func (x *ComposeObjectRequest) ProtoReflect() protoreflect.Message
- func (x *ComposeObjectRequest) Reset()
- func (x *ComposeObjectRequest) String() string
- type ComposeObjectRequest_SourceObjects
- func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int)
- func (x *ComposeObjectRequest_SourceObjects) GetGeneration() int64
- func (x *ComposeObjectRequest_SourceObjects) GetName() string
- func (x *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions
- func (*ComposeObjectRequest_SourceObjects) ProtoMessage()
- func (x *ComposeObjectRequest_SourceObjects) ProtoReflect() protoreflect.Message
- func (x *ComposeObjectRequest_SourceObjects) Reset()
- func (x *ComposeObjectRequest_SourceObjects) String() string
- type ComposeObjectRequest_SourceObjects_ObjectPreconditions
- func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor() ([]byte, []int)
- func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage()
- func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoReflect() protoreflect.Message
- func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset()
- func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string
- type ContentRange
- func (*ContentRange) Descriptor() ([]byte, []int)
- func (x *ContentRange) GetCompleteLength() int64
- func (x *ContentRange) GetEnd() int64
- func (x *ContentRange) GetStart() int64
- func (*ContentRange) ProtoMessage()
- func (x *ContentRange) ProtoReflect() protoreflect.Message
- func (x *ContentRange) Reset()
- func (x *ContentRange) String() string
- type CopyObjectRequest
- func (*CopyObjectRequest) Descriptor() ([]byte, []int)
- func (x *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *CopyObjectRequest) GetDestination() *Object
- func (x *CopyObjectRequest) GetDestinationBucket() string
- func (x *CopyObjectRequest) GetDestinationKmsKeyName() string
- func (x *CopyObjectRequest) GetDestinationObject() string
- func (x *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *CopyObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfSourceGenerationMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *CopyObjectRequest) GetProjection() CommonEnums_Projection
- func (x *CopyObjectRequest) GetSourceBucket() string
- func (x *CopyObjectRequest) GetSourceGeneration() int64
- func (x *CopyObjectRequest) GetSourceObject() string
- func (*CopyObjectRequest) ProtoMessage()
- func (x *CopyObjectRequest) ProtoReflect() protoreflect.Message
- func (x *CopyObjectRequest) Reset()
- func (x *CopyObjectRequest) String() string
- type CreateHmacKeyRequest
- func (*CreateHmacKeyRequest) Descriptor() ([]byte, []int)
- func (x *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *CreateHmacKeyRequest) GetProjectId() string
- func (x *CreateHmacKeyRequest) GetServiceAccountEmail() string
- func (*CreateHmacKeyRequest) ProtoMessage()
- func (x *CreateHmacKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateHmacKeyRequest) Reset()
- func (x *CreateHmacKeyRequest) String() string
- type CreateHmacKeyResponse
- func (*CreateHmacKeyResponse) Descriptor() ([]byte, []int)
- func (x *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata
- func (x *CreateHmacKeyResponse) GetSecret() string
- func (*CreateHmacKeyResponse) ProtoMessage()
- func (x *CreateHmacKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateHmacKeyResponse) Reset()
- func (x *CreateHmacKeyResponse) String() string
- type DeleteBucketAccessControlRequest
- func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *DeleteBucketAccessControlRequest) GetBucket() string
- func (x *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteBucketAccessControlRequest) GetEntity() string
- func (*DeleteBucketAccessControlRequest) ProtoMessage()
- func (x *DeleteBucketAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketAccessControlRequest) Reset()
- func (x *DeleteBucketAccessControlRequest) String() string
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
- func (x *DeleteBucketRequest) GetBucket() string
- func (x *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (*DeleteBucketRequest) ProtoMessage()
- func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketRequest) Reset()
- func (x *DeleteBucketRequest) String() string
- type DeleteDefaultObjectAccessControlRequest
- func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *DeleteDefaultObjectAccessControlRequest) GetBucket() string
- func (x *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteDefaultObjectAccessControlRequest) GetEntity() string
- func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage()
- func (x *DeleteDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDefaultObjectAccessControlRequest) Reset()
- func (x *DeleteDefaultObjectAccessControlRequest) String() string
- type DeleteHmacKeyRequest
- func (*DeleteHmacKeyRequest) Descriptor() ([]byte, []int)
- func (x *DeleteHmacKeyRequest) GetAccessId() string
- func (x *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteHmacKeyRequest) GetProjectId() string
- func (*DeleteHmacKeyRequest) ProtoMessage()
- func (x *DeleteHmacKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteHmacKeyRequest) Reset()
- func (x *DeleteHmacKeyRequest) String() string
- type DeleteNotificationRequest
- func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
- func (x *DeleteNotificationRequest) GetBucket() string
- func (x *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteNotificationRequest) GetNotification() string
- func (*DeleteNotificationRequest) ProtoMessage()
- func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotificationRequest) Reset()
- func (x *DeleteNotificationRequest) String() string
- type DeleteObjectAccessControlRequest
- func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *DeleteObjectAccessControlRequest) GetBucket() string
- func (x *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteObjectAccessControlRequest) GetEntity() string
- func (x *DeleteObjectAccessControlRequest) GetGeneration() int64
- func (x *DeleteObjectAccessControlRequest) GetObject() string
- func (*DeleteObjectAccessControlRequest) ProtoMessage()
- func (x *DeleteObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectAccessControlRequest) Reset()
- func (x *DeleteObjectAccessControlRequest) String() string
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
- func (x *DeleteObjectRequest) GetBucket() string
- func (x *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *DeleteObjectRequest) GetGeneration() int64
- func (x *DeleteObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *DeleteObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *DeleteObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *DeleteObjectRequest) GetObject() string
- func (x *DeleteObjectRequest) GetUploadId() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectRequest) Reset()
- func (x *DeleteObjectRequest) String() string
- type GetBucketAccessControlRequest
- func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *GetBucketAccessControlRequest) GetBucket() string
- func (x *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetBucketAccessControlRequest) GetEntity() string
- func (*GetBucketAccessControlRequest) ProtoMessage()
- func (x *GetBucketAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketAccessControlRequest) Reset()
- func (x *GetBucketAccessControlRequest) String() string
- type GetBucketRequest
- func (*GetBucketRequest) Descriptor() ([]byte, []int)
- func (x *GetBucketRequest) GetBucket() string
- func (x *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *GetBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *GetBucketRequest) GetProjection() CommonEnums_Projection
- func (*GetBucketRequest) ProtoMessage()
- func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketRequest) Reset()
- func (x *GetBucketRequest) String() string
- type GetDefaultObjectAccessControlRequest
- func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *GetDefaultObjectAccessControlRequest) GetBucket() string
- func (x *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetDefaultObjectAccessControlRequest) GetEntity() string
- func (*GetDefaultObjectAccessControlRequest) ProtoMessage()
- func (x *GetDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultObjectAccessControlRequest) Reset()
- func (x *GetDefaultObjectAccessControlRequest) String() string
- type GetHmacKeyRequest
- func (*GetHmacKeyRequest) Descriptor() ([]byte, []int)
- func (x *GetHmacKeyRequest) GetAccessId() string
- func (x *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetHmacKeyRequest) GetProjectId() string
- func (*GetHmacKeyRequest) ProtoMessage()
- func (x *GetHmacKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetHmacKeyRequest) Reset()
- func (x *GetHmacKeyRequest) String() string
- type GetIamPolicyRequest
- func (*GetIamPolicyRequest) Descriptor() ([]byte, []int)
- func (x *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetIamPolicyRequest) GetIamRequest() *v1.GetIamPolicyRequest
- func (*GetIamPolicyRequest) ProtoMessage()
- func (x *GetIamPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetIamPolicyRequest) Reset()
- func (x *GetIamPolicyRequest) String() string
- type GetNotificationRequest
- func (*GetNotificationRequest) Descriptor() ([]byte, []int)
- func (x *GetNotificationRequest) GetBucket() string
- func (x *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetNotificationRequest) GetNotification() string
- func (*GetNotificationRequest) ProtoMessage()
- func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationRequest) Reset()
- func (x *GetNotificationRequest) String() string
- type GetObjectAccessControlRequest
- func (*GetObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *GetObjectAccessControlRequest) GetBucket() string
- func (x *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetObjectAccessControlRequest) GetEntity() string
- func (x *GetObjectAccessControlRequest) GetGeneration() int64
- func (x *GetObjectAccessControlRequest) GetObject() string
- func (*GetObjectAccessControlRequest) ProtoMessage()
- func (x *GetObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectAccessControlRequest) Reset()
- func (x *GetObjectAccessControlRequest) String() string
- type GetObjectMediaRequest
- func (*GetObjectMediaRequest) Descriptor() ([]byte, []int)
- func (x *GetObjectMediaRequest) GetBucket() string
- func (x *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetObjectMediaRequest) GetGeneration() int64
- func (x *GetObjectMediaRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *GetObjectMediaRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *GetObjectMediaRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *GetObjectMediaRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *GetObjectMediaRequest) GetObject() string
- func (x *GetObjectMediaRequest) GetReadLimit() int64
- func (x *GetObjectMediaRequest) GetReadOffset() int64
- func (*GetObjectMediaRequest) ProtoMessage()
- func (x *GetObjectMediaRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectMediaRequest) Reset()
- func (x *GetObjectMediaRequest) String() string
- type GetObjectMediaResponse
- func (*GetObjectMediaResponse) Descriptor() ([]byte, []int)
- func (x *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData
- func (x *GetObjectMediaResponse) GetContentRange() *ContentRange
- func (x *GetObjectMediaResponse) GetMetadata() *Object
- func (x *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums
- func (*GetObjectMediaResponse) ProtoMessage()
- func (x *GetObjectMediaResponse) ProtoReflect() protoreflect.Message
- func (x *GetObjectMediaResponse) Reset()
- func (x *GetObjectMediaResponse) String() string
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)
- func (x *GetObjectRequest) GetBucket() string
- func (x *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetObjectRequest) GetGeneration() int64
- func (x *GetObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *GetObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *GetObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *GetObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *GetObjectRequest) GetObject() string
- func (x *GetObjectRequest) GetProjection() CommonEnums_Projection
- func (*GetObjectRequest) ProtoMessage()
- func (x *GetObjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetObjectRequest) Reset()
- func (x *GetObjectRequest) String() string
- type GetProjectServiceAccountRequest
- func (*GetProjectServiceAccountRequest) Descriptor() ([]byte, []int)
- func (x *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *GetProjectServiceAccountRequest) GetProjectId() string
- func (*GetProjectServiceAccountRequest) ProtoMessage()
- func (x *GetProjectServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectServiceAccountRequest) Reset()
- func (x *GetProjectServiceAccountRequest) String() string
- type HmacKeyMetadata
- func (*HmacKeyMetadata) Descriptor() ([]byte, []int)
- func (x *HmacKeyMetadata) GetAccessId() string
- func (x *HmacKeyMetadata) GetEtag() string
- func (x *HmacKeyMetadata) GetId() string
- func (x *HmacKeyMetadata) GetProjectId() string
- func (x *HmacKeyMetadata) GetServiceAccountEmail() string
- func (x *HmacKeyMetadata) GetState() string
- func (x *HmacKeyMetadata) GetTimeCreated() *timestamppb.Timestamp
- func (x *HmacKeyMetadata) GetUpdated() *timestamppb.Timestamp
- func (*HmacKeyMetadata) ProtoMessage()
- func (x *HmacKeyMetadata) ProtoReflect() protoreflect.Message
- func (x *HmacKeyMetadata) Reset()
- func (x *HmacKeyMetadata) String() string
- type InsertBucketAccessControlRequest
- func (*InsertBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *InsertBucketAccessControlRequest) GetBucket() string
- func (x *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (x *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (*InsertBucketAccessControlRequest) ProtoMessage()
- func (x *InsertBucketAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *InsertBucketAccessControlRequest) Reset()
- func (x *InsertBucketAccessControlRequest) String() string
- type InsertBucketRequest
- func (*InsertBucketRequest) Descriptor() ([]byte, []int)
- func (x *InsertBucketRequest) GetBucket() *Bucket
- func (x *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *InsertBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (x *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (x *InsertBucketRequest) GetProject() string
- func (x *InsertBucketRequest) GetProjection() CommonEnums_Projection
- func (*InsertBucketRequest) ProtoMessage()
- func (x *InsertBucketRequest) ProtoReflect() protoreflect.Message
- func (x *InsertBucketRequest) Reset()
- func (x *InsertBucketRequest) String() string
- type InsertDefaultObjectAccessControlRequest
- func (*InsertDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *InsertDefaultObjectAccessControlRequest) GetBucket() string
- func (x *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (*InsertDefaultObjectAccessControlRequest) ProtoMessage()
- func (x *InsertDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *InsertDefaultObjectAccessControlRequest) Reset()
- func (x *InsertDefaultObjectAccessControlRequest) String() string
- type InsertNotificationRequest
- func (*InsertNotificationRequest) Descriptor() ([]byte, []int)
- func (x *InsertNotificationRequest) GetBucket() string
- func (x *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *InsertNotificationRequest) GetNotification() *Notification
- func (*InsertNotificationRequest) ProtoMessage()
- func (x *InsertNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *InsertNotificationRequest) Reset()
- func (x *InsertNotificationRequest) String() string
- type InsertObjectAccessControlRequest
- func (*InsertObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *InsertObjectAccessControlRequest) GetBucket() string
- func (x *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *InsertObjectAccessControlRequest) GetGeneration() int64
- func (x *InsertObjectAccessControlRequest) GetObject() string
- func (x *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (*InsertObjectAccessControlRequest) ProtoMessage()
- func (x *InsertObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *InsertObjectAccessControlRequest) Reset()
- func (x *InsertObjectAccessControlRequest) String() string
- type InsertObjectRequest
- func (*InsertObjectRequest) Descriptor() ([]byte, []int)
- func (x *InsertObjectRequest) GetChecksummedData() *ChecksummedData
- func (x *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data
- func (x *InsertObjectRequest) GetFinishWrite() bool
- func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage
- func (x *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec
- func (x *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums
- func (x *InsertObjectRequest) GetReference() *GetObjectMediaRequest
- func (x *InsertObjectRequest) GetUploadId() string
- func (x *InsertObjectRequest) GetWriteOffset() int64
- func (*InsertObjectRequest) ProtoMessage()
- func (x *InsertObjectRequest) ProtoReflect() protoreflect.Message
- func (x *InsertObjectRequest) Reset()
- func (x *InsertObjectRequest) String() string
- type InsertObjectRequest_ChecksummedData
- type InsertObjectRequest_InsertObjectSpec
- type InsertObjectRequest_Reference
- type InsertObjectRequest_UploadId
- type InsertObjectSpec
- func (*InsertObjectSpec) Descriptor() ([]byte, []int)
- func (x *InsertObjectSpec) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *InsertObjectSpec) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *InsertObjectSpec) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *InsertObjectSpec) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *InsertObjectSpec) GetProjection() CommonEnums_Projection
- func (x *InsertObjectSpec) GetResource() *Object
- func (*InsertObjectSpec) ProtoMessage()
- func (x *InsertObjectSpec) ProtoReflect() protoreflect.Message
- func (x *InsertObjectSpec) Reset()
- func (x *InsertObjectSpec) String() string
- type ListBucketAccessControlsRequest
- func (*ListBucketAccessControlsRequest) Descriptor() ([]byte, []int)
- func (x *ListBucketAccessControlsRequest) GetBucket() string
- func (x *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (*ListBucketAccessControlsRequest) ProtoMessage()
- func (x *ListBucketAccessControlsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBucketAccessControlsRequest) Reset()
- func (x *ListBucketAccessControlsRequest) String() string
- type ListBucketAccessControlsResponse
- func (*ListBucketAccessControlsResponse) Descriptor() ([]byte, []int)
- func (x *ListBucketAccessControlsResponse) GetItems() []*BucketAccessControl
- func (*ListBucketAccessControlsResponse) ProtoMessage()
- func (x *ListBucketAccessControlsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketAccessControlsResponse) Reset()
- func (x *ListBucketAccessControlsResponse) String() string
- type ListBucketsRequest
- func (*ListBucketsRequest) Descriptor() ([]byte, []int)
- func (x *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ListBucketsRequest) GetMaxResults() int32
- func (x *ListBucketsRequest) GetPageToken() string
- func (x *ListBucketsRequest) GetPrefix() string
- func (x *ListBucketsRequest) GetProject() string
- func (x *ListBucketsRequest) GetProjection() CommonEnums_Projection
- func (*ListBucketsRequest) ProtoMessage()
- func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBucketsRequest) Reset()
- func (x *ListBucketsRequest) String() string
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)
- func (x *ListBucketsResponse) GetItems() []*Bucket
- func (x *ListBucketsResponse) GetNextPageToken() string
- func (*ListBucketsResponse) ProtoMessage()
- func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketsResponse) Reset()
- func (x *ListBucketsResponse) String() string
- type ListChannelsRequest
- func (*ListChannelsRequest) Descriptor() ([]byte, []int)
- func (x *ListChannelsRequest) GetBucket() string
- func (x *ListChannelsRequest) GetCommonRequestParams() *CommonRequestParams
- func (*ListChannelsRequest) ProtoMessage()
- func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListChannelsRequest) Reset()
- func (x *ListChannelsRequest) String() string
- type ListChannelsResponse
- func (*ListChannelsResponse) Descriptor() ([]byte, []int)
- func (x *ListChannelsResponse) GetItems() []*ListChannelsResponse_Items
- func (*ListChannelsResponse) ProtoMessage()
- func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListChannelsResponse) Reset()
- func (x *ListChannelsResponse) String() string
- type ListChannelsResponse_Items
- func (*ListChannelsResponse_Items) Descriptor() ([]byte, []int)
- func (x *ListChannelsResponse_Items) GetChannelId() string
- func (x *ListChannelsResponse_Items) GetCreationTime() *timestamppb.Timestamp
- func (x *ListChannelsResponse_Items) GetPushUrl() string
- func (x *ListChannelsResponse_Items) GetResourceId() string
- func (x *ListChannelsResponse_Items) GetSubscriberEmail() string
- func (*ListChannelsResponse_Items) ProtoMessage()
- func (x *ListChannelsResponse_Items) ProtoReflect() protoreflect.Message
- func (x *ListChannelsResponse_Items) Reset()
- func (x *ListChannelsResponse_Items) String() string
- type ListDefaultObjectAccessControlsRequest
- func (*ListDefaultObjectAccessControlsRequest) Descriptor() ([]byte, []int)
- func (x *ListDefaultObjectAccessControlsRequest) GetBucket() string
- func (x *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (*ListDefaultObjectAccessControlsRequest) ProtoMessage()
- func (x *ListDefaultObjectAccessControlsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDefaultObjectAccessControlsRequest) Reset()
- func (x *ListDefaultObjectAccessControlsRequest) String() string
- type ListHmacKeysRequest
- func (*ListHmacKeysRequest) Descriptor() ([]byte, []int)
- func (x *ListHmacKeysRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ListHmacKeysRequest) GetMaxResults() int32
- func (x *ListHmacKeysRequest) GetPageToken() string
- func (x *ListHmacKeysRequest) GetProjectId() string
- func (x *ListHmacKeysRequest) GetServiceAccountEmail() string
- func (x *ListHmacKeysRequest) GetShowDeletedKeys() bool
- func (*ListHmacKeysRequest) ProtoMessage()
- func (x *ListHmacKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListHmacKeysRequest) Reset()
- func (x *ListHmacKeysRequest) String() string
- type ListHmacKeysResponse
- func (*ListHmacKeysResponse) Descriptor() ([]byte, []int)
- func (x *ListHmacKeysResponse) GetItems() []*HmacKeyMetadata
- func (x *ListHmacKeysResponse) GetNextPageToken() string
- func (*ListHmacKeysResponse) ProtoMessage()
- func (x *ListHmacKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListHmacKeysResponse) Reset()
- func (x *ListHmacKeysResponse) String() string
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
- func (x *ListNotificationsRequest) GetBucket() string
- func (x *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams
- func (*ListNotificationsRequest) ProtoMessage()
- func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsRequest) Reset()
- func (x *ListNotificationsRequest) String() string
- type ListNotificationsResponse
- func (*ListNotificationsResponse) Descriptor() ([]byte, []int)
- func (x *ListNotificationsResponse) GetItems() []*Notification
- func (*ListNotificationsResponse) ProtoMessage()
- func (x *ListNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsResponse) Reset()
- func (x *ListNotificationsResponse) String() string
- type ListObjectAccessControlsRequest
- func (*ListObjectAccessControlsRequest) Descriptor() ([]byte, []int)
- func (x *ListObjectAccessControlsRequest) GetBucket() string
- func (x *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ListObjectAccessControlsRequest) GetGeneration() int64
- func (x *ListObjectAccessControlsRequest) GetObject() string
- func (*ListObjectAccessControlsRequest) ProtoMessage()
- func (x *ListObjectAccessControlsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectAccessControlsRequest) Reset()
- func (x *ListObjectAccessControlsRequest) String() string
- type ListObjectAccessControlsResponse
- func (*ListObjectAccessControlsResponse) Descriptor() ([]byte, []int)
- func (x *ListObjectAccessControlsResponse) GetItems() []*ObjectAccessControl
- func (*ListObjectAccessControlsResponse) ProtoMessage()
- func (x *ListObjectAccessControlsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectAccessControlsResponse) Reset()
- func (x *ListObjectAccessControlsResponse) String() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)
- func (x *ListObjectsRequest) GetBucket() string
- func (x *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *ListObjectsRequest) GetDelimiter() string
- func (x *ListObjectsRequest) GetIncludeTrailingDelimiter() bool
- func (x *ListObjectsRequest) GetMaxResults() int32
- func (x *ListObjectsRequest) GetPageToken() string
- func (x *ListObjectsRequest) GetPrefix() string
- func (x *ListObjectsRequest) GetProjection() CommonEnums_Projection
- func (x *ListObjectsRequest) GetVersions() bool
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)
- func (x *ListObjectsResponse) GetItems() []*Object
- func (x *ListObjectsResponse) GetNextPageToken() string
- func (x *ListObjectsResponse) GetPrefixes() []string
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- type LockRetentionPolicyRequest
- func (*LockRetentionPolicyRequest) Descriptor() ([]byte, []int)
- func (x *LockRetentionPolicyRequest) GetBucket() string
- func (x *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64
- func (*LockRetentionPolicyRequest) ProtoMessage()
- func (x *LockRetentionPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *LockRetentionPolicyRequest) Reset()
- func (x *LockRetentionPolicyRequest) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)
- func (x *Notification) GetCustomAttributes() map[string]string
- func (x *Notification) GetEtag() string
- func (x *Notification) GetEventTypes() []string
- func (x *Notification) GetId() string
- func (x *Notification) GetObjectNamePrefix() string
- func (x *Notification) GetPayloadFormat() string
- func (x *Notification) GetTopic() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (x *Object) GetAcl() []*ObjectAccessControl
- func (x *Object) GetBucket() string
- func (x *Object) GetCacheControl() string
- func (x *Object) GetComponentCount() int32
- func (x *Object) GetContentDisposition() string
- func (x *Object) GetContentEncoding() string
- func (x *Object) GetContentLanguage() string
- func (x *Object) GetContentType() string
- func (x *Object) GetCrc32C() *wrapperspb.UInt32Value
- func (x *Object) GetCustomerEncryption() *Object_CustomerEncryption
- func (x *Object) GetEtag() string
- func (x *Object) GetEventBasedHold() *wrapperspb.BoolValue
- func (x *Object) GetGeneration() int64
- func (x *Object) GetId() string
- func (x *Object) GetKmsKeyName() string
- func (x *Object) GetMd5Hash() string
- func (x *Object) GetMetadata() map[string]string
- func (x *Object) GetMetageneration() int64
- func (x *Object) GetName() string
- func (x *Object) GetOwner() *Owner
- func (x *Object) GetRetentionExpirationTime() *timestamppb.Timestamp
- func (x *Object) GetSize() int64
- func (x *Object) GetStorageClass() string
- func (x *Object) GetTemporaryHold() bool
- func (x *Object) GetTimeCreated() *timestamppb.Timestamp
- func (x *Object) GetTimeDeleted() *timestamppb.Timestamp
- func (x *Object) GetTimeStorageClassUpdated() *timestamppb.Timestamp
- func (x *Object) GetUpdated() *timestamppb.Timestamp
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- type ObjectAccessControl
- func (*ObjectAccessControl) Descriptor() ([]byte, []int)
- func (x *ObjectAccessControl) GetBucket() string
- func (x *ObjectAccessControl) GetDomain() string
- func (x *ObjectAccessControl) GetEmail() string
- func (x *ObjectAccessControl) GetEntity() string
- func (x *ObjectAccessControl) GetEntityId() string
- func (x *ObjectAccessControl) GetEtag() string
- func (x *ObjectAccessControl) GetGeneration() int64
- func (x *ObjectAccessControl) GetId() string
- func (x *ObjectAccessControl) GetObject() string
- func (x *ObjectAccessControl) GetProjectTeam() *ProjectTeam
- func (x *ObjectAccessControl) GetRole() string
- func (*ObjectAccessControl) ProtoMessage()
- func (x *ObjectAccessControl) ProtoReflect() protoreflect.Message
- func (x *ObjectAccessControl) Reset()
- func (x *ObjectAccessControl) String() string
- type ObjectChecksums
- func (*ObjectChecksums) Descriptor() ([]byte, []int)
- func (x *ObjectChecksums) GetCrc32C() *wrapperspb.UInt32Value
- func (x *ObjectChecksums) GetMd5Hash() string
- func (*ObjectChecksums) ProtoMessage()
- func (x *ObjectChecksums) ProtoReflect() protoreflect.Message
- func (x *ObjectChecksums) Reset()
- func (x *ObjectChecksums) String() string
- type Object_CustomerEncryption
- func (*Object_CustomerEncryption) Descriptor() ([]byte, []int)
- func (x *Object_CustomerEncryption) GetEncryptionAlgorithm() string
- func (x *Object_CustomerEncryption) GetKeySha256() string
- func (*Object_CustomerEncryption) ProtoMessage()
- func (x *Object_CustomerEncryption) ProtoReflect() protoreflect.Message
- func (x *Object_CustomerEncryption) Reset()
- func (x *Object_CustomerEncryption) String() string
- type Owner
- type PatchBucketAccessControlRequest
- func (*PatchBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *PatchBucketAccessControlRequest) GetBucket() string
- func (x *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (x *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *PatchBucketAccessControlRequest) GetEntity() string
- func (x *PatchBucketAccessControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PatchBucketAccessControlRequest) ProtoMessage()
- func (x *PatchBucketAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *PatchBucketAccessControlRequest) Reset()
- func (x *PatchBucketAccessControlRequest) String() string
- type PatchBucketRequest
- func (*PatchBucketRequest) Descriptor() ([]byte, []int)
- func (x *PatchBucketRequest) GetBucket() string
- func (x *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *PatchBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *PatchBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *PatchBucketRequest) GetMetadata() *Bucket
- func (x *PatchBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (x *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (x *PatchBucketRequest) GetProjection() CommonEnums_Projection
- func (x *PatchBucketRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PatchBucketRequest) ProtoMessage()
- func (x *PatchBucketRequest) ProtoReflect() protoreflect.Message
- func (x *PatchBucketRequest) Reset()
- func (x *PatchBucketRequest) String() string
- type PatchDefaultObjectAccessControlRequest
- func (*PatchDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *PatchDefaultObjectAccessControlRequest) GetBucket() string
- func (x *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *PatchDefaultObjectAccessControlRequest) GetEntity() string
- func (x *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (x *PatchDefaultObjectAccessControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PatchDefaultObjectAccessControlRequest) ProtoMessage()
- func (x *PatchDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *PatchDefaultObjectAccessControlRequest) Reset()
- func (x *PatchDefaultObjectAccessControlRequest) String() string
- type PatchObjectAccessControlRequest
- func (*PatchObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *PatchObjectAccessControlRequest) GetBucket() string
- func (x *PatchObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *PatchObjectAccessControlRequest) GetEntity() string
- func (x *PatchObjectAccessControlRequest) GetGeneration() int64
- func (x *PatchObjectAccessControlRequest) GetObject() string
- func (x *PatchObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (x *PatchObjectAccessControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PatchObjectAccessControlRequest) ProtoMessage()
- func (x *PatchObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *PatchObjectAccessControlRequest) Reset()
- func (x *PatchObjectAccessControlRequest) String() string
- type PatchObjectRequest
- func (*PatchObjectRequest) Descriptor() ([]byte, []int)
- func (x *PatchObjectRequest) GetBucket() string
- func (x *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *PatchObjectRequest) GetGeneration() int64
- func (x *PatchObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *PatchObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *PatchObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *PatchObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *PatchObjectRequest) GetMetadata() *Object
- func (x *PatchObjectRequest) GetObject() string
- func (x *PatchObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *PatchObjectRequest) GetProjection() CommonEnums_Projection
- func (x *PatchObjectRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*PatchObjectRequest) ProtoMessage()
- func (x *PatchObjectRequest) ProtoReflect() protoreflect.Message
- func (x *PatchObjectRequest) Reset()
- func (x *PatchObjectRequest) String() string
- type ProjectTeam
- type QueryWriteStatusRequest
- func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int)
- func (x *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *QueryWriteStatusRequest) GetUploadId() string
- func (*QueryWriteStatusRequest) ProtoMessage()
- func (x *QueryWriteStatusRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWriteStatusRequest) Reset()
- func (x *QueryWriteStatusRequest) String() string
- type QueryWriteStatusResponse
- func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int)
- func (x *QueryWriteStatusResponse) GetCommittedSize() int64
- func (x *QueryWriteStatusResponse) GetComplete() bool
- func (*QueryWriteStatusResponse) ProtoMessage()
- func (x *QueryWriteStatusResponse) ProtoReflect() protoreflect.Message
- func (x *QueryWriteStatusResponse) Reset()
- func (x *QueryWriteStatusResponse) String() string
- type RewriteObjectRequest
- func (*RewriteObjectRequest) Descriptor() ([]byte, []int)
- func (x *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string
- func (x *RewriteObjectRequest) GetCopySourceEncryptionKey() string
- func (x *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string
- func (x *RewriteObjectRequest) GetDestinationBucket() string
- func (x *RewriteObjectRequest) GetDestinationKmsKeyName() string
- func (x *RewriteObjectRequest) GetDestinationObject() string
- func (x *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *RewriteObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfSourceGenerationMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfSourceGenerationNotMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfSourceMetagenerationMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64
- func (x *RewriteObjectRequest) GetObject() *Object
- func (x *RewriteObjectRequest) GetProjection() CommonEnums_Projection
- func (x *RewriteObjectRequest) GetRewriteToken() string
- func (x *RewriteObjectRequest) GetSourceBucket() string
- func (x *RewriteObjectRequest) GetSourceGeneration() int64
- func (x *RewriteObjectRequest) GetSourceObject() string
- func (*RewriteObjectRequest) ProtoMessage()
- func (x *RewriteObjectRequest) ProtoReflect() protoreflect.Message
- func (x *RewriteObjectRequest) Reset()
- func (x *RewriteObjectRequest) String() string
- type RewriteResponse
- func (*RewriteResponse) Descriptor() ([]byte, []int)
- func (x *RewriteResponse) GetDone() bool
- func (x *RewriteResponse) GetObjectSize() int64
- func (x *RewriteResponse) GetResource() *Object
- func (x *RewriteResponse) GetRewriteToken() string
- func (x *RewriteResponse) GetTotalBytesRewritten() int64
- func (*RewriteResponse) ProtoMessage()
- func (x *RewriteResponse) ProtoReflect() protoreflect.Message
- func (x *RewriteResponse) Reset()
- func (x *RewriteResponse) String() string
- type ServiceAccount
- type ServiceConstants
- type ServiceConstants_Values
- func (ServiceConstants_Values) Descriptor() protoreflect.EnumDescriptor
- func (x ServiceConstants_Values) Enum() *ServiceConstants_Values
- func (ServiceConstants_Values) EnumDescriptor() ([]byte, []int)
- func (x ServiceConstants_Values) Number() protoreflect.EnumNumber
- func (x ServiceConstants_Values) String() string
- func (ServiceConstants_Values) Type() protoreflect.EnumType
- type SetIamPolicyRequest
- func (*SetIamPolicyRequest) Descriptor() ([]byte, []int)
- func (x *SetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *SetIamPolicyRequest) GetIamRequest() *v1.SetIamPolicyRequest
- func (*SetIamPolicyRequest) ProtoMessage()
- func (x *SetIamPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *SetIamPolicyRequest) Reset()
- func (x *SetIamPolicyRequest) String() string
- type StartResumableWriteRequest
- func (*StartResumableWriteRequest) Descriptor() ([]byte, []int)
- func (x *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec
- func (*StartResumableWriteRequest) ProtoMessage()
- func (x *StartResumableWriteRequest) ProtoReflect() protoreflect.Message
- func (x *StartResumableWriteRequest) Reset()
- func (x *StartResumableWriteRequest) String() string
- type StartResumableWriteResponse
- func (*StartResumableWriteResponse) Descriptor() ([]byte, []int)
- func (x *StartResumableWriteResponse) GetUploadId() string
- func (*StartResumableWriteResponse) ProtoMessage()
- func (x *StartResumableWriteResponse) ProtoReflect() protoreflect.Message
- func (x *StartResumableWriteResponse) Reset()
- func (x *StartResumableWriteResponse) String() string
- type StopChannelRequest
- func (*StopChannelRequest) Descriptor() ([]byte, []int)
- func (x *StopChannelRequest) GetChannel() *Channel
- func (x *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams
- func (*StopChannelRequest) ProtoMessage()
- func (x *StopChannelRequest) ProtoReflect() protoreflect.Message
- func (x *StopChannelRequest) Reset()
- func (x *StopChannelRequest) String() string
- type StorageClient
- type StorageServer
- type Storage_GetObjectMediaClient
- type Storage_GetObjectMediaServer
- type Storage_InsertObjectClient
- type Storage_InsertObjectServer
- type TestIamPermissionsRequest
- func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int)
- func (x *TestIamPermissionsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *TestIamPermissionsRequest) GetIamRequest() *v1.TestIamPermissionsRequest
- func (*TestIamPermissionsRequest) ProtoMessage()
- func (x *TestIamPermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *TestIamPermissionsRequest) Reset()
- func (x *TestIamPermissionsRequest) String() string
- type UnimplementedStorageServer
- func (*UnimplementedStorageServer) ComposeObject(context.Context, *ComposeObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) CopyObject(context.Context, *CopyObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) CreateHmacKey(context.Context, *CreateHmacKeyRequest) (*CreateHmacKeyResponse, error)
- func (*UnimplementedStorageServer) DeleteBucket(context.Context, *DeleteBucketRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteBucketAccessControl(context.Context, *DeleteBucketAccessControlRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl(context.Context, *DeleteDefaultObjectAccessControlRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteHmacKey(context.Context, *DeleteHmacKeyRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteNotification(context.Context, *DeleteNotificationRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteObject(context.Context, *DeleteObjectRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) DeleteObjectAccessControl(context.Context, *DeleteObjectAccessControlRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) GetBucket(context.Context, *GetBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) GetBucketAccessControl(context.Context, *GetBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) GetBucketIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) GetDefaultObjectAccessControl(context.Context, *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) GetHmacKey(context.Context, *GetHmacKeyRequest) (*HmacKeyMetadata, error)
- func (*UnimplementedStorageServer) GetNotification(context.Context, *GetNotificationRequest) (*Notification, error)
- func (*UnimplementedStorageServer) GetObject(context.Context, *GetObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) GetObjectAccessControl(context.Context, *GetObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) GetObjectIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) GetObjectMedia(*GetObjectMediaRequest, Storage_GetObjectMediaServer) error
- func (*UnimplementedStorageServer) GetServiceAccount(context.Context, *GetProjectServiceAccountRequest) (*ServiceAccount, error)
- func (*UnimplementedStorageServer) InsertBucket(context.Context, *InsertBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) InsertBucketAccessControl(context.Context, *InsertBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl(context.Context, *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) InsertNotification(context.Context, *InsertNotificationRequest) (*Notification, error)
- func (*UnimplementedStorageServer) InsertObject(Storage_InsertObjectServer) error
- func (*UnimplementedStorageServer) InsertObjectAccessControl(context.Context, *InsertObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) ListBucketAccessControls(context.Context, *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
- func (*UnimplementedStorageServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
- func (*UnimplementedStorageServer) ListDefaultObjectAccessControls(context.Context, *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListHmacKeys(context.Context, *ListHmacKeysRequest) (*ListHmacKeysResponse, error)
- func (*UnimplementedStorageServer) ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error)
- func (*UnimplementedStorageServer) ListObjectAccessControls(context.Context, *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
- func (*UnimplementedStorageServer) LockBucketRetentionPolicy(context.Context, *LockRetentionPolicyRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) PatchBucket(context.Context, *PatchBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) PatchBucketAccessControl(context.Context, *PatchBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl(context.Context, *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) PatchObject(context.Context, *PatchObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) PatchObjectAccessControl(context.Context, *PatchObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error)
- func (*UnimplementedStorageServer) RewriteObject(context.Context, *RewriteObjectRequest) (*RewriteResponse, error)
- func (*UnimplementedStorageServer) SetBucketIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) SetObjectIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) StartResumableWrite(context.Context, *StartResumableWriteRequest) (*StartResumableWriteResponse, error)
- func (*UnimplementedStorageServer) StopChannel(context.Context, *StopChannelRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageServer) TestBucketIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- func (*UnimplementedStorageServer) TestObjectIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- func (*UnimplementedStorageServer) UpdateBucket(context.Context, *UpdateBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) UpdateBucketAccessControl(context.Context, *UpdateBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl(context.Context, *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) UpdateHmacKey(context.Context, *UpdateHmacKeyRequest) (*HmacKeyMetadata, error)
- func (*UnimplementedStorageServer) UpdateObject(context.Context, *UpdateObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) UpdateObjectAccessControl(context.Context, *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) WatchAllObjects(context.Context, *WatchAllObjectsRequest) (*Channel, error)
- type UpdateBucketAccessControlRequest
- func (*UpdateBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *UpdateBucketAccessControlRequest) GetBucket() string
- func (x *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (x *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateBucketAccessControlRequest) GetEntity() string
- func (*UpdateBucketAccessControlRequest) ProtoMessage()
- func (x *UpdateBucketAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketAccessControlRequest) Reset()
- func (x *UpdateBucketAccessControlRequest) String() string
- type UpdateBucketRequest
- func (*UpdateBucketRequest) Descriptor() ([]byte, []int)
- func (x *UpdateBucketRequest) GetBucket() string
- func (x *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *UpdateBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *UpdateBucketRequest) GetMetadata() *Bucket
- func (x *UpdateBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (x *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (x *UpdateBucketRequest) GetProjection() CommonEnums_Projection
- func (*UpdateBucketRequest) ProtoMessage()
- func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketRequest) Reset()
- func (x *UpdateBucketRequest) String() string
- type UpdateDefaultObjectAccessControlRequest
- func (*UpdateDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *UpdateDefaultObjectAccessControlRequest) GetBucket() string
- func (x *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateDefaultObjectAccessControlRequest) GetEntity() string
- func (x *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage()
- func (x *UpdateDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDefaultObjectAccessControlRequest) Reset()
- func (x *UpdateDefaultObjectAccessControlRequest) String() string
- type UpdateHmacKeyRequest
- func (*UpdateHmacKeyRequest) Descriptor() ([]byte, []int)
- func (x *UpdateHmacKeyRequest) GetAccessId() string
- func (x *UpdateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateHmacKeyRequest) GetMetadata() *HmacKeyMetadata
- func (x *UpdateHmacKeyRequest) GetProjectId() string
- func (*UpdateHmacKeyRequest) ProtoMessage()
- func (x *UpdateHmacKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateHmacKeyRequest) Reset()
- func (x *UpdateHmacKeyRequest) String() string
- type UpdateObjectAccessControlRequest
- func (*UpdateObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (x *UpdateObjectAccessControlRequest) GetBucket() string
- func (x *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateObjectAccessControlRequest) GetEntity() string
- func (x *UpdateObjectAccessControlRequest) GetGeneration() int64
- func (x *UpdateObjectAccessControlRequest) GetObject() string
- func (x *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (x *UpdateObjectAccessControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateObjectAccessControlRequest) ProtoMessage()
- func (x *UpdateObjectAccessControlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateObjectAccessControlRequest) Reset()
- func (x *UpdateObjectAccessControlRequest) String() string
- type UpdateObjectRequest
- func (*UpdateObjectRequest) Descriptor() ([]byte, []int)
- func (x *UpdateObjectRequest) GetBucket() string
- func (x *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (x *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *UpdateObjectRequest) GetGeneration() int64
- func (x *UpdateObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
- func (x *UpdateObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
- func (x *UpdateObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
- func (x *UpdateObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
- func (x *UpdateObjectRequest) GetMetadata() *Object
- func (x *UpdateObjectRequest) GetObject() string
- func (x *UpdateObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (x *UpdateObjectRequest) GetProjection() CommonEnums_Projection
- func (*UpdateObjectRequest) ProtoMessage()
- func (x *UpdateObjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateObjectRequest) Reset()
- func (x *UpdateObjectRequest) String() string
- type WatchAllObjectsRequest
- func (*WatchAllObjectsRequest) Descriptor() ([]byte, []int)
- func (x *WatchAllObjectsRequest) GetBucket() string
- func (x *WatchAllObjectsRequest) GetChannel() *Channel
- func (x *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams
- func (x *WatchAllObjectsRequest) GetDelimiter() string
- func (x *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool
- func (x *WatchAllObjectsRequest) GetMaxResults() int32
- func (x *WatchAllObjectsRequest) GetPageToken() string
- func (x *WatchAllObjectsRequest) GetPrefix() string
- func (x *WatchAllObjectsRequest) GetProjection() CommonEnums_Projection
- func (x *WatchAllObjectsRequest) GetVersions() bool
- func (*WatchAllObjectsRequest) ProtoMessage()
- func (x *WatchAllObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *WatchAllObjectsRequest) Reset()
- func (x *WatchAllObjectsRequest) String() string
Constants ¶
Variables ¶
var ( ServiceConstants_Values_name = map[int32]string{ 0: "VALUES_UNSPECIFIED", 2097152: "MAX_READ_CHUNK_BYTES", 5242880: "MAX_OBJECT_SIZE_MB", 1024: "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES", 4096: "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES", 8192: "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES", 20480: "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES", 100: "MAX_NOTIFICATION_CONFIGS_PER_BUCKET", 5: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES", 256: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH", 64: "MAX_LABELS_ENTRIES_COUNT", 63: "MAX_LABELS_KEY_VALUE_LENGTH", 128: "MAX_LABELS_KEY_VALUE_BYTES", 1000: "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST", 14: "SPLIT_TOKEN_MAX_VALID_DAYS", } ServiceConstants_Values_value = map[string]int32{ "VALUES_UNSPECIFIED": 0, "MAX_READ_CHUNK_BYTES": 2097152, "MAX_WRITE_CHUNK_BYTES": 2097152, "MAX_OBJECT_SIZE_MB": 5242880, "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES": 1024, "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES": 4096, "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES": 8192, "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES": 20480, "MAX_NOTIFICATION_CONFIGS_PER_BUCKET": 100, "MAX_LIFECYCLE_RULES_PER_BUCKET": 100, "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES": 5, "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH": 256, "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH": 1024, "MAX_LABELS_ENTRIES_COUNT": 64, "MAX_LABELS_KEY_VALUE_LENGTH": 63, "MAX_LABELS_KEY_VALUE_BYTES": 128, "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST": 1000, "SPLIT_TOKEN_MAX_VALID_DAYS": 14, } )
Enum value maps for ServiceConstants_Values.
var ( CommonEnums_Projection_name = map[int32]string{ 0: "PROJECTION_UNSPECIFIED", 1: "NO_ACL", 2: "FULL", } CommonEnums_Projection_value = map[string]int32{ "PROJECTION_UNSPECIFIED": 0, "NO_ACL": 1, "FULL": 2, } )
Enum value maps for CommonEnums_Projection.
var ( CommonEnums_PredefinedBucketAcl_name = map[int32]string{ 0: "PREDEFINED_BUCKET_ACL_UNSPECIFIED", 1: "BUCKET_ACL_AUTHENTICATED_READ", 2: "BUCKET_ACL_PRIVATE", 3: "BUCKET_ACL_PROJECT_PRIVATE", 4: "BUCKET_ACL_PUBLIC_READ", 5: "BUCKET_ACL_PUBLIC_READ_WRITE", } CommonEnums_PredefinedBucketAcl_value = map[string]int32{ "PREDEFINED_BUCKET_ACL_UNSPECIFIED": 0, "BUCKET_ACL_AUTHENTICATED_READ": 1, "BUCKET_ACL_PRIVATE": 2, "BUCKET_ACL_PROJECT_PRIVATE": 3, "BUCKET_ACL_PUBLIC_READ": 4, "BUCKET_ACL_PUBLIC_READ_WRITE": 5, } )
Enum value maps for CommonEnums_PredefinedBucketAcl.
var ( CommonEnums_PredefinedObjectAcl_name = map[int32]string{ 0: "PREDEFINED_OBJECT_ACL_UNSPECIFIED", 1: "OBJECT_ACL_AUTHENTICATED_READ", 2: "OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL", 3: "OBJECT_ACL_BUCKET_OWNER_READ", 4: "OBJECT_ACL_PRIVATE", 5: "OBJECT_ACL_PROJECT_PRIVATE", 6: "OBJECT_ACL_PUBLIC_READ", } CommonEnums_PredefinedObjectAcl_value = map[string]int32{ "PREDEFINED_OBJECT_ACL_UNSPECIFIED": 0, "OBJECT_ACL_AUTHENTICATED_READ": 1, "OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL": 2, "OBJECT_ACL_BUCKET_OWNER_READ": 3, "OBJECT_ACL_PRIVATE": 4, "OBJECT_ACL_PROJECT_PRIVATE": 5, "OBJECT_ACL_PUBLIC_READ": 6, } )
Enum value maps for CommonEnums_PredefinedObjectAcl.
var File_google_storage_v1_storage_proto protoreflect.FileDescriptor
var File_google_storage_v1_storage_resources_proto protoreflect.FileDescriptor
Functions ¶
func RegisterStorageServer ¶
func RegisterStorageServer(s *grpc.Server, srv StorageServer)
Types ¶
type Bucket ¶
type Bucket struct { // Access controls on the bucket. Acl []*BucketAccessControl `protobuf:"bytes,1,rep,name=acl,proto3" json:"acl,omitempty"` // Default access controls to apply to new objects when no ACL is provided. DefaultObjectAcl []*ObjectAccessControl `protobuf:"bytes,2,rep,name=default_object_acl,json=defaultObjectAcl,proto3" json:"default_object_acl,omitempty"` // The bucket's lifecycle configuration. See // [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] // for more information. Lifecycle *Bucket_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // The creation time of the bucket in // [https://tools.ietf.org/html/rfc3339][RFC 3339] format. // Attempting to set this field will result in an error. TimeCreated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` // The ID of the bucket. For buckets, the `id` and `name` properties are the // same. // Attempting to update this field after the bucket is created will result in // an error. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket. // Attempting to update this field after the bucket is created will result in // an error. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // The project number of the project the bucket belongs to. // Attempting to set this field will result in an error. ProjectNumber int64 `protobuf:"varint,7,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` // The metadata generation of this bucket. // Attempting to set this field will result in an error. Metageneration int64 `protobuf:"varint,8,opt,name=metageneration,proto3" json:"metageneration,omitempty"` // The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] // (CORS) configuration. Cors []*Bucket_Cors `protobuf:"bytes,9,rep,name=cors,proto3" json:"cors,omitempty"` // The location of the bucket. Object data for objects in the bucket resides // in physical storage within this region. Defaults to `US`. See the // [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's // guide] for the authoritative list. Attempting to update this field after // the bucket is created will result in an error. Location string `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"` // The bucket's default storage class, used whenever no storageClass is // specified for a newly-created object. This defines how objects in the // bucket are stored and determines the SLA and the cost of storage. // If this value is not specified when the bucket is created, it will default // to `STANDARD`. For more information, see // https://developers.google.com/storage/docs/storage-classes. StorageClass string `protobuf:"bytes,11,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3"]Entity tag] // for the bucket. // Attempting to set this field will result in an error. Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"` // The modification time of the bucket. // Attempting to set this field will result in an error. Updated *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated,proto3" json:"updated,omitempty"` // The default value for event-based hold on newly created objects in this // bucket. Event-based hold is a way to retain objects indefinitely until an // event occurs, signified by the // hold's release. After being released, such objects will be subject to // bucket-level retention (if any). One sample use case of this flag is for // banks to hold loan documents for at least 3 years after loan is paid in // full. Here, bucket-level retention is 3 years and the event is loan being // paid in full. In this example, these objects will be held intact for any // number of years until the event has occurred (event-based hold on the // object is released) and then 3 more years after that. That means retention // duration of the objects begins from the moment event-based hold // transitioned from true to false. Objects under event-based hold cannot be // deleted, overwritten or archived until the hold is removed. DefaultEventBasedHold bool `` /* 130-byte string literal not displayed */ // User-provided labels, in key/value pairs. Labels map[string]string `` /* 154-byte string literal not displayed */ // The bucket's website configuration, controlling how the service behaves // when accessing bucket contents as a web site. See the // [https://cloud.google.com/storage/docs/static-website][Static Website // Examples] for more information. Website *Bucket_Website `protobuf:"bytes,16,opt,name=website,proto3" json:"website,omitempty"` // The bucket's versioning configuration. Versioning *Bucket_Versioning `protobuf:"bytes,17,opt,name=versioning,proto3" json:"versioning,omitempty"` // The bucket's logging configuration, which defines the destination bucket // and optional name prefix for the current bucket's logs. Logging *Bucket_Logging `protobuf:"bytes,18,opt,name=logging,proto3" json:"logging,omitempty"` // The owner of the bucket. This is always the project team's owner group. Owner *Owner `protobuf:"bytes,19,opt,name=owner,proto3" json:"owner,omitempty"` // Encryption configuration for a bucket. Encryption *Bucket_Encryption `protobuf:"bytes,20,opt,name=encryption,proto3" json:"encryption,omitempty"` // The bucket's billing configuration. Billing *Bucket_Billing `protobuf:"bytes,21,opt,name=billing,proto3" json:"billing,omitempty"` // The bucket's retention policy. The retention policy enforces a minimum // retention time for all objects contained in the bucket, based on their // creation time. Any attempt to overwrite or delete objects younger than the // retention period will result in a PERMISSION_DENIED error. An unlocked // retention policy can be modified or removed from the bucket via a // storage.buckets.update operation. A locked retention policy cannot be // removed or shortened in duration for the lifetime of the bucket. // Attempting to remove or decrease period of a locked retention policy will // result in a PERMISSION_DENIED error. RetentionPolicy *Bucket_RetentionPolicy `protobuf:"bytes,22,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"` // The location type of the bucket (region, dual-region, multi-region, etc). LocationType string `protobuf:"bytes,23,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"` // The bucket's IAM configuration. IamConfiguration *Bucket_IamConfiguration `protobuf:"bytes,24,opt,name=iam_configuration,json=iamConfiguration,proto3" json:"iam_configuration,omitempty"` // The zone or zones from which the bucket is intended to use zonal quota. // Requests for data from outside the specified affinities are still allowed // but won’t be able to use zonal quota. The values are case-insensitive. // Attempting to update this field after bucket is created will result in an // error. ZoneAffinity []string `protobuf:"bytes,25,rep,name=zone_affinity,json=zoneAffinity,proto3" json:"zone_affinity,omitempty"` // contains filtered or unexported fields }
A bucket.
func (*Bucket) Descriptor ¶
Deprecated: Use Bucket.ProtoReflect.Descriptor instead.
func (*Bucket) GetAcl ¶
func (x *Bucket) GetAcl() []*BucketAccessControl
func (*Bucket) GetBilling ¶
func (x *Bucket) GetBilling() *Bucket_Billing
func (*Bucket) GetCors ¶
func (x *Bucket) GetCors() []*Bucket_Cors
func (*Bucket) GetDefaultEventBasedHold ¶
func (*Bucket) GetDefaultObjectAcl ¶
func (x *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl
func (*Bucket) GetEncryption ¶
func (x *Bucket) GetEncryption() *Bucket_Encryption
func (*Bucket) GetIamConfiguration ¶
func (x *Bucket) GetIamConfiguration() *Bucket_IamConfiguration
func (*Bucket) GetLifecycle ¶
func (x *Bucket) GetLifecycle() *Bucket_Lifecycle
func (*Bucket) GetLocation ¶
func (*Bucket) GetLocationType ¶
func (*Bucket) GetLogging ¶
func (x *Bucket) GetLogging() *Bucket_Logging
func (*Bucket) GetMetageneration ¶
func (*Bucket) GetProjectNumber ¶
func (*Bucket) GetRetentionPolicy ¶
func (x *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy
func (*Bucket) GetStorageClass ¶
func (*Bucket) GetTimeCreated ¶
func (x *Bucket) GetTimeCreated() *timestamppb.Timestamp
func (*Bucket) GetUpdated ¶
func (x *Bucket) GetUpdated() *timestamppb.Timestamp
func (*Bucket) GetVersioning ¶
func (x *Bucket) GetVersioning() *Bucket_Versioning
func (*Bucket) GetWebsite ¶
func (x *Bucket) GetWebsite() *Bucket_Website
func (*Bucket) GetZoneAffinity ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type BucketAccessControl ¶
type BucketAccessControl struct { // The access permission for the entity. Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // HTTP 1.1 ["https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag] // for the access-control entry. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // The ID of the access-control entry. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket. Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission, in one of the following forms: // * `user-{userid}` // * `user-{email}` // * `group-{groupid}` // * `group-{email}` // * `domain-{domain}` // * `project-{team-projectid}` // * `allUsers` // * `allAuthenticatedUsers` // Examples: // * The user `liz@example.com` would be `user-liz@example.com`. // * The group `example@googlegroups.com` would be // `group-example@googlegroups.com` // * All members of the Google Apps for Business domain `example.com` would be // `domain-example.com` Entity string `protobuf:"bytes,6,opt,name=entity,proto3" json:"entity,omitempty"` // The ID for the entity, if any. EntityId string `protobuf:"bytes,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // The email address associated with the entity, if any. Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` // The domain associated with the entity, if any. Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain,omitempty"` // The project team associated with the entity, if any. ProjectTeam *ProjectTeam `protobuf:"bytes,10,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"` // contains filtered or unexported fields }
An access-control entry.
func (*BucketAccessControl) Descriptor ¶
func (*BucketAccessControl) Descriptor() ([]byte, []int)
Deprecated: Use BucketAccessControl.ProtoReflect.Descriptor instead.
func (*BucketAccessControl) GetBucket ¶
func (x *BucketAccessControl) GetBucket() string
func (*BucketAccessControl) GetDomain ¶
func (x *BucketAccessControl) GetDomain() string
func (*BucketAccessControl) GetEmail ¶
func (x *BucketAccessControl) GetEmail() string
func (*BucketAccessControl) GetEntity ¶
func (x *BucketAccessControl) GetEntity() string
func (*BucketAccessControl) GetEntityId ¶
func (x *BucketAccessControl) GetEntityId() string
func (*BucketAccessControl) GetEtag ¶
func (x *BucketAccessControl) GetEtag() string
func (*BucketAccessControl) GetId ¶
func (x *BucketAccessControl) GetId() string
func (*BucketAccessControl) GetProjectTeam ¶
func (x *BucketAccessControl) GetProjectTeam() *ProjectTeam
func (*BucketAccessControl) GetRole ¶
func (x *BucketAccessControl) GetRole() string
func (*BucketAccessControl) ProtoMessage ¶
func (*BucketAccessControl) ProtoMessage()
func (*BucketAccessControl) ProtoReflect ¶
func (x *BucketAccessControl) ProtoReflect() protoreflect.Message
func (*BucketAccessControl) Reset ¶
func (x *BucketAccessControl) Reset()
func (*BucketAccessControl) String ¶
func (x *BucketAccessControl) String() string
type Bucket_Billing ¶
type Bucket_Billing struct { // When set to true, Requester Pays is enabled for this bucket. RequesterPays bool `protobuf:"varint,1,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"` // contains filtered or unexported fields }
Billing properties of a bucket.
func (*Bucket_Billing) Descriptor ¶
func (*Bucket_Billing) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Billing.ProtoReflect.Descriptor instead.
func (*Bucket_Billing) GetRequesterPays ¶
func (x *Bucket_Billing) GetRequesterPays() bool
func (*Bucket_Billing) ProtoMessage ¶
func (*Bucket_Billing) ProtoMessage()
func (*Bucket_Billing) ProtoReflect ¶
func (x *Bucket_Billing) ProtoReflect() protoreflect.Message
func (*Bucket_Billing) Reset ¶
func (x *Bucket_Billing) Reset()
func (*Bucket_Billing) String ¶
func (x *Bucket_Billing) String() string
type Bucket_Cors ¶
type Bucket_Cors struct { // The list of Origins eligible to receive CORS response headers. See // [https://tools.ietf.org/html/rfc6454][RFC 6454] for more on origins. // Note: "*" is permitted in the list of origins, and means "any Origin". Origin []string `protobuf:"bytes,1,rep,name=origin,proto3" json:"origin,omitempty"` // The list of HTTP methods on which to include CORS response headers, // (`GET`, `OPTIONS`, `POST`, etc) Note: "*" is permitted in the list of // methods, and means "any method". Method []string `protobuf:"bytes,2,rep,name=method,proto3" json:"method,omitempty"` // The list of HTTP headers other than the // [https://www.w3.org/TR/cors/#simple-response-header][simple response // headers] to give permission for the user-agent to share across domains. ResponseHeader []string `protobuf:"bytes,3,rep,name=response_header,json=responseHeader,proto3" json:"response_header,omitempty"` // The value, in seconds, to return in the // [https://www.w3.org/TR/cors/#access-control-max-age-response-header][Access-Control-Max-Age // header] used in preflight responses. MaxAgeSeconds int32 `protobuf:"varint,4,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"` // contains filtered or unexported fields }
Cross-Origin Response sharing (CORS) properties for a bucket. For more on GCS and CORS, see https://cloud.google.com/storage/docs/cross-origin. For more on CORS in general, see https://tools.ietf.org/html/rfc6454.
func (*Bucket_Cors) Descriptor ¶
func (*Bucket_Cors) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Cors.ProtoReflect.Descriptor instead.
func (*Bucket_Cors) GetMaxAgeSeconds ¶
func (x *Bucket_Cors) GetMaxAgeSeconds() int32
func (*Bucket_Cors) GetMethod ¶
func (x *Bucket_Cors) GetMethod() []string
func (*Bucket_Cors) GetOrigin ¶
func (x *Bucket_Cors) GetOrigin() []string
func (*Bucket_Cors) GetResponseHeader ¶
func (x *Bucket_Cors) GetResponseHeader() []string
func (*Bucket_Cors) ProtoMessage ¶
func (*Bucket_Cors) ProtoMessage()
func (*Bucket_Cors) ProtoReflect ¶
func (x *Bucket_Cors) ProtoReflect() protoreflect.Message
func (*Bucket_Cors) Reset ¶
func (x *Bucket_Cors) Reset()
func (*Bucket_Cors) String ¶
func (x *Bucket_Cors) String() string
type Bucket_Encryption ¶
type Bucket_Encryption struct { // A Cloud KMS key that will be used to encrypt objects inserted into this // bucket, if no encryption method is specified. DefaultKmsKeyName string `protobuf:"bytes,1,opt,name=default_kms_key_name,json=defaultKmsKeyName,proto3" json:"default_kms_key_name,omitempty"` // contains filtered or unexported fields }
Encryption properties of a bucket.
func (*Bucket_Encryption) Descriptor ¶
func (*Bucket_Encryption) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Encryption.ProtoReflect.Descriptor instead.
func (*Bucket_Encryption) GetDefaultKmsKeyName ¶
func (x *Bucket_Encryption) GetDefaultKmsKeyName() string
func (*Bucket_Encryption) ProtoMessage ¶
func (*Bucket_Encryption) ProtoMessage()
func (*Bucket_Encryption) ProtoReflect ¶
func (x *Bucket_Encryption) ProtoReflect() protoreflect.Message
func (*Bucket_Encryption) Reset ¶
func (x *Bucket_Encryption) Reset()
func (*Bucket_Encryption) String ¶
func (x *Bucket_Encryption) String() string
type Bucket_IamConfiguration ¶
type Bucket_IamConfiguration struct { UniformBucketLevelAccess *Bucket_IamConfiguration_UniformBucketLevelAccess `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Bucket restriction options currently enforced on the bucket.
func (*Bucket_IamConfiguration) Descriptor ¶
func (*Bucket_IamConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_IamConfiguration.ProtoReflect.Descriptor instead.
func (*Bucket_IamConfiguration) GetUniformBucketLevelAccess ¶
func (x *Bucket_IamConfiguration) GetUniformBucketLevelAccess() *Bucket_IamConfiguration_UniformBucketLevelAccess
func (*Bucket_IamConfiguration) ProtoMessage ¶
func (*Bucket_IamConfiguration) ProtoMessage()
func (*Bucket_IamConfiguration) ProtoReflect ¶
func (x *Bucket_IamConfiguration) ProtoReflect() protoreflect.Message
func (*Bucket_IamConfiguration) Reset ¶
func (x *Bucket_IamConfiguration) Reset()
func (*Bucket_IamConfiguration) String ¶
func (x *Bucket_IamConfiguration) String() string
type Bucket_IamConfiguration_UniformBucketLevelAccess ¶
type Bucket_IamConfiguration_UniformBucketLevelAccess struct { // If set, access checks only use bucket-level IAM policies or above. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The deadline time for changing // <code>iamConfiguration.uniformBucketLevelAccess.enabled</code> from // true to false in [https://tools.ietf.org/html/rfc3339][RFC 3339]. After // the deadline is passed the field is immutable. LockedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=locked_time,json=lockedTime,proto3" json:"locked_time,omitempty"` // contains filtered or unexported fields }
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Descriptor ¶
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_IamConfiguration_UniformBucketLevelAccess.ProtoReflect.Descriptor instead.
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled ¶
func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled() bool
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime ¶
func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime() *timestamppb.Timestamp
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage ¶
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage()
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoReflect ¶
func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoReflect() protoreflect.Message
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Reset ¶
func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) Reset()
func (*Bucket_IamConfiguration_UniformBucketLevelAccess) String ¶
func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) String() string
type Bucket_Lifecycle ¶
type Bucket_Lifecycle struct { // A lifecycle management rule, which is made of an action to take and the // condition(s) under which the action will be taken. Rule []*Bucket_Lifecycle_Rule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
Lifecycle properties of a bucket. For more information, see https://cloud.google.com/storage/docs/lifecycle.
func (*Bucket_Lifecycle) Descriptor ¶
func (*Bucket_Lifecycle) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Lifecycle.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle) GetRule ¶
func (x *Bucket_Lifecycle) GetRule() []*Bucket_Lifecycle_Rule
func (*Bucket_Lifecycle) ProtoMessage ¶
func (*Bucket_Lifecycle) ProtoMessage()
func (*Bucket_Lifecycle) ProtoReflect ¶
func (x *Bucket_Lifecycle) ProtoReflect() protoreflect.Message
func (*Bucket_Lifecycle) Reset ¶
func (x *Bucket_Lifecycle) Reset()
func (*Bucket_Lifecycle) String ¶
func (x *Bucket_Lifecycle) String() string
type Bucket_Lifecycle_Rule ¶
type Bucket_Lifecycle_Rule struct { // The action to take. Action *Bucket_Lifecycle_Rule_Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // The condition(s) under which the action will be taken. Condition *Bucket_Lifecycle_Rule_Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` // contains filtered or unexported fields }
A lifecycle Rule, combining an action to take on an object and a condition which will trigger that action.
func (*Bucket_Lifecycle_Rule) Descriptor ¶
func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Lifecycle_Rule.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule) GetAction ¶
func (x *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action
func (*Bucket_Lifecycle_Rule) GetCondition ¶
func (x *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition
func (*Bucket_Lifecycle_Rule) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule) ProtoMessage()
func (*Bucket_Lifecycle_Rule) ProtoReflect ¶
func (x *Bucket_Lifecycle_Rule) ProtoReflect() protoreflect.Message
func (*Bucket_Lifecycle_Rule) Reset ¶
func (x *Bucket_Lifecycle_Rule) Reset()
func (*Bucket_Lifecycle_Rule) String ¶
func (x *Bucket_Lifecycle_Rule) String() string
type Bucket_Lifecycle_Rule_Action ¶
type Bucket_Lifecycle_Rule_Action struct { // Type of the action. Currently, only `Delete` and // `SetStorageClass` are supported. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Target storage class. Required iff the type of the action is // SetStorageClass. StorageClass string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // contains filtered or unexported fields }
An action to take on an object.
func (*Bucket_Lifecycle_Rule_Action) Descriptor ¶
func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Lifecycle_Rule_Action.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule_Action) GetStorageClass ¶
func (x *Bucket_Lifecycle_Rule_Action) GetStorageClass() string
func (*Bucket_Lifecycle_Rule_Action) GetType ¶
func (x *Bucket_Lifecycle_Rule_Action) GetType() string
func (*Bucket_Lifecycle_Rule_Action) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()
func (*Bucket_Lifecycle_Rule_Action) ProtoReflect ¶
func (x *Bucket_Lifecycle_Rule_Action) ProtoReflect() protoreflect.Message
func (*Bucket_Lifecycle_Rule_Action) Reset ¶
func (x *Bucket_Lifecycle_Rule_Action) Reset()
func (*Bucket_Lifecycle_Rule_Action) String ¶
func (x *Bucket_Lifecycle_Rule_Action) String() string
type Bucket_Lifecycle_Rule_Condition ¶
type Bucket_Lifecycle_Rule_Condition struct { // Age of an object (in days). This condition is satisfied when an // object reaches the specified age. Age int32 `protobuf:"varint,1,opt,name=age,proto3" json:"age,omitempty"` // A date in [RFC 3339][1] format with only the date part (for // instance, "2013-01-15"). This condition is satisfied when an // object is created before midnight of the specified date in UTC. // [1]: https://tools.ietf.org/html/rfc3339 CreatedBefore *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"` // Relevant only for versioned objects. If the value is // `true`, this condition matches live objects; if the value // is `false`, it matches archived objects. IsLive *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=is_live,json=isLive,proto3" json:"is_live,omitempty"` // Relevant only for versioned objects. If the value is N, this // condition is satisfied when there are at least N versions (including // the live version) newer than this version of the object. NumNewerVersions int32 `protobuf:"varint,4,opt,name=num_newer_versions,json=numNewerVersions,proto3" json:"num_newer_versions,omitempty"` // Objects having any of the storage classes specified by this condition // will be matched. Values include `MULTI_REGIONAL`, `REGIONAL`, // `NEARLINE`, `COLDLINE`, `STANDARD`, and // `DURABLE_REDUCED_AVAILABILITY`. MatchesStorageClass []string `protobuf:"bytes,5,rep,name=matches_storage_class,json=matchesStorageClass,proto3" json:"matches_storage_class,omitempty"` // A regular expression that satisfies the RE2 syntax. This condition is // satisfied when the name of the object matches the RE2 pattern. Note: // This feature is currently in the "Early Access" launch stage and is // only available to a whitelisted set of users; that means that this // feature may be changed in backward-incompatible ways and that it is // not guaranteed to be released. MatchesPattern string `protobuf:"bytes,6,opt,name=matches_pattern,json=matchesPattern,proto3" json:"matches_pattern,omitempty"` // contains filtered or unexported fields }
A condition of an object which triggers some action.
func (*Bucket_Lifecycle_Rule_Condition) Descriptor ¶
func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Lifecycle_Rule_Condition.ProtoReflect.Descriptor instead.
func (*Bucket_Lifecycle_Rule_Condition) GetAge ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetAge() int32
func (*Bucket_Lifecycle_Rule_Condition) GetCreatedBefore ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *timestamppb.Timestamp
func (*Bucket_Lifecycle_Rule_Condition) GetIsLive ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetIsLive() *wrapperspb.BoolValue
func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPattern ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string
func (*Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string
func (*Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions ¶
func (x *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32
func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()
func (*Bucket_Lifecycle_Rule_Condition) ProtoReflect ¶
func (x *Bucket_Lifecycle_Rule_Condition) ProtoReflect() protoreflect.Message
func (*Bucket_Lifecycle_Rule_Condition) Reset ¶
func (x *Bucket_Lifecycle_Rule_Condition) Reset()
func (*Bucket_Lifecycle_Rule_Condition) String ¶
func (x *Bucket_Lifecycle_Rule_Condition) String() string
type Bucket_Logging ¶
type Bucket_Logging struct { // The destination bucket where the current bucket's logs should be placed. LogBucket string `protobuf:"bytes,1,opt,name=log_bucket,json=logBucket,proto3" json:"log_bucket,omitempty"` // A prefix for log object names. LogObjectPrefix string `protobuf:"bytes,2,opt,name=log_object_prefix,json=logObjectPrefix,proto3" json:"log_object_prefix,omitempty"` // contains filtered or unexported fields }
Logging-related properties of a bucket.
func (*Bucket_Logging) Descriptor ¶
func (*Bucket_Logging) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Logging.ProtoReflect.Descriptor instead.
func (*Bucket_Logging) GetLogBucket ¶
func (x *Bucket_Logging) GetLogBucket() string
func (*Bucket_Logging) GetLogObjectPrefix ¶
func (x *Bucket_Logging) GetLogObjectPrefix() string
func (*Bucket_Logging) ProtoMessage ¶
func (*Bucket_Logging) ProtoMessage()
func (*Bucket_Logging) ProtoReflect ¶
func (x *Bucket_Logging) ProtoReflect() protoreflect.Message
func (*Bucket_Logging) Reset ¶
func (x *Bucket_Logging) Reset()
func (*Bucket_Logging) String ¶
func (x *Bucket_Logging) String() string
type Bucket_RetentionPolicy ¶
type Bucket_RetentionPolicy struct { // Server-determined value that indicates the time from which policy was // enforced and effective. This value is in // [https://tools.ietf.org/html/rfc3339][RFC 3339] format. EffectiveTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // Once locked, an object retention policy cannot be modified. IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` // The duration in seconds that objects need to be retained. Retention // duration must be greater than zero and less than 100 years. Note that // enforcement of retention periods less than a day is not guaranteed. Such // periods should only be used for testing purposes. RetentionPeriod int64 `protobuf:"varint,3,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"` // contains filtered or unexported fields }
Retention policy properties of a bucket.
func (*Bucket_RetentionPolicy) Descriptor ¶
func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_RetentionPolicy.ProtoReflect.Descriptor instead.
func (*Bucket_RetentionPolicy) GetEffectiveTime ¶
func (x *Bucket_RetentionPolicy) GetEffectiveTime() *timestamppb.Timestamp
func (*Bucket_RetentionPolicy) GetIsLocked ¶
func (x *Bucket_RetentionPolicy) GetIsLocked() bool
func (*Bucket_RetentionPolicy) GetRetentionPeriod ¶
func (x *Bucket_RetentionPolicy) GetRetentionPeriod() int64
func (*Bucket_RetentionPolicy) ProtoMessage ¶
func (*Bucket_RetentionPolicy) ProtoMessage()
func (*Bucket_RetentionPolicy) ProtoReflect ¶
func (x *Bucket_RetentionPolicy) ProtoReflect() protoreflect.Message
func (*Bucket_RetentionPolicy) Reset ¶
func (x *Bucket_RetentionPolicy) Reset()
func (*Bucket_RetentionPolicy) String ¶
func (x *Bucket_RetentionPolicy) String() string
type Bucket_Versioning ¶
type Bucket_Versioning struct { // While set to true, versioning is fully enabled for this bucket. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Properties of a bucket related to versioning. For more on GCS versioning, see https://cloud.google.com/storage/docs/object-versioning.
func (*Bucket_Versioning) Descriptor ¶
func (*Bucket_Versioning) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Versioning.ProtoReflect.Descriptor instead.
func (*Bucket_Versioning) GetEnabled ¶
func (x *Bucket_Versioning) GetEnabled() bool
func (*Bucket_Versioning) ProtoMessage ¶
func (*Bucket_Versioning) ProtoMessage()
func (*Bucket_Versioning) ProtoReflect ¶
func (x *Bucket_Versioning) ProtoReflect() protoreflect.Message
func (*Bucket_Versioning) Reset ¶
func (x *Bucket_Versioning) Reset()
func (*Bucket_Versioning) String ¶
func (x *Bucket_Versioning) String() string
type Bucket_Website ¶
type Bucket_Website struct { // If the requested object path is missing, the service will ensure the path // has a trailing '/', append this suffix, and attempt to retrieve the // resulting object. This allows the creation of `index.html` // objects to represent directory pages. MainPageSuffix string `protobuf:"bytes,1,opt,name=main_page_suffix,json=mainPageSuffix,proto3" json:"main_page_suffix,omitempty"` // If the requested object path is missing, and any // `mainPageSuffix` object is missing, if applicable, the service // will return the named object from this bucket as the content for a // [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] // result. NotFoundPage string `protobuf:"bytes,2,opt,name=not_found_page,json=notFoundPage,proto3" json:"not_found_page,omitempty"` // contains filtered or unexported fields }
Properties of a bucket related to accessing the contents as a static website. For more on hosting a static website via GCS, see https://cloud.google.com/storage/docs/hosting-static-website.
func (*Bucket_Website) Descriptor ¶
func (*Bucket_Website) Descriptor() ([]byte, []int)
Deprecated: Use Bucket_Website.ProtoReflect.Descriptor instead.
func (*Bucket_Website) GetMainPageSuffix ¶
func (x *Bucket_Website) GetMainPageSuffix() string
func (*Bucket_Website) GetNotFoundPage ¶
func (x *Bucket_Website) GetNotFoundPage() string
func (*Bucket_Website) ProtoMessage ¶
func (*Bucket_Website) ProtoMessage()
func (*Bucket_Website) ProtoReflect ¶
func (x *Bucket_Website) ProtoReflect() protoreflect.Message
func (*Bucket_Website) Reset ¶
func (x *Bucket_Website) Reset()
func (*Bucket_Website) String ¶
func (x *Bucket_Website) String() string
type Channel ¶
type Channel struct { // A UUID or similar unique string that identifies this channel. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An opaque ID that identifies the resource being watched on this channel. // Stable across different API versions. ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // A version-specific identifier for the watched resource. ResourceUri string `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` // An arbitrary string delivered to the target address with each notification // delivered over this channel. Optional. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // Date and time of notification channel expiration. Optional. Expiration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // The type of delivery mechanism used for this channel. Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // The address where notifications are delivered for this channel. Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` // Additional parameters controlling delivery channel behavior. Optional. Params map[string]string `` /* 153-byte string literal not displayed */ // A Boolean value to indicate whether payload is wanted. Optional. Payload bool `protobuf:"varint,9,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
An notification channel used to watch for resource changes.
func (*Channel) Descriptor ¶
Deprecated: Use Channel.ProtoReflect.Descriptor instead.
func (*Channel) GetAddress ¶
func (*Channel) GetExpiration ¶
func (x *Channel) GetExpiration() *timestamppb.Timestamp
func (*Channel) GetPayload ¶
func (*Channel) GetResourceId ¶
func (*Channel) GetResourceUri ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) ProtoReflect ¶
func (x *Channel) ProtoReflect() protoreflect.Message
type ChecksummedData ¶
type ChecksummedData struct { // The data. Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // CRC32C digest of the contents. Crc32C *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=crc32c,proto3" json:"crc32c,omitempty"` // contains filtered or unexported fields }
Message used to convey content being read or written, along with its checksum.
func (*ChecksummedData) Descriptor ¶
func (*ChecksummedData) Descriptor() ([]byte, []int)
Deprecated: Use ChecksummedData.ProtoReflect.Descriptor instead.
func (*ChecksummedData) GetContent ¶
func (x *ChecksummedData) GetContent() []byte
func (*ChecksummedData) GetCrc32C ¶
func (x *ChecksummedData) GetCrc32C() *wrapperspb.UInt32Value
func (*ChecksummedData) ProtoMessage ¶
func (*ChecksummedData) ProtoMessage()
func (*ChecksummedData) ProtoReflect ¶
func (x *ChecksummedData) ProtoReflect() protoreflect.Message
func (*ChecksummedData) Reset ¶
func (x *ChecksummedData) Reset()
func (*ChecksummedData) String ¶
func (x *ChecksummedData) String() string
type CommonEnums ¶
type CommonEnums struct {
// contains filtered or unexported fields
}
A collection of enums used in multiple places throughout the API.
func (*CommonEnums) Descriptor ¶
func (*CommonEnums) Descriptor() ([]byte, []int)
Deprecated: Use CommonEnums.ProtoReflect.Descriptor instead.
func (*CommonEnums) ProtoMessage ¶
func (*CommonEnums) ProtoMessage()
func (*CommonEnums) ProtoReflect ¶
func (x *CommonEnums) ProtoReflect() protoreflect.Message
func (*CommonEnums) Reset ¶
func (x *CommonEnums) Reset()
func (*CommonEnums) String ¶
func (x *CommonEnums) String() string
type CommonEnums_PredefinedBucketAcl ¶
type CommonEnums_PredefinedBucketAcl int32
Predefined or "canned" aliases for sets of specific bucket ACL entries.
const ( // No predefined ACL. CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED CommonEnums_PredefinedBucketAcl = 0 // Project team owners get `OWNER` access, and // `allAuthenticatedUsers` get `READER` access. CommonEnums_BUCKET_ACL_AUTHENTICATED_READ CommonEnums_PredefinedBucketAcl = 1 // Project team owners get `OWNER` access. CommonEnums_BUCKET_ACL_PRIVATE CommonEnums_PredefinedBucketAcl = 2 // Project team members get access according to their roles. CommonEnums_BUCKET_ACL_PROJECT_PRIVATE CommonEnums_PredefinedBucketAcl = 3 // Project team owners get `OWNER` access, and // `allUsers` get `READER` access. CommonEnums_BUCKET_ACL_PUBLIC_READ CommonEnums_PredefinedBucketAcl = 4 // Project team owners get `OWNER` access, and // `allUsers` get `WRITER` access. CommonEnums_BUCKET_ACL_PUBLIC_READ_WRITE CommonEnums_PredefinedBucketAcl = 5 )
func (CommonEnums_PredefinedBucketAcl) Descriptor ¶
func (CommonEnums_PredefinedBucketAcl) Descriptor() protoreflect.EnumDescriptor
func (CommonEnums_PredefinedBucketAcl) Enum ¶
func (x CommonEnums_PredefinedBucketAcl) Enum() *CommonEnums_PredefinedBucketAcl
func (CommonEnums_PredefinedBucketAcl) EnumDescriptor ¶
func (CommonEnums_PredefinedBucketAcl) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommonEnums_PredefinedBucketAcl.Descriptor instead.
func (CommonEnums_PredefinedBucketAcl) Number ¶
func (x CommonEnums_PredefinedBucketAcl) Number() protoreflect.EnumNumber
func (CommonEnums_PredefinedBucketAcl) String ¶
func (x CommonEnums_PredefinedBucketAcl) String() string
func (CommonEnums_PredefinedBucketAcl) Type ¶
func (CommonEnums_PredefinedBucketAcl) Type() protoreflect.EnumType
type CommonEnums_PredefinedObjectAcl ¶
type CommonEnums_PredefinedObjectAcl int32
Predefined or "canned" aliases for sets of specific object ACL entries.
const ( // No predefined ACL. CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED CommonEnums_PredefinedObjectAcl = 0 // Object owner gets `OWNER` access, and // `allAuthenticatedUsers` get `READER` access. CommonEnums_OBJECT_ACL_AUTHENTICATED_READ CommonEnums_PredefinedObjectAcl = 1 // Object owner gets `OWNER` access, and project team owners get // `OWNER` access. CommonEnums_OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL CommonEnums_PredefinedObjectAcl = 2 // Object owner gets `OWNER` access, and project team owners get // `READER` access. CommonEnums_OBJECT_ACL_BUCKET_OWNER_READ CommonEnums_PredefinedObjectAcl = 3 // Object owner gets `OWNER` access. CommonEnums_OBJECT_ACL_PRIVATE CommonEnums_PredefinedObjectAcl = 4 // Object owner gets `OWNER` access, and project team members get // access according to their roles. CommonEnums_OBJECT_ACL_PROJECT_PRIVATE CommonEnums_PredefinedObjectAcl = 5 // Object owner gets `OWNER` access, and `allUsers` // get `READER` access. CommonEnums_OBJECT_ACL_PUBLIC_READ CommonEnums_PredefinedObjectAcl = 6 )
func (CommonEnums_PredefinedObjectAcl) Descriptor ¶
func (CommonEnums_PredefinedObjectAcl) Descriptor() protoreflect.EnumDescriptor
func (CommonEnums_PredefinedObjectAcl) Enum ¶
func (x CommonEnums_PredefinedObjectAcl) Enum() *CommonEnums_PredefinedObjectAcl
func (CommonEnums_PredefinedObjectAcl) EnumDescriptor ¶
func (CommonEnums_PredefinedObjectAcl) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommonEnums_PredefinedObjectAcl.Descriptor instead.
func (CommonEnums_PredefinedObjectAcl) Number ¶
func (x CommonEnums_PredefinedObjectAcl) Number() protoreflect.EnumNumber
func (CommonEnums_PredefinedObjectAcl) String ¶
func (x CommonEnums_PredefinedObjectAcl) String() string
func (CommonEnums_PredefinedObjectAcl) Type ¶
func (CommonEnums_PredefinedObjectAcl) Type() protoreflect.EnumType
type CommonEnums_Projection ¶
type CommonEnums_Projection int32
A set of properties to return in a response.
const ( // No specified projection. CommonEnums_PROJECTION_UNSPECIFIED CommonEnums_Projection = 0 // Omit `owner`, `acl`, and `defaultObjectAcl` properties. CommonEnums_NO_ACL CommonEnums_Projection = 1 // Include all properties. CommonEnums_FULL CommonEnums_Projection = 2 )
func (CommonEnums_Projection) Descriptor ¶
func (CommonEnums_Projection) Descriptor() protoreflect.EnumDescriptor
func (CommonEnums_Projection) Enum ¶
func (x CommonEnums_Projection) Enum() *CommonEnums_Projection
func (CommonEnums_Projection) EnumDescriptor ¶
func (CommonEnums_Projection) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommonEnums_Projection.Descriptor instead.
func (CommonEnums_Projection) Number ¶
func (x CommonEnums_Projection) Number() protoreflect.EnumNumber
func (CommonEnums_Projection) String ¶
func (x CommonEnums_Projection) String() string
func (CommonEnums_Projection) Type ¶
func (CommonEnums_Projection) Type() protoreflect.EnumType
type CommonObjectRequestParams ¶
type CommonObjectRequestParams struct { // Encryption algorithm used with Customer-Supplied Encryption Keys feature. EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"` // Encryption key used with Customer-Supplied Encryption Keys feature. EncryptionKey string `protobuf:"bytes,2,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // SHA256 hash of encryption key used with Customer-Supplied Encryption Keys // feature. EncryptionKeySha256 string `protobuf:"bytes,3,opt,name=encryption_key_sha256,json=encryptionKeySha256,proto3" json:"encryption_key_sha256,omitempty"` // contains filtered or unexported fields }
Parameters that can be passed to any object request.
func (*CommonObjectRequestParams) Descriptor ¶
func (*CommonObjectRequestParams) Descriptor() ([]byte, []int)
Deprecated: Use CommonObjectRequestParams.ProtoReflect.Descriptor instead.
func (*CommonObjectRequestParams) GetEncryptionAlgorithm ¶
func (x *CommonObjectRequestParams) GetEncryptionAlgorithm() string
func (*CommonObjectRequestParams) GetEncryptionKey ¶
func (x *CommonObjectRequestParams) GetEncryptionKey() string
func (*CommonObjectRequestParams) GetEncryptionKeySha256 ¶
func (x *CommonObjectRequestParams) GetEncryptionKeySha256() string
func (*CommonObjectRequestParams) ProtoMessage ¶
func (*CommonObjectRequestParams) ProtoMessage()
func (*CommonObjectRequestParams) ProtoReflect ¶
func (x *CommonObjectRequestParams) ProtoReflect() protoreflect.Message
func (*CommonObjectRequestParams) Reset ¶
func (x *CommonObjectRequestParams) Reset()
func (*CommonObjectRequestParams) String ¶
func (x *CommonObjectRequestParams) String() string
type CommonRequestParams ¶
type CommonRequestParams struct { // Required. Required when using buckets with Requestor Pays feature enabled. UserProject string `protobuf:"bytes,1,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Lets you enforce per-user quotas from a server-side application even in // cases when the user's IP address is unknown. This can occur, for example, // with applications that run cron jobs on App Engine on a user's behalf. // You can choose any arbitrary string that uniquely identifies a user, but it // is limited to 40 characters. // Overrides user_ip if both are provided. QuotaUser string `protobuf:"bytes,2,opt,name=quota_user,json=quotaUser,proto3" json:"quota_user,omitempty"` // Subset of fields to include in the response. Fields *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
Parameters that can be passed to any request.
func (*CommonRequestParams) Descriptor ¶
func (*CommonRequestParams) Descriptor() ([]byte, []int)
Deprecated: Use CommonRequestParams.ProtoReflect.Descriptor instead.
func (*CommonRequestParams) GetFields ¶
func (x *CommonRequestParams) GetFields() *fieldmaskpb.FieldMask
func (*CommonRequestParams) GetQuotaUser ¶
func (x *CommonRequestParams) GetQuotaUser() string
func (*CommonRequestParams) GetUserProject ¶
func (x *CommonRequestParams) GetUserProject() string
func (*CommonRequestParams) ProtoMessage ¶
func (*CommonRequestParams) ProtoMessage()
func (*CommonRequestParams) ProtoReflect ¶
func (x *CommonRequestParams) ProtoReflect() protoreflect.Message
func (*CommonRequestParams) Reset ¶
func (x *CommonRequestParams) Reset()
func (*CommonRequestParams) String ¶
func (x *CommonRequestParams) String() string
type ComposeObjectRequest ¶
type ComposeObjectRequest struct { // Required. Name of the bucket containing the source objects. The destination object is // stored in this bucket. DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` // Required. Name of the new object. DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` // Apply a predefined set of access controls to the destination object. DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */ // Properties of the resulting object. Destination *Object `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"` // The list of source objects that will be concatenated into a single object. SourceObjects []*ComposeObjectRequest_SourceObjects `protobuf:"bytes,12,rep,name=source_objects,json=sourceObjects,proto3" json:"source_objects,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */ // Resource name of the Cloud KMS key, of the form // `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, // that will be used to encrypt the object. Overrides the object // metadata's `kms_key_name` value, if any. KmsKeyName string `protobuf:"bytes,6,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for ComposeObject.
func (*ComposeObjectRequest) Descriptor ¶
func (*ComposeObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use ComposeObjectRequest.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest) GetCommonObjectRequestParams ¶
func (x *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*ComposeObjectRequest) GetCommonRequestParams ¶
func (x *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*ComposeObjectRequest) GetDestination ¶
func (x *ComposeObjectRequest) GetDestination() *Object
func (*ComposeObjectRequest) GetDestinationBucket ¶
func (x *ComposeObjectRequest) GetDestinationBucket() string
func (*ComposeObjectRequest) GetDestinationObject ¶
func (x *ComposeObjectRequest) GetDestinationObject() string
func (*ComposeObjectRequest) GetDestinationPredefinedAcl ¶
func (x *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*ComposeObjectRequest) GetIfGenerationMatch ¶
func (x *ComposeObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
func (*ComposeObjectRequest) GetIfMetagenerationMatch ¶
func (x *ComposeObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
func (*ComposeObjectRequest) GetKmsKeyName ¶
func (x *ComposeObjectRequest) GetKmsKeyName() string
func (*ComposeObjectRequest) GetSourceObjects ¶
func (x *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects
func (*ComposeObjectRequest) ProtoMessage ¶
func (*ComposeObjectRequest) ProtoMessage()
func (*ComposeObjectRequest) ProtoReflect ¶
func (x *ComposeObjectRequest) ProtoReflect() protoreflect.Message
func (*ComposeObjectRequest) Reset ¶
func (x *ComposeObjectRequest) Reset()
func (*ComposeObjectRequest) String ¶
func (x *ComposeObjectRequest) String() string
type ComposeObjectRequest_SourceObjects ¶
type ComposeObjectRequest_SourceObjects struct { // The source object's name. All source objects must reside in the same // bucket. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The generation of this object to use as the source. Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` // Conditions that must be met for this operation to execute. ObjectPreconditions *ComposeObjectRequest_SourceObjects_ObjectPreconditions `protobuf:"bytes,3,opt,name=object_preconditions,json=objectPreconditions,proto3" json:"object_preconditions,omitempty"` // contains filtered or unexported fields }
Description of a source object for a composition request.
func (*ComposeObjectRequest_SourceObjects) Descriptor ¶
func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int)
Deprecated: Use ComposeObjectRequest_SourceObjects.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest_SourceObjects) GetGeneration ¶
func (x *ComposeObjectRequest_SourceObjects) GetGeneration() int64
func (*ComposeObjectRequest_SourceObjects) GetName ¶
func (x *ComposeObjectRequest_SourceObjects) GetName() string
func (*ComposeObjectRequest_SourceObjects) GetObjectPreconditions ¶
func (x *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions
func (*ComposeObjectRequest_SourceObjects) ProtoMessage ¶
func (*ComposeObjectRequest_SourceObjects) ProtoMessage()
func (*ComposeObjectRequest_SourceObjects) ProtoReflect ¶
func (x *ComposeObjectRequest_SourceObjects) ProtoReflect() protoreflect.Message
func (*ComposeObjectRequest_SourceObjects) Reset ¶
func (x *ComposeObjectRequest_SourceObjects) Reset()
func (*ComposeObjectRequest_SourceObjects) String ¶
func (x *ComposeObjectRequest_SourceObjects) String() string
type ComposeObjectRequest_SourceObjects_ObjectPreconditions ¶
type ComposeObjectRequest_SourceObjects_ObjectPreconditions struct { // Only perform the composition if the generation of the source object // that would be used matches this value. If this value and a generation // are both specified, they must be the same value or the call will fail. IfGenerationMatch *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // contains filtered or unexported fields }
Preconditions for a source object of a composition request.
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor ¶
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor() ([]byte, []int)
Deprecated: Use ComposeObjectRequest_SourceObjects_ObjectPreconditions.ProtoReflect.Descriptor instead.
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch ¶
func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch() *wrapperspb.Int64Value
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage ¶
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage()
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoReflect ¶
func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoReflect() protoreflect.Message
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset ¶
func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset()
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) String ¶
func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string
type ContentRange ¶
type ContentRange struct { // The starting offset of the object data. Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // The ending offset of the object data. End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // The complete length of the object data. CompleteLength int64 `protobuf:"varint,3,opt,name=complete_length,json=completeLength,proto3" json:"complete_length,omitempty"` // contains filtered or unexported fields }
Specifies a requested range of bytes to download.
func (*ContentRange) Descriptor ¶
func (*ContentRange) Descriptor() ([]byte, []int)
Deprecated: Use ContentRange.ProtoReflect.Descriptor instead.
func (*ContentRange) GetCompleteLength ¶
func (x *ContentRange) GetCompleteLength() int64
func (*ContentRange) GetEnd ¶
func (x *ContentRange) GetEnd() int64
func (*ContentRange) GetStart ¶
func (x *ContentRange) GetStart() int64
func (*ContentRange) ProtoMessage ¶
func (*ContentRange) ProtoMessage()
func (*ContentRange) ProtoReflect ¶
func (x *ContentRange) ProtoReflect() protoreflect.Message
func (*ContentRange) Reset ¶
func (x *ContentRange) Reset()
func (*ContentRange) String ¶
func (x *ContentRange) String() string
type CopyObjectRequest ¶
type CopyObjectRequest struct { // Required. Name of the bucket in which to store the new object. Overrides the provided // object // metadata's `bucket` value, if any. DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` // Required. Name of the new object. // Required when the object metadata is not otherwise provided. Overrides the // object metadata's `name` value, if any. DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` // Apply a predefined set of access controls to the destination object. DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */ // Makes the operation conditional on whether the destination object's current // generation matches the given value. Setting to 0 makes the operation // succeed only if there are no live versions of the object. IfGenerationMatch *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the destination object's current // generation does not match the given value. If no live object exists, the // precondition fails. Setting to 0 makes the operation succeed only if there // is a live version of the object. IfGenerationNotMatch *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the destination object's current // metageneration matches the given value. IfMetagenerationMatch *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the destination object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrapperspb.Int64Value `` /* 137-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation matches the given value. IfSourceGenerationMatch *wrapperspb.Int64Value `` /* 134-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation does not match the given value. IfSourceGenerationNotMatch *wrapperspb.Int64Value `` /* 145-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration matches the given value. IfSourceMetagenerationMatch *wrapperspb.Int64Value `` /* 147-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration does not match the given value. IfSourceMetagenerationNotMatch *wrapperspb.Int64Value `` /* 158-byte string literal not displayed */ // Set of properties to return. Defaults to `NO_ACL`, unless the // object resource specifies the `acl` property, when it defaults // to `full`. Projection CommonEnums_Projection `protobuf:"varint,12,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // Required. Name of the bucket in which to find the source object. SourceBucket string `protobuf:"bytes,13,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"` // Required. Name of the source object. SourceObject string `protobuf:"bytes,14,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"` // If present, selects a specific revision of the source object (as opposed to // the latest version, the default). SourceGeneration int64 `protobuf:"varint,15,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"` // Properties of the resulting object. If not set, duplicate properties of // source object. Destination *Object `protobuf:"bytes,17,opt,name=destination,proto3" json:"destination,omitempty"` // Resource name of the Cloud KMS key, of the form // `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`, // that will be used to encrypt the object. Overrides the object // metadata's `kms_key_name` value, if any. DestinationKmsKeyName string `` /* 129-byte string literal not displayed */ // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,19,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for CopyObject.
func (*CopyObjectRequest) Descriptor ¶
func (*CopyObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyObjectRequest.ProtoReflect.Descriptor instead.
func (*CopyObjectRequest) GetCommonObjectRequestParams ¶
func (x *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*CopyObjectRequest) GetCommonRequestParams ¶
func (x *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*CopyObjectRequest) GetDestination ¶
func (x *CopyObjectRequest) GetDestination() *Object
func (*CopyObjectRequest) GetDestinationBucket ¶
func (x *CopyObjectRequest) GetDestinationBucket() string
func (*CopyObjectRequest) GetDestinationKmsKeyName ¶
func (x *CopyObjectRequest) GetDestinationKmsKeyName() string
func (*CopyObjectRequest) GetDestinationObject ¶
func (x *CopyObjectRequest) GetDestinationObject() string
func (*CopyObjectRequest) GetDestinationPredefinedAcl ¶
func (x *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*CopyObjectRequest) GetIfGenerationMatch ¶
func (x *CopyObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfGenerationNotMatch ¶
func (x *CopyObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfMetagenerationMatch ¶
func (x *CopyObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfMetagenerationNotMatch ¶
func (x *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfSourceGenerationMatch ¶
func (x *CopyObjectRequest) GetIfSourceGenerationMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfSourceGenerationNotMatch ¶
func (x *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfSourceMetagenerationMatch ¶
func (x *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch ¶
func (x *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrapperspb.Int64Value
func (*CopyObjectRequest) GetProjection ¶
func (x *CopyObjectRequest) GetProjection() CommonEnums_Projection
func (*CopyObjectRequest) GetSourceBucket ¶
func (x *CopyObjectRequest) GetSourceBucket() string
func (*CopyObjectRequest) GetSourceGeneration ¶
func (x *CopyObjectRequest) GetSourceGeneration() int64
func (*CopyObjectRequest) GetSourceObject ¶
func (x *CopyObjectRequest) GetSourceObject() string
func (*CopyObjectRequest) ProtoMessage ¶
func (*CopyObjectRequest) ProtoMessage()
func (*CopyObjectRequest) ProtoReflect ¶
func (x *CopyObjectRequest) ProtoReflect() protoreflect.Message
func (*CopyObjectRequest) Reset ¶
func (x *CopyObjectRequest) Reset()
func (*CopyObjectRequest) String ¶
func (x *CopyObjectRequest) String() string
type CreateHmacKeyRequest ¶
type CreateHmacKeyRequest struct { // Required. The project that the HMAC-owning service account lives in. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. The service account to create the HMAC for. ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
func (*CreateHmacKeyRequest) Descriptor ¶
func (*CreateHmacKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateHmacKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateHmacKeyRequest) GetCommonRequestParams ¶
func (x *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
func (*CreateHmacKeyRequest) GetProjectId ¶
func (x *CreateHmacKeyRequest) GetProjectId() string
func (*CreateHmacKeyRequest) GetServiceAccountEmail ¶
func (x *CreateHmacKeyRequest) GetServiceAccountEmail() string
func (*CreateHmacKeyRequest) ProtoMessage ¶
func (*CreateHmacKeyRequest) ProtoMessage()
func (*CreateHmacKeyRequest) ProtoReflect ¶
func (x *CreateHmacKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateHmacKeyRequest) Reset ¶
func (x *CreateHmacKeyRequest) Reset()
func (*CreateHmacKeyRequest) String ¶
func (x *CreateHmacKeyRequest) String() string
type CreateHmacKeyResponse ¶
type CreateHmacKeyResponse struct { // Key metadata. Metadata *HmacKeyMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // HMAC key secret material. Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
Create hmac response. The only time the secret for an HMAC will be returned.
func (*CreateHmacKeyResponse) Descriptor ¶
func (*CreateHmacKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateHmacKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateHmacKeyResponse) GetMetadata ¶
func (x *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata
func (*CreateHmacKeyResponse) GetSecret ¶
func (x *CreateHmacKeyResponse) GetSecret() string
func (*CreateHmacKeyResponse) ProtoMessage ¶
func (*CreateHmacKeyResponse) ProtoMessage()
func (*CreateHmacKeyResponse) ProtoReflect ¶
func (x *CreateHmacKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateHmacKeyResponse) Reset ¶
func (x *CreateHmacKeyResponse) Reset()
func (*CreateHmacKeyResponse) String ¶
func (x *CreateHmacKeyResponse) String() string
type DeleteBucketAccessControlRequest ¶
type DeleteBucketAccessControlRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The entity holding the permission. Can be one of: // * `user-`*userId* // * `user-`*emailAddress* // * `group-`*groupId* // * `group-`*emailAddress* // * `allUsers` // * `allAuthenticatedUsers` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for DeleteBucketAccessControl.
func (*DeleteBucketAccessControlRequest) Descriptor ¶
func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketAccessControlRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketAccessControlRequest) GetBucket ¶
func (x *DeleteBucketAccessControlRequest) GetBucket() string
func (*DeleteBucketAccessControlRequest) GetCommonRequestParams ¶
func (x *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteBucketAccessControlRequest) GetEntity ¶
func (x *DeleteBucketAccessControlRequest) GetEntity() string
func (*DeleteBucketAccessControlRequest) ProtoMessage ¶
func (*DeleteBucketAccessControlRequest) ProtoMessage()
func (*DeleteBucketAccessControlRequest) ProtoReflect ¶
func (x *DeleteBucketAccessControlRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketAccessControlRequest) Reset ¶
func (x *DeleteBucketAccessControlRequest) Reset()
func (*DeleteBucketAccessControlRequest) String ¶
func (x *DeleteBucketAccessControlRequest) String() string
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // If set, only deletes the bucket if its metageneration matches this value. IfMetagenerationMatch *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */ // If set, only deletes the bucket if its metageneration does not match this // value. IfMetagenerationNotMatch *wrapperspb.Int64Value `` /* 137-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for DeleteBucket.
func (*DeleteBucketRequest) Descriptor ¶
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketRequest) GetBucket ¶
func (x *DeleteBucketRequest) GetBucket() string
func (*DeleteBucketRequest) GetCommonRequestParams ¶
func (x *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteBucketRequest) GetIfMetagenerationMatch ¶
func (x *DeleteBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
func (*DeleteBucketRequest) GetIfMetagenerationNotMatch ¶
func (x *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) ProtoReflect ¶
func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketRequest) Reset ¶
func (x *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) String ¶
func (x *DeleteBucketRequest) String() string
type DeleteDefaultObjectAccessControlRequest ¶
type DeleteDefaultObjectAccessControlRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The entity holding the permission. Can be one of: // * `user-`*userId* // * `user-`*emailAddress* // * `group-`*groupId* // * `group-`*emailAddress* // * `allUsers` // * `allAuthenticatedUsers` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for DeleteDefaultObjectAccessControl.
func (*DeleteDefaultObjectAccessControlRequest) Descriptor ¶
func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.
func (*DeleteDefaultObjectAccessControlRequest) GetBucket ¶
func (x *DeleteDefaultObjectAccessControlRequest) GetBucket() string
func (*DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (x *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteDefaultObjectAccessControlRequest) GetEntity ¶
func (x *DeleteDefaultObjectAccessControlRequest) GetEntity() string
func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage()
func (*DeleteDefaultObjectAccessControlRequest) ProtoReflect ¶
func (x *DeleteDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
func (*DeleteDefaultObjectAccessControlRequest) Reset ¶
func (x *DeleteDefaultObjectAccessControlRequest) Reset()
func (*DeleteDefaultObjectAccessControlRequest) String ¶
func (x *DeleteDefaultObjectAccessControlRequest) String() string
type DeleteHmacKeyRequest ¶
type DeleteHmacKeyRequest struct { // Required. The identifying key for the HMAC to delete. AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // Required. The project id the HMAC key lies in. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request object to delete a given HMAC key.
func (*DeleteHmacKeyRequest) Descriptor ¶
func (*DeleteHmacKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteHmacKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteHmacKeyRequest) GetAccessId ¶
func (x *DeleteHmacKeyRequest) GetAccessId() string
func (*DeleteHmacKeyRequest) GetCommonRequestParams ¶
func (x *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteHmacKeyRequest) GetProjectId ¶
func (x *DeleteHmacKeyRequest) GetProjectId() string
func (*DeleteHmacKeyRequest) ProtoMessage ¶
func (*DeleteHmacKeyRequest) ProtoMessage()
func (*DeleteHmacKeyRequest) ProtoReflect ¶
func (x *DeleteHmacKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteHmacKeyRequest) Reset ¶
func (x *DeleteHmacKeyRequest) Reset()
func (*DeleteHmacKeyRequest) String ¶
func (x *DeleteHmacKeyRequest) String() string
type DeleteNotificationRequest ¶
type DeleteNotificationRequest struct { // Required. The parent bucket of the notification. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. ID of the notification to delete. Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for DeleteNotification.
func (*DeleteNotificationRequest) Descriptor ¶
func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotificationRequest) GetBucket ¶
func (x *DeleteNotificationRequest) GetBucket() string
func (*DeleteNotificationRequest) GetCommonRequestParams ¶
func (x *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteNotificationRequest) GetNotification ¶
func (x *DeleteNotificationRequest) GetNotification() string
func (*DeleteNotificationRequest) ProtoMessage ¶
func (*DeleteNotificationRequest) ProtoMessage()
func (*DeleteNotificationRequest) ProtoReflect ¶
func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotificationRequest) Reset ¶
func (x *DeleteNotificationRequest) Reset()
func (*DeleteNotificationRequest) String ¶
func (x *DeleteNotificationRequest) String() string
type DeleteObjectAccessControlRequest ¶
type DeleteObjectAccessControlRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The entity holding the permission. Can be one of: // * `user-`*userId* // * `user-`*emailAddress* // * `group-`*groupId* // * `group-`*emailAddress* // * `allUsers` // * `allAuthenticatedUsers` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // Required. Name of the object. Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for DeleteObjectAccessControl.
func (*DeleteObjectAccessControlRequest) Descriptor ¶
func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectAccessControlRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectAccessControlRequest) GetBucket ¶
func (x *DeleteObjectAccessControlRequest) GetBucket() string
func (*DeleteObjectAccessControlRequest) GetCommonRequestParams ¶
func (x *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteObjectAccessControlRequest) GetEntity ¶
func (x *DeleteObjectAccessControlRequest) GetEntity() string
func (*DeleteObjectAccessControlRequest) GetGeneration ¶
func (x *DeleteObjectAccessControlRequest) GetGeneration() int64
func (*DeleteObjectAccessControlRequest) GetObject ¶
func (x *DeleteObjectAccessControlRequest) GetObject() string
func (*DeleteObjectAccessControlRequest) ProtoMessage ¶
func (*DeleteObjectAccessControlRequest) ProtoMessage()
func (*DeleteObjectAccessControlRequest) ProtoReflect ¶
func (x *DeleteObjectAccessControlRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectAccessControlRequest) Reset ¶
func (x *DeleteObjectAccessControlRequest) Reset()
func (*DeleteObjectAccessControlRequest) String ¶
func (x *DeleteObjectAccessControlRequest) String() string
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { // Required. Name of the bucket in which the object resides. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The name of the object to delete (when not using a resumable write). Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // The resumable upload_id of the object to delete (when using a // resumable write). This should be copied from the `upload_id` field of // `StartResumableWriteResponse`. UploadId string `protobuf:"bytes,3,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // If present, permanently deletes a specific revision of this object (as // opposed to the latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrapperspb.Int64Value `` /* 137-byte string literal not displayed */ // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Message for deleting an object. Either `bucket` and `object` *or* `upload_id` **must** be set (but not both).
func (*DeleteObjectRequest) Descriptor ¶
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteObjectRequest) GetBucket ¶
func (x *DeleteObjectRequest) GetBucket() string
func (*DeleteObjectRequest) GetCommonObjectRequestParams ¶
func (x *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*DeleteObjectRequest) GetCommonRequestParams ¶
func (x *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteObjectRequest) GetGeneration ¶
func (x *DeleteObjectRequest) GetGeneration() int64
func (*DeleteObjectRequest) GetIfGenerationMatch ¶
func (x *DeleteObjectRequest) GetIfGenerationMatch() *wrapperspb.Int64Value
func (*DeleteObjectRequest) GetIfGenerationNotMatch ¶
func (x *DeleteObjectRequest) GetIfGenerationNotMatch() *wrapperspb.Int64Value
func (*DeleteObjectRequest) GetIfMetagenerationMatch ¶
func (x *DeleteObjectRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
func (*DeleteObjectRequest) GetIfMetagenerationNotMatch ¶
func (x *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
func (*DeleteObjectRequest) GetObject ¶
func (x *DeleteObjectRequest) GetObject() string
func (*DeleteObjectRequest) GetUploadId ¶
func (x *DeleteObjectRequest) GetUploadId() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) ProtoReflect ¶
func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteObjectRequest) Reset ¶
func (x *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (x *DeleteObjectRequest) String() string
type GetBucketAccessControlRequest ¶
type GetBucketAccessControlRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The entity holding the permission. Can be one of: // * `user-`*userId* // * `user-`*emailAddress* // * `group-`*groupId* // * `group-`*emailAddress* // * `allUsers` // * `allAuthenticatedUsers` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for GetBucketAccessControl.
func (*GetBucketAccessControlRequest) Descriptor ¶
func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketAccessControlRequest.ProtoReflect.Descriptor instead.
func (*GetBucketAccessControlRequest) GetBucket ¶
func (x *GetBucketAccessControlRequest) GetBucket() string
func (*GetBucketAccessControlRequest) GetCommonRequestParams ¶
func (x *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetBucketAccessControlRequest) GetEntity ¶
func (x *GetBucketAccessControlRequest) GetEntity() string
func (*GetBucketAccessControlRequest) ProtoMessage ¶
func (*GetBucketAccessControlRequest) ProtoMessage()
func (*GetBucketAccessControlRequest) ProtoReflect ¶
func (x *GetBucketAccessControlRequest) ProtoReflect() protoreflect.Message
func (*GetBucketAccessControlRequest) Reset ¶
func (x *GetBucketAccessControlRequest) Reset()
func (*GetBucketAccessControlRequest) String ¶
func (x *GetBucketAccessControlRequest) String() string
type GetBucketRequest ¶
type GetBucketRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration matches the given value. IfMetagenerationMatch *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */ // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration does not match the given value. IfMetagenerationNotMatch *wrapperspb.Int64Value `` /* 137-byte string literal not displayed */ // Set of properties to return. Defaults to `NO_ACL`. Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for GetBucket.
func (*GetBucketRequest) Descriptor ¶
func (*GetBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.
func (*GetBucketRequest) GetBucket ¶
func (x *GetBucketRequest) GetBucket() string
func (*GetBucketRequest) GetCommonRequestParams ¶
func (x *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetBucketRequest) GetIfMetagenerationMatch ¶
func (x *GetBucketRequest) GetIfMetagenerationMatch() *wrapperspb.Int64Value
func (*GetBucketRequest) GetIfMetagenerationNotMatch ¶
func (x *GetBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.Int64Value
func (*GetBucketRequest) GetProjection ¶
func (x *GetBucketRequest) GetProjection() CommonEnums_Projection
func (*GetBucketRequest) ProtoMessage ¶
func (*GetBucketRequest) ProtoMessage()
func (*GetBucketRequest) ProtoReflect ¶
func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
func (*GetBucketRequest) Reset ¶
func (x *GetBucketRequest) Reset()
func (*GetBucketRequest) String ¶
func (x *GetBucketRequest) String() string
type GetDefaultObjectAccessControlRequest ¶
type GetDefaultObjectAccessControlRequest struct { // Required. Name of a bucket. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. The entity holding the permission. Can be one of: // * `user-`*userId* // * `user-`*emailAddress* // * `group-`*groupId* // * `group-`*emailAddress* // * `allUsers` // * `allAuthenticatedUsers` Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for GetDefaultObjectAccessControl.
func (*GetDefaultObjectAccessControlRequest) Descriptor ¶
func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultObjectAccessControlRequest) GetBucket ¶
func (x *GetDefaultObjectAccessControlRequest) GetBucket() string
func (*GetDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (x *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetDefaultObjectAccessControlRequest) GetEntity ¶
func (x *GetDefaultObjectAccessControlRequest) GetEntity() string
func (*GetDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*GetDefaultObjectAccessControlRequest) ProtoMessage()
func (*GetDefaultObjectAccessControlRequest) ProtoReflect ¶
func (x *GetDefaultObjectAccessControlRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultObjectAccessControlRequest) Reset ¶
func (x *GetDefaultObjectAccessControlRequest) Reset()
func (*GetDefaultObjectAccessControlRequest) String ¶
func (x *GetDefaultObjectAccessControlRequest) String() string
type GetHmacKeyRequest ¶
type GetHmacKeyRequest struct { // Required. The identifying key for the HMAC to delete. AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"` // Required. The project id the HMAC key lies in. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request object to get metadata on a given HMAC key.
func (*GetHmacKeyRequest) Descriptor ¶
func (*GetHmacKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHmacKeyRequest.ProtoReflect.Descriptor instead.
func (*GetHmacKeyRequest) GetAccessId ¶
func (x *GetHmacKeyRequest) GetAccessId() string
func (*GetHmacKeyRequest) GetCommonRequestParams ¶
func (x *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetHmacKeyRequest) GetProjectId ¶
func (x *GetHmacKeyRequest) GetProjectId() string
func (*GetHmacKeyRequest) ProtoMessage ¶
func (*GetHmacKeyRequest) ProtoMessage()
func (*GetHmacKeyRequest) ProtoReflect ¶
func (x *GetHmacKeyRequest) ProtoReflect() protoreflect.Message
func (*GetHmacKeyRequest) Reset ¶
func (x *GetHmacKeyRequest) Reset()
func (*GetHmacKeyRequest) String ¶
func (x *GetHmacKeyRequest) String() string
type GetIamPolicyRequest ¶
type GetIamPolicyRequest struct { // The request sent to IAM. IamRequest *v1.GetIamPolicyRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
A wrapper around the IAM get policy request to support our common_request_params.
func (*GetIamPolicyRequest) Descriptor ¶
func (*GetIamPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIamPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetIamPolicyRequest) GetCommonRequestParams ¶
func (x *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetIamPolicyRequest) GetIamRequest ¶
func (x *GetIamPolicyRequest) GetIamRequest() *v1.GetIamPolicyRequest
func (*GetIamPolicyRequest) ProtoMessage ¶
func (*GetIamPolicyRequest) ProtoMessage()
func (*GetIamPolicyRequest) ProtoReflect ¶
func (x *GetIamPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetIamPolicyRequest) Reset ¶
func (x *GetIamPolicyRequest) Reset()
func (*GetIamPolicyRequest) String ¶
func (x *GetIamPolicyRequest) String() string
type GetNotificationRequest ¶
type GetNotificationRequest struct { // Required. The parent bucket of the notification. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Required. Notification ID. // Required. Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // contains filtered or unexported fields }
Request message for GetNotification.
func (*GetNotificationRequest) Descriptor ¶
func (*GetNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationRequest) GetBucket ¶
func (x *GetNotificationRequest) GetBucket() string
func (*GetNotificationRequest) GetCommonRequestParams ¶
func (x *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams