Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBucketServiceServer(s grpc.ServiceRegistrar, srv BucketServiceServer)
- type ACL
- type ACL_Grant
- func (*ACL_Grant) Descriptor() ([]byte, []int)deprecated
- func (x *ACL_Grant) GetGrantType() ACL_Grant_GrantType
- func (x *ACL_Grant) GetGranteeId() string
- func (x *ACL_Grant) GetPermission() ACL_Grant_Permission
- func (*ACL_Grant) ProtoMessage()
- func (x *ACL_Grant) ProtoReflect() protoreflect.Message
- func (x *ACL_Grant) Reset()
- func (m *ACL_Grant) SetGrantType(v ACL_Grant_GrantType)
- func (m *ACL_Grant) SetGranteeId(v string)
- func (m *ACL_Grant) SetPermission(v ACL_Grant_Permission)
- func (x *ACL_Grant) String() string
- type ACL_Grant_GrantType
- func (ACL_Grant_GrantType) Descriptor() protoreflect.EnumDescriptor
- func (x ACL_Grant_GrantType) Enum() *ACL_Grant_GrantType
- func (ACL_Grant_GrantType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACL_Grant_GrantType) Number() protoreflect.EnumNumber
- func (x ACL_Grant_GrantType) String() string
- func (ACL_Grant_GrantType) Type() protoreflect.EnumType
- type ACL_Grant_Permission
- func (ACL_Grant_Permission) Descriptor() protoreflect.EnumDescriptor
- func (x ACL_Grant_Permission) Enum() *ACL_Grant_Permission
- func (ACL_Grant_Permission) EnumDescriptor() ([]byte, []int)deprecated
- func (x ACL_Grant_Permission) Number() protoreflect.EnumNumber
- func (x ACL_Grant_Permission) String() string
- func (ACL_Grant_Permission) Type() protoreflect.EnumType
- type AnonymousAccessFlags
- func (*AnonymousAccessFlags) Descriptor() ([]byte, []int)deprecated
- func (x *AnonymousAccessFlags) GetConfigRead() *wrapperspb.BoolValue
- func (x *AnonymousAccessFlags) GetList() *wrapperspb.BoolValue
- func (x *AnonymousAccessFlags) GetRead() *wrapperspb.BoolValue
- func (*AnonymousAccessFlags) ProtoMessage()
- func (x *AnonymousAccessFlags) ProtoReflect() protoreflect.Message
- func (x *AnonymousAccessFlags) Reset()
- func (m *AnonymousAccessFlags) SetConfigRead(v *wrapperspb.BoolValue)
- func (m *AnonymousAccessFlags) SetList(v *wrapperspb.BoolValue)
- func (m *AnonymousAccessFlags) SetRead(v *wrapperspb.BoolValue)
- func (x *AnonymousAccessFlags) String() string
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetAcl() *ACL
- func (x *Bucket) GetAnonymousAccessFlags() *AnonymousAccessFlags
- func (x *Bucket) GetCors() []*CorsRule
- func (x *Bucket) GetCreatedAt() *timestamppb.Timestamp
- func (x *Bucket) GetDefaultStorageClass() string
- func (x *Bucket) GetEncryption() *Encryption
- func (x *Bucket) GetFolderId() string
- func (x *Bucket) GetId() string
- func (x *Bucket) GetLifecycleRules() []*LifecycleRule
- func (x *Bucket) GetMaxSize() int64
- func (x *Bucket) GetName() string
- func (x *Bucket) GetObjectLock() *ObjectLock
- func (x *Bucket) GetPolicy() *structpb.Struct
- func (x *Bucket) GetTags() []*Tag
- func (x *Bucket) GetVersioning() Versioning
- func (x *Bucket) GetWebsiteSettings() *WebsiteSettings
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (m *Bucket) SetAcl(v *ACL)
- func (m *Bucket) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
- func (m *Bucket) SetCors(v []*CorsRule)
- func (m *Bucket) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Bucket) SetDefaultStorageClass(v string)
- func (m *Bucket) SetEncryption(v *Encryption)
- func (m *Bucket) SetFolderId(v string)
- func (m *Bucket) SetId(v string)
- func (m *Bucket) SetLifecycleRules(v []*LifecycleRule)
- func (m *Bucket) SetMaxSize(v int64)
- func (m *Bucket) SetName(v string)
- func (m *Bucket) SetObjectLock(v *ObjectLock)
- func (m *Bucket) SetPolicy(v *structpb.Struct)
- func (m *Bucket) SetTags(v []*Tag)
- func (m *Bucket) SetVersioning(v Versioning)
- func (m *Bucket) SetWebsiteSettings(v *WebsiteSettings)
- func (x *Bucket) String() string
- type BucketServiceClient
- type BucketServiceServer
- type BucketStats
- func (*BucketStats) Descriptor() ([]byte, []int)deprecated
- func (x *BucketStats) GetAnonymousAccessFlags() *AnonymousAccessFlags
- func (x *BucketStats) GetCreatedAt() *timestamppb.Timestamp
- func (x *BucketStats) GetDefaultStorageClass() *wrapperspb.StringValue
- func (x *BucketStats) GetMaxSize() *wrapperspb.Int64Value
- func (x *BucketStats) GetName() string
- func (x *BucketStats) GetStorageClassCounters() []*CountersByClass
- func (x *BucketStats) GetStorageClassMaxSizes() []*OptionalSizeByClass
- func (x *BucketStats) GetStorageClassUsedSizes() []*SizeByClass
- func (x *BucketStats) GetUpdatedAt() *timestamppb.Timestamp
- func (x *BucketStats) GetUsedSize() int64
- func (*BucketStats) ProtoMessage()
- func (x *BucketStats) ProtoReflect() protoreflect.Message
- func (x *BucketStats) Reset()
- func (m *BucketStats) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
- func (m *BucketStats) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *BucketStats) SetDefaultStorageClass(v *wrapperspb.StringValue)
- func (m *BucketStats) SetMaxSize(v *wrapperspb.Int64Value)
- func (m *BucketStats) SetName(v string)
- func (m *BucketStats) SetStorageClassCounters(v []*CountersByClass)
- func (m *BucketStats) SetStorageClassMaxSizes(v []*OptionalSizeByClass)
- func (m *BucketStats) SetStorageClassUsedSizes(v []*SizeByClass)
- func (m *BucketStats) SetUpdatedAt(v *timestamppb.Timestamp)
- func (m *BucketStats) SetUsedSize(v int64)
- func (x *BucketStats) String() string
- type CertificateManagerHTTPSConfigParams
- func (*CertificateManagerHTTPSConfigParams) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateManagerHTTPSConfigParams) GetCertificateId() string
- func (*CertificateManagerHTTPSConfigParams) ProtoMessage()
- func (x *CertificateManagerHTTPSConfigParams) ProtoReflect() protoreflect.Message
- func (x *CertificateManagerHTTPSConfigParams) Reset()
- func (m *CertificateManagerHTTPSConfigParams) SetCertificateId(v string)
- func (x *CertificateManagerHTTPSConfigParams) String() string
- type CopyObjectResult
- func (*CopyObjectResult) Descriptor() ([]byte, []int)deprecated
- func (x *CopyObjectResult) GetEtag() string
- func (x *CopyObjectResult) GetLastModifiedAt() *timestamppb.Timestamp
- func (*CopyObjectResult) ProtoMessage()
- func (x *CopyObjectResult) ProtoReflect() protoreflect.Message
- func (x *CopyObjectResult) Reset()
- func (m *CopyObjectResult) SetEtag(v string)
- func (m *CopyObjectResult) SetLastModifiedAt(v *timestamppb.Timestamp)
- func (x *CopyObjectResult) String() string
- type CorsRule
- func (*CorsRule) Descriptor() ([]byte, []int)deprecated
- func (x *CorsRule) GetAllowedHeaders() []string
- func (x *CorsRule) GetAllowedMethods() []CorsRule_Method
- func (x *CorsRule) GetAllowedOrigins() []string
- func (x *CorsRule) GetExposeHeaders() []string
- func (x *CorsRule) GetId() string
- func (x *CorsRule) GetMaxAgeSeconds() *wrapperspb.Int64Value
- func (*CorsRule) ProtoMessage()
- func (x *CorsRule) ProtoReflect() protoreflect.Message
- func (x *CorsRule) Reset()
- func (m *CorsRule) SetAllowedHeaders(v []string)
- func (m *CorsRule) SetAllowedMethods(v []CorsRule_Method)
- func (m *CorsRule) SetAllowedOrigins(v []string)
- func (m *CorsRule) SetExposeHeaders(v []string)
- func (m *CorsRule) SetId(v string)
- func (m *CorsRule) SetMaxAgeSeconds(v *wrapperspb.Int64Value)
- func (x *CorsRule) String() string
- type CorsRule_Method
- func (CorsRule_Method) Descriptor() protoreflect.EnumDescriptor
- func (x CorsRule_Method) Enum() *CorsRule_Method
- func (CorsRule_Method) EnumDescriptor() ([]byte, []int)deprecated
- func (x CorsRule_Method) Number() protoreflect.EnumNumber
- func (x CorsRule_Method) String() string
- func (CorsRule_Method) Type() protoreflect.EnumType
- type Counters
- func (*Counters) Descriptor() ([]byte, []int)deprecated
- func (x *Counters) GetActiveMultipartCount() int64
- func (x *Counters) GetMultipartObjectsCount() int64
- func (x *Counters) GetMultipartObjectsSize() int64
- func (x *Counters) GetObjectsPartsCount() int64
- func (x *Counters) GetObjectsPartsSize() int64
- func (x *Counters) GetSimpleObjectCount() int64
- func (x *Counters) GetSimpleObjectSize() int64
- func (*Counters) ProtoMessage()
- func (x *Counters) ProtoReflect() protoreflect.Message
- func (x *Counters) Reset()
- func (m *Counters) SetActiveMultipartCount(v int64)
- func (m *Counters) SetMultipartObjectsCount(v int64)
- func (m *Counters) SetMultipartObjectsSize(v int64)
- func (m *Counters) SetObjectsPartsCount(v int64)
- func (m *Counters) SetObjectsPartsSize(v int64)
- func (m *Counters) SetSimpleObjectCount(v int64)
- func (m *Counters) SetSimpleObjectSize(v int64)
- func (x *Counters) String() string
- type CountersByClass
- func (*CountersByClass) Descriptor() ([]byte, []int)deprecated
- func (x *CountersByClass) GetCounters() *Counters
- func (x *CountersByClass) GetStorageClass() string
- func (*CountersByClass) ProtoMessage()
- func (x *CountersByClass) ProtoReflect() protoreflect.Message
- func (x *CountersByClass) Reset()
- func (m *CountersByClass) SetCounters(v *Counters)
- func (m *CountersByClass) SetStorageClass(v string)
- func (x *CountersByClass) String() string
- type CreateBucketMetadata
- func (*CreateBucketMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketMetadata) GetName() string
- func (*CreateBucketMetadata) ProtoMessage()
- func (x *CreateBucketMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateBucketMetadata) Reset()
- func (m *CreateBucketMetadata) SetName(v string)
- func (x *CreateBucketMetadata) String() string
- type CreateBucketRequest
- func (*CreateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBucketRequest) GetAcl() *ACL
- func (x *CreateBucketRequest) GetAnonymousAccessFlags() *AnonymousAccessFlags
- func (x *CreateBucketRequest) GetDefaultStorageClass() string
- func (x *CreateBucketRequest) GetFolderId() string
- func (x *CreateBucketRequest) GetMaxSize() int64
- func (x *CreateBucketRequest) GetName() string
- func (x *CreateBucketRequest) GetTags() []*Tag
- func (*CreateBucketRequest) ProtoMessage()
- func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBucketRequest) Reset()
- func (m *CreateBucketRequest) SetAcl(v *ACL)
- func (m *CreateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
- func (m *CreateBucketRequest) SetDefaultStorageClass(v string)
- func (m *CreateBucketRequest) SetFolderId(v string)
- func (m *CreateBucketRequest) SetMaxSize(v int64)
- func (m *CreateBucketRequest) SetName(v string)
- func (m *CreateBucketRequest) SetTags(v []*Tag)
- func (x *CreateBucketRequest) String() string
- type DeleteBucketHTTPSConfigMetadata
- func (*DeleteBucketHTTPSConfigMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketHTTPSConfigMetadata) GetName() string
- func (*DeleteBucketHTTPSConfigMetadata) ProtoMessage()
- func (x *DeleteBucketHTTPSConfigMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketHTTPSConfigMetadata) Reset()
- func (m *DeleteBucketHTTPSConfigMetadata) SetName(v string)
- func (x *DeleteBucketHTTPSConfigMetadata) String() string
- type DeleteBucketHTTPSConfigRequest
- func (*DeleteBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketHTTPSConfigRequest) GetName() string
- func (*DeleteBucketHTTPSConfigRequest) ProtoMessage()
- func (x *DeleteBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketHTTPSConfigRequest) Reset()
- func (m *DeleteBucketHTTPSConfigRequest) SetName(v string)
- func (x *DeleteBucketHTTPSConfigRequest) String() string
- type DeleteBucketMetadata
- func (*DeleteBucketMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketMetadata) GetName() string
- func (*DeleteBucketMetadata) ProtoMessage()
- func (x *DeleteBucketMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketMetadata) Reset()
- func (m *DeleteBucketMetadata) SetName(v string)
- func (x *DeleteBucketMetadata) String() string
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBucketRequest) GetName() string
- func (*DeleteBucketRequest) ProtoMessage()
- func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBucketRequest) Reset()
- func (m *DeleteBucketRequest) SetName(v string)
- func (x *DeleteBucketRequest) String() string
- type DeleteObjectError
- func (*DeleteObjectError) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteObjectError) GetCode() string
- func (x *DeleteObjectError) GetKey() string
- func (x *DeleteObjectError) GetMsg() string
- func (x *DeleteObjectError) GetVersionId() string
- func (*DeleteObjectError) ProtoMessage()
- func (x *DeleteObjectError) ProtoReflect() protoreflect.Message
- func (x *DeleteObjectError) Reset()
- func (m *DeleteObjectError) SetCode(v string)
- func (m *DeleteObjectError) SetKey(v string)
- func (m *DeleteObjectError) SetMsg(v string)
- func (m *DeleteObjectError) SetVersionId(v string)
- func (x *DeleteObjectError) String() string
- type Encryption
- func (*Encryption) Descriptor() ([]byte, []int)deprecated
- func (x *Encryption) GetRules() []*Encryption_EncryptionRule
- func (*Encryption) ProtoMessage()
- func (x *Encryption) ProtoReflect() protoreflect.Message
- func (x *Encryption) Reset()
- func (m *Encryption) SetRules(v []*Encryption_EncryptionRule)
- func (x *Encryption) String() string
- type Encryption_EncryptionRule
- func (*Encryption_EncryptionRule) Descriptor() ([]byte, []int)deprecated
- func (x *Encryption_EncryptionRule) GetKmsMasterKeyId() string
- func (x *Encryption_EncryptionRule) GetSseAlgorithm() string
- func (*Encryption_EncryptionRule) ProtoMessage()
- func (x *Encryption_EncryptionRule) ProtoReflect() protoreflect.Message
- func (x *Encryption_EncryptionRule) Reset()
- func (m *Encryption_EncryptionRule) SetKmsMasterKeyId(v string)
- func (m *Encryption_EncryptionRule) SetSseAlgorithm(v string)
- func (x *Encryption_EncryptionRule) String() string
- type GetBucketHTTPSConfigRequest
- func (*GetBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketHTTPSConfigRequest) GetName() string
- func (*GetBucketHTTPSConfigRequest) ProtoMessage()
- func (x *GetBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketHTTPSConfigRequest) Reset()
- func (m *GetBucketHTTPSConfigRequest) SetName(v string)
- func (x *GetBucketHTTPSConfigRequest) String() string
- type GetBucketRequest
- func (*GetBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketRequest) GetName() string
- func (x *GetBucketRequest) GetView() GetBucketRequest_View
- func (*GetBucketRequest) ProtoMessage()
- func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketRequest) Reset()
- func (m *GetBucketRequest) SetName(v string)
- func (m *GetBucketRequest) SetView(v GetBucketRequest_View)
- func (x *GetBucketRequest) String() string
- type GetBucketRequest_View
- func (GetBucketRequest_View) Descriptor() protoreflect.EnumDescriptor
- func (x GetBucketRequest_View) Enum() *GetBucketRequest_View
- func (GetBucketRequest_View) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetBucketRequest_View) Number() protoreflect.EnumNumber
- func (x GetBucketRequest_View) String() string
- func (GetBucketRequest_View) Type() protoreflect.EnumType
- type GetBucketStatsRequest
- func (*GetBucketStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBucketStatsRequest) GetName() string
- func (*GetBucketStatsRequest) ProtoMessage()
- func (x *GetBucketStatsRequest) ProtoReflect() protoreflect.Message
- func (x *GetBucketStatsRequest) Reset()
- func (m *GetBucketStatsRequest) SetName(v string)
- func (x *GetBucketStatsRequest) String() string
- type HTTPSConfig
- func (*HTTPSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPSConfig) GetCertificateId() string
- func (x *HTTPSConfig) GetDnsNames() []string
- func (x *HTTPSConfig) GetIssuer() *wrapperspb.StringValue
- func (x *HTTPSConfig) GetName() string
- func (x *HTTPSConfig) GetNotAfter() *timestamppb.Timestamp
- func (x *HTTPSConfig) GetNotBefore() *timestamppb.Timestamp
- func (x *HTTPSConfig) GetSourceType() HTTPSConfig_SourceType
- func (x *HTTPSConfig) GetSubject() *wrapperspb.StringValue
- func (*HTTPSConfig) ProtoMessage()
- func (x *HTTPSConfig) ProtoReflect() protoreflect.Message
- func (x *HTTPSConfig) Reset()
- func (m *HTTPSConfig) SetCertificateId(v string)
- func (m *HTTPSConfig) SetDnsNames(v []string)
- func (m *HTTPSConfig) SetIssuer(v *wrapperspb.StringValue)
- func (m *HTTPSConfig) SetName(v string)
- func (m *HTTPSConfig) SetNotAfter(v *timestamppb.Timestamp)
- func (m *HTTPSConfig) SetNotBefore(v *timestamppb.Timestamp)
- func (m *HTTPSConfig) SetSourceType(v HTTPSConfig_SourceType)
- func (m *HTTPSConfig) SetSubject(v *wrapperspb.StringValue)
- func (x *HTTPSConfig) String() string
- type HTTPSConfig_SourceType
- func (HTTPSConfig_SourceType) Descriptor() protoreflect.EnumDescriptor
- func (x HTTPSConfig_SourceType) Enum() *HTTPSConfig_SourceType
- func (HTTPSConfig_SourceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HTTPSConfig_SourceType) Number() protoreflect.EnumNumber
- func (x HTTPSConfig_SourceType) String() string
- func (HTTPSConfig_SourceType) Type() protoreflect.EnumType
- type LifecycleRule
- func (*LifecycleRule) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule) GetAbortIncompleteMultipartUpload() *LifecycleRule_AfterDays
- func (x *LifecycleRule) GetEnabled() bool
- func (x *LifecycleRule) GetExpiration() *LifecycleRule_Expiration
- func (x *LifecycleRule) GetFilter() *LifecycleRule_RuleFilter
- func (x *LifecycleRule) GetId() *wrapperspb.StringValue
- func (x *LifecycleRule) GetNoncurrentDeleteMarkers() *LifecycleRule_NoncurrentDeleteMarkers
- func (x *LifecycleRule) GetNoncurrentExpiration() *LifecycleRule_NoncurrentExpiration
- func (x *LifecycleRule) GetNoncurrentTransitions() []*LifecycleRule_NoncurrentTransition
- func (x *LifecycleRule) GetTransitions() []*LifecycleRule_Transition
- func (*LifecycleRule) ProtoMessage()
- func (x *LifecycleRule) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule) Reset()
- func (m *LifecycleRule) SetAbortIncompleteMultipartUpload(v *LifecycleRule_AfterDays)
- func (m *LifecycleRule) SetEnabled(v bool)
- func (m *LifecycleRule) SetExpiration(v *LifecycleRule_Expiration)
- func (m *LifecycleRule) SetFilter(v *LifecycleRule_RuleFilter)
- func (m *LifecycleRule) SetId(v *wrapperspb.StringValue)
- func (m *LifecycleRule) SetNoncurrentDeleteMarkers(v *LifecycleRule_NoncurrentDeleteMarkers)
- func (m *LifecycleRule) SetNoncurrentExpiration(v *LifecycleRule_NoncurrentExpiration)
- func (m *LifecycleRule) SetNoncurrentTransitions(v []*LifecycleRule_NoncurrentTransition)
- func (m *LifecycleRule) SetTransitions(v []*LifecycleRule_Transition)
- func (x *LifecycleRule) String() string
- type LifecycleRule_AfterDays
- func (*LifecycleRule_AfterDays) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_AfterDays) GetDaysAfterExpiration() *wrapperspb.Int64Value
- func (*LifecycleRule_AfterDays) ProtoMessage()
- func (x *LifecycleRule_AfterDays) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_AfterDays) Reset()
- func (m *LifecycleRule_AfterDays) SetDaysAfterExpiration(v *wrapperspb.Int64Value)
- func (x *LifecycleRule_AfterDays) String() string
- type LifecycleRule_Expiration
- func (*LifecycleRule_Expiration) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_Expiration) GetDate() *timestamppb.Timestamp
- func (x *LifecycleRule_Expiration) GetDays() *wrapperspb.Int64Value
- func (x *LifecycleRule_Expiration) GetExpiredObjectDeleteMarker() *wrapperspb.BoolValue
- func (*LifecycleRule_Expiration) ProtoMessage()
- func (x *LifecycleRule_Expiration) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_Expiration) Reset()
- func (m *LifecycleRule_Expiration) SetDate(v *timestamppb.Timestamp)
- func (m *LifecycleRule_Expiration) SetDays(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_Expiration) SetExpiredObjectDeleteMarker(v *wrapperspb.BoolValue)
- func (x *LifecycleRule_Expiration) String() string
- type LifecycleRule_NoncurrentDeleteMarkers
- func (*LifecycleRule_NoncurrentDeleteMarkers) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_NoncurrentDeleteMarkers) GetNoncurrentDays() *wrapperspb.Int64Value
- func (*LifecycleRule_NoncurrentDeleteMarkers) ProtoMessage()
- func (x *LifecycleRule_NoncurrentDeleteMarkers) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_NoncurrentDeleteMarkers) Reset()
- func (m *LifecycleRule_NoncurrentDeleteMarkers) SetNoncurrentDays(v *wrapperspb.Int64Value)
- func (x *LifecycleRule_NoncurrentDeleteMarkers) String() string
- type LifecycleRule_NoncurrentExpiration
- func (*LifecycleRule_NoncurrentExpiration) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_NoncurrentExpiration) GetNoncurrentDays() *wrapperspb.Int64Value
- func (*LifecycleRule_NoncurrentExpiration) ProtoMessage()
- func (x *LifecycleRule_NoncurrentExpiration) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_NoncurrentExpiration) Reset()
- func (m *LifecycleRule_NoncurrentExpiration) SetNoncurrentDays(v *wrapperspb.Int64Value)
- func (x *LifecycleRule_NoncurrentExpiration) String() string
- type LifecycleRule_NoncurrentTransition
- func (*LifecycleRule_NoncurrentTransition) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_NoncurrentTransition) GetNoncurrentDays() *wrapperspb.Int64Value
- func (x *LifecycleRule_NoncurrentTransition) GetStorageClass() string
- func (*LifecycleRule_NoncurrentTransition) ProtoMessage()
- func (x *LifecycleRule_NoncurrentTransition) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_NoncurrentTransition) Reset()
- func (m *LifecycleRule_NoncurrentTransition) SetNoncurrentDays(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_NoncurrentTransition) SetStorageClass(v string)
- func (x *LifecycleRule_NoncurrentTransition) String() string
- type LifecycleRule_RuleFilter
- func (*LifecycleRule_RuleFilter) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_RuleFilter) GetAndOperator() *LifecycleRule_RuleFilter_And
- func (x *LifecycleRule_RuleFilter) GetObjectSizeGreaterThan() *wrapperspb.Int64Value
- func (x *LifecycleRule_RuleFilter) GetObjectSizeLessThan() *wrapperspb.Int64Value
- func (x *LifecycleRule_RuleFilter) GetPrefix() string
- func (x *LifecycleRule_RuleFilter) GetTag() *Tag
- func (*LifecycleRule_RuleFilter) ProtoMessage()
- func (x *LifecycleRule_RuleFilter) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_RuleFilter) Reset()
- func (m *LifecycleRule_RuleFilter) SetAndOperator(v *LifecycleRule_RuleFilter_And)
- func (m *LifecycleRule_RuleFilter) SetObjectSizeGreaterThan(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_RuleFilter) SetObjectSizeLessThan(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_RuleFilter) SetPrefix(v string)
- func (m *LifecycleRule_RuleFilter) SetTag(v *Tag)
- func (x *LifecycleRule_RuleFilter) String() string
- type LifecycleRule_RuleFilter_And
- func (*LifecycleRule_RuleFilter_And) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_RuleFilter_And) GetObjectSizeGreaterThan() *wrapperspb.Int64Value
- func (x *LifecycleRule_RuleFilter_And) GetObjectSizeLessThan() *wrapperspb.Int64Value
- func (x *LifecycleRule_RuleFilter_And) GetPrefix() string
- func (x *LifecycleRule_RuleFilter_And) GetTag() []*Tag
- func (*LifecycleRule_RuleFilter_And) ProtoMessage()
- func (x *LifecycleRule_RuleFilter_And) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_RuleFilter_And) Reset()
- func (m *LifecycleRule_RuleFilter_And) SetObjectSizeGreaterThan(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_RuleFilter_And) SetObjectSizeLessThan(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_RuleFilter_And) SetPrefix(v string)
- func (m *LifecycleRule_RuleFilter_And) SetTag(v []*Tag)
- func (x *LifecycleRule_RuleFilter_And) String() string
- type LifecycleRule_Transition
- func (*LifecycleRule_Transition) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleRule_Transition) GetDate() *timestamppb.Timestamp
- func (x *LifecycleRule_Transition) GetDays() *wrapperspb.Int64Value
- func (x *LifecycleRule_Transition) GetStorageClass() string
- func (*LifecycleRule_Transition) ProtoMessage()
- func (x *LifecycleRule_Transition) ProtoReflect() protoreflect.Message
- func (x *LifecycleRule_Transition) Reset()
- func (m *LifecycleRule_Transition) SetDate(v *timestamppb.Timestamp)
- func (m *LifecycleRule_Transition) SetDays(v *wrapperspb.Int64Value)
- func (m *LifecycleRule_Transition) SetStorageClass(v string)
- func (x *LifecycleRule_Transition) String() string
- type ListBucketsRequest
- func (*ListBucketsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsRequest) GetFolderId() string
- func (*ListBucketsRequest) ProtoMessage()
- func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBucketsRequest) Reset()
- func (m *ListBucketsRequest) SetFolderId(v string)
- func (x *ListBucketsRequest) String() string
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBucketsResponse) GetBuckets() []*Bucket
- func (*ListBucketsResponse) ProtoMessage()
- func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBucketsResponse) Reset()
- func (m *ListBucketsResponse) SetBuckets(v []*Bucket)
- func (x *ListBucketsResponse) String() string
- type ObjectLock
- func (*ObjectLock) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectLock) GetDefaultRetention() *ObjectLock_DefaultRetention
- func (x *ObjectLock) GetStatus() ObjectLock_ObjectLockStatus
- func (*ObjectLock) ProtoMessage()
- func (x *ObjectLock) ProtoReflect() protoreflect.Message
- func (x *ObjectLock) Reset()
- func (m *ObjectLock) SetDefaultRetention(v *ObjectLock_DefaultRetention)
- func (m *ObjectLock) SetStatus(v ObjectLock_ObjectLockStatus)
- func (x *ObjectLock) String() string
- type ObjectLockLegalHold
- func (*ObjectLockLegalHold) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectLockLegalHold) GetStatus() string
- func (*ObjectLockLegalHold) ProtoMessage()
- func (x *ObjectLockLegalHold) ProtoReflect() protoreflect.Message
- func (x *ObjectLockLegalHold) Reset()
- func (m *ObjectLockLegalHold) SetStatus(v string)
- func (x *ObjectLockLegalHold) String() string
- type ObjectLockRetention
- func (*ObjectLockRetention) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectLockRetention) GetMode() string
- func (x *ObjectLockRetention) GetRetainUntilDate() *timestamppb.Timestamp
- func (*ObjectLockRetention) ProtoMessage()
- func (x *ObjectLockRetention) ProtoReflect() protoreflect.Message
- func (x *ObjectLockRetention) Reset()
- func (m *ObjectLockRetention) SetMode(v string)
- func (m *ObjectLockRetention) SetRetainUntilDate(v *timestamppb.Timestamp)
- func (x *ObjectLockRetention) String() string
- type ObjectLock_DefaultRetention
- func (*ObjectLock_DefaultRetention) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectLock_DefaultRetention) GetDays() int64
- func (x *ObjectLock_DefaultRetention) GetMode() ObjectLock_DefaultRetention_Mode
- func (m *ObjectLock_DefaultRetention) GetPeriod() isObjectLock_DefaultRetention_Period
- func (x *ObjectLock_DefaultRetention) GetYears() int64
- func (*ObjectLock_DefaultRetention) ProtoMessage()
- func (x *ObjectLock_DefaultRetention) ProtoReflect() protoreflect.Message
- func (x *ObjectLock_DefaultRetention) Reset()
- func (m *ObjectLock_DefaultRetention) SetDays(v int64)
- func (m *ObjectLock_DefaultRetention) SetMode(v ObjectLock_DefaultRetention_Mode)
- func (m *ObjectLock_DefaultRetention) SetPeriod(v ObjectLock_DefaultRetention_Period)
- func (m *ObjectLock_DefaultRetention) SetYears(v int64)
- func (x *ObjectLock_DefaultRetention) String() string
- type ObjectLock_DefaultRetention_Days
- type ObjectLock_DefaultRetention_Mode
- func (ObjectLock_DefaultRetention_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectLock_DefaultRetention_Mode) Enum() *ObjectLock_DefaultRetention_Mode
- func (ObjectLock_DefaultRetention_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ObjectLock_DefaultRetention_Mode) Number() protoreflect.EnumNumber
- func (x ObjectLock_DefaultRetention_Mode) String() string
- func (ObjectLock_DefaultRetention_Mode) Type() protoreflect.EnumType
- type ObjectLock_DefaultRetention_Period
- type ObjectLock_DefaultRetention_Years
- type ObjectLock_ObjectLockStatus
- func (ObjectLock_ObjectLockStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectLock_ObjectLockStatus) Enum() *ObjectLock_ObjectLockStatus
- func (ObjectLock_ObjectLockStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ObjectLock_ObjectLockStatus) Number() protoreflect.EnumNumber
- func (x ObjectLock_ObjectLockStatus) String() string
- func (ObjectLock_ObjectLockStatus) Type() protoreflect.EnumType
- type ObjectTag
- func (*ObjectTag) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectTag) GetKey() string
- func (x *ObjectTag) GetValue() string
- func (*ObjectTag) ProtoMessage()
- func (x *ObjectTag) ProtoReflect() protoreflect.Message
- func (x *ObjectTag) Reset()
- func (m *ObjectTag) SetKey(v string)
- func (m *ObjectTag) SetValue(v string)
- func (x *ObjectTag) String() string
- type OptionalSizeByClass
- func (*OptionalSizeByClass) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalSizeByClass) GetClassSize() *wrapperspb.Int64Value
- func (x *OptionalSizeByClass) GetStorageClass() string
- func (*OptionalSizeByClass) ProtoMessage()
- func (x *OptionalSizeByClass) ProtoReflect() protoreflect.Message
- func (x *OptionalSizeByClass) Reset()
- func (m *OptionalSizeByClass) SetClassSize(v *wrapperspb.Int64Value)
- func (m *OptionalSizeByClass) SetStorageClass(v string)
- func (x *OptionalSizeByClass) String() string
- type S3APICopyObjectResponse
- func (*S3APICopyObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APICopyObjectResponse) GetCopyObjectResult() *CopyObjectResult
- func (x *S3APICopyObjectResponse) GetCopySourceVersionId() string
- func (x *S3APICopyObjectResponse) GetRequestId() string
- func (x *S3APICopyObjectResponse) GetVersionId() string
- func (*S3APICopyObjectResponse) ProtoMessage()
- func (x *S3APICopyObjectResponse) ProtoReflect() protoreflect.Message
- func (x *S3APICopyObjectResponse) Reset()
- func (m *S3APICopyObjectResponse) SetCopyObjectResult(v *CopyObjectResult)
- func (m *S3APICopyObjectResponse) SetCopySourceVersionId(v string)
- func (m *S3APICopyObjectResponse) SetRequestId(v string)
- func (m *S3APICopyObjectResponse) SetVersionId(v string)
- func (x *S3APICopyObjectResponse) String() string
- type S3APIDeleteObjectResponse
- func (*S3APIDeleteObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIDeleteObjectResponse) GetRequestId() string
- func (x *S3APIDeleteObjectResponse) GetVersionId() string
- func (*S3APIDeleteObjectResponse) ProtoMessage()
- func (x *S3APIDeleteObjectResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIDeleteObjectResponse) Reset()
- func (m *S3APIDeleteObjectResponse) SetRequestId(v string)
- func (m *S3APIDeleteObjectResponse) SetVersionId(v string)
- func (x *S3APIDeleteObjectResponse) String() string
- type S3APIDeleteObjectTaggingResponse
- func (*S3APIDeleteObjectTaggingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIDeleteObjectTaggingResponse) GetRequestId() string
- func (x *S3APIDeleteObjectTaggingResponse) GetVersionId() string
- func (*S3APIDeleteObjectTaggingResponse) ProtoMessage()
- func (x *S3APIDeleteObjectTaggingResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIDeleteObjectTaggingResponse) Reset()
- func (m *S3APIDeleteObjectTaggingResponse) SetRequestId(v string)
- func (m *S3APIDeleteObjectTaggingResponse) SetVersionId(v string)
- func (x *S3APIDeleteObjectTaggingResponse) String() string
- type S3APIDeleteObjectsResponse
- func (*S3APIDeleteObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIDeleteObjectsResponse) GetDeleted() []*SuccessfullyDeletedObject
- func (x *S3APIDeleteObjectsResponse) GetErrors() []*DeleteObjectError
- func (x *S3APIDeleteObjectsResponse) GetRequestId() string
- func (*S3APIDeleteObjectsResponse) ProtoMessage()
- func (x *S3APIDeleteObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIDeleteObjectsResponse) Reset()
- func (m *S3APIDeleteObjectsResponse) SetDeleted(v []*SuccessfullyDeletedObject)
- func (m *S3APIDeleteObjectsResponse) SetErrors(v []*DeleteObjectError)
- func (m *S3APIDeleteObjectsResponse) SetRequestId(v string)
- func (x *S3APIDeleteObjectsResponse) String() string
- type S3APIGetObjectLegalHoldResponse
- func (*S3APIGetObjectLegalHoldResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIGetObjectLegalHoldResponse) GetLegalHold() *ObjectLockLegalHold
- func (x *S3APIGetObjectLegalHoldResponse) GetRequestId() string
- func (*S3APIGetObjectLegalHoldResponse) ProtoMessage()
- func (x *S3APIGetObjectLegalHoldResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIGetObjectLegalHoldResponse) Reset()
- func (m *S3APIGetObjectLegalHoldResponse) SetLegalHold(v *ObjectLockLegalHold)
- func (m *S3APIGetObjectLegalHoldResponse) SetRequestId(v string)
- func (x *S3APIGetObjectLegalHoldResponse) String() string
- type S3APIGetObjectResponse
- func (*S3APIGetObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIGetObjectResponse) GetAcceptRanges() string
- func (x *S3APIGetObjectResponse) GetCacheControl() string
- func (x *S3APIGetObjectResponse) GetContentDisposition() string
- func (x *S3APIGetObjectResponse) GetContentEncoding() string
- func (x *S3APIGetObjectResponse) GetContentLanguage() string
- func (x *S3APIGetObjectResponse) GetContentLength() int64
- func (x *S3APIGetObjectResponse) GetContentRange() string
- func (x *S3APIGetObjectResponse) GetContentType() string
- func (x *S3APIGetObjectResponse) GetEtag() string
- func (x *S3APIGetObjectResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *S3APIGetObjectResponse) GetLastModifiedAt() *timestamppb.Timestamp
- func (x *S3APIGetObjectResponse) GetMetadata() map[string]string
- func (x *S3APIGetObjectResponse) GetObjectLockLegalHoldStatus() string
- func (x *S3APIGetObjectResponse) GetObjectLockMode() string
- func (x *S3APIGetObjectResponse) GetObjectLockRetainUntilDate() *timestamppb.Timestamp
- func (x *S3APIGetObjectResponse) GetRequestId() string
- func (x *S3APIGetObjectResponse) GetServerSideEncryption() string
- func (x *S3APIGetObjectResponse) GetSseKmsKeyId() string
- func (x *S3APIGetObjectResponse) GetStorageClass() string
- func (x *S3APIGetObjectResponse) GetVersionId() string
- func (*S3APIGetObjectResponse) ProtoMessage()
- func (x *S3APIGetObjectResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIGetObjectResponse) Reset()
- func (m *S3APIGetObjectResponse) SetAcceptRanges(v string)
- func (m *S3APIGetObjectResponse) SetCacheControl(v string)
- func (m *S3APIGetObjectResponse) SetContentDisposition(v string)
- func (m *S3APIGetObjectResponse) SetContentEncoding(v string)
- func (m *S3APIGetObjectResponse) SetContentLanguage(v string)
- func (m *S3APIGetObjectResponse) SetContentLength(v int64)
- func (m *S3APIGetObjectResponse) SetContentRange(v string)
- func (m *S3APIGetObjectResponse) SetContentType(v string)
- func (m *S3APIGetObjectResponse) SetEtag(v string)
- func (m *S3APIGetObjectResponse) SetExpiresAt(v *timestamppb.Timestamp)
- func (m *S3APIGetObjectResponse) SetLastModifiedAt(v *timestamppb.Timestamp)
- func (m *S3APIGetObjectResponse) SetMetadata(v map[string]string)
- func (m *S3APIGetObjectResponse) SetObjectLockLegalHoldStatus(v string)
- func (m *S3APIGetObjectResponse) SetObjectLockMode(v string)
- func (m *S3APIGetObjectResponse) SetObjectLockRetainUntilDate(v *timestamppb.Timestamp)
- func (m *S3APIGetObjectResponse) SetRequestId(v string)
- func (m *S3APIGetObjectResponse) SetServerSideEncryption(v string)
- func (m *S3APIGetObjectResponse) SetSseKmsKeyId(v string)
- func (m *S3APIGetObjectResponse) SetStorageClass(v string)
- func (m *S3APIGetObjectResponse) SetVersionId(v string)
- func (x *S3APIGetObjectResponse) String() string
- type S3APIGetObjectRetentionResponse
- func (*S3APIGetObjectRetentionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIGetObjectRetentionResponse) GetRequestId() string
- func (x *S3APIGetObjectRetentionResponse) GetRetention() *ObjectLockRetention
- func (*S3APIGetObjectRetentionResponse) ProtoMessage()
- func (x *S3APIGetObjectRetentionResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIGetObjectRetentionResponse) Reset()
- func (m *S3APIGetObjectRetentionResponse) SetRequestId(v string)
- func (m *S3APIGetObjectRetentionResponse) SetRetention(v *ObjectLockRetention)
- func (x *S3APIGetObjectRetentionResponse) String() string
- type S3APIGetObjectTaggingResponse
- func (*S3APIGetObjectTaggingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIGetObjectTaggingResponse) GetRequestId() string
- func (x *S3APIGetObjectTaggingResponse) GetTagSet() []*ObjectTag
- func (x *S3APIGetObjectTaggingResponse) GetVersionId() string
- func (*S3APIGetObjectTaggingResponse) ProtoMessage()
- func (x *S3APIGetObjectTaggingResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIGetObjectTaggingResponse) Reset()
- func (m *S3APIGetObjectTaggingResponse) SetRequestId(v string)
- func (m *S3APIGetObjectTaggingResponse) SetTagSet(v []*ObjectTag)
- func (m *S3APIGetObjectTaggingResponse) SetVersionId(v string)
- func (x *S3APIGetObjectTaggingResponse) String() string
- type S3APIPutObjectLegalHoldResponse
- func (*S3APIPutObjectLegalHoldResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIPutObjectLegalHoldResponse) GetRequestId() string
- func (*S3APIPutObjectLegalHoldResponse) ProtoMessage()
- func (x *S3APIPutObjectLegalHoldResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIPutObjectLegalHoldResponse) Reset()
- func (m *S3APIPutObjectLegalHoldResponse) SetRequestId(v string)
- func (x *S3APIPutObjectLegalHoldResponse) String() string
- type S3APIPutObjectResponse
- func (*S3APIPutObjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIPutObjectResponse) GetEtag() string
- func (x *S3APIPutObjectResponse) GetRequestId() string
- func (x *S3APIPutObjectResponse) GetVersionId() string
- func (*S3APIPutObjectResponse) ProtoMessage()
- func (x *S3APIPutObjectResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIPutObjectResponse) Reset()
- func (m *S3APIPutObjectResponse) SetEtag(v string)
- func (m *S3APIPutObjectResponse) SetRequestId(v string)
- func (m *S3APIPutObjectResponse) SetVersionId(v string)
- func (x *S3APIPutObjectResponse) String() string
- type S3APIPutObjectRetentionResponse
- func (*S3APIPutObjectRetentionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIPutObjectRetentionResponse) GetRequestId() string
- func (*S3APIPutObjectRetentionResponse) ProtoMessage()
- func (x *S3APIPutObjectRetentionResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIPutObjectRetentionResponse) Reset()
- func (m *S3APIPutObjectRetentionResponse) SetRequestId(v string)
- func (x *S3APIPutObjectRetentionResponse) String() string
- type S3APIPutObjectTaggingResponse
- func (*S3APIPutObjectTaggingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *S3APIPutObjectTaggingResponse) GetRequestId() string
- func (x *S3APIPutObjectTaggingResponse) GetVersionId() string
- func (*S3APIPutObjectTaggingResponse) ProtoMessage()
- func (x *S3APIPutObjectTaggingResponse) ProtoReflect() protoreflect.Message
- func (x *S3APIPutObjectTaggingResponse) Reset()
- func (m *S3APIPutObjectTaggingResponse) SetRequestId(v string)
- func (m *S3APIPutObjectTaggingResponse) SetVersionId(v string)
- func (x *S3APIPutObjectTaggingResponse) String() string
- type SelfManagedHTTPSConfigParams
- func (*SelfManagedHTTPSConfigParams) Descriptor() ([]byte, []int)deprecated
- func (x *SelfManagedHTTPSConfigParams) GetCertificatePem() string
- func (x *SelfManagedHTTPSConfigParams) GetPrivateKeyPem() string
- func (*SelfManagedHTTPSConfigParams) ProtoMessage()
- func (x *SelfManagedHTTPSConfigParams) ProtoReflect() protoreflect.Message
- func (x *SelfManagedHTTPSConfigParams) Reset()
- func (m *SelfManagedHTTPSConfigParams) SetCertificatePem(v string)
- func (m *SelfManagedHTTPSConfigParams) SetPrivateKeyPem(v string)
- func (x *SelfManagedHTTPSConfigParams) String() string
- type SetBucketHTTPSConfigMetadata
- func (*SetBucketHTTPSConfigMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *SetBucketHTTPSConfigMetadata) GetName() string
- func (*SetBucketHTTPSConfigMetadata) ProtoMessage()
- func (x *SetBucketHTTPSConfigMetadata) ProtoReflect() protoreflect.Message
- func (x *SetBucketHTTPSConfigMetadata) Reset()
- func (m *SetBucketHTTPSConfigMetadata) SetName(v string)
- func (x *SetBucketHTTPSConfigMetadata) String() string
- type SetBucketHTTPSConfigRequest
- func (*SetBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetBucketHTTPSConfigRequest) GetCertificateManager() *CertificateManagerHTTPSConfigParams
- func (x *SetBucketHTTPSConfigRequest) GetName() string
- func (m *SetBucketHTTPSConfigRequest) GetParams() isSetBucketHTTPSConfigRequest_Params
- func (x *SetBucketHTTPSConfigRequest) GetSelfManaged() *SelfManagedHTTPSConfigParams
- func (*SetBucketHTTPSConfigRequest) ProtoMessage()
- func (x *SetBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetBucketHTTPSConfigRequest) Reset()
- func (m *SetBucketHTTPSConfigRequest) SetCertificateManager(v *CertificateManagerHTTPSConfigParams)
- func (m *SetBucketHTTPSConfigRequest) SetName(v string)
- func (m *SetBucketHTTPSConfigRequest) SetParams(v SetBucketHTTPSConfigRequest_Params)
- func (m *SetBucketHTTPSConfigRequest) SetSelfManaged(v *SelfManagedHTTPSConfigParams)
- func (x *SetBucketHTTPSConfigRequest) String() string
- type SetBucketHTTPSConfigRequest_CertificateManager
- type SetBucketHTTPSConfigRequest_Params
- type SetBucketHTTPSConfigRequest_SelfManaged
- type SizeByClass
- func (*SizeByClass) Descriptor() ([]byte, []int)deprecated
- func (x *SizeByClass) GetClassSize() int64
- func (x *SizeByClass) GetStorageClass() string
- func (*SizeByClass) ProtoMessage()
- func (x *SizeByClass) ProtoReflect() protoreflect.Message
- func (x *SizeByClass) Reset()
- func (m *SizeByClass) SetClassSize(v int64)
- func (m *SizeByClass) SetStorageClass(v string)
- func (x *SizeByClass) String() string
- type SuccessfullyDeletedObject
- func (*SuccessfullyDeletedObject) Descriptor() ([]byte, []int)deprecated
- func (x *SuccessfullyDeletedObject) GetDeleteMarker() bool
- func (x *SuccessfullyDeletedObject) GetDeleteMarkerVersionId() string
- func (x *SuccessfullyDeletedObject) GetKey() string
- func (x *SuccessfullyDeletedObject) GetVersionId() string
- func (*SuccessfullyDeletedObject) ProtoMessage()
- func (x *SuccessfullyDeletedObject) ProtoReflect() protoreflect.Message
- func (x *SuccessfullyDeletedObject) Reset()
- func (m *SuccessfullyDeletedObject) SetDeleteMarker(v bool)
- func (m *SuccessfullyDeletedObject) SetDeleteMarkerVersionId(v string)
- func (m *SuccessfullyDeletedObject) SetKey(v string)
- func (m *SuccessfullyDeletedObject) SetVersionId(v string)
- func (x *SuccessfullyDeletedObject) String() string
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetKey() string
- func (x *Tag) GetValue() string
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (m *Tag) SetKey(v string)
- func (m *Tag) SetValue(v string)
- func (x *Tag) String() string
- type UnimplementedBucketServiceServer
- func (UnimplementedBucketServiceServer) Create(context.Context, *CreateBucketRequest) (*operation.Operation, error)
- func (UnimplementedBucketServiceServer) Delete(context.Context, *DeleteBucketRequest) (*operation.Operation, error)
- func (UnimplementedBucketServiceServer) DeleteHTTPSConfig(context.Context, *DeleteBucketHTTPSConfigRequest) (*operation.Operation, error)
- func (UnimplementedBucketServiceServer) Get(context.Context, *GetBucketRequest) (*Bucket, error)
- func (UnimplementedBucketServiceServer) GetHTTPSConfig(context.Context, *GetBucketHTTPSConfigRequest) (*HTTPSConfig, error)
- func (UnimplementedBucketServiceServer) GetStats(context.Context, *GetBucketStatsRequest) (*BucketStats, error)
- func (UnimplementedBucketServiceServer) List(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
- func (UnimplementedBucketServiceServer) SetHTTPSConfig(context.Context, *SetBucketHTTPSConfigRequest) (*operation.Operation, error)
- func (UnimplementedBucketServiceServer) Update(context.Context, *UpdateBucketRequest) (*operation.Operation, error)
- type UnsafeBucketServiceServer
- type UpdateBucketMetadata
- func (*UpdateBucketMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBucketMetadata) GetName() string
- func (*UpdateBucketMetadata) ProtoMessage()
- func (x *UpdateBucketMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketMetadata) Reset()
- func (m *UpdateBucketMetadata) SetName(v string)
- func (x *UpdateBucketMetadata) String() string
- type UpdateBucketRequest
- func (*UpdateBucketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBucketRequest) GetAcl() *ACL
- func (x *UpdateBucketRequest) GetAnonymousAccessFlags() *AnonymousAccessFlags
- func (x *UpdateBucketRequest) GetCors() []*CorsRule
- func (x *UpdateBucketRequest) GetDefaultStorageClass() string
- func (x *UpdateBucketRequest) GetEncryption() *Encryption
- func (x *UpdateBucketRequest) GetLifecycleRules() []*LifecycleRule
- func (x *UpdateBucketRequest) GetMaxSize() int64
- func (x *UpdateBucketRequest) GetName() string
- func (x *UpdateBucketRequest) GetObjectLock() *ObjectLock
- func (x *UpdateBucketRequest) GetPolicy() *structpb.Struct
- func (x *UpdateBucketRequest) GetTags() []*Tag
- func (x *UpdateBucketRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateBucketRequest) GetVersioning() Versioning
- func (x *UpdateBucketRequest) GetWebsiteSettings() *WebsiteSettings
- func (*UpdateBucketRequest) ProtoMessage()
- func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBucketRequest) Reset()
- func (m *UpdateBucketRequest) SetAcl(v *ACL)
- func (m *UpdateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
- func (m *UpdateBucketRequest) SetCors(v []*CorsRule)
- func (m *UpdateBucketRequest) SetDefaultStorageClass(v string)
- func (m *UpdateBucketRequest) SetEncryption(v *Encryption)
- func (m *UpdateBucketRequest) SetLifecycleRules(v []*LifecycleRule)
- func (m *UpdateBucketRequest) SetMaxSize(v int64)
- func (m *UpdateBucketRequest) SetName(v string)
- func (m *UpdateBucketRequest) SetObjectLock(v *ObjectLock)
- func (m *UpdateBucketRequest) SetPolicy(v *structpb.Struct)
- func (m *UpdateBucketRequest) SetTags(v []*Tag)
- func (m *UpdateBucketRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (m *UpdateBucketRequest) SetVersioning(v Versioning)
- func (m *UpdateBucketRequest) SetWebsiteSettings(v *WebsiteSettings)
- func (x *UpdateBucketRequest) String() string
- type Versioning
- type WebsiteSettings
- func (*WebsiteSettings) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteSettings) GetError() string
- func (x *WebsiteSettings) GetIndex() string
- func (x *WebsiteSettings) GetRedirectAllRequests() *WebsiteSettings_Scheme
- func (x *WebsiteSettings) GetRoutingRules() []*WebsiteSettings_RoutingRule
- func (*WebsiteSettings) ProtoMessage()
- func (x *WebsiteSettings) ProtoReflect() protoreflect.Message
- func (x *WebsiteSettings) Reset()
- func (m *WebsiteSettings) SetError(v string)
- func (m *WebsiteSettings) SetIndex(v string)
- func (m *WebsiteSettings) SetRedirectAllRequests(v *WebsiteSettings_Scheme)
- func (m *WebsiteSettings) SetRoutingRules(v []*WebsiteSettings_RoutingRule)
- func (x *WebsiteSettings) String() string
- type WebsiteSettings_Condition
- func (*WebsiteSettings_Condition) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteSettings_Condition) GetHttpErrorCodeReturnedEquals() string
- func (x *WebsiteSettings_Condition) GetKeyPrefixEquals() string
- func (*WebsiteSettings_Condition) ProtoMessage()
- func (x *WebsiteSettings_Condition) ProtoReflect() protoreflect.Message
- func (x *WebsiteSettings_Condition) Reset()
- func (m *WebsiteSettings_Condition) SetHttpErrorCodeReturnedEquals(v string)
- func (m *WebsiteSettings_Condition) SetKeyPrefixEquals(v string)
- func (x *WebsiteSettings_Condition) String() string
- type WebsiteSettings_Protocol
- func (WebsiteSettings_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x WebsiteSettings_Protocol) Enum() *WebsiteSettings_Protocol
- func (WebsiteSettings_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebsiteSettings_Protocol) Number() protoreflect.EnumNumber
- func (x WebsiteSettings_Protocol) String() string
- func (WebsiteSettings_Protocol) Type() protoreflect.EnumType
- type WebsiteSettings_Redirect
- func (*WebsiteSettings_Redirect) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteSettings_Redirect) GetHostname() string
- func (x *WebsiteSettings_Redirect) GetHttpRedirectCode() string
- func (x *WebsiteSettings_Redirect) GetProtocol() WebsiteSettings_Protocol
- func (x *WebsiteSettings_Redirect) GetReplaceKeyPrefixWith() string
- func (x *WebsiteSettings_Redirect) GetReplaceKeyWith() string
- func (*WebsiteSettings_Redirect) ProtoMessage()
- func (x *WebsiteSettings_Redirect) ProtoReflect() protoreflect.Message
- func (x *WebsiteSettings_Redirect) Reset()
- func (m *WebsiteSettings_Redirect) SetHostname(v string)
- func (m *WebsiteSettings_Redirect) SetHttpRedirectCode(v string)
- func (m *WebsiteSettings_Redirect) SetProtocol(v WebsiteSettings_Protocol)
- func (m *WebsiteSettings_Redirect) SetReplaceKeyPrefixWith(v string)
- func (m *WebsiteSettings_Redirect) SetReplaceKeyWith(v string)
- func (x *WebsiteSettings_Redirect) String() string
- type WebsiteSettings_RoutingRule
- func (*WebsiteSettings_RoutingRule) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteSettings_RoutingRule) GetCondition() *WebsiteSettings_Condition
- func (x *WebsiteSettings_RoutingRule) GetRedirect() *WebsiteSettings_Redirect
- func (*WebsiteSettings_RoutingRule) ProtoMessage()
- func (x *WebsiteSettings_RoutingRule) ProtoReflect() protoreflect.Message
- func (x *WebsiteSettings_RoutingRule) Reset()
- func (m *WebsiteSettings_RoutingRule) SetCondition(v *WebsiteSettings_Condition)
- func (m *WebsiteSettings_RoutingRule) SetRedirect(v *WebsiteSettings_Redirect)
- func (x *WebsiteSettings_RoutingRule) String() string
- type WebsiteSettings_Scheme
- func (*WebsiteSettings_Scheme) Descriptor() ([]byte, []int)deprecated
- func (x *WebsiteSettings_Scheme) GetHostname() string
- func (x *WebsiteSettings_Scheme) GetProtocol() WebsiteSettings_Protocol
- func (*WebsiteSettings_Scheme) ProtoMessage()
- func (x *WebsiteSettings_Scheme) ProtoReflect() protoreflect.Message
- func (x *WebsiteSettings_Scheme) Reset()
- func (m *WebsiteSettings_Scheme) SetHostname(v string)
- func (m *WebsiteSettings_Scheme) SetProtocol(v WebsiteSettings_Protocol)
- func (x *WebsiteSettings_Scheme) String() string
Constants ¶
const ( BucketService_List_FullMethodName = "/yandex.cloud.storage.v1.BucketService/List" BucketService_Get_FullMethodName = "/yandex.cloud.storage.v1.BucketService/Get" BucketService_Create_FullMethodName = "/yandex.cloud.storage.v1.BucketService/Create" BucketService_Update_FullMethodName = "/yandex.cloud.storage.v1.BucketService/Update" BucketService_Delete_FullMethodName = "/yandex.cloud.storage.v1.BucketService/Delete" BucketService_GetStats_FullMethodName = "/yandex.cloud.storage.v1.BucketService/GetStats" BucketService_GetHTTPSConfig_FullMethodName = "/yandex.cloud.storage.v1.BucketService/GetHTTPSConfig" BucketService_SetHTTPSConfig_FullMethodName = "/yandex.cloud.storage.v1.BucketService/SetHTTPSConfig" BucketService_DeleteHTTPSConfig_FullMethodName = "/yandex.cloud.storage.v1.BucketService/DeleteHTTPSConfig" )
Variables ¶
var ( Versioning_name = map[int32]string{ 0: "VERSIONING_UNSPECIFIED", 1: "VERSIONING_DISABLED", 2: "VERSIONING_ENABLED", 3: "VERSIONING_SUSPENDED", } Versioning_value = map[string]int32{ "VERSIONING_UNSPECIFIED": 0, "VERSIONING_DISABLED": 1, "VERSIONING_ENABLED": 2, "VERSIONING_SUSPENDED": 3, } )
Enum value maps for Versioning.
var ( ACL_Grant_Permission_name = map[int32]string{ 0: "PERMISSION_UNSPECIFIED", 1: "PERMISSION_FULL_CONTROL", 2: "PERMISSION_WRITE", 3: "PERMISSION_WRITE_ACP", 4: "PERMISSION_READ", 5: "PERMISSION_READ_ACP", } ACL_Grant_Permission_value = map[string]int32{ "PERMISSION_UNSPECIFIED": 0, "PERMISSION_FULL_CONTROL": 1, "PERMISSION_WRITE": 2, "PERMISSION_WRITE_ACP": 3, "PERMISSION_READ": 4, "PERMISSION_READ_ACP": 5, } )
Enum value maps for ACL_Grant_Permission.
var ( ACL_Grant_GrantType_name = map[int32]string{ 0: "GRANT_TYPE_UNSPECIFIED", 1: "GRANT_TYPE_ACCOUNT", 2: "GRANT_TYPE_ALL_AUTHENTICATED_USERS", 3: "GRANT_TYPE_ALL_USERS", } ACL_Grant_GrantType_value = map[string]int32{ "GRANT_TYPE_UNSPECIFIED": 0, "GRANT_TYPE_ACCOUNT": 1, "GRANT_TYPE_ALL_AUTHENTICATED_USERS": 2, "GRANT_TYPE_ALL_USERS": 3, } )
Enum value maps for ACL_Grant_GrantType.
var ( CorsRule_Method_name = map[int32]string{ 0: "METHOD_UNSPECIFIED", 1: "METHOD_GET", 2: "METHOD_HEAD", 3: "METHOD_POST", 4: "METHOD_PUT", 5: "METHOD_DELETE", } CorsRule_Method_value = map[string]int32{ "METHOD_UNSPECIFIED": 0, "METHOD_GET": 1, "METHOD_HEAD": 2, "METHOD_POST": 3, "METHOD_PUT": 4, "METHOD_DELETE": 5, } )
Enum value maps for CorsRule_Method.
var ( WebsiteSettings_Protocol_name = map[int32]string{ 0: "PROTOCOL_UNSPECIFIED", 1: "PROTOCOL_HTTP", 2: "PROTOCOL_HTTPS", } WebsiteSettings_Protocol_value = map[string]int32{ "PROTOCOL_UNSPECIFIED": 0, "PROTOCOL_HTTP": 1, "PROTOCOL_HTTPS": 2, } )
Enum value maps for WebsiteSettings_Protocol.
var ( HTTPSConfig_SourceType_name = map[int32]string{ 0: "SOURCE_TYPE_UNSPECIFIED", 1: "SOURCE_TYPE_SELF_MANAGED", 2: "SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER", } HTTPSConfig_SourceType_value = map[string]int32{ "SOURCE_TYPE_UNSPECIFIED": 0, "SOURCE_TYPE_SELF_MANAGED": 1, "SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER": 2, } )
Enum value maps for HTTPSConfig_SourceType.
var ( ObjectLock_ObjectLockStatus_name = map[int32]string{ 0: "OBJECT_LOCK_STATUS_UNSPECIFIED", 1: "OBJECT_LOCK_STATUS_DISABLED", 2: "OBJECT_LOCK_STATUS_ENABLED", } ObjectLock_ObjectLockStatus_value = map[string]int32{ "OBJECT_LOCK_STATUS_UNSPECIFIED": 0, "OBJECT_LOCK_STATUS_DISABLED": 1, "OBJECT_LOCK_STATUS_ENABLED": 2, } )
Enum value maps for ObjectLock_ObjectLockStatus.
var ( ObjectLock_DefaultRetention_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "MODE_GOVERNANCE", 2: "MODE_COMPLIANCE", } ObjectLock_DefaultRetention_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "MODE_GOVERNANCE": 1, "MODE_COMPLIANCE": 2, } )
Enum value maps for ObjectLock_DefaultRetention_Mode.
var ( GetBucketRequest_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "VIEW_BASIC", 2: "VIEW_ACL", 3: "VIEW_FULL", } GetBucketRequest_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "VIEW_BASIC": 1, "VIEW_ACL": 2, "VIEW_FULL": 3, } )
Enum value maps for GetBucketRequest_View.
var BucketService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.storage.v1.BucketService", HandlerType: (*BucketServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _BucketService_List_Handler, }, { MethodName: "Get", Handler: _BucketService_Get_Handler, }, { MethodName: "Create", Handler: _BucketService_Create_Handler, }, { MethodName: "Update", Handler: _BucketService_Update_Handler, }, { MethodName: "Delete", Handler: _BucketService_Delete_Handler, }, { MethodName: "GetStats", Handler: _BucketService_GetStats_Handler, }, { MethodName: "GetHTTPSConfig", Handler: _BucketService_GetHTTPSConfig_Handler, }, { MethodName: "SetHTTPSConfig", Handler: _BucketService_SetHTTPSConfig_Handler, }, { MethodName: "DeleteHTTPSConfig", Handler: _BucketService_DeleteHTTPSConfig_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/storage/v1/bucket_service.proto", }
BucketService_ServiceDesc is the grpc.ServiceDesc for BucketService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_storage_v1_bucket_proto protoreflect.FileDescriptor
var File_yandex_cloud_storage_v1_bucket_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_storage_v1_s3api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBucketServiceServer ¶
func RegisterBucketServiceServer(s grpc.ServiceRegistrar, srv BucketServiceServer)
Types ¶
type ACL ¶
type ACL struct { // List of permissions granted and the grantees. Grants []*ACL_Grant `protobuf:"bytes,1,rep,name=grants,proto3" json:"grants,omitempty"` // contains filtered or unexported fields }
func (*ACL) Descriptor
deprecated
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type ACL_Grant ¶
type ACL_Grant struct { // Permission granted by the grant. Permission ACL_Grant_Permission `protobuf:"varint,1,opt,name=permission,proto3,enum=yandex.cloud.storage.v1.ACL_Grant_Permission" json:"permission,omitempty"` // The grantee type for the grant. GrantType ACL_Grant_GrantType `` /* 138-byte string literal not displayed */ // ID of the account who is a grantee. Required when the [grant_type] is `GRANT_TYPE_ACCOUNT`. GranteeId string `protobuf:"bytes,3,opt,name=grantee_id,json=granteeId,proto3" json:"grantee_id,omitempty"` // contains filtered or unexported fields }
A grant resource, used to specify the permission granted and the grantee.
func (*ACL_Grant) Descriptor
deprecated
func (*ACL_Grant) GetGrantType ¶
func (x *ACL_Grant) GetGrantType() ACL_Grant_GrantType
func (*ACL_Grant) GetGranteeId ¶
func (*ACL_Grant) GetPermission ¶
func (x *ACL_Grant) GetPermission() ACL_Grant_Permission
func (*ACL_Grant) ProtoMessage ¶
func (*ACL_Grant) ProtoMessage()
func (*ACL_Grant) ProtoReflect ¶
func (x *ACL_Grant) ProtoReflect() protoreflect.Message
func (*ACL_Grant) SetGrantType ¶
func (m *ACL_Grant) SetGrantType(v ACL_Grant_GrantType)
func (*ACL_Grant) SetGranteeId ¶
func (*ACL_Grant) SetPermission ¶
func (m *ACL_Grant) SetPermission(v ACL_Grant_Permission)
type ACL_Grant_GrantType ¶
type ACL_Grant_GrantType int32
const ( ACL_Grant_GRANT_TYPE_UNSPECIFIED ACL_Grant_GrantType = 0 // A grantee is an [account on the platform](/docs/iam/concepts/#accounts). // // For this grantee type, you need to specify the user ID in [Bucket.acl.grants.grantee_id] field. To get user ID, see // [instruction](/docs/iam/operations/users/get). // // Maps to using `id="*"` value for `x-amz-grant-*` header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) // method of Amazon S3-compatible HTTP API). ACL_Grant_GRANT_TYPE_ACCOUNT ACL_Grant_GrantType = 1 // Grantees are all authenticated users, both from your clouds and other users' clouds. Access // permission to this group allows any account on the platform to access the resource via a signed (authenticated) // request. // // Maps to using `uri="http://acs.amazonaws.com/groups/global/AuthenticatedUsers"` value for `x-amz-grant-*` // header ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API). ACL_Grant_GRANT_TYPE_ALL_AUTHENTICATED_USERS ACL_Grant_GrantType = 2 // Grantees are all internet users. Access permission to this group allows anyone in the world access to the // resource via signed (authenticated) or unsigned (anonymous) requests. // // Maps to using `uri="http://acs.amazonaws.com/groups/global/AllUsers"` value for `x-amz-grant-*` header // ([bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon S3-compatible HTTP API). ACL_Grant_GRANT_TYPE_ALL_USERS ACL_Grant_GrantType = 3 )
func (ACL_Grant_GrantType) Descriptor ¶
func (ACL_Grant_GrantType) Descriptor() protoreflect.EnumDescriptor
func (ACL_Grant_GrantType) Enum ¶
func (x ACL_Grant_GrantType) Enum() *ACL_Grant_GrantType
func (ACL_Grant_GrantType) EnumDescriptor
deprecated
func (ACL_Grant_GrantType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACL_Grant_GrantType.Descriptor instead.
func (ACL_Grant_GrantType) Number ¶
func (x ACL_Grant_GrantType) Number() protoreflect.EnumNumber
func (ACL_Grant_GrantType) String ¶
func (x ACL_Grant_GrantType) String() string
func (ACL_Grant_GrantType) Type ¶
func (ACL_Grant_GrantType) Type() protoreflect.EnumType
type ACL_Grant_Permission ¶
type ACL_Grant_Permission int32
const ( ACL_Grant_PERMISSION_UNSPECIFIED ACL_Grant_Permission = 0 // Allows grantee the `PERMISSION_WRITE`, `PERMISSION_WRITE_ACP`, `PERMISSION_READ`, and `PERMISSION_READ_ACP` // on the bucket. // // Maps to `x-amz-grant-full-control` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of // Amazon S3-compatible HTTP API. ACL_Grant_PERMISSION_FULL_CONTROL ACL_Grant_Permission = 1 // Allows grantee to create new objects in the bucket. For the bucket and object owners of existing objects, also // allows deletions and overwrites of those objects. // // Maps to `x-amz-grant-write` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon // S3-compatible HTTP API. ACL_Grant_PERMISSION_WRITE ACL_Grant_Permission = 2 // Allows grantee to write the ACL for the bucket. // // Maps to `x-amz-grant-write-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of // Amazon S3-compatible HTTP API. ACL_Grant_PERMISSION_WRITE_ACP ACL_Grant_Permission = 3 // Allows grantee to list the objects in the bucket. // // Maps to `x-amz-grant-read` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of Amazon // S3-compatible HTTP API. ACL_Grant_PERMISSION_READ ACL_Grant_Permission = 4 // Allows grantee to read the bucket ACL // // Maps to `x-amz-grant-read-acp` header for [bucketPutAcl](/docs/storage/s3/api-ref/acl/bucketput) method of // Amazon S3-compatible HTTP API. ACL_Grant_PERMISSION_READ_ACP ACL_Grant_Permission = 5 )
func (ACL_Grant_Permission) Descriptor ¶
func (ACL_Grant_Permission) Descriptor() protoreflect.EnumDescriptor
func (ACL_Grant_Permission) Enum ¶
func (x ACL_Grant_Permission) Enum() *ACL_Grant_Permission
func (ACL_Grant_Permission) EnumDescriptor
deprecated
func (ACL_Grant_Permission) EnumDescriptor() ([]byte, []int)
Deprecated: Use ACL_Grant_Permission.Descriptor instead.
func (ACL_Grant_Permission) Number ¶
func (x ACL_Grant_Permission) Number() protoreflect.EnumNumber
func (ACL_Grant_Permission) String ¶
func (x ACL_Grant_Permission) String() string
func (ACL_Grant_Permission) Type ¶
func (ACL_Grant_Permission) Type() protoreflect.EnumType
type AnonymousAccessFlags ¶
type AnonymousAccessFlags struct { // Specifies whether public (anonymous) access to read objects in the bucket is enabled. Read *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=read,proto3" json:"read,omitempty"` // Specifies whether public (anonymous) access to the list of objects in the bucket is enabled. List *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=list,proto3" json:"list,omitempty"` // Specifies whether public (anonymous) access to read [CORS](/docs/storage/concepts/cors), // [static website hosting](/docs/storage/concepts/hosting), and // [object lifecycles](/docs/storage/concepts/lifecycles) settings of the bucket is enabled. ConfigRead *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=config_read,json=configRead,proto3" json:"config_read,omitempty"` // contains filtered or unexported fields }
func (*AnonymousAccessFlags) Descriptor
deprecated
func (*AnonymousAccessFlags) Descriptor() ([]byte, []int)
Deprecated: Use AnonymousAccessFlags.ProtoReflect.Descriptor instead.
func (*AnonymousAccessFlags) GetConfigRead ¶
func (x *AnonymousAccessFlags) GetConfigRead() *wrapperspb.BoolValue
func (*AnonymousAccessFlags) GetList ¶
func (x *AnonymousAccessFlags) GetList() *wrapperspb.BoolValue
func (*AnonymousAccessFlags) GetRead ¶
func (x *AnonymousAccessFlags) GetRead() *wrapperspb.BoolValue
func (*AnonymousAccessFlags) ProtoMessage ¶
func (*AnonymousAccessFlags) ProtoMessage()
func (*AnonymousAccessFlags) ProtoReflect ¶
func (x *AnonymousAccessFlags) ProtoReflect() protoreflect.Message
func (*AnonymousAccessFlags) Reset ¶
func (x *AnonymousAccessFlags) Reset()
func (*AnonymousAccessFlags) SetConfigRead ¶
func (m *AnonymousAccessFlags) SetConfigRead(v *wrapperspb.BoolValue)
func (*AnonymousAccessFlags) SetList ¶
func (m *AnonymousAccessFlags) SetList(v *wrapperspb.BoolValue)
func (*AnonymousAccessFlags) SetRead ¶
func (m *AnonymousAccessFlags) SetRead(v *wrapperspb.BoolValue)
func (*AnonymousAccessFlags) String ¶
func (x *AnonymousAccessFlags) String() string
type Bucket ¶
type Bucket struct { // ID of the bucket. Always equal to [name], which has priority. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the bucket. // // The name is unique within the platform. For naming limitations and rules, see // [documentation](/docs/storage/concepts/bucket#naming). Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ID of the folder that the bucket belongs to. FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Flags for configuring public (anonymous) access to the bucket's content and settings. // For details, see [documentation](/docs/storage/concepts/bucket#bucket-access). AnonymousAccessFlags *AnonymousAccessFlags `protobuf:"bytes,4,opt,name=anonymous_access_flags,json=anonymousAccessFlags,proto3" json:"anonymous_access_flags,omitempty"` // Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage // (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). DefaultStorageClass string `protobuf:"bytes,5,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"` // Bucket versioning status. // For details, see [documentation](/docs/storage/concepts/versioning). Versioning Versioning `protobuf:"varint,6,opt,name=versioning,proto3,enum=yandex.cloud.storage.v1.Versioning" json:"versioning,omitempty"` // Maximum size of the bucket, in bytes. // For details, see [documentation](/docs/storage/operations/buckets/limit-max-volume). MaxSize int64 `protobuf:"varint,7,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // Bucket policies that set permissions for actions with the bucket, its objects, and groups of objects. // For details, see [documentation](/docs/storage/concepts/policy). Policy *structpb.Struct `protobuf:"bytes,8,opt,name=policy,proto3" json:"policy,omitempty"` // Access control list (ACL) of the bucket. // For details, see [documentation](/docs/storage/concepts/acl). Acl *ACL `protobuf:"bytes,9,opt,name=acl,proto3" json:"acl,omitempty"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // List of rules for cross-domain requests to objects in the bucket (cross-origin resource sharing, CORS). // For details, see [documentation](/docs/storage/concepts/cors). Cors []*CorsRule `protobuf:"bytes,11,rep,name=cors,proto3" json:"cors,omitempty"` // Configuration for hosting a static website in the bucket. // For details, see [documentation](/docs/storage/concepts/hosting). WebsiteSettings *WebsiteSettings `protobuf:"bytes,12,opt,name=website_settings,json=websiteSettings,proto3" json:"website_settings,omitempty"` // List of object lifecycle rules for the bucket. // For details, see [documentation](/docs/storage/concepts/lifecycles). LifecycleRules []*LifecycleRule `protobuf:"bytes,13,rep,name=lifecycle_rules,json=lifecycleRules,proto3" json:"lifecycle_rules,omitempty"` // List of tags for the bucket. // For details, see [documentation](/docs/resource-manager/concepts/labels). Tags []*Tag `protobuf:"bytes,14,rep,name=tags,proto3" json:"tags,omitempty"` // Configuration for object lock on the bucket. // For details about the concept, see [documentation](/docs/storage/concepts/object-lock). ObjectLock *ObjectLock `protobuf:"bytes,15,opt,name=object_lock,json=objectLock,proto3" json:"object_lock,omitempty"` // Configuration for bucket's encryption // For detauls, see [documentation](/docs/storage/concepts/encryption) Encryption *Encryption `protobuf:"bytes,16,opt,name=encryption,proto3" json:"encryption,omitempty"` // contains filtered or unexported fields }
A bucket resource. For details about the concept, see [documentation](/docs/storage/concepts/bucket).
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetAnonymousAccessFlags ¶
func (x *Bucket) GetAnonymousAccessFlags() *AnonymousAccessFlags
func (*Bucket) GetCreatedAt ¶
func (x *Bucket) GetCreatedAt() *timestamppb.Timestamp
func (*Bucket) GetDefaultStorageClass ¶
func (*Bucket) GetEncryption ¶
func (x *Bucket) GetEncryption() *Encryption
func (*Bucket) GetFolderId ¶
func (*Bucket) GetLifecycleRules ¶
func (x *Bucket) GetLifecycleRules() []*LifecycleRule
func (*Bucket) GetMaxSize ¶
func (*Bucket) GetObjectLock ¶
func (x *Bucket) GetObjectLock() *ObjectLock
func (*Bucket) GetVersioning ¶
func (x *Bucket) GetVersioning() Versioning
func (*Bucket) GetWebsiteSettings ¶
func (x *Bucket) GetWebsiteSettings() *WebsiteSettings
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
func (*Bucket) SetAnonymousAccessFlags ¶
func (m *Bucket) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
func (*Bucket) SetCreatedAt ¶
func (m *Bucket) SetCreatedAt(v *timestamppb.Timestamp)
func (*Bucket) SetDefaultStorageClass ¶
func (*Bucket) SetEncryption ¶
func (m *Bucket) SetEncryption(v *Encryption)
func (*Bucket) SetFolderId ¶
func (*Bucket) SetLifecycleRules ¶
func (m *Bucket) SetLifecycleRules(v []*LifecycleRule)
func (*Bucket) SetMaxSize ¶
func (*Bucket) SetObjectLock ¶
func (m *Bucket) SetObjectLock(v *ObjectLock)
func (*Bucket) SetVersioning ¶
func (m *Bucket) SetVersioning(v Versioning)
func (*Bucket) SetWebsiteSettings ¶
func (m *Bucket) SetWebsiteSettings(v *WebsiteSettings)
type BucketServiceClient ¶
type BucketServiceClient interface { // Retrieves the list of buckets in the specified folder. // // The following fields will not be returned for buckets in the list: [Bucket.policy], [Bucket.acl], [Bucket.cors], // [Bucket.website_settings], [Bucket.lifecycle_rules], [Bucket.tags]. List(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) // Returns the specified bucket. // // To get the list of all available buckets, make a [List] request. Get(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error) // Creates a bucket in the specified folder. Create(ctx context.Context, in *CreateBucketRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified bucket. // // In most cases, `storage.editor` role (see [documentation](/docs/storage/security/#storage-editor)) should be enough // to update a bucket, subject to its [policy](/docs/storage/concepts/policy). Update(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified bucket. Delete(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the statistics for the specified bucket. GetStats(ctx context.Context, in *GetBucketStatsRequest, opts ...grpc.CallOption) (*BucketStats, error) // Returns the HTTPS configuration for the specified bucket. GetHTTPSConfig(ctx context.Context, in *GetBucketHTTPSConfigRequest, opts ...grpc.CallOption) (*HTTPSConfig, error) // Updates the HTTPS configuration for the specified bucket. // // The updated configuration could take up to 30 minutes to apply to the bucket. SetHTTPSConfig(ctx context.Context, in *SetBucketHTTPSConfigRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the HTTPS configuration for the specified bucket. DeleteHTTPSConfig(ctx context.Context, in *DeleteBucketHTTPSConfigRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
BucketServiceClient is the client API for BucketService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
A set of methods for managing buckets.
func NewBucketServiceClient ¶
func NewBucketServiceClient(cc grpc.ClientConnInterface) BucketServiceClient
type BucketServiceServer ¶
type BucketServiceServer interface { // Retrieves the list of buckets in the specified folder. // // The following fields will not be returned for buckets in the list: [Bucket.policy], [Bucket.acl], [Bucket.cors], // [Bucket.website_settings], [Bucket.lifecycle_rules], [Bucket.tags]. List(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) // Returns the specified bucket. // // To get the list of all available buckets, make a [List] request. Get(context.Context, *GetBucketRequest) (*Bucket, error) // Creates a bucket in the specified folder. Create(context.Context, *CreateBucketRequest) (*operation.Operation, error) // Updates the specified bucket. // // In most cases, `storage.editor` role (see [documentation](/docs/storage/security/#storage-editor)) should be enough // to update a bucket, subject to its [policy](/docs/storage/concepts/policy). Update(context.Context, *UpdateBucketRequest) (*operation.Operation, error) // Deletes the specified bucket. Delete(context.Context, *DeleteBucketRequest) (*operation.Operation, error) // Returns the statistics for the specified bucket. GetStats(context.Context, *GetBucketStatsRequest) (*BucketStats, error) // Returns the HTTPS configuration for the specified bucket. GetHTTPSConfig(context.Context, *GetBucketHTTPSConfigRequest) (*HTTPSConfig, error) // Updates the HTTPS configuration for the specified bucket. // // The updated configuration could take up to 30 minutes to apply to the bucket. SetHTTPSConfig(context.Context, *SetBucketHTTPSConfigRequest) (*operation.Operation, error) // Deletes the HTTPS configuration for the specified bucket. DeleteHTTPSConfig(context.Context, *DeleteBucketHTTPSConfigRequest) (*operation.Operation, error) }
BucketServiceServer is the server API for BucketService service. All implementations should embed UnimplementedBucketServiceServer for forward compatibility.
A set of methods for managing buckets.
type BucketStats ¶
type BucketStats struct { // Name of the bucket. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Maximum size of the bucket, in bytes. MaxSize *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // Size of used space in the bucket, in bytes. UsedSize int64 `protobuf:"varint,3,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"` // Size of available space in the bucket by storage class, in bytes. StorageClassMaxSizes []*OptionalSizeByClass `protobuf:"bytes,4,rep,name=storage_class_max_sizes,json=storageClassMaxSizes,proto3" json:"storage_class_max_sizes,omitempty"` // Size of used space in the bucket by storage class, in bytes. StorageClassUsedSizes []*SizeByClass `` /* 128-byte string literal not displayed */ // Object-related statistics by storage class and type of upload (simple vs. multipart), in bytes. StorageClassCounters []*CountersByClass `protobuf:"bytes,6,rep,name=storage_class_counters,json=storageClassCounters,proto3" json:"storage_class_counters,omitempty"` // Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage // (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). DefaultStorageClass *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"` // Flags for configuring public (anonymous) access to the bucket's content and settings. // For details, see [documentation](/docs/storage/concepts/bucket#bucket-access). AnonymousAccessFlags *AnonymousAccessFlags `protobuf:"bytes,8,opt,name=anonymous_access_flags,json=anonymousAccessFlags,proto3" json:"anonymous_access_flags,omitempty"` // Bucket creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Bucket latest update timestamp. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
A bucket statistics resource.
func (*BucketStats) Descriptor
deprecated
func (*BucketStats) Descriptor() ([]byte, []int)
Deprecated: Use BucketStats.ProtoReflect.Descriptor instead.
func (*BucketStats) GetAnonymousAccessFlags ¶
func (x *BucketStats) GetAnonymousAccessFlags() *AnonymousAccessFlags
func (*BucketStats) GetCreatedAt ¶
func (x *BucketStats) GetCreatedAt() *timestamppb.Timestamp
func (*BucketStats) GetDefaultStorageClass ¶
func (x *BucketStats) GetDefaultStorageClass() *wrapperspb.StringValue
func (*BucketStats) GetMaxSize ¶
func (x *BucketStats) GetMaxSize() *wrapperspb.Int64Value
func (*BucketStats) GetName ¶
func (x *BucketStats) GetName() string
func (*BucketStats) GetStorageClassCounters ¶
func (x *BucketStats) GetStorageClassCounters() []*CountersByClass
func (*BucketStats) GetStorageClassMaxSizes ¶
func (x *BucketStats) GetStorageClassMaxSizes() []*OptionalSizeByClass
func (*BucketStats) GetStorageClassUsedSizes ¶
func (x *BucketStats) GetStorageClassUsedSizes() []*SizeByClass
func (*BucketStats) GetUpdatedAt ¶
func (x *BucketStats) GetUpdatedAt() *timestamppb.Timestamp
func (*BucketStats) GetUsedSize ¶
func (x *BucketStats) GetUsedSize() int64
func (*BucketStats) ProtoMessage ¶
func (*BucketStats) ProtoMessage()
func (*BucketStats) ProtoReflect ¶
func (x *BucketStats) ProtoReflect() protoreflect.Message
func (*BucketStats) Reset ¶
func (x *BucketStats) Reset()
func (*BucketStats) SetAnonymousAccessFlags ¶
func (m *BucketStats) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
func (*BucketStats) SetCreatedAt ¶
func (m *BucketStats) SetCreatedAt(v *timestamppb.Timestamp)
func (*BucketStats) SetDefaultStorageClass ¶
func (m *BucketStats) SetDefaultStorageClass(v *wrapperspb.StringValue)
func (*BucketStats) SetMaxSize ¶
func (m *BucketStats) SetMaxSize(v *wrapperspb.Int64Value)
func (*BucketStats) SetName ¶
func (m *BucketStats) SetName(v string)
func (*BucketStats) SetStorageClassCounters ¶
func (m *BucketStats) SetStorageClassCounters(v []*CountersByClass)
func (*BucketStats) SetStorageClassMaxSizes ¶
func (m *BucketStats) SetStorageClassMaxSizes(v []*OptionalSizeByClass)
func (*BucketStats) SetStorageClassUsedSizes ¶
func (m *BucketStats) SetStorageClassUsedSizes(v []*SizeByClass)
func (*BucketStats) SetUpdatedAt ¶
func (m *BucketStats) SetUpdatedAt(v *timestamppb.Timestamp)
func (*BucketStats) SetUsedSize ¶
func (m *BucketStats) SetUsedSize(v int64)
func (*BucketStats) String ¶
func (x *BucketStats) String() string
type CertificateManagerHTTPSConfigParams ¶
type CertificateManagerHTTPSConfigParams struct { // ID of the certificate. // // To get the list of all available certificates, make a [yandex.cloud.certificatemanager.v1.CertificateService.List] // request. CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
A resource for a TLS certificate from Certificate Manager.
func (*CertificateManagerHTTPSConfigParams) Descriptor
deprecated
func (*CertificateManagerHTTPSConfigParams) Descriptor() ([]byte, []int)
Deprecated: Use CertificateManagerHTTPSConfigParams.ProtoReflect.Descriptor instead.
func (*CertificateManagerHTTPSConfigParams) GetCertificateId ¶
func (x *CertificateManagerHTTPSConfigParams) GetCertificateId() string
func (*CertificateManagerHTTPSConfigParams) ProtoMessage ¶
func (*CertificateManagerHTTPSConfigParams) ProtoMessage()
func (*CertificateManagerHTTPSConfigParams) ProtoReflect ¶
func (x *CertificateManagerHTTPSConfigParams) ProtoReflect() protoreflect.Message
func (*CertificateManagerHTTPSConfigParams) Reset ¶
func (x *CertificateManagerHTTPSConfigParams) Reset()
func (*CertificateManagerHTTPSConfigParams) SetCertificateId ¶
func (m *CertificateManagerHTTPSConfigParams) SetCertificateId(v string)
func (*CertificateManagerHTTPSConfigParams) String ¶
func (x *CertificateManagerHTTPSConfigParams) String() string
type CopyObjectResult ¶
type CopyObjectResult struct { // Returns the ETag of the new object. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // Creation date of the object. LastModifiedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_modified_at,json=lastModifiedAt,proto3" json:"last_modified_at,omitempty"` // contains filtered or unexported fields }
func (*CopyObjectResult) Descriptor
deprecated
func (*CopyObjectResult) Descriptor() ([]byte, []int)
Deprecated: Use CopyObjectResult.ProtoReflect.Descriptor instead.
func (*CopyObjectResult) GetEtag ¶
func (x *CopyObjectResult) GetEtag() string
func (*CopyObjectResult) GetLastModifiedAt ¶
func (x *CopyObjectResult) GetLastModifiedAt() *timestamppb.Timestamp
func (*CopyObjectResult) ProtoMessage ¶
func (*CopyObjectResult) ProtoMessage()
func (*CopyObjectResult) ProtoReflect ¶
func (x *CopyObjectResult) ProtoReflect() protoreflect.Message
func (*CopyObjectResult) Reset ¶
func (x *CopyObjectResult) Reset()
func (*CopyObjectResult) SetEtag ¶
func (m *CopyObjectResult) SetEtag(v string)
func (*CopyObjectResult) SetLastModifiedAt ¶
func (m *CopyObjectResult) SetLastModifiedAt(v *timestamppb.Timestamp)
func (*CopyObjectResult) String ¶
func (x *CopyObjectResult) String() string
type CorsRule ¶
type CorsRule struct { // ID of the CORS rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // List of HTTP methods allowed by the CORS rule. // // When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Method` header (see // [S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified method is checked against // the list of the allowed methods. If there is a match, all the allowed methods are listed in the // `Access-Control-Allow-Methods` header of the response. AllowedMethods []CorsRule_Method `` /* 156-byte string literal not displayed */ // List of HTTP headers allowed by the CORS rule. // // When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Headers` header (see // [S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified headers are checked against // the list of the allowed headers. If there is a match, the specified headers that are allowed are listed in the // `Access-Control-Allow-Headers` header of the response. // // Each string in the list can contain at most one `*` wildcard character that matches 0 or more characters. // For example, `x-amz-*` value will allow all Amazon S3-compatible headers. AllowedHeaders []string `protobuf:"bytes,3,rep,name=allowed_headers,json=allowedHeaders,proto3" json:"allowed_headers,omitempty"` // List of request origins allowed by the CORS rule. // // Each string in the list can contain at most one `*` wildcard character that matches 0 or more characters. // For example, `http://*.example.com` value will allow requests originating from all subdomains of `example.com`. AllowedOrigins []string `protobuf:"bytes,4,rep,name=allowed_origins,json=allowedOrigins,proto3" json:"allowed_origins,omitempty"` // List of headers contained in responses to CORS requests that can be accessed by applications. ExposeHeaders []string `protobuf:"bytes,5,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"` // Time in seconds that a client can cache the response to a CORS-preflight request as identified by the // object requested, the HTTP method, and the origin. MaxAgeSeconds *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"` // contains filtered or unexported fields }
A CORS rule resource. For details about the concept, see [documentation](/docs/storage/concepts/cors).
func (*CorsRule) Descriptor
deprecated
func (*CorsRule) GetAllowedHeaders ¶
func (*CorsRule) GetAllowedMethods ¶
func (x *CorsRule) GetAllowedMethods() []CorsRule_Method
func (*CorsRule) GetAllowedOrigins ¶
func (*CorsRule) GetExposeHeaders ¶
func (*CorsRule) GetMaxAgeSeconds ¶
func (x *CorsRule) GetMaxAgeSeconds() *wrapperspb.Int64Value
func (*CorsRule) ProtoMessage ¶
func (*CorsRule) ProtoMessage()
func (*CorsRule) ProtoReflect ¶
func (x *CorsRule) ProtoReflect() protoreflect.Message
func (*CorsRule) SetAllowedHeaders ¶
func (*CorsRule) SetAllowedMethods ¶
func (m *CorsRule) SetAllowedMethods(v []CorsRule_Method)
func (*CorsRule) SetAllowedOrigins ¶
func (*CorsRule) SetExposeHeaders ¶
func (*CorsRule) SetMaxAgeSeconds ¶
func (m *CorsRule) SetMaxAgeSeconds(v *wrapperspb.Int64Value)
type CorsRule_Method ¶
type CorsRule_Method int32
List of HTTP methods that are allowed by the CORS rule.
When a client sends a CORS-preflight `options` request with the `Access-Control-Request-Method` header (see S3-compatible API reference](/docs/storage/s3/api-ref/object/options)), the specified method is checked against the list of the allowed methods. If there is a match, all the allowed methods are listed in the `Access-Control-Allow-Methods` header of the response.
const ( CorsRule_METHOD_UNSPECIFIED CorsRule_Method = 0 // HTTP `GET` method. CorsRule_METHOD_GET CorsRule_Method = 1 // HTTP `HEAD` method. CorsRule_METHOD_HEAD CorsRule_Method = 2 // HTTP `POST` method. CorsRule_METHOD_POST CorsRule_Method = 3 // HTTP `PUT` method. CorsRule_METHOD_PUT CorsRule_Method = 4 // HTTP `DELETE` method. CorsRule_METHOD_DELETE CorsRule_Method = 5 )
func (CorsRule_Method) Descriptor ¶
func (CorsRule_Method) Descriptor() protoreflect.EnumDescriptor
func (CorsRule_Method) Enum ¶
func (x CorsRule_Method) Enum() *CorsRule_Method
func (CorsRule_Method) EnumDescriptor
deprecated
func (CorsRule_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use CorsRule_Method.Descriptor instead.
func (CorsRule_Method) Number ¶
func (x CorsRule_Method) Number() protoreflect.EnumNumber
func (CorsRule_Method) String ¶
func (x CorsRule_Method) String() string
func (CorsRule_Method) Type ¶
func (CorsRule_Method) Type() protoreflect.EnumType
type Counters ¶
type Counters struct { // Total size of objects uploaded in single operation, in bytes. SimpleObjectSize int64 `protobuf:"varint,1,opt,name=simple_object_size,json=simpleObjectSize,proto3" json:"simple_object_size,omitempty"` // Number of objects uploaded in single operation. SimpleObjectCount int64 `protobuf:"varint,2,opt,name=simple_object_count,json=simpleObjectCount,proto3" json:"simple_object_count,omitempty"` // Total size of uploaded parts in incomplete multipart uploads, in bytes. ObjectsPartsSize int64 `protobuf:"varint,3,opt,name=objects_parts_size,json=objectsPartsSize,proto3" json:"objects_parts_size,omitempty"` // Number of uploaded parts in incomplete multipart uploads. ObjectsPartsCount int64 `protobuf:"varint,4,opt,name=objects_parts_count,json=objectsPartsCount,proto3" json:"objects_parts_count,omitempty"` // Total size of objects uploaded in multiple parts, in bytes. MultipartObjectsSize int64 `protobuf:"varint,5,opt,name=multipart_objects_size,json=multipartObjectsSize,proto3" json:"multipart_objects_size,omitempty"` // Number of objects uploaded in multiple parts. MultipartObjectsCount int64 `` /* 127-byte string literal not displayed */ // Number of incomplete multipart uploads. ActiveMultipartCount int64 `protobuf:"varint,7,opt,name=active_multipart_count,json=activeMultipartCount,proto3" json:"active_multipart_count,omitempty"` // contains filtered or unexported fields }
func (*Counters) Descriptor
deprecated
func (*Counters) GetActiveMultipartCount ¶
func (*Counters) GetMultipartObjectsCount ¶
func (*Counters) GetMultipartObjectsSize ¶
func (*Counters) GetObjectsPartsCount ¶
func (*Counters) GetObjectsPartsSize ¶
func (*Counters) GetSimpleObjectCount ¶
func (*Counters) GetSimpleObjectSize ¶
func (*Counters) ProtoMessage ¶
func (*Counters) ProtoMessage()
func (*Counters) ProtoReflect ¶
func (x *Counters) ProtoReflect() protoreflect.Message
func (*Counters) SetActiveMultipartCount ¶
func (*Counters) SetMultipartObjectsCount ¶
func (*Counters) SetMultipartObjectsSize ¶
func (*Counters) SetObjectsPartsCount ¶
func (*Counters) SetObjectsPartsSize ¶
func (*Counters) SetSimpleObjectCount ¶
func (*Counters) SetSimpleObjectSize ¶
type CountersByClass ¶
type CountersByClass struct { // Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` // all synonyms), and ice storage (`ice` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). StorageClass string `protobuf:"bytes,1,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // Object-related statistics for the storage class by type of upload. Counters *Counters `protobuf:"bytes,2,opt,name=counters,proto3" json:"counters,omitempty"` // contains filtered or unexported fields }
A resource for object-related statistics for a storage class by type of upload (simple vs. multipart).
func (*CountersByClass) Descriptor
deprecated
func (*CountersByClass) Descriptor() ([]byte, []int)
Deprecated: Use CountersByClass.ProtoReflect.Descriptor instead.
func (*CountersByClass) GetCounters ¶
func (x *CountersByClass) GetCounters() *Counters
func (*CountersByClass) GetStorageClass ¶
func (x *CountersByClass) GetStorageClass() string
func (*CountersByClass) ProtoMessage ¶
func (*CountersByClass) ProtoMessage()
func (*CountersByClass) ProtoReflect ¶
func (x *CountersByClass) ProtoReflect() protoreflect.Message
func (*CountersByClass) Reset ¶
func (x *CountersByClass) Reset()
func (*CountersByClass) SetCounters ¶
func (m *CountersByClass) SetCounters(v *Counters)
func (*CountersByClass) SetStorageClass ¶
func (m *CountersByClass) SetStorageClass(v string)
func (*CountersByClass) String ¶
func (x *CountersByClass) String() string
type CreateBucketMetadata ¶
type CreateBucketMetadata struct { // Name of the bucket that is being created. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketMetadata) Descriptor
deprecated
func (*CreateBucketMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketMetadata.ProtoReflect.Descriptor instead.
func (*CreateBucketMetadata) GetName ¶
func (x *CreateBucketMetadata) GetName() string
func (*CreateBucketMetadata) ProtoMessage ¶
func (*CreateBucketMetadata) ProtoMessage()
func (*CreateBucketMetadata) ProtoReflect ¶
func (x *CreateBucketMetadata) ProtoReflect() protoreflect.Message
func (*CreateBucketMetadata) Reset ¶
func (x *CreateBucketMetadata) Reset()
func (*CreateBucketMetadata) SetName ¶
func (m *CreateBucketMetadata) SetName(v string)
func (*CreateBucketMetadata) String ¶
func (x *CreateBucketMetadata) String() string
type CreateBucketRequest ¶
type CreateBucketRequest struct { // Name of the bucket. // // The name must be unique within the platform. For naming limitations and rules, see // [documentation](/docs/storage/concepts/bucket#naming). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // ID of the folder to create a bucket in. // // To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage // (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). DefaultStorageClass string `protobuf:"bytes,4,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"` // Maximum size of the bucket. // For details, see [documentation](/docs/storage/operations/buckets/limit-max-volume). MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // Flags for configuring public (anonymous) access to the bucket's content and settings. // For details, see [documentation](/docs/storage/concepts/bucket#bucket-access). AnonymousAccessFlags *AnonymousAccessFlags `protobuf:"bytes,6,opt,name=anonymous_access_flags,json=anonymousAccessFlags,proto3" json:"anonymous_access_flags,omitempty"` // Access control list (ACL) of the bucket. // For details, see [documentation](/docs/storage/concepts/acl). Acl *ACL `protobuf:"bytes,7,opt,name=acl,proto3" json:"acl,omitempty"` // List of tags for the bucket. // For details, see [documentation](/docs/resource-manager/concepts/labels). Tags []*Tag `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*CreateBucketRequest) Descriptor
deprecated
func (*CreateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBucketRequest.ProtoReflect.Descriptor instead.
func (*CreateBucketRequest) GetAcl ¶
func (x *CreateBucketRequest) GetAcl() *ACL
func (*CreateBucketRequest) GetAnonymousAccessFlags ¶
func (x *CreateBucketRequest) GetAnonymousAccessFlags() *AnonymousAccessFlags
func (*CreateBucketRequest) GetDefaultStorageClass ¶
func (x *CreateBucketRequest) GetDefaultStorageClass() string
func (*CreateBucketRequest) GetFolderId ¶
func (x *CreateBucketRequest) GetFolderId() string
func (*CreateBucketRequest) GetMaxSize ¶
func (x *CreateBucketRequest) GetMaxSize() int64
func (*CreateBucketRequest) GetName ¶
func (x *CreateBucketRequest) GetName() string
func (*CreateBucketRequest) GetTags ¶
func (x *CreateBucketRequest) GetTags() []*Tag
func (*CreateBucketRequest) ProtoMessage ¶
func (*CreateBucketRequest) ProtoMessage()
func (*CreateBucketRequest) ProtoReflect ¶
func (x *CreateBucketRequest) ProtoReflect() protoreflect.Message
func (*CreateBucketRequest) Reset ¶
func (x *CreateBucketRequest) Reset()
func (*CreateBucketRequest) SetAcl ¶
func (m *CreateBucketRequest) SetAcl(v *ACL)
func (*CreateBucketRequest) SetAnonymousAccessFlags ¶
func (m *CreateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
func (*CreateBucketRequest) SetDefaultStorageClass ¶
func (m *CreateBucketRequest) SetDefaultStorageClass(v string)
func (*CreateBucketRequest) SetFolderId ¶
func (m *CreateBucketRequest) SetFolderId(v string)
func (*CreateBucketRequest) SetMaxSize ¶
func (m *CreateBucketRequest) SetMaxSize(v int64)
func (*CreateBucketRequest) SetName ¶
func (m *CreateBucketRequest) SetName(v string)
func (*CreateBucketRequest) SetTags ¶
func (m *CreateBucketRequest) SetTags(v []*Tag)
func (*CreateBucketRequest) String ¶
func (x *CreateBucketRequest) String() string
type DeleteBucketHTTPSConfigMetadata ¶
type DeleteBucketHTTPSConfigMetadata struct { // Name of the bucket the HTTPS configuration is being deleted for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketHTTPSConfigMetadata) Descriptor
deprecated
func (*DeleteBucketHTTPSConfigMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketHTTPSConfigMetadata.ProtoReflect.Descriptor instead.
func (*DeleteBucketHTTPSConfigMetadata) GetName ¶
func (x *DeleteBucketHTTPSConfigMetadata) GetName() string
func (*DeleteBucketHTTPSConfigMetadata) ProtoMessage ¶
func (*DeleteBucketHTTPSConfigMetadata) ProtoMessage()
func (*DeleteBucketHTTPSConfigMetadata) ProtoReflect ¶
func (x *DeleteBucketHTTPSConfigMetadata) ProtoReflect() protoreflect.Message
func (*DeleteBucketHTTPSConfigMetadata) Reset ¶
func (x *DeleteBucketHTTPSConfigMetadata) Reset()
func (*DeleteBucketHTTPSConfigMetadata) SetName ¶
func (m *DeleteBucketHTTPSConfigMetadata) SetName(v string)
func (*DeleteBucketHTTPSConfigMetadata) String ¶
func (x *DeleteBucketHTTPSConfigMetadata) String() string
type DeleteBucketHTTPSConfigRequest ¶
type DeleteBucketHTTPSConfigRequest struct { // Name of the bucket to delete the HTTPS configuration for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketHTTPSConfigRequest) Descriptor
deprecated
func (*DeleteBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketHTTPSConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketHTTPSConfigRequest) GetName ¶
func (x *DeleteBucketHTTPSConfigRequest) GetName() string
func (*DeleteBucketHTTPSConfigRequest) ProtoMessage ¶
func (*DeleteBucketHTTPSConfigRequest) ProtoMessage()
func (*DeleteBucketHTTPSConfigRequest) ProtoReflect ¶
func (x *DeleteBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketHTTPSConfigRequest) Reset ¶
func (x *DeleteBucketHTTPSConfigRequest) Reset()
func (*DeleteBucketHTTPSConfigRequest) SetName ¶
func (m *DeleteBucketHTTPSConfigRequest) SetName(v string)
func (*DeleteBucketHTTPSConfigRequest) String ¶
func (x *DeleteBucketHTTPSConfigRequest) String() string
type DeleteBucketMetadata ¶
type DeleteBucketMetadata struct { // Name of the bucket that is being deleted. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteBucketMetadata) Descriptor
deprecated
func (*DeleteBucketMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketMetadata.ProtoReflect.Descriptor instead.
func (*DeleteBucketMetadata) GetName ¶
func (x *DeleteBucketMetadata) GetName() string
func (*DeleteBucketMetadata) ProtoMessage ¶
func (*DeleteBucketMetadata) ProtoMessage()
func (*DeleteBucketMetadata) ProtoReflect ¶
func (x *DeleteBucketMetadata) ProtoReflect() protoreflect.Message
func (*DeleteBucketMetadata) Reset ¶
func (x *DeleteBucketMetadata) Reset()
func (*DeleteBucketMetadata) SetName ¶
func (m *DeleteBucketMetadata) SetName(v string)
func (*DeleteBucketMetadata) String ¶
func (x *DeleteBucketMetadata) String() string
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { // Name of the bucket to update. // // To get the bucket name, make a [BucketService.List] request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeleteBucketRequest deletes requested bucket from the Cloud.
func (*DeleteBucketRequest) Descriptor
deprecated
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.
func (*DeleteBucketRequest) GetName ¶
func (x *DeleteBucketRequest) GetName() string
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) ProtoReflect ¶
func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message
func (*DeleteBucketRequest) Reset ¶
func (x *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) SetName ¶
func (m *DeleteBucketRequest) SetName(v string)
func (*DeleteBucketRequest) String ¶
func (x *DeleteBucketRequest) String() string
type DeleteObjectError ¶
type DeleteObjectError struct { // The error key. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The version ID of the error. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // The error code is a string that uniquely identifies an error condition. Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // The error message contains a generic description of the error condition in English. Msg string `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteObjectError) Descriptor
deprecated
func (*DeleteObjectError) Descriptor() ([]byte, []int)
Deprecated: Use DeleteObjectError.ProtoReflect.Descriptor instead.
func (*DeleteObjectError) GetCode ¶
func (x *DeleteObjectError) GetCode() string
func (*DeleteObjectError) GetKey ¶
func (x *DeleteObjectError) GetKey() string
func (*DeleteObjectError) GetMsg ¶
func (x *DeleteObjectError) GetMsg() string
func (*DeleteObjectError) GetVersionId ¶
func (x *DeleteObjectError) GetVersionId() string
func (*DeleteObjectError) ProtoMessage ¶
func (*DeleteObjectError) ProtoMessage()
func (*DeleteObjectError) ProtoReflect ¶
func (x *DeleteObjectError) ProtoReflect() protoreflect.Message
func (*DeleteObjectError) Reset ¶
func (x *DeleteObjectError) Reset()
func (*DeleteObjectError) SetCode ¶
func (m *DeleteObjectError) SetCode(v string)
func (*DeleteObjectError) SetKey ¶
func (m *DeleteObjectError) SetKey(v string)
func (*DeleteObjectError) SetMsg ¶
func (m *DeleteObjectError) SetMsg(v string)
func (*DeleteObjectError) SetVersionId ¶
func (m *DeleteObjectError) SetVersionId(v string)
func (*DeleteObjectError) String ¶
func (x *DeleteObjectError) String() string
type Encryption ¶
type Encryption struct { Rules []*Encryption_EncryptionRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*Encryption) Descriptor
deprecated
func (*Encryption) Descriptor() ([]byte, []int)
Deprecated: Use Encryption.ProtoReflect.Descriptor instead.
func (*Encryption) GetRules ¶
func (x *Encryption) GetRules() []*Encryption_EncryptionRule
func (*Encryption) ProtoMessage ¶
func (*Encryption) ProtoMessage()
func (*Encryption) ProtoReflect ¶
func (x *Encryption) ProtoReflect() protoreflect.Message
func (*Encryption) Reset ¶
func (x *Encryption) Reset()
func (*Encryption) SetRules ¶
func (m *Encryption) SetRules(v []*Encryption_EncryptionRule)
func (*Encryption) String ¶
func (x *Encryption) String() string
type Encryption_EncryptionRule ¶
type Encryption_EncryptionRule struct { KmsMasterKeyId string `protobuf:"bytes,1,opt,name=kms_master_key_id,json=kmsMasterKeyId,proto3" json:"kms_master_key_id,omitempty"` SseAlgorithm string `protobuf:"bytes,2,opt,name=sse_algorithm,json=sseAlgorithm,proto3" json:"sse_algorithm,omitempty"` // contains filtered or unexported fields }
func (*Encryption_EncryptionRule) Descriptor
deprecated
func (*Encryption_EncryptionRule) Descriptor() ([]byte, []int)
Deprecated: Use Encryption_EncryptionRule.ProtoReflect.Descriptor instead.
func (*Encryption_EncryptionRule) GetKmsMasterKeyId ¶
func (x *Encryption_EncryptionRule) GetKmsMasterKeyId() string
func (*Encryption_EncryptionRule) GetSseAlgorithm ¶
func (x *Encryption_EncryptionRule) GetSseAlgorithm() string
func (*Encryption_EncryptionRule) ProtoMessage ¶
func (*Encryption_EncryptionRule) ProtoMessage()
func (*Encryption_EncryptionRule) ProtoReflect ¶
func (x *Encryption_EncryptionRule) ProtoReflect() protoreflect.Message
func (*Encryption_EncryptionRule) Reset ¶
func (x *Encryption_EncryptionRule) Reset()
func (*Encryption_EncryptionRule) SetKmsMasterKeyId ¶
func (m *Encryption_EncryptionRule) SetKmsMasterKeyId(v string)
func (*Encryption_EncryptionRule) SetSseAlgorithm ¶
func (m *Encryption_EncryptionRule) SetSseAlgorithm(v string)
func (*Encryption_EncryptionRule) String ¶
func (x *Encryption_EncryptionRule) String() string
type GetBucketHTTPSConfigRequest ¶
type GetBucketHTTPSConfigRequest struct { // Name of the bucket to return the HTTPS configuration for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetBucketHTTPSConfigRequest) Descriptor
deprecated
func (*GetBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketHTTPSConfigRequest.ProtoReflect.Descriptor instead.
func (*GetBucketHTTPSConfigRequest) GetName ¶
func (x *GetBucketHTTPSConfigRequest) GetName() string
func (*GetBucketHTTPSConfigRequest) ProtoMessage ¶
func (*GetBucketHTTPSConfigRequest) ProtoMessage()
func (*GetBucketHTTPSConfigRequest) ProtoReflect ¶
func (x *GetBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
func (*GetBucketHTTPSConfigRequest) Reset ¶
func (x *GetBucketHTTPSConfigRequest) Reset()
func (*GetBucketHTTPSConfigRequest) SetName ¶
func (m *GetBucketHTTPSConfigRequest) SetName(v string)
func (*GetBucketHTTPSConfigRequest) String ¶
func (x *GetBucketHTTPSConfigRequest) String() string
type GetBucketRequest ¶
type GetBucketRequest struct { // Name of the bucket to return. // // To get the bucket name, make a [BucketService.List] request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Scope of information about the bucket to return. // // Access to scopes is managed via [Identity and Access Management roles](/docs/storage/security), // bucket [ACL](/docs/storage/concepts/acl) and [policies](/docs/storage/concepts/policy). View GetBucketRequest_View `protobuf:"varint,2,opt,name=view,proto3,enum=yandex.cloud.storage.v1.GetBucketRequest_View" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetBucketRequest) Descriptor
deprecated
func (*GetBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.
func (*GetBucketRequest) GetName ¶
func (x *GetBucketRequest) GetName() string
func (*GetBucketRequest) GetView ¶
func (x *GetBucketRequest) GetView() GetBucketRequest_View
func (*GetBucketRequest) ProtoMessage ¶
func (*GetBucketRequest) ProtoMessage()
func (*GetBucketRequest) ProtoReflect ¶
func (x *GetBucketRequest) ProtoReflect() protoreflect.Message
func (*GetBucketRequest) Reset ¶
func (x *GetBucketRequest) Reset()
func (*GetBucketRequest) SetName ¶
func (m *GetBucketRequest) SetName(v string)
func (*GetBucketRequest) SetView ¶
func (m *GetBucketRequest) SetView(v GetBucketRequest_View)
func (*GetBucketRequest) String ¶
func (x *GetBucketRequest) String() string
type GetBucketRequest_View ¶
type GetBucketRequest_View int32
const ( GetBucketRequest_VIEW_UNSPECIFIED GetBucketRequest_View = 0 // Returns basic information about a bucket. // // The following fields will _not_ be returned: [Bucket.acl], [Bucket.cors], [Bucket.website_settings], // [Bucket.lifecycle_rules], [Bucket.tags]. GetBucketRequest_VIEW_BASIC GetBucketRequest_View = 1 // Returns basic information and access control list (ACL) for the bucket. // // The following fields will _not_ be returned: [Bucket.cors], [Bucket.website_settings], [Bucket.lifecycle_rules], // [Bucket.tags]. GetBucketRequest_VIEW_ACL GetBucketRequest_View = 2 // Returns full information about a bucket. GetBucketRequest_VIEW_FULL GetBucketRequest_View = 3 )
func (GetBucketRequest_View) Descriptor ¶
func (GetBucketRequest_View) Descriptor() protoreflect.EnumDescriptor
func (GetBucketRequest_View) Enum ¶
func (x GetBucketRequest_View) Enum() *GetBucketRequest_View
func (GetBucketRequest_View) EnumDescriptor
deprecated
func (GetBucketRequest_View) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetBucketRequest_View.Descriptor instead.
func (GetBucketRequest_View) Number ¶
func (x GetBucketRequest_View) Number() protoreflect.EnumNumber
func (GetBucketRequest_View) String ¶
func (x GetBucketRequest_View) String() string
func (GetBucketRequest_View) Type ¶
func (GetBucketRequest_View) Type() protoreflect.EnumType
type GetBucketStatsRequest ¶
type GetBucketStatsRequest struct { // Name of the bucket to return the statistics for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetBucketStatsRequest) Descriptor
deprecated
func (*GetBucketStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBucketStatsRequest.ProtoReflect.Descriptor instead.
func (*GetBucketStatsRequest) GetName ¶
func (x *GetBucketStatsRequest) GetName() string
func (*GetBucketStatsRequest) ProtoMessage ¶
func (*GetBucketStatsRequest) ProtoMessage()
func (*GetBucketStatsRequest) ProtoReflect ¶
func (x *GetBucketStatsRequest) ProtoReflect() protoreflect.Message
func (*GetBucketStatsRequest) Reset ¶
func (x *GetBucketStatsRequest) Reset()
func (*GetBucketStatsRequest) SetName ¶
func (m *GetBucketStatsRequest) SetName(v string)
func (*GetBucketStatsRequest) String ¶
func (x *GetBucketStatsRequest) String() string
type HTTPSConfig ¶
type HTTPSConfig struct { // Name of the bucket. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Type of TLS certificate source. SourceType HTTPSConfig_SourceType `` /* 144-byte string literal not displayed */ // Issuer of the TLS certificate. Issuer *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // Subject of the TLS certificate. Subject *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // List of DNS names of the TLS certificate (Subject Alternative Name field). DnsNames []string `protobuf:"bytes,5,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"` // Start of the TLS certificate validity period (Not Before field). NotBefore *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"` // End of the TLS certificate validity period (Not After field) NotAfter *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"` // ID of the TLS certificate in Certificate Manager. // // To get information about the certificate from Certificate Manager, make a // [yandex.cloud.certificatemanager.v1.CertificateService.Get] request. CertificateId string `protobuf:"bytes,8,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"` // contains filtered or unexported fields }
A resource for HTTPS configuration of a bucket.
func (*HTTPSConfig) Descriptor
deprecated
func (*HTTPSConfig) Descriptor() ([]byte, []int)
Deprecated: Use HTTPSConfig.ProtoReflect.Descriptor instead.
func (*HTTPSConfig) GetCertificateId ¶
func (x *HTTPSConfig) GetCertificateId() string
func (*HTTPSConfig) GetDnsNames ¶
func (x *HTTPSConfig) GetDnsNames() []string
func (*HTTPSConfig) GetIssuer ¶
func (x *HTTPSConfig) GetIssuer() *wrapperspb.StringValue
func (*HTTPSConfig) GetName ¶
func (x *HTTPSConfig) GetName() string
func (*HTTPSConfig) GetNotAfter ¶
func (x *HTTPSConfig) GetNotAfter() *timestamppb.Timestamp
func (*HTTPSConfig) GetNotBefore ¶
func (x *HTTPSConfig) GetNotBefore() *timestamppb.Timestamp
func (*HTTPSConfig) GetSourceType ¶
func (x *HTTPSConfig) GetSourceType() HTTPSConfig_SourceType
func (*HTTPSConfig) GetSubject ¶
func (x *HTTPSConfig) GetSubject() *wrapperspb.StringValue
func (*HTTPSConfig) ProtoMessage ¶
func (*HTTPSConfig) ProtoMessage()
func (*HTTPSConfig) ProtoReflect ¶
func (x *HTTPSConfig) ProtoReflect() protoreflect.Message
func (*HTTPSConfig) Reset ¶
func (x *HTTPSConfig) Reset()
func (*HTTPSConfig) SetCertificateId ¶
func (m *HTTPSConfig) SetCertificateId(v string)
func (*HTTPSConfig) SetDnsNames ¶
func (m *HTTPSConfig) SetDnsNames(v []string)
func (*HTTPSConfig) SetIssuer ¶
func (m *HTTPSConfig) SetIssuer(v *wrapperspb.StringValue)
func (*HTTPSConfig) SetName ¶
func (m *HTTPSConfig) SetName(v string)
func (*HTTPSConfig) SetNotAfter ¶
func (m *HTTPSConfig) SetNotAfter(v *timestamppb.Timestamp)
func (*HTTPSConfig) SetNotBefore ¶
func (m *HTTPSConfig) SetNotBefore(v *timestamppb.Timestamp)
func (*HTTPSConfig) SetSourceType ¶
func (m *HTTPSConfig) SetSourceType(v HTTPSConfig_SourceType)
func (*HTTPSConfig) SetSubject ¶
func (m *HTTPSConfig) SetSubject(v *wrapperspb.StringValue)
func (*HTTPSConfig) String ¶
func (x *HTTPSConfig) String() string
type HTTPSConfig_SourceType ¶
type HTTPSConfig_SourceType int32
A resource for type of TLS certificate source.
const ( HTTPSConfig_SOURCE_TYPE_UNSPECIFIED HTTPSConfig_SourceType = 0 // Your certificate, uploaded directly. HTTPSConfig_SOURCE_TYPE_SELF_MANAGED HTTPSConfig_SourceType = 1 // Certificate managed by Certificate Manager. HTTPSConfig_SOURCE_TYPE_MANAGED_BY_CERTIFICATE_MANAGER HTTPSConfig_SourceType = 2 )
func (HTTPSConfig_SourceType) Descriptor ¶
func (HTTPSConfig_SourceType) Descriptor() protoreflect.EnumDescriptor
func (HTTPSConfig_SourceType) Enum ¶
func (x HTTPSConfig_SourceType) Enum() *HTTPSConfig_SourceType
func (HTTPSConfig_SourceType) EnumDescriptor
deprecated
func (HTTPSConfig_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HTTPSConfig_SourceType.Descriptor instead.
func (HTTPSConfig_SourceType) Number ¶
func (x HTTPSConfig_SourceType) Number() protoreflect.EnumNumber
func (HTTPSConfig_SourceType) String ¶
func (x HTTPSConfig_SourceType) String() string
func (HTTPSConfig_SourceType) Type ¶
func (HTTPSConfig_SourceType) Type() protoreflect.EnumType
type LifecycleRule ¶
type LifecycleRule struct { // ID of the rule. Provided by the client or generated at creation time. Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Indicates whether the rule is in effect. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // Filter that identifies the objects to which the rule applies. // // If not specified, the rule applies to all objects in the bucket. Filter *LifecycleRule_RuleFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Expiration rule. // // The expiration of an object is described as follows. // // For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is deleted and cannot be // recovered. // // For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`), the current version of the // object (if it exists and is not a delete marker) is retained as a non-current version, and a delete marker becomes // the current version of the object. // // For the bucket with versioning suspended ([Bucket.versioning] is `VERSIONING_SUSPENDED`), the current version of // the object is retained as a non-current version if it is not a delete marker, or is removed otherwise, and a // delete marker becomes the current version of the object. Expiration *LifecycleRule_Expiration `protobuf:"bytes,4,opt,name=expiration,proto3" json:"expiration,omitempty"` // List of transition rules. // // The transition of an object is described as follows. // // For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is transitioned to the // specified storage class. // // For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended // (`VERSIONING_SUSPENDED`), the current version of the object is transitioned to the specified storage class. Transitions []*LifecycleRule_Transition `protobuf:"bytes,5,rep,name=transitions,proto3" json:"transitions,omitempty"` // Configuration for aborting incomplete [multipart uploads](/docs/storage/concepts/multipart). AbortIncompleteMultipartUpload *LifecycleRule_AfterDays `` /* 155-byte string literal not displayed */ // Expiration rule for non-current versions of objects in a bucket with versioning enabled ([Bucket.versioning] is // `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`). // // At expiration, the non-current version of the object is deleted and cannot be recovered. NoncurrentExpiration *LifecycleRule_NoncurrentExpiration `protobuf:"bytes,7,opt,name=noncurrent_expiration,json=noncurrentExpiration,proto3" json:"noncurrent_expiration,omitempty"` // List of transition rules for non-current versions of objects in a bucket with versioning enabled // ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`). // // At transition, the non-current version of the object is transitioned to the specified storage class. NoncurrentTransitions []*LifecycleRule_NoncurrentTransition `protobuf:"bytes,8,rep,name=noncurrent_transitions,json=noncurrentTransitions,proto3" json:"noncurrent_transitions,omitempty"` // Expiration rule for non-current delete markers of an objects in a bucket with versioning // enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`). // Works in the same way as noncurrent_expiration rule, but only for delete markers. // // At expiration, the non-current delete marker of the object is deleted and cannot be recovered. NoncurrentDeleteMarkers *LifecycleRule_NoncurrentDeleteMarkers `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
An object lifecycle rule resource for the bucket. For details about the concept, see [documentation](/docs/storage/concepts/lifecycles).
func (*LifecycleRule) Descriptor
deprecated
func (*LifecycleRule) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule.ProtoReflect.Descriptor instead.
func (*LifecycleRule) GetAbortIncompleteMultipartUpload ¶
func (x *LifecycleRule) GetAbortIncompleteMultipartUpload() *LifecycleRule_AfterDays
func (*LifecycleRule) GetEnabled ¶
func (x *LifecycleRule) GetEnabled() bool
func (*LifecycleRule) GetExpiration ¶
func (x *LifecycleRule) GetExpiration() *LifecycleRule_Expiration
func (*LifecycleRule) GetFilter ¶
func (x *LifecycleRule) GetFilter() *LifecycleRule_RuleFilter
func (*LifecycleRule) GetId ¶
func (x *LifecycleRule) GetId() *wrapperspb.StringValue
func (*LifecycleRule) GetNoncurrentDeleteMarkers ¶
func (x *LifecycleRule) GetNoncurrentDeleteMarkers() *LifecycleRule_NoncurrentDeleteMarkers
func (*LifecycleRule) GetNoncurrentExpiration ¶
func (x *LifecycleRule) GetNoncurrentExpiration() *LifecycleRule_NoncurrentExpiration
func (*LifecycleRule) GetNoncurrentTransitions ¶
func (x *LifecycleRule) GetNoncurrentTransitions() []*LifecycleRule_NoncurrentTransition
func (*LifecycleRule) GetTransitions ¶
func (x *LifecycleRule) GetTransitions() []*LifecycleRule_Transition
func (*LifecycleRule) ProtoMessage ¶
func (*LifecycleRule) ProtoMessage()
func (*LifecycleRule) ProtoReflect ¶
func (x *LifecycleRule) ProtoReflect() protoreflect.Message
func (*LifecycleRule) Reset ¶
func (x *LifecycleRule) Reset()
func (*LifecycleRule) SetAbortIncompleteMultipartUpload ¶
func (m *LifecycleRule) SetAbortIncompleteMultipartUpload(v *LifecycleRule_AfterDays)
func (*LifecycleRule) SetEnabled ¶
func (m *LifecycleRule) SetEnabled(v bool)
func (*LifecycleRule) SetExpiration ¶
func (m *LifecycleRule) SetExpiration(v *LifecycleRule_Expiration)
func (*LifecycleRule) SetFilter ¶
func (m *LifecycleRule) SetFilter(v *LifecycleRule_RuleFilter)
func (*LifecycleRule) SetId ¶
func (m *LifecycleRule) SetId(v *wrapperspb.StringValue)
func (*LifecycleRule) SetNoncurrentDeleteMarkers ¶
func (m *LifecycleRule) SetNoncurrentDeleteMarkers(v *LifecycleRule_NoncurrentDeleteMarkers)
func (*LifecycleRule) SetNoncurrentExpiration ¶
func (m *LifecycleRule) SetNoncurrentExpiration(v *LifecycleRule_NoncurrentExpiration)
func (*LifecycleRule) SetNoncurrentTransitions ¶
func (m *LifecycleRule) SetNoncurrentTransitions(v []*LifecycleRule_NoncurrentTransition)
func (*LifecycleRule) SetTransitions ¶
func (m *LifecycleRule) SetTransitions(v []*LifecycleRule_Transition)
func (*LifecycleRule) String ¶
func (x *LifecycleRule) String() string
type LifecycleRule_AfterDays ¶
type LifecycleRule_AfterDays struct { // Time period, in number of days from the start of the multipart upload, after which the incomplete upload is // aborted. DaysAfterExpiration *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=days_after_expiration,json=daysAfterExpiration,proto3" json:"days_after_expiration,omitempty"` // contains filtered or unexported fields }
func (*LifecycleRule_AfterDays) Descriptor
deprecated
func (*LifecycleRule_AfterDays) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_AfterDays.ProtoReflect.Descriptor instead.
func (*LifecycleRule_AfterDays) GetDaysAfterExpiration ¶
func (x *LifecycleRule_AfterDays) GetDaysAfterExpiration() *wrapperspb.Int64Value
func (*LifecycleRule_AfterDays) ProtoMessage ¶
func (*LifecycleRule_AfterDays) ProtoMessage()
func (*LifecycleRule_AfterDays) ProtoReflect ¶
func (x *LifecycleRule_AfterDays) ProtoReflect() protoreflect.Message
func (*LifecycleRule_AfterDays) Reset ¶
func (x *LifecycleRule_AfterDays) Reset()
func (*LifecycleRule_AfterDays) SetDaysAfterExpiration ¶
func (m *LifecycleRule_AfterDays) SetDaysAfterExpiration(v *wrapperspb.Int64Value)
func (*LifecycleRule_AfterDays) String ¶
func (x *LifecycleRule_AfterDays) String() string
type LifecycleRule_Expiration ¶
type LifecycleRule_Expiration struct { // Specific date of object expiration. // // The rule continues to apply even after the date has passed, i.e. any new objects created in the bucket expire // immediately. // // Exactly one of [date], [days], and [expired_object_delete_marker] fields can be specified. Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // Time period, in number of days from the creation or modification of the object, after which an object expires. // // Exactly one of [days], [date], and [expired_object_delete_marker] fields can be specified. Days *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=days,proto3" json:"days,omitempty"` // Indicates whether a delete marker of an object with no non-current versions (referred to as an expired object // delete marker) is removed at the object's expiration. // // Exactly one of [expired_object_delete_marker], [date], and [days] fields can be specified. ExpiredObjectDeleteMarker *wrapperspb.BoolValue `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LifecycleRule_Expiration) Descriptor
deprecated
func (*LifecycleRule_Expiration) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_Expiration.ProtoReflect.Descriptor instead.
func (*LifecycleRule_Expiration) GetDate ¶
func (x *LifecycleRule_Expiration) GetDate() *timestamppb.Timestamp
func (*LifecycleRule_Expiration) GetDays ¶
func (x *LifecycleRule_Expiration) GetDays() *wrapperspb.Int64Value
func (*LifecycleRule_Expiration) GetExpiredObjectDeleteMarker ¶
func (x *LifecycleRule_Expiration) GetExpiredObjectDeleteMarker() *wrapperspb.BoolValue
func (*LifecycleRule_Expiration) ProtoMessage ¶
func (*LifecycleRule_Expiration) ProtoMessage()
func (*LifecycleRule_Expiration) ProtoReflect ¶
func (x *LifecycleRule_Expiration) ProtoReflect() protoreflect.Message
func (*LifecycleRule_Expiration) Reset ¶
func (x *LifecycleRule_Expiration) Reset()
func (*LifecycleRule_Expiration) SetDate ¶
func (m *LifecycleRule_Expiration) SetDate(v *timestamppb.Timestamp)
func (*LifecycleRule_Expiration) SetDays ¶
func (m *LifecycleRule_Expiration) SetDays(v *wrapperspb.Int64Value)
func (*LifecycleRule_Expiration) SetExpiredObjectDeleteMarker ¶
func (m *LifecycleRule_Expiration) SetExpiredObjectDeleteMarker(v *wrapperspb.BoolValue)
func (*LifecycleRule_Expiration) String ¶
func (x *LifecycleRule_Expiration) String() string
type LifecycleRule_NoncurrentDeleteMarkers ¶
type LifecycleRule_NoncurrentDeleteMarkers struct { // Time period, in number of days since the version of a delete marker was classified as non-current, after which // the delete marker expires. NoncurrentDays *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=noncurrent_days,json=noncurrentDays,proto3" json:"noncurrent_days,omitempty"` // contains filtered or unexported fields }
func (*LifecycleRule_NoncurrentDeleteMarkers) Descriptor
deprecated
func (*LifecycleRule_NoncurrentDeleteMarkers) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_NoncurrentDeleteMarkers.ProtoReflect.Descriptor instead.
func (*LifecycleRule_NoncurrentDeleteMarkers) GetNoncurrentDays ¶
func (x *LifecycleRule_NoncurrentDeleteMarkers) GetNoncurrentDays() *wrapperspb.Int64Value
func (*LifecycleRule_NoncurrentDeleteMarkers) ProtoMessage ¶
func (*LifecycleRule_NoncurrentDeleteMarkers) ProtoMessage()
func (*LifecycleRule_NoncurrentDeleteMarkers) ProtoReflect ¶
func (x *LifecycleRule_NoncurrentDeleteMarkers) ProtoReflect() protoreflect.Message
func (*LifecycleRule_NoncurrentDeleteMarkers) Reset ¶
func (x *LifecycleRule_NoncurrentDeleteMarkers) Reset()
func (*LifecycleRule_NoncurrentDeleteMarkers) SetNoncurrentDays ¶
func (m *LifecycleRule_NoncurrentDeleteMarkers) SetNoncurrentDays(v *wrapperspb.Int64Value)
func (*LifecycleRule_NoncurrentDeleteMarkers) String ¶
func (x *LifecycleRule_NoncurrentDeleteMarkers) String() string
type LifecycleRule_NoncurrentExpiration ¶
type LifecycleRule_NoncurrentExpiration struct { // Time period, in number of days since the version of an object was classified as non-current, after which the // version expires. NoncurrentDays *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=noncurrent_days,json=noncurrentDays,proto3" json:"noncurrent_days,omitempty"` // contains filtered or unexported fields }
func (*LifecycleRule_NoncurrentExpiration) Descriptor
deprecated
func (*LifecycleRule_NoncurrentExpiration) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_NoncurrentExpiration.ProtoReflect.Descriptor instead.
func (*LifecycleRule_NoncurrentExpiration) GetNoncurrentDays ¶
func (x *LifecycleRule_NoncurrentExpiration) GetNoncurrentDays() *wrapperspb.Int64Value
func (*LifecycleRule_NoncurrentExpiration) ProtoMessage ¶
func (*LifecycleRule_NoncurrentExpiration) ProtoMessage()
func (*LifecycleRule_NoncurrentExpiration) ProtoReflect ¶
func (x *LifecycleRule_NoncurrentExpiration) ProtoReflect() protoreflect.Message
func (*LifecycleRule_NoncurrentExpiration) Reset ¶
func (x *LifecycleRule_NoncurrentExpiration) Reset()
func (*LifecycleRule_NoncurrentExpiration) SetNoncurrentDays ¶
func (m *LifecycleRule_NoncurrentExpiration) SetNoncurrentDays(v *wrapperspb.Int64Value)
func (*LifecycleRule_NoncurrentExpiration) String ¶
func (x *LifecycleRule_NoncurrentExpiration) String() string
type LifecycleRule_NoncurrentTransition ¶
type LifecycleRule_NoncurrentTransition struct { // Time period, in number of days since the version of an object was classified as non-current, after which the // version is transitioned. NoncurrentDays *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=noncurrent_days,json=noncurrentDays,proto3" json:"noncurrent_days,omitempty"` // Storage class to which a non-current version of an object is transitioned from standard storage. // // The only supported class is cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms). Transitions from cold // to standard storage and transitions to or from ice storage are not allowed. StorageClass string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // contains filtered or unexported fields }
List of transition rules for non-current versions of objects in a bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`).
At transition, the non-current version of the object is transitioned to the specified storage class.
func (*LifecycleRule_NoncurrentTransition) Descriptor
deprecated
func (*LifecycleRule_NoncurrentTransition) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_NoncurrentTransition.ProtoReflect.Descriptor instead.
func (*LifecycleRule_NoncurrentTransition) GetNoncurrentDays ¶
func (x *LifecycleRule_NoncurrentTransition) GetNoncurrentDays() *wrapperspb.Int64Value
func (*LifecycleRule_NoncurrentTransition) GetStorageClass ¶
func (x *LifecycleRule_NoncurrentTransition) GetStorageClass() string
func (*LifecycleRule_NoncurrentTransition) ProtoMessage ¶
func (*LifecycleRule_NoncurrentTransition) ProtoMessage()
func (*LifecycleRule_NoncurrentTransition) ProtoReflect ¶
func (x *LifecycleRule_NoncurrentTransition) ProtoReflect() protoreflect.Message
func (*LifecycleRule_NoncurrentTransition) Reset ¶
func (x *LifecycleRule_NoncurrentTransition) Reset()
func (*LifecycleRule_NoncurrentTransition) SetNoncurrentDays ¶
func (m *LifecycleRule_NoncurrentTransition) SetNoncurrentDays(v *wrapperspb.Int64Value)
func (*LifecycleRule_NoncurrentTransition) SetStorageClass ¶
func (m *LifecycleRule_NoncurrentTransition) SetStorageClass(v string)
func (*LifecycleRule_NoncurrentTransition) String ¶
func (x *LifecycleRule_NoncurrentTransition) String() string
type LifecycleRule_RuleFilter ¶
type LifecycleRule_RuleFilter struct { // Key prefix that the object must have in order for the rule to apply. Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // Size that the object must be greater. ObjectSizeGreaterThan *wrapperspb.Int64Value `` /* 128-byte string literal not displayed */ // Size that the object must be less t. ObjectSizeLessThan *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=object_size_less_than,json=objectSizeLessThan,proto3" json:"object_size_less_than,omitempty"` // Tags that the object's tag set must have for the rule to apply. Tag *Tag `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // Apply a logical AND to all of the predicates configured inside the And operator. AndOperator *LifecycleRule_RuleFilter_And `protobuf:"bytes,5,opt,name=and_operator,json=andOperator,proto3" json:"and_operator,omitempty"` // contains filtered or unexported fields }
func (*LifecycleRule_RuleFilter) Descriptor
deprecated
func (*LifecycleRule_RuleFilter) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_RuleFilter.ProtoReflect.Descriptor instead.
func (*LifecycleRule_RuleFilter) GetAndOperator ¶
func (x *LifecycleRule_RuleFilter) GetAndOperator() *LifecycleRule_RuleFilter_And
func (*LifecycleRule_RuleFilter) GetObjectSizeGreaterThan ¶
func (x *LifecycleRule_RuleFilter) GetObjectSizeGreaterThan() *wrapperspb.Int64Value
func (*LifecycleRule_RuleFilter) GetObjectSizeLessThan ¶
func (x *LifecycleRule_RuleFilter) GetObjectSizeLessThan() *wrapperspb.Int64Value
func (*LifecycleRule_RuleFilter) GetPrefix ¶
func (x *LifecycleRule_RuleFilter) GetPrefix() string
func (*LifecycleRule_RuleFilter) GetTag ¶
func (x *LifecycleRule_RuleFilter) GetTag() *Tag
func (*LifecycleRule_RuleFilter) ProtoMessage ¶
func (*LifecycleRule_RuleFilter) ProtoMessage()
func (*LifecycleRule_RuleFilter) ProtoReflect ¶
func (x *LifecycleRule_RuleFilter) ProtoReflect() protoreflect.Message
func (*LifecycleRule_RuleFilter) Reset ¶
func (x *LifecycleRule_RuleFilter) Reset()
func (*LifecycleRule_RuleFilter) SetAndOperator ¶
func (m *LifecycleRule_RuleFilter) SetAndOperator(v *LifecycleRule_RuleFilter_And)
func (*LifecycleRule_RuleFilter) SetObjectSizeGreaterThan ¶
func (m *LifecycleRule_RuleFilter) SetObjectSizeGreaterThan(v *wrapperspb.Int64Value)
func (*LifecycleRule_RuleFilter) SetObjectSizeLessThan ¶
func (m *LifecycleRule_RuleFilter) SetObjectSizeLessThan(v *wrapperspb.Int64Value)
func (*LifecycleRule_RuleFilter) SetPrefix ¶
func (m *LifecycleRule_RuleFilter) SetPrefix(v string)
func (*LifecycleRule_RuleFilter) SetTag ¶
func (m *LifecycleRule_RuleFilter) SetTag(v *Tag)
func (*LifecycleRule_RuleFilter) String ¶
func (x *LifecycleRule_RuleFilter) String() string
type LifecycleRule_RuleFilter_And ¶
type LifecycleRule_RuleFilter_And struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` ObjectSizeGreaterThan *wrapperspb.Int64Value `` /* 128-byte string literal not displayed */ ObjectSizeLessThan *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=object_size_less_than,json=objectSizeLessThan,proto3" json:"object_size_less_than,omitempty"` Tag []*Tag `protobuf:"bytes,4,rep,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*LifecycleRule_RuleFilter_And) Descriptor
deprecated
func (*LifecycleRule_RuleFilter_And) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_RuleFilter_And.ProtoReflect.Descriptor instead.
func (*LifecycleRule_RuleFilter_And) GetObjectSizeGreaterThan ¶
func (x *LifecycleRule_RuleFilter_And) GetObjectSizeGreaterThan() *wrapperspb.Int64Value
func (*LifecycleRule_RuleFilter_And) GetObjectSizeLessThan ¶
func (x *LifecycleRule_RuleFilter_And) GetObjectSizeLessThan() *wrapperspb.Int64Value
func (*LifecycleRule_RuleFilter_And) GetPrefix ¶
func (x *LifecycleRule_RuleFilter_And) GetPrefix() string
func (*LifecycleRule_RuleFilter_And) GetTag ¶
func (x *LifecycleRule_RuleFilter_And) GetTag() []*Tag
func (*LifecycleRule_RuleFilter_And) ProtoMessage ¶
func (*LifecycleRule_RuleFilter_And) ProtoMessage()
func (*LifecycleRule_RuleFilter_And) ProtoReflect ¶
func (x *LifecycleRule_RuleFilter_And) ProtoReflect() protoreflect.Message
func (*LifecycleRule_RuleFilter_And) Reset ¶
func (x *LifecycleRule_RuleFilter_And) Reset()
func (*LifecycleRule_RuleFilter_And) SetObjectSizeGreaterThan ¶
func (m *LifecycleRule_RuleFilter_And) SetObjectSizeGreaterThan(v *wrapperspb.Int64Value)
func (*LifecycleRule_RuleFilter_And) SetObjectSizeLessThan ¶
func (m *LifecycleRule_RuleFilter_And) SetObjectSizeLessThan(v *wrapperspb.Int64Value)
func (*LifecycleRule_RuleFilter_And) SetPrefix ¶
func (m *LifecycleRule_RuleFilter_And) SetPrefix(v string)
func (*LifecycleRule_RuleFilter_And) SetTag ¶
func (m *LifecycleRule_RuleFilter_And) SetTag(v []*Tag)
func (*LifecycleRule_RuleFilter_And) String ¶
func (x *LifecycleRule_RuleFilter_And) String() string
type LifecycleRule_Transition ¶
type LifecycleRule_Transition struct { // Specific date of object transition. // // The rule continues to apply even after the date has passed, i.e. any new objects created in the bucket are // transitioned immediately. // // At most one of [date] and [days] fields can be specified. Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // Time period, in number of days from the creation or modification of the object, after which an object is // transitioned. // // At most one of [days] and [date] fields can be specified. Days *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=days,proto3" json:"days,omitempty"` // Storage class to which an object is transitioned from standard storage. // // The only supported class is cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms). Transitions from cold // to standard storage and transitions to or from ice storage are not allowed. StorageClass string `protobuf:"bytes,4,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // contains filtered or unexported fields }
List of transition rules.
The transition of an object is described as follows.
For the unversioned bucket ([Bucket.versioning] is `VERSIONING_DISABLED`), the object is transitioned to the specified storage class.
For the bucket with versioning enabled ([Bucket.versioning] is `VERSIONING_ENABLED`) or suspended (`VERSIONING_SUSPENDED`), the current version of the object is transitioned to the specified storage class.
func (*LifecycleRule_Transition) Descriptor
deprecated
func (*LifecycleRule_Transition) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleRule_Transition.ProtoReflect.Descriptor instead.
func (*LifecycleRule_Transition) GetDate ¶
func (x *LifecycleRule_Transition) GetDate() *timestamppb.Timestamp
func (*LifecycleRule_Transition) GetDays ¶
func (x *LifecycleRule_Transition) GetDays() *wrapperspb.Int64Value
func (*LifecycleRule_Transition) GetStorageClass ¶
func (x *LifecycleRule_Transition) GetStorageClass() string
func (*LifecycleRule_Transition) ProtoMessage ¶
func (*LifecycleRule_Transition) ProtoMessage()
func (*LifecycleRule_Transition) ProtoReflect ¶
func (x *LifecycleRule_Transition) ProtoReflect() protoreflect.Message
func (*LifecycleRule_Transition) Reset ¶
func (x *LifecycleRule_Transition) Reset()
func (*LifecycleRule_Transition) SetDate ¶
func (m *LifecycleRule_Transition) SetDate(v *timestamppb.Timestamp)
func (*LifecycleRule_Transition) SetDays ¶
func (m *LifecycleRule_Transition) SetDays(v *wrapperspb.Int64Value)
func (*LifecycleRule_Transition) SetStorageClass ¶
func (m *LifecycleRule_Transition) SetStorageClass(v string)
func (*LifecycleRule_Transition) String ¶
func (x *LifecycleRule_Transition) String() string
type ListBucketsRequest ¶
type ListBucketsRequest struct { // ID of the folder to list buckets in. // // To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // contains filtered or unexported fields }
func (*ListBucketsRequest) Descriptor
deprecated
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.
func (*ListBucketsRequest) GetFolderId ¶
func (x *ListBucketsRequest) GetFolderId() string
func (*ListBucketsRequest) ProtoMessage ¶
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) ProtoReflect ¶
func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message
func (*ListBucketsRequest) Reset ¶
func (x *ListBucketsRequest) Reset()
func (*ListBucketsRequest) SetFolderId ¶
func (m *ListBucketsRequest) SetFolderId(v string)
func (*ListBucketsRequest) String ¶
func (x *ListBucketsRequest) String() string
type ListBucketsResponse ¶
type ListBucketsResponse struct { // List of buckets in the specified folder. Buckets []*Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"` // contains filtered or unexported fields }
func (*ListBucketsResponse) Descriptor
deprecated
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.
func (*ListBucketsResponse) GetBuckets ¶
func (x *ListBucketsResponse) GetBuckets() []*Bucket
func (*ListBucketsResponse) ProtoMessage ¶
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) ProtoReflect ¶
func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message
func (*ListBucketsResponse) Reset ¶
func (x *ListBucketsResponse) Reset()
func (*ListBucketsResponse) SetBuckets ¶
func (m *ListBucketsResponse) SetBuckets(v []*Bucket)
func (*ListBucketsResponse) String ¶
func (x *ListBucketsResponse) String() string
type ObjectLock ¶
type ObjectLock struct { Status ObjectLock_ObjectLockStatus `protobuf:"varint,2,opt,name=status,proto3,enum=yandex.cloud.storage.v1.ObjectLock_ObjectLockStatus" json:"status,omitempty"` DefaultRetention *ObjectLock_DefaultRetention `protobuf:"bytes,3,opt,name=default_retention,json=defaultRetention,proto3" json:"default_retention,omitempty"` // contains filtered or unexported fields }
A resource for Object Lock configuration of a bucket. For details about the concept, see [documentation](/docs/storage/concepts/object-lock).
func (*ObjectLock) Descriptor
deprecated
func (*ObjectLock) Descriptor() ([]byte, []int)
Deprecated: Use ObjectLock.ProtoReflect.Descriptor instead.
func (*ObjectLock) GetDefaultRetention ¶
func (x *ObjectLock) GetDefaultRetention() *ObjectLock_DefaultRetention
func (*ObjectLock) GetStatus ¶
func (x *ObjectLock) GetStatus() ObjectLock_ObjectLockStatus
func (*ObjectLock) ProtoMessage ¶
func (*ObjectLock) ProtoMessage()
func (*ObjectLock) ProtoReflect ¶
func (x *ObjectLock) ProtoReflect() protoreflect.Message
func (*ObjectLock) Reset ¶
func (x *ObjectLock) Reset()
func (*ObjectLock) SetDefaultRetention ¶
func (m *ObjectLock) SetDefaultRetention(v *ObjectLock_DefaultRetention)
func (*ObjectLock) SetStatus ¶
func (m *ObjectLock) SetStatus(v ObjectLock_ObjectLockStatus)
func (*ObjectLock) String ¶
func (x *ObjectLock) String() string
type ObjectLockLegalHold ¶
type ObjectLockLegalHold struct { // Indicates whether the specified object has a legal hold in place. Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ObjectLockLegalHold) Descriptor
deprecated
func (*ObjectLockLegalHold) Descriptor() ([]byte, []int)
Deprecated: Use ObjectLockLegalHold.ProtoReflect.Descriptor instead.
func (*ObjectLockLegalHold) GetStatus ¶
func (x *ObjectLockLegalHold) GetStatus() string
func (*ObjectLockLegalHold) ProtoMessage ¶
func (*ObjectLockLegalHold) ProtoMessage()
func (*ObjectLockLegalHold) ProtoReflect ¶
func (x *ObjectLockLegalHold) ProtoReflect() protoreflect.Message
func (*ObjectLockLegalHold) Reset ¶
func (x *ObjectLockLegalHold) Reset()
func (*ObjectLockLegalHold) SetStatus ¶
func (m *ObjectLockLegalHold) SetStatus(v string)
func (*ObjectLockLegalHold) String ¶
func (x *ObjectLockLegalHold) String() string
type ObjectLockRetention ¶
type ObjectLockRetention struct { // Indicates the Retention mode for the specified object. Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"` // The date on which this object lock retention will expire. RetainUntilDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=retain_until_date,json=retainUntilDate,proto3" json:"retain_until_date,omitempty"` // contains filtered or unexported fields }
func (*ObjectLockRetention) Descriptor
deprecated
func (*ObjectLockRetention) Descriptor() ([]byte, []int)
Deprecated: Use ObjectLockRetention.ProtoReflect.Descriptor instead.
func (*ObjectLockRetention) GetMode ¶
func (x *ObjectLockRetention) GetMode() string
func (*ObjectLockRetention) GetRetainUntilDate ¶
func (x *ObjectLockRetention) GetRetainUntilDate() *timestamppb.Timestamp
func (*ObjectLockRetention) ProtoMessage ¶
func (*ObjectLockRetention) ProtoMessage()
func (*ObjectLockRetention) ProtoReflect ¶
func (x *ObjectLockRetention) ProtoReflect() protoreflect.Message
func (*ObjectLockRetention) Reset ¶
func (x *ObjectLockRetention) Reset()
func (*ObjectLockRetention) SetMode ¶
func (m *ObjectLockRetention) SetMode(v string)
func (*ObjectLockRetention) SetRetainUntilDate ¶
func (m *ObjectLockRetention) SetRetainUntilDate(v *timestamppb.Timestamp)
func (*ObjectLockRetention) String ¶
func (x *ObjectLockRetention) String() string
type ObjectLock_DefaultRetention ¶
type ObjectLock_DefaultRetention struct { Mode ObjectLock_DefaultRetention_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.storage.v1.ObjectLock_DefaultRetention_Mode" json:"mode,omitempty"` // Types that are assignable to Period: // // *ObjectLock_DefaultRetention_Days // *ObjectLock_DefaultRetention_Years Period isObjectLock_DefaultRetention_Period `protobuf_oneof:"period"` // contains filtered or unexported fields }
Default lock configuration for added objects
func (*ObjectLock_DefaultRetention) Descriptor
deprecated
func (*ObjectLock_DefaultRetention) Descriptor() ([]byte, []int)
Deprecated: Use ObjectLock_DefaultRetention.ProtoReflect.Descriptor instead.
func (*ObjectLock_DefaultRetention) GetDays ¶
func (x *ObjectLock_DefaultRetention) GetDays() int64
func (*ObjectLock_DefaultRetention) GetMode ¶
func (x *ObjectLock_DefaultRetention) GetMode() ObjectLock_DefaultRetention_Mode
func (*ObjectLock_DefaultRetention) GetPeriod ¶
func (m *ObjectLock_DefaultRetention) GetPeriod() isObjectLock_DefaultRetention_Period
func (*ObjectLock_DefaultRetention) GetYears ¶
func (x *ObjectLock_DefaultRetention) GetYears() int64
func (*ObjectLock_DefaultRetention) ProtoMessage ¶
func (*ObjectLock_DefaultRetention) ProtoMessage()
func (*ObjectLock_DefaultRetention) ProtoReflect ¶
func (x *ObjectLock_DefaultRetention) ProtoReflect() protoreflect.Message
func (*ObjectLock_DefaultRetention) Reset ¶
func (x *ObjectLock_DefaultRetention) Reset()
func (*ObjectLock_DefaultRetention) SetDays ¶
func (m *ObjectLock_DefaultRetention) SetDays(v int64)
func (*ObjectLock_DefaultRetention) SetMode ¶
func (m *ObjectLock_DefaultRetention) SetMode(v ObjectLock_DefaultRetention_Mode)
func (*ObjectLock_DefaultRetention) SetPeriod ¶
func (m *ObjectLock_DefaultRetention) SetPeriod(v ObjectLock_DefaultRetention_Period)
func (*ObjectLock_DefaultRetention) SetYears ¶
func (m *ObjectLock_DefaultRetention) SetYears(v int64)
func (*ObjectLock_DefaultRetention) String ¶
func (x *ObjectLock_DefaultRetention) String() string
type ObjectLock_DefaultRetention_Days ¶
type ObjectLock_DefaultRetention_Days struct { // Number of days for locking Days int64 `protobuf:"varint,2,opt,name=days,proto3,oneof"` }
type ObjectLock_DefaultRetention_Mode ¶
type ObjectLock_DefaultRetention_Mode int32
Lock type
const ( ObjectLock_DefaultRetention_MODE_UNSPECIFIED ObjectLock_DefaultRetention_Mode = 0 ObjectLock_DefaultRetention_MODE_GOVERNANCE ObjectLock_DefaultRetention_Mode = 1 ObjectLock_DefaultRetention_MODE_COMPLIANCE ObjectLock_DefaultRetention_Mode = 2 )
func (ObjectLock_DefaultRetention_Mode) Descriptor ¶
func (ObjectLock_DefaultRetention_Mode) Descriptor() protoreflect.EnumDescriptor
func (ObjectLock_DefaultRetention_Mode) Enum ¶
func (x ObjectLock_DefaultRetention_Mode) Enum() *ObjectLock_DefaultRetention_Mode
func (ObjectLock_DefaultRetention_Mode) EnumDescriptor
deprecated
func (ObjectLock_DefaultRetention_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectLock_DefaultRetention_Mode.Descriptor instead.
func (ObjectLock_DefaultRetention_Mode) Number ¶
func (x ObjectLock_DefaultRetention_Mode) Number() protoreflect.EnumNumber
func (ObjectLock_DefaultRetention_Mode) String ¶
func (x ObjectLock_DefaultRetention_Mode) String() string
func (ObjectLock_DefaultRetention_Mode) Type ¶
func (ObjectLock_DefaultRetention_Mode) Type() protoreflect.EnumType
type ObjectLock_DefaultRetention_Period ¶
type ObjectLock_DefaultRetention_Period = isObjectLock_DefaultRetention_Period
type ObjectLock_DefaultRetention_Years ¶
type ObjectLock_DefaultRetention_Years struct { // Number of years for locking Years int64 `protobuf:"varint,3,opt,name=years,proto3,oneof"` }
type ObjectLock_ObjectLockStatus ¶
type ObjectLock_ObjectLockStatus int32
Activity status of the object lock settings on the bucket
const ( ObjectLock_OBJECT_LOCK_STATUS_UNSPECIFIED ObjectLock_ObjectLockStatus = 0 ObjectLock_OBJECT_LOCK_STATUS_DISABLED ObjectLock_ObjectLockStatus = 1 ObjectLock_OBJECT_LOCK_STATUS_ENABLED ObjectLock_ObjectLockStatus = 2 )
func (ObjectLock_ObjectLockStatus) Descriptor ¶
func (ObjectLock_ObjectLockStatus) Descriptor() protoreflect.EnumDescriptor
func (ObjectLock_ObjectLockStatus) Enum ¶
func (x ObjectLock_ObjectLockStatus) Enum() *ObjectLock_ObjectLockStatus
func (ObjectLock_ObjectLockStatus) EnumDescriptor
deprecated
func (ObjectLock_ObjectLockStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectLock_ObjectLockStatus.Descriptor instead.
func (ObjectLock_ObjectLockStatus) Number ¶
func (x ObjectLock_ObjectLockStatus) Number() protoreflect.EnumNumber
func (ObjectLock_ObjectLockStatus) String ¶
func (x ObjectLock_ObjectLockStatus) String() string
func (ObjectLock_ObjectLockStatus) Type ¶
func (ObjectLock_ObjectLockStatus) Type() protoreflect.EnumType
type ObjectTag ¶
type ObjectTag struct { // Key of the object tag. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the object tag. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*ObjectTag) Descriptor
deprecated
func (*ObjectTag) ProtoMessage ¶
func (*ObjectTag) ProtoMessage()
func (*ObjectTag) ProtoReflect ¶
func (x *ObjectTag) ProtoReflect() protoreflect.Message
type OptionalSizeByClass ¶
type OptionalSizeByClass struct { // Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` // all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). StorageClass string `protobuf:"bytes,1,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // Size of available space in the bucket for the storage class. ClassSize *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=class_size,json=classSize,proto3" json:"class_size,omitempty"` // contains filtered or unexported fields }
A resource for size of available space in a bucket for a storage class.
func (*OptionalSizeByClass) Descriptor
deprecated
func (*OptionalSizeByClass) Descriptor() ([]byte, []int)
Deprecated: Use OptionalSizeByClass.ProtoReflect.Descriptor instead.
func (*OptionalSizeByClass) GetClassSize ¶
func (x *OptionalSizeByClass) GetClassSize() *wrapperspb.Int64Value
func (*OptionalSizeByClass) GetStorageClass ¶
func (x *OptionalSizeByClass) GetStorageClass() string
func (*OptionalSizeByClass) ProtoMessage ¶
func (*OptionalSizeByClass) ProtoMessage()
func (*OptionalSizeByClass) ProtoReflect ¶
func (x *OptionalSizeByClass) ProtoReflect() protoreflect.Message
func (*OptionalSizeByClass) Reset ¶
func (x *OptionalSizeByClass) Reset()
func (*OptionalSizeByClass) SetClassSize ¶
func (m *OptionalSizeByClass) SetClassSize(v *wrapperspb.Int64Value)
func (*OptionalSizeByClass) SetStorageClass ¶
func (m *OptionalSizeByClass) SetStorageClass(v string)
func (*OptionalSizeByClass) String ¶
func (x *OptionalSizeByClass) String() string
type S3APICopyObjectResponse ¶
type S3APICopyObjectResponse struct { // Container for all response elements. CopyObjectResult *CopyObjectResult `protobuf:"bytes,1,opt,name=copy_object_result,json=copyObjectResult,proto3" json:"copy_object_result,omitempty"` // Unique request ID. RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Version ID of the source object that was copied. CopySourceVersionId string `protobuf:"bytes,3,opt,name=copy_source_version_id,json=copySourceVersionId,proto3" json:"copy_source_version_id,omitempty"` // Version ID of the newly created copy. VersionId string `protobuf:"bytes,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the copy object request to S3.
func (*S3APICopyObjectResponse) Descriptor
deprecated
func (*S3APICopyObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APICopyObjectResponse.ProtoReflect.Descriptor instead.
func (*S3APICopyObjectResponse) GetCopyObjectResult ¶
func (x *S3APICopyObjectResponse) GetCopyObjectResult() *CopyObjectResult
func (*S3APICopyObjectResponse) GetCopySourceVersionId ¶
func (x *S3APICopyObjectResponse) GetCopySourceVersionId() string
func (*S3APICopyObjectResponse) GetRequestId ¶
func (x *S3APICopyObjectResponse) GetRequestId() string
func (*S3APICopyObjectResponse) GetVersionId ¶
func (x *S3APICopyObjectResponse) GetVersionId() string
func (*S3APICopyObjectResponse) ProtoMessage ¶
func (*S3APICopyObjectResponse) ProtoMessage()
func (*S3APICopyObjectResponse) ProtoReflect ¶
func (x *S3APICopyObjectResponse) ProtoReflect() protoreflect.Message
func (*S3APICopyObjectResponse) Reset ¶
func (x *S3APICopyObjectResponse) Reset()
func (*S3APICopyObjectResponse) SetCopyObjectResult ¶
func (m *S3APICopyObjectResponse) SetCopyObjectResult(v *CopyObjectResult)
func (*S3APICopyObjectResponse) SetCopySourceVersionId ¶
func (m *S3APICopyObjectResponse) SetCopySourceVersionId(v string)
func (*S3APICopyObjectResponse) SetRequestId ¶
func (m *S3APICopyObjectResponse) SetRequestId(v string)
func (*S3APICopyObjectResponse) SetVersionId ¶
func (m *S3APICopyObjectResponse) SetVersionId(v string)
func (*S3APICopyObjectResponse) String ¶
func (x *S3APICopyObjectResponse) String() string
type S3APIDeleteObjectResponse ¶
type S3APIDeleteObjectResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Version ID of the object. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the delete object request to S3.
func (*S3APIDeleteObjectResponse) Descriptor
deprecated
func (*S3APIDeleteObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIDeleteObjectResponse.ProtoReflect.Descriptor instead.
func (*S3APIDeleteObjectResponse) GetRequestId ¶
func (x *S3APIDeleteObjectResponse) GetRequestId() string
func (*S3APIDeleteObjectResponse) GetVersionId ¶
func (x *S3APIDeleteObjectResponse) GetVersionId() string
func (*S3APIDeleteObjectResponse) ProtoMessage ¶
func (*S3APIDeleteObjectResponse) ProtoMessage()
func (*S3APIDeleteObjectResponse) ProtoReflect ¶
func (x *S3APIDeleteObjectResponse) ProtoReflect() protoreflect.Message
func (*S3APIDeleteObjectResponse) Reset ¶
func (x *S3APIDeleteObjectResponse) Reset()
func (*S3APIDeleteObjectResponse) SetRequestId ¶
func (m *S3APIDeleteObjectResponse) SetRequestId(v string)
func (*S3APIDeleteObjectResponse) SetVersionId ¶
func (m *S3APIDeleteObjectResponse) SetVersionId(v string)
func (*S3APIDeleteObjectResponse) String ¶
func (x *S3APIDeleteObjectResponse) String() string
type S3APIDeleteObjectTaggingResponse ¶
type S3APIDeleteObjectTaggingResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The versionId of the object the tag-set was removed from. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
Represents a response of delete object tagging request to S3.
func (*S3APIDeleteObjectTaggingResponse) Descriptor
deprecated
func (*S3APIDeleteObjectTaggingResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIDeleteObjectTaggingResponse.ProtoReflect.Descriptor instead.
func (*S3APIDeleteObjectTaggingResponse) GetRequestId ¶
func (x *S3APIDeleteObjectTaggingResponse) GetRequestId() string
func (*S3APIDeleteObjectTaggingResponse) GetVersionId ¶
func (x *S3APIDeleteObjectTaggingResponse) GetVersionId() string
func (*S3APIDeleteObjectTaggingResponse) ProtoMessage ¶
func (*S3APIDeleteObjectTaggingResponse) ProtoMessage()
func (*S3APIDeleteObjectTaggingResponse) ProtoReflect ¶
func (x *S3APIDeleteObjectTaggingResponse) ProtoReflect() protoreflect.Message
func (*S3APIDeleteObjectTaggingResponse) Reset ¶
func (x *S3APIDeleteObjectTaggingResponse) Reset()
func (*S3APIDeleteObjectTaggingResponse) SetRequestId ¶
func (m *S3APIDeleteObjectTaggingResponse) SetRequestId(v string)
func (*S3APIDeleteObjectTaggingResponse) SetVersionId ¶
func (m *S3APIDeleteObjectTaggingResponse) SetVersionId(v string)
func (*S3APIDeleteObjectTaggingResponse) String ¶
func (x *S3APIDeleteObjectTaggingResponse) String() string
type S3APIDeleteObjectsResponse ¶
type S3APIDeleteObjectsResponse struct { // List of successfully deleted objects Deleted []*SuccessfullyDeletedObject `protobuf:"bytes,1,rep,name=deleted,proto3" json:"deleted,omitempty"` // List of objects that attempted to be deleted but encountered an error Errors []*DeleteObjectError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // Unique request ID. RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the delete objects request to S3.
func (*S3APIDeleteObjectsResponse) Descriptor
deprecated
func (*S3APIDeleteObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIDeleteObjectsResponse.ProtoReflect.Descriptor instead.
func (*S3APIDeleteObjectsResponse) GetDeleted ¶
func (x *S3APIDeleteObjectsResponse) GetDeleted() []*SuccessfullyDeletedObject
func (*S3APIDeleteObjectsResponse) GetErrors ¶
func (x *S3APIDeleteObjectsResponse) GetErrors() []*DeleteObjectError
func (*S3APIDeleteObjectsResponse) GetRequestId ¶
func (x *S3APIDeleteObjectsResponse) GetRequestId() string
func (*S3APIDeleteObjectsResponse) ProtoMessage ¶
func (*S3APIDeleteObjectsResponse) ProtoMessage()
func (*S3APIDeleteObjectsResponse) ProtoReflect ¶
func (x *S3APIDeleteObjectsResponse) ProtoReflect() protoreflect.Message
func (*S3APIDeleteObjectsResponse) Reset ¶
func (x *S3APIDeleteObjectsResponse) Reset()
func (*S3APIDeleteObjectsResponse) SetDeleted ¶
func (m *S3APIDeleteObjectsResponse) SetDeleted(v []*SuccessfullyDeletedObject)
func (*S3APIDeleteObjectsResponse) SetErrors ¶
func (m *S3APIDeleteObjectsResponse) SetErrors(v []*DeleteObjectError)
func (*S3APIDeleteObjectsResponse) SetRequestId ¶
func (m *S3APIDeleteObjectsResponse) SetRequestId(v string)
func (*S3APIDeleteObjectsResponse) String ¶
func (x *S3APIDeleteObjectsResponse) String() string
type S3APIGetObjectLegalHoldResponse ¶
type S3APIGetObjectLegalHoldResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The current legal hold status for the specified object. LegalHold *ObjectLockLegalHold `protobuf:"bytes,2,opt,name=legal_hold,json=legalHold,proto3" json:"legal_hold,omitempty"` // contains filtered or unexported fields }
Represents a response of the get object legal hold request to S3.
func (*S3APIGetObjectLegalHoldResponse) Descriptor
deprecated
func (*S3APIGetObjectLegalHoldResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIGetObjectLegalHoldResponse.ProtoReflect.Descriptor instead.
func (*S3APIGetObjectLegalHoldResponse) GetLegalHold ¶
func (x *S3APIGetObjectLegalHoldResponse) GetLegalHold() *ObjectLockLegalHold
func (*S3APIGetObjectLegalHoldResponse) GetRequestId ¶
func (x *S3APIGetObjectLegalHoldResponse) GetRequestId() string
func (*S3APIGetObjectLegalHoldResponse) ProtoMessage ¶
func (*S3APIGetObjectLegalHoldResponse) ProtoMessage()
func (*S3APIGetObjectLegalHoldResponse) ProtoReflect ¶
func (x *S3APIGetObjectLegalHoldResponse) ProtoReflect() protoreflect.Message
func (*S3APIGetObjectLegalHoldResponse) Reset ¶
func (x *S3APIGetObjectLegalHoldResponse) Reset()
func (*S3APIGetObjectLegalHoldResponse) SetLegalHold ¶
func (m *S3APIGetObjectLegalHoldResponse) SetLegalHold(v *ObjectLockLegalHold)
func (*S3APIGetObjectLegalHoldResponse) SetRequestId ¶
func (m *S3APIGetObjectLegalHoldResponse) SetRequestId(v string)
func (*S3APIGetObjectLegalHoldResponse) String ¶
func (x *S3APIGetObjectLegalHoldResponse) String() string
type S3APIGetObjectResponse ¶
type S3APIGetObjectResponse struct { // MD5 hash of the object. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // Unique request ID. RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Indicates that a range of bytes was specified in the request. AcceptRanges string `protobuf:"bytes,3,opt,name=accept_ranges,json=acceptRanges,proto3" json:"accept_ranges,omitempty"` // Specifies caching behavior along the request/reply chain. CacheControl string `protobuf:"bytes,4,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"` // Specifies presentational information for the object. ContentDisposition string `protobuf:"bytes,5,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Indicates what content encodings have been applied to the object. ContentEncoding string `protobuf:"bytes,6,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"` // The language the content is in. ContentLanguage string `protobuf:"bytes,7,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` // Size of the body in bytes. ContentLength int64 `protobuf:"varint,8,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"` // The portion of the object returned in the response. ContentRange string `protobuf:"bytes,9,opt,name=content_range,json=contentRange,proto3" json:"content_range,omitempty"` // A standard MIME type describing the format of the object data. ContentType string `protobuf:"bytes,10,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Version ID of the object. VersionId string `protobuf:"bytes,11,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // The date and time at which the object is no longer cacheable. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Date and time when the object was last modified. LastModifiedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=last_modified_at,json=lastModifiedAt,proto3" json:"last_modified_at,omitempty"` // Object user-defined metadata. Metadata map[string]string `` /* 158-byte string literal not displayed */ // Provides storage class information of the object. StorageClass string `protobuf:"bytes,15,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // Encryption algorithm used to encrypt the object. ServerSideEncryption string `protobuf:"bytes,16,opt,name=server_side_encryption,json=serverSideEncryption,proto3" json:"server_side_encryption,omitempty"` // ID of the key KMS. SseKmsKeyId string `protobuf:"bytes,17,opt,name=sse_kms_key_id,json=sseKmsKeyId,proto3" json:"sse_kms_key_id,omitempty"` // Type of retention put on the object. ObjectLockMode string `protobuf:"bytes,18,opt,name=object_lock_mode,json=objectLockMode,proto3" json:"object_lock_mode,omitempty"` // Date and time until which the object is retained ObjectLockRetainUntilDate *timestamppb.Timestamp `` /* 143-byte string literal not displayed */ // Type of legal hold put on the object ObjectLockLegalHoldStatus string `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
Represents a response of the get object request to S3.
func (*S3APIGetObjectResponse) Descriptor
deprecated
func (*S3APIGetObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIGetObjectResponse.ProtoReflect.Descriptor instead.
func (*S3APIGetObjectResponse) GetAcceptRanges ¶
func (x *S3APIGetObjectResponse) GetAcceptRanges() string
func (*S3APIGetObjectResponse) GetCacheControl ¶
func (x *S3APIGetObjectResponse) GetCacheControl() string
func (*S3APIGetObjectResponse) GetContentDisposition ¶
func (x *S3APIGetObjectResponse) GetContentDisposition() string
func (*S3APIGetObjectResponse) GetContentEncoding ¶
func (x *S3APIGetObjectResponse) GetContentEncoding() string
func (*S3APIGetObjectResponse) GetContentLanguage ¶
func (x *S3APIGetObjectResponse) GetContentLanguage() string
func (*S3APIGetObjectResponse) GetContentLength ¶
func (x *S3APIGetObjectResponse) GetContentLength() int64
func (*S3APIGetObjectResponse) GetContentRange ¶
func (x *S3APIGetObjectResponse) GetContentRange() string
func (*S3APIGetObjectResponse) GetContentType ¶
func (x *S3APIGetObjectResponse) GetContentType() string
func (*S3APIGetObjectResponse) GetEtag ¶
func (x *S3APIGetObjectResponse) GetEtag() string
func (*S3APIGetObjectResponse) GetExpiresAt ¶
func (x *S3APIGetObjectResponse) GetExpiresAt() *timestamppb.Timestamp
func (*S3APIGetObjectResponse) GetLastModifiedAt ¶
func (x *S3APIGetObjectResponse) GetLastModifiedAt() *timestamppb.Timestamp
func (*S3APIGetObjectResponse) GetMetadata ¶
func (x *S3APIGetObjectResponse) GetMetadata() map[string]string
func (*S3APIGetObjectResponse) GetObjectLockLegalHoldStatus ¶
func (x *S3APIGetObjectResponse) GetObjectLockLegalHoldStatus() string
func (*S3APIGetObjectResponse) GetObjectLockMode ¶
func (x *S3APIGetObjectResponse) GetObjectLockMode() string
func (*S3APIGetObjectResponse) GetObjectLockRetainUntilDate ¶
func (x *S3APIGetObjectResponse) GetObjectLockRetainUntilDate() *timestamppb.Timestamp
func (*S3APIGetObjectResponse) GetRequestId ¶
func (x *S3APIGetObjectResponse) GetRequestId() string
func (*S3APIGetObjectResponse) GetServerSideEncryption ¶
func (x *S3APIGetObjectResponse) GetServerSideEncryption() string
func (*S3APIGetObjectResponse) GetSseKmsKeyId ¶
func (x *S3APIGetObjectResponse) GetSseKmsKeyId() string
func (*S3APIGetObjectResponse) GetStorageClass ¶
func (x *S3APIGetObjectResponse) GetStorageClass() string
func (*S3APIGetObjectResponse) GetVersionId ¶
func (x *S3APIGetObjectResponse) GetVersionId() string
func (*S3APIGetObjectResponse) ProtoMessage ¶
func (*S3APIGetObjectResponse) ProtoMessage()
func (*S3APIGetObjectResponse) ProtoReflect ¶
func (x *S3APIGetObjectResponse) ProtoReflect() protoreflect.Message
func (*S3APIGetObjectResponse) Reset ¶
func (x *S3APIGetObjectResponse) Reset()
func (*S3APIGetObjectResponse) SetAcceptRanges ¶
func (m *S3APIGetObjectResponse) SetAcceptRanges(v string)
func (*S3APIGetObjectResponse) SetCacheControl ¶
func (m *S3APIGetObjectResponse) SetCacheControl(v string)
func (*S3APIGetObjectResponse) SetContentDisposition ¶
func (m *S3APIGetObjectResponse) SetContentDisposition(v string)
func (*S3APIGetObjectResponse) SetContentEncoding ¶
func (m *S3APIGetObjectResponse) SetContentEncoding(v string)
func (*S3APIGetObjectResponse) SetContentLanguage ¶
func (m *S3APIGetObjectResponse) SetContentLanguage(v string)
func (*S3APIGetObjectResponse) SetContentLength ¶
func (m *S3APIGetObjectResponse) SetContentLength(v int64)
func (*S3APIGetObjectResponse) SetContentRange ¶
func (m *S3APIGetObjectResponse) SetContentRange(v string)
func (*S3APIGetObjectResponse) SetContentType ¶
func (m *S3APIGetObjectResponse) SetContentType(v string)
func (*S3APIGetObjectResponse) SetEtag ¶
func (m *S3APIGetObjectResponse) SetEtag(v string)
func (*S3APIGetObjectResponse) SetExpiresAt ¶
func (m *S3APIGetObjectResponse) SetExpiresAt(v *timestamppb.Timestamp)
func (*S3APIGetObjectResponse) SetLastModifiedAt ¶
func (m *S3APIGetObjectResponse) SetLastModifiedAt(v *timestamppb.Timestamp)
func (*S3APIGetObjectResponse) SetMetadata ¶
func (m *S3APIGetObjectResponse) SetMetadata(v map[string]string)
func (*S3APIGetObjectResponse) SetObjectLockLegalHoldStatus ¶
func (m *S3APIGetObjectResponse) SetObjectLockLegalHoldStatus(v string)
func (*S3APIGetObjectResponse) SetObjectLockMode ¶
func (m *S3APIGetObjectResponse) SetObjectLockMode(v string)
func (*S3APIGetObjectResponse) SetObjectLockRetainUntilDate ¶
func (m *S3APIGetObjectResponse) SetObjectLockRetainUntilDate(v *timestamppb.Timestamp)
func (*S3APIGetObjectResponse) SetRequestId ¶
func (m *S3APIGetObjectResponse) SetRequestId(v string)
func (*S3APIGetObjectResponse) SetServerSideEncryption ¶
func (m *S3APIGetObjectResponse) SetServerSideEncryption(v string)
func (*S3APIGetObjectResponse) SetSseKmsKeyId ¶
func (m *S3APIGetObjectResponse) SetSseKmsKeyId(v string)
func (*S3APIGetObjectResponse) SetStorageClass ¶
func (m *S3APIGetObjectResponse) SetStorageClass(v string)
func (*S3APIGetObjectResponse) SetVersionId ¶
func (m *S3APIGetObjectResponse) SetVersionId(v string)
func (*S3APIGetObjectResponse) String ¶
func (x *S3APIGetObjectResponse) String() string
type S3APIGetObjectRetentionResponse ¶
type S3APIGetObjectRetentionResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // An object retention settings. Retention *ObjectLockRetention `protobuf:"bytes,2,opt,name=retention,proto3" json:"retention,omitempty"` // contains filtered or unexported fields }
Represents a response of the get object retention request to S3.
func (*S3APIGetObjectRetentionResponse) Descriptor
deprecated
func (*S3APIGetObjectRetentionResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIGetObjectRetentionResponse.ProtoReflect.Descriptor instead.
func (*S3APIGetObjectRetentionResponse) GetRequestId ¶
func (x *S3APIGetObjectRetentionResponse) GetRequestId() string
func (*S3APIGetObjectRetentionResponse) GetRetention ¶
func (x *S3APIGetObjectRetentionResponse) GetRetention() *ObjectLockRetention
func (*S3APIGetObjectRetentionResponse) ProtoMessage ¶
func (*S3APIGetObjectRetentionResponse) ProtoMessage()
func (*S3APIGetObjectRetentionResponse) ProtoReflect ¶
func (x *S3APIGetObjectRetentionResponse) ProtoReflect() protoreflect.Message
func (*S3APIGetObjectRetentionResponse) Reset ¶
func (x *S3APIGetObjectRetentionResponse) Reset()
func (*S3APIGetObjectRetentionResponse) SetRequestId ¶
func (m *S3APIGetObjectRetentionResponse) SetRequestId(v string)
func (*S3APIGetObjectRetentionResponse) SetRetention ¶
func (m *S3APIGetObjectRetentionResponse) SetRetention(v *ObjectLockRetention)
func (*S3APIGetObjectRetentionResponse) String ¶
func (x *S3APIGetObjectRetentionResponse) String() string
type S3APIGetObjectTaggingResponse ¶
type S3APIGetObjectTaggingResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The versionId of the object for which you got the tagging information. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Contains the tag set. TagSet []*ObjectTag `protobuf:"bytes,3,rep,name=tag_set,json=tagSet,proto3" json:"tag_set,omitempty"` // contains filtered or unexported fields }
Represents a response of get object tagging request to S3.
func (*S3APIGetObjectTaggingResponse) Descriptor
deprecated
func (*S3APIGetObjectTaggingResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIGetObjectTaggingResponse.ProtoReflect.Descriptor instead.
func (*S3APIGetObjectTaggingResponse) GetRequestId ¶
func (x *S3APIGetObjectTaggingResponse) GetRequestId() string
func (*S3APIGetObjectTaggingResponse) GetTagSet ¶
func (x *S3APIGetObjectTaggingResponse) GetTagSet() []*ObjectTag
func (*S3APIGetObjectTaggingResponse) GetVersionId ¶
func (x *S3APIGetObjectTaggingResponse) GetVersionId() string
func (*S3APIGetObjectTaggingResponse) ProtoMessage ¶
func (*S3APIGetObjectTaggingResponse) ProtoMessage()
func (*S3APIGetObjectTaggingResponse) ProtoReflect ¶
func (x *S3APIGetObjectTaggingResponse) ProtoReflect() protoreflect.Message
func (*S3APIGetObjectTaggingResponse) Reset ¶
func (x *S3APIGetObjectTaggingResponse) Reset()
func (*S3APIGetObjectTaggingResponse) SetRequestId ¶
func (m *S3APIGetObjectTaggingResponse) SetRequestId(v string)
func (*S3APIGetObjectTaggingResponse) SetTagSet ¶
func (m *S3APIGetObjectTaggingResponse) SetTagSet(v []*ObjectTag)
func (*S3APIGetObjectTaggingResponse) SetVersionId ¶
func (m *S3APIGetObjectTaggingResponse) SetVersionId(v string)
func (*S3APIGetObjectTaggingResponse) String ¶
func (x *S3APIGetObjectTaggingResponse) String() string
type S3APIPutObjectLegalHoldResponse ¶
type S3APIPutObjectLegalHoldResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the put object retention request to S3.
func (*S3APIPutObjectLegalHoldResponse) Descriptor
deprecated
func (*S3APIPutObjectLegalHoldResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIPutObjectLegalHoldResponse.ProtoReflect.Descriptor instead.
func (*S3APIPutObjectLegalHoldResponse) GetRequestId ¶
func (x *S3APIPutObjectLegalHoldResponse) GetRequestId() string
func (*S3APIPutObjectLegalHoldResponse) ProtoMessage ¶
func (*S3APIPutObjectLegalHoldResponse) ProtoMessage()
func (*S3APIPutObjectLegalHoldResponse) ProtoReflect ¶
func (x *S3APIPutObjectLegalHoldResponse) ProtoReflect() protoreflect.Message
func (*S3APIPutObjectLegalHoldResponse) Reset ¶
func (x *S3APIPutObjectLegalHoldResponse) Reset()
func (*S3APIPutObjectLegalHoldResponse) SetRequestId ¶
func (m *S3APIPutObjectLegalHoldResponse) SetRequestId(v string)
func (*S3APIPutObjectLegalHoldResponse) String ¶
func (x *S3APIPutObjectLegalHoldResponse) String() string
type S3APIPutObjectResponse ¶
type S3APIPutObjectResponse struct { // MD5 hash of the object. Etag string `protobuf:"bytes,1,opt,name=etag,proto3" json:"etag,omitempty"` // Unique request ID. RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Version ID of the object. VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the put object request to S3.
func (*S3APIPutObjectResponse) Descriptor
deprecated
func (*S3APIPutObjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIPutObjectResponse.ProtoReflect.Descriptor instead.
func (*S3APIPutObjectResponse) GetEtag ¶
func (x *S3APIPutObjectResponse) GetEtag() string
func (*S3APIPutObjectResponse) GetRequestId ¶
func (x *S3APIPutObjectResponse) GetRequestId() string
func (*S3APIPutObjectResponse) GetVersionId ¶
func (x *S3APIPutObjectResponse) GetVersionId() string
func (*S3APIPutObjectResponse) ProtoMessage ¶
func (*S3APIPutObjectResponse) ProtoMessage()
func (*S3APIPutObjectResponse) ProtoReflect ¶
func (x *S3APIPutObjectResponse) ProtoReflect() protoreflect.Message
func (*S3APIPutObjectResponse) Reset ¶
func (x *S3APIPutObjectResponse) Reset()
func (*S3APIPutObjectResponse) SetEtag ¶
func (m *S3APIPutObjectResponse) SetEtag(v string)
func (*S3APIPutObjectResponse) SetRequestId ¶
func (m *S3APIPutObjectResponse) SetRequestId(v string)
func (*S3APIPutObjectResponse) SetVersionId ¶
func (m *S3APIPutObjectResponse) SetVersionId(v string)
func (*S3APIPutObjectResponse) String ¶
func (x *S3APIPutObjectResponse) String() string
type S3APIPutObjectRetentionResponse ¶
type S3APIPutObjectRetentionResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
Represents a response of the put object retention request to S3.
func (*S3APIPutObjectRetentionResponse) Descriptor
deprecated
func (*S3APIPutObjectRetentionResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIPutObjectRetentionResponse.ProtoReflect.Descriptor instead.
func (*S3APIPutObjectRetentionResponse) GetRequestId ¶
func (x *S3APIPutObjectRetentionResponse) GetRequestId() string
func (*S3APIPutObjectRetentionResponse) ProtoMessage ¶
func (*S3APIPutObjectRetentionResponse) ProtoMessage()
func (*S3APIPutObjectRetentionResponse) ProtoReflect ¶
func (x *S3APIPutObjectRetentionResponse) ProtoReflect() protoreflect.Message
func (*S3APIPutObjectRetentionResponse) Reset ¶
func (x *S3APIPutObjectRetentionResponse) Reset()
func (*S3APIPutObjectRetentionResponse) SetRequestId ¶
func (m *S3APIPutObjectRetentionResponse) SetRequestId(v string)
func (*S3APIPutObjectRetentionResponse) String ¶
func (x *S3APIPutObjectRetentionResponse) String() string
type S3APIPutObjectTaggingResponse ¶
type S3APIPutObjectTaggingResponse struct { // Unique request ID. RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The versionId of the object the tag-set was added to. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // contains filtered or unexported fields }
Represents a response of put object tagging request to S3.
func (*S3APIPutObjectTaggingResponse) Descriptor
deprecated
func (*S3APIPutObjectTaggingResponse) Descriptor() ([]byte, []int)
Deprecated: Use S3APIPutObjectTaggingResponse.ProtoReflect.Descriptor instead.
func (*S3APIPutObjectTaggingResponse) GetRequestId ¶
func (x *S3APIPutObjectTaggingResponse) GetRequestId() string
func (*S3APIPutObjectTaggingResponse) GetVersionId ¶
func (x *S3APIPutObjectTaggingResponse) GetVersionId() string
func (*S3APIPutObjectTaggingResponse) ProtoMessage ¶
func (*S3APIPutObjectTaggingResponse) ProtoMessage()
func (*S3APIPutObjectTaggingResponse) ProtoReflect ¶
func (x *S3APIPutObjectTaggingResponse) ProtoReflect() protoreflect.Message
func (*S3APIPutObjectTaggingResponse) Reset ¶
func (x *S3APIPutObjectTaggingResponse) Reset()
func (*S3APIPutObjectTaggingResponse) SetRequestId ¶
func (m *S3APIPutObjectTaggingResponse) SetRequestId(v string)
func (*S3APIPutObjectTaggingResponse) SetVersionId ¶
func (m *S3APIPutObjectTaggingResponse) SetVersionId(v string)
func (*S3APIPutObjectTaggingResponse) String ¶
func (x *S3APIPutObjectTaggingResponse) String() string
type SelfManagedHTTPSConfigParams ¶
type SelfManagedHTTPSConfigParams struct { // [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail)-encoded certificate. CertificatePem string `protobuf:"bytes,1,opt,name=certificate_pem,json=certificatePem,proto3" json:"certificate_pem,omitempty"` // [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail)-encoded private key for the certificate. PrivateKeyPem string `protobuf:"bytes,2,opt,name=private_key_pem,json=privateKeyPem,proto3" json:"private_key_pem,omitempty"` // contains filtered or unexported fields }
func (*SelfManagedHTTPSConfigParams) Descriptor
deprecated
func (*SelfManagedHTTPSConfigParams) Descriptor() ([]byte, []int)
Deprecated: Use SelfManagedHTTPSConfigParams.ProtoReflect.Descriptor instead.
func (*SelfManagedHTTPSConfigParams) GetCertificatePem ¶
func (x *SelfManagedHTTPSConfigParams) GetCertificatePem() string
func (*SelfManagedHTTPSConfigParams) GetPrivateKeyPem ¶
func (x *SelfManagedHTTPSConfigParams) GetPrivateKeyPem() string
func (*SelfManagedHTTPSConfigParams) ProtoMessage ¶
func (*SelfManagedHTTPSConfigParams) ProtoMessage()
func (*SelfManagedHTTPSConfigParams) ProtoReflect ¶
func (x *SelfManagedHTTPSConfigParams) ProtoReflect() protoreflect.Message
func (*SelfManagedHTTPSConfigParams) Reset ¶
func (x *SelfManagedHTTPSConfigParams) Reset()
func (*SelfManagedHTTPSConfigParams) SetCertificatePem ¶
func (m *SelfManagedHTTPSConfigParams) SetCertificatePem(v string)
func (*SelfManagedHTTPSConfigParams) SetPrivateKeyPem ¶
func (m *SelfManagedHTTPSConfigParams) SetPrivateKeyPem(v string)
func (*SelfManagedHTTPSConfigParams) String ¶
func (x *SelfManagedHTTPSConfigParams) String() string
type SetBucketHTTPSConfigMetadata ¶
type SetBucketHTTPSConfigMetadata struct { // Name of the bucket the HTTPS configuration is being updated for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetBucketHTTPSConfigMetadata) Descriptor
deprecated
func (*SetBucketHTTPSConfigMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SetBucketHTTPSConfigMetadata.ProtoReflect.Descriptor instead.
func (*SetBucketHTTPSConfigMetadata) GetName ¶
func (x *SetBucketHTTPSConfigMetadata) GetName() string
func (*SetBucketHTTPSConfigMetadata) ProtoMessage ¶
func (*SetBucketHTTPSConfigMetadata) ProtoMessage()
func (*SetBucketHTTPSConfigMetadata) ProtoReflect ¶
func (x *SetBucketHTTPSConfigMetadata) ProtoReflect() protoreflect.Message
func (*SetBucketHTTPSConfigMetadata) Reset ¶
func (x *SetBucketHTTPSConfigMetadata) Reset()
func (*SetBucketHTTPSConfigMetadata) SetName ¶
func (m *SetBucketHTTPSConfigMetadata) SetName(v string)
func (*SetBucketHTTPSConfigMetadata) String ¶
func (x *SetBucketHTTPSConfigMetadata) String() string
type SetBucketHTTPSConfigRequest ¶
type SetBucketHTTPSConfigRequest struct { // Name of the bucket to update the HTTPS configuration for. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // HTTPS configuration parameters. // // Types that are assignable to Params: // // *SetBucketHTTPSConfigRequest_SelfManaged // *SetBucketHTTPSConfigRequest_CertificateManager Params isSetBucketHTTPSConfigRequest_Params `protobuf_oneof:"params"` // contains filtered or unexported fields }
func (*SetBucketHTTPSConfigRequest) Descriptor
deprecated
func (*SetBucketHTTPSConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetBucketHTTPSConfigRequest.ProtoReflect.Descriptor instead.
func (*SetBucketHTTPSConfigRequest) GetCertificateManager ¶
func (x *SetBucketHTTPSConfigRequest) GetCertificateManager() *CertificateManagerHTTPSConfigParams
func (*SetBucketHTTPSConfigRequest) GetName ¶
func (x *SetBucketHTTPSConfigRequest) GetName() string
func (*SetBucketHTTPSConfigRequest) GetParams ¶
func (m *SetBucketHTTPSConfigRequest) GetParams() isSetBucketHTTPSConfigRequest_Params
func (*SetBucketHTTPSConfigRequest) GetSelfManaged ¶
func (x *SetBucketHTTPSConfigRequest) GetSelfManaged() *SelfManagedHTTPSConfigParams
func (*SetBucketHTTPSConfigRequest) ProtoMessage ¶
func (*SetBucketHTTPSConfigRequest) ProtoMessage()
func (*SetBucketHTTPSConfigRequest) ProtoReflect ¶
func (x *SetBucketHTTPSConfigRequest) ProtoReflect() protoreflect.Message
func (*SetBucketHTTPSConfigRequest) Reset ¶
func (x *SetBucketHTTPSConfigRequest) Reset()
func (*SetBucketHTTPSConfigRequest) SetCertificateManager ¶
func (m *SetBucketHTTPSConfigRequest) SetCertificateManager(v *CertificateManagerHTTPSConfigParams)
func (*SetBucketHTTPSConfigRequest) SetName ¶
func (m *SetBucketHTTPSConfigRequest) SetName(v string)
func (*SetBucketHTTPSConfigRequest) SetParams ¶
func (m *SetBucketHTTPSConfigRequest) SetParams(v SetBucketHTTPSConfigRequest_Params)
func (*SetBucketHTTPSConfigRequest) SetSelfManaged ¶
func (m *SetBucketHTTPSConfigRequest) SetSelfManaged(v *SelfManagedHTTPSConfigParams)
func (*SetBucketHTTPSConfigRequest) String ¶
func (x *SetBucketHTTPSConfigRequest) String() string
type SetBucketHTTPSConfigRequest_CertificateManager ¶
type SetBucketHTTPSConfigRequest_CertificateManager struct { // TLS certificate from Certificate Manager. // // To create a certificate in Certificate Manager, make a // [yandex.cloud.certificatemanager.v1.CertificateService.Create] request. CertificateManager *CertificateManagerHTTPSConfigParams `protobuf:"bytes,3,opt,name=certificate_manager,json=certificateManager,proto3,oneof"` }
type SetBucketHTTPSConfigRequest_Params ¶
type SetBucketHTTPSConfigRequest_Params = isSetBucketHTTPSConfigRequest_Params
type SetBucketHTTPSConfigRequest_SelfManaged ¶
type SetBucketHTTPSConfigRequest_SelfManaged struct { // Your TLS certificate, uploaded directly. // // Object Storage only supports [PEM](https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail)-encoded certificates. SelfManaged *SelfManagedHTTPSConfigParams `protobuf:"bytes,2,opt,name=self_managed,json=selfManaged,proto3,oneof"` }
type SizeByClass ¶
type SizeByClass struct { // Storage class. Supported classes are standard storage (`STANDARD`), cold storage (`COLD`, `STANDARD_IA`, `NEARLINE` // all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). StorageClass string `protobuf:"bytes,1,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // Size of used space in the bucket for the storage class. ClassSize int64 `protobuf:"varint,2,opt,name=class_size,json=classSize,proto3" json:"class_size,omitempty"` // contains filtered or unexported fields }
A resource for size of used space in a bucket for a storage class.
func (*SizeByClass) Descriptor
deprecated
func (*SizeByClass) Descriptor() ([]byte, []int)
Deprecated: Use SizeByClass.ProtoReflect.Descriptor instead.
func (*SizeByClass) GetClassSize ¶
func (x *SizeByClass) GetClassSize() int64
func (*SizeByClass) GetStorageClass ¶
func (x *SizeByClass) GetStorageClass() string
func (*SizeByClass) ProtoMessage ¶
func (*SizeByClass) ProtoMessage()
func (*SizeByClass) ProtoReflect ¶
func (x *SizeByClass) ProtoReflect() protoreflect.Message
func (*SizeByClass) Reset ¶
func (x *SizeByClass) Reset()
func (*SizeByClass) SetClassSize ¶
func (m *SizeByClass) SetClassSize(v int64)
func (*SizeByClass) SetStorageClass ¶
func (m *SizeByClass) SetStorageClass(v string)
func (*SizeByClass) String ¶
func (x *SizeByClass) String() string
type SuccessfullyDeletedObject ¶
type SuccessfullyDeletedObject struct { // The name of the deleted object. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The version ID of the deleted object. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. DeleteMarker bool `protobuf:"varint,3,opt,name=delete_marker,json=deleteMarker,proto3" json:"delete_marker,omitempty"` // The version ID of the delete marker created as a result of the DELETE operation. DeleteMarkerVersionId string `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SuccessfullyDeletedObject) Descriptor
deprecated
func (*SuccessfullyDeletedObject) Descriptor() ([]byte, []int)
Deprecated: Use SuccessfullyDeletedObject.ProtoReflect.Descriptor instead.
func (*SuccessfullyDeletedObject) GetDeleteMarker ¶
func (x *SuccessfullyDeletedObject) GetDeleteMarker() bool
func (*SuccessfullyDeletedObject) GetDeleteMarkerVersionId ¶
func (x *SuccessfullyDeletedObject) GetDeleteMarkerVersionId() string
func (*SuccessfullyDeletedObject) GetKey ¶
func (x *SuccessfullyDeletedObject) GetKey() string
func (*SuccessfullyDeletedObject) GetVersionId ¶
func (x *SuccessfullyDeletedObject) GetVersionId() string
func (*SuccessfullyDeletedObject) ProtoMessage ¶
func (*SuccessfullyDeletedObject) ProtoMessage()
func (*SuccessfullyDeletedObject) ProtoReflect ¶
func (x *SuccessfullyDeletedObject) ProtoReflect() protoreflect.Message
func (*SuccessfullyDeletedObject) Reset ¶
func (x *SuccessfullyDeletedObject) Reset()
func (*SuccessfullyDeletedObject) SetDeleteMarker ¶
func (m *SuccessfullyDeletedObject) SetDeleteMarker(v bool)
func (*SuccessfullyDeletedObject) SetDeleteMarkerVersionId ¶
func (m *SuccessfullyDeletedObject) SetDeleteMarkerVersionId(v string)
func (*SuccessfullyDeletedObject) SetKey ¶
func (m *SuccessfullyDeletedObject) SetKey(v string)
func (*SuccessfullyDeletedObject) SetVersionId ¶
func (m *SuccessfullyDeletedObject) SetVersionId(v string)
func (*SuccessfullyDeletedObject) String ¶
func (x *SuccessfullyDeletedObject) String() string
type Tag ¶
type Tag struct { // Key of the bucket tag. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value of the bucket tag. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type UnimplementedBucketServiceServer ¶
type UnimplementedBucketServiceServer struct{}
UnimplementedBucketServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBucketServiceServer) Create ¶
func (UnimplementedBucketServiceServer) Create(context.Context, *CreateBucketRequest) (*operation.Operation, error)
func (UnimplementedBucketServiceServer) Delete ¶
func (UnimplementedBucketServiceServer) Delete(context.Context, *DeleteBucketRequest) (*operation.Operation, error)
func (UnimplementedBucketServiceServer) DeleteHTTPSConfig ¶
func (UnimplementedBucketServiceServer) DeleteHTTPSConfig(context.Context, *DeleteBucketHTTPSConfigRequest) (*operation.Operation, error)
func (UnimplementedBucketServiceServer) Get ¶
func (UnimplementedBucketServiceServer) Get(context.Context, *GetBucketRequest) (*Bucket, error)
func (UnimplementedBucketServiceServer) GetHTTPSConfig ¶
func (UnimplementedBucketServiceServer) GetHTTPSConfig(context.Context, *GetBucketHTTPSConfigRequest) (*HTTPSConfig, error)
func (UnimplementedBucketServiceServer) GetStats ¶
func (UnimplementedBucketServiceServer) GetStats(context.Context, *GetBucketStatsRequest) (*BucketStats, error)
func (UnimplementedBucketServiceServer) List ¶
func (UnimplementedBucketServiceServer) List(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
func (UnimplementedBucketServiceServer) SetHTTPSConfig ¶
func (UnimplementedBucketServiceServer) SetHTTPSConfig(context.Context, *SetBucketHTTPSConfigRequest) (*operation.Operation, error)
func (UnimplementedBucketServiceServer) Update ¶
func (UnimplementedBucketServiceServer) Update(context.Context, *UpdateBucketRequest) (*operation.Operation, error)
type UnsafeBucketServiceServer ¶
type UnsafeBucketServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBucketServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BucketServiceServer will result in compilation errors.
type UpdateBucketMetadata ¶
type UpdateBucketMetadata struct { // Name of the bucket that is being updated. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateBucketMetadata) Descriptor
deprecated
func (*UpdateBucketMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBucketMetadata.ProtoReflect.Descriptor instead.
func (*UpdateBucketMetadata) GetName ¶
func (x *UpdateBucketMetadata) GetName() string
func (*UpdateBucketMetadata) ProtoMessage ¶
func (*UpdateBucketMetadata) ProtoMessage()
func (*UpdateBucketMetadata) ProtoReflect ¶
func (x *UpdateBucketMetadata) ProtoReflect() protoreflect.Message
func (*UpdateBucketMetadata) Reset ¶
func (x *UpdateBucketMetadata) Reset()
func (*UpdateBucketMetadata) SetName ¶
func (m *UpdateBucketMetadata) SetName(v string)
func (*UpdateBucketMetadata) String ¶
func (x *UpdateBucketMetadata) String() string
type UpdateBucketRequest ¶
type UpdateBucketRequest struct { // Name of the bucket to update. // // The name cannot be updated. // // To get the bucket name, make a [BucketService.List] request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Update mask that specifies which attributes of the bucket should be updated. // Use * for full update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Flags for configuring public (anonymous) access to the bucket's content and settings. // For details, see [documentation](/docs/storage/concepts/bucket#bucket-access). AnonymousAccessFlags *AnonymousAccessFlags `protobuf:"bytes,3,opt,name=anonymous_access_flags,json=anonymousAccessFlags,proto3" json:"anonymous_access_flags,omitempty"` // Default storage class for objects in the bucket. Supported classes are standard storage (`STANDARD`), cold storage // (`COLD`, `STANDARD_IA`, `NEARLINE` all synonyms), and ice storage (`ICE` and `GLACIER` are synonyms). // For details, see [documentation](/docs/storage/concepts/storage-class). DefaultStorageClass string `protobuf:"bytes,4,opt,name=default_storage_class,json=defaultStorageClass,proto3" json:"default_storage_class,omitempty"` // Maximum size of the bucket, in bytes. // For details, see [documentation](/docs/storage/operations/buckets/limit-max-volume). MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // List of rules for cross-domain requests to objects in the bucket (cross-origin resource sharing, CORS). // For details, see [documentation](/docs/storage/concepts/cors). Cors []*CorsRule `protobuf:"bytes,6,rep,name=cors,proto3" json:"cors,omitempty"` // Configuration for hosting a static website in the bucket. // For details, see [documentation](/docs/storage/concepts/hosting). WebsiteSettings *WebsiteSettings `protobuf:"bytes,7,opt,name=website_settings,json=websiteSettings,proto3" json:"website_settings,omitempty"` // Bucket versioning status. // For details, see [documentation](/docs/storage/concepts/versioning). Versioning Versioning `protobuf:"varint,8,opt,name=versioning,proto3,enum=yandex.cloud.storage.v1.Versioning" json:"versioning,omitempty"` // List of object lifecycle rules for the bucket. // For details, see [documentation](/docs/storage/concepts/lifecycles). LifecycleRules []*LifecycleRule `protobuf:"bytes,9,rep,name=lifecycle_rules,json=lifecycleRules,proto3" json:"lifecycle_rules,omitempty"` // Bucket policies that set permissions for actions with the bucket, its objects, and groups of objects. // For details, see [documentation](/docs/storage/concepts/policy). Policy *structpb.Struct `protobuf:"bytes,10,opt,name=policy,proto3" json:"policy,omitempty"` // Access control list (ACL) of the bucket. // For details, see [documentation](/docs/storage/concepts/acl). Acl *ACL `protobuf:"bytes,11,opt,name=acl,proto3" json:"acl,omitempty"` // List of tags for the bucket. // For details, see [documentation](/docs/resource-manager/concepts/labels). Tags []*Tag `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"` // Configuration for object lock on the bucket. // For details about the concept, see [documentation](/docs/storage/concepts/object-lock). ObjectLock *ObjectLock `protobuf:"bytes,13,opt,name=object_lock,json=objectLock,proto3" json:"object_lock,omitempty"` // Configuration for bucket's encryption // For detauls, see [documentation](/docs/storage/concepts/encryption) Encryption *Encryption `protobuf:"bytes,14,opt,name=encryption,proto3" json:"encryption,omitempty"` // contains filtered or unexported fields }
func (*UpdateBucketRequest) Descriptor
deprecated
func (*UpdateBucketRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBucketRequest.ProtoReflect.Descriptor instead.
func (*UpdateBucketRequest) GetAcl ¶
func (x *UpdateBucketRequest) GetAcl() *ACL
func (*UpdateBucketRequest) GetAnonymousAccessFlags ¶
func (x *UpdateBucketRequest) GetAnonymousAccessFlags() *AnonymousAccessFlags
func (*UpdateBucketRequest) GetCors ¶
func (x *UpdateBucketRequest) GetCors() []*CorsRule
func (*UpdateBucketRequest) GetDefaultStorageClass ¶
func (x *UpdateBucketRequest) GetDefaultStorageClass() string
func (*UpdateBucketRequest) GetEncryption ¶
func (x *UpdateBucketRequest) GetEncryption() *Encryption
func (*UpdateBucketRequest) GetLifecycleRules ¶
func (x *UpdateBucketRequest) GetLifecycleRules() []*LifecycleRule
func (*UpdateBucketRequest) GetMaxSize ¶
func (x *UpdateBucketRequest) GetMaxSize() int64
func (*UpdateBucketRequest) GetName ¶
func (x *UpdateBucketRequest) GetName() string
func (*UpdateBucketRequest) GetObjectLock ¶
func (x *UpdateBucketRequest) GetObjectLock() *ObjectLock
func (*UpdateBucketRequest) GetPolicy ¶
func (x *UpdateBucketRequest) GetPolicy() *structpb.Struct
func (*UpdateBucketRequest) GetTags ¶
func (x *UpdateBucketRequest) GetTags() []*Tag
func (*UpdateBucketRequest) GetUpdateMask ¶
func (x *UpdateBucketRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateBucketRequest) GetVersioning ¶
func (x *UpdateBucketRequest) GetVersioning() Versioning
func (*UpdateBucketRequest) GetWebsiteSettings ¶
func (x *UpdateBucketRequest) GetWebsiteSettings() *WebsiteSettings
func (*UpdateBucketRequest) ProtoMessage ¶
func (*UpdateBucketRequest) ProtoMessage()
func (*UpdateBucketRequest) ProtoReflect ¶
func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message
func (*UpdateBucketRequest) Reset ¶
func (x *UpdateBucketRequest) Reset()
func (*UpdateBucketRequest) SetAcl ¶
func (m *UpdateBucketRequest) SetAcl(v *ACL)
func (*UpdateBucketRequest) SetAnonymousAccessFlags ¶
func (m *UpdateBucketRequest) SetAnonymousAccessFlags(v *AnonymousAccessFlags)
func (*UpdateBucketRequest) SetCors ¶
func (m *UpdateBucketRequest) SetCors(v []*CorsRule)
func (*UpdateBucketRequest) SetDefaultStorageClass ¶
func (m *UpdateBucketRequest) SetDefaultStorageClass(v string)
func (*UpdateBucketRequest) SetEncryption ¶
func (m *UpdateBucketRequest) SetEncryption(v *Encryption)
func (*UpdateBucketRequest) SetLifecycleRules ¶
func (m *UpdateBucketRequest) SetLifecycleRules(v []*LifecycleRule)
func (*UpdateBucketRequest) SetMaxSize ¶
func (m *UpdateBucketRequest) SetMaxSize(v int64)
func (*UpdateBucketRequest) SetName ¶
func (m *UpdateBucketRequest) SetName(v string)
func (*UpdateBucketRequest) SetObjectLock ¶
func (m *UpdateBucketRequest) SetObjectLock(v *ObjectLock)
func (*UpdateBucketRequest) SetPolicy ¶
func (m *UpdateBucketRequest) SetPolicy(v *structpb.Struct)
func (*UpdateBucketRequest) SetTags ¶
func (m *UpdateBucketRequest) SetTags(v []*Tag)
func (*UpdateBucketRequest) SetUpdateMask ¶
func (m *UpdateBucketRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateBucketRequest) SetVersioning ¶
func (m *UpdateBucketRequest) SetVersioning(v Versioning)
func (*UpdateBucketRequest) SetWebsiteSettings ¶
func (m *UpdateBucketRequest) SetWebsiteSettings(v *WebsiteSettings)
func (*UpdateBucketRequest) String ¶
func (x *UpdateBucketRequest) String() string
type Versioning ¶
type Versioning int32
const ( Versioning_VERSIONING_UNSPECIFIED Versioning = 0 // The bucket is unversioned, i.e. versioning has never been enabled for the bucket, including at its creation. // Objects that are stored in the bucket have a version ID of `null`. // // To enable versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request. Note that this // action is irreversible, and a bucket with versioning enabled can never return to `VERSIONING_DISABLED` state. Versioning_VERSIONING_DISABLED Versioning = 1 // Bucket versioning is enabled, i.e. all new objects are versioned and given a unique version ID, and objects that // already existed at the time versioning was enabled will be versioned and given a unique version ID when modified // by future requests. // // To suspend versioning, change status to `VERSIONING_SUSPENDED` via a [BucketService.Update] request. You cannot // disable versioning altogether for a bucket that already had it enabled; objects that had version IDs will keep // them. Versioning_VERSIONING_ENABLED Versioning = 2 // Bucket versioning is suspended, i.e. new objects are not versioned, but objects that already existed at the time // versioning was suspended are still versioned and keep their version IDs. // // To resume versioning, change status to `VERSIONING_ENABLED` via a [BucketService.Update] request. Versioning_VERSIONING_SUSPENDED Versioning = 3 )
func (Versioning) Descriptor ¶
func (Versioning) Descriptor() protoreflect.EnumDescriptor
func (Versioning) Enum ¶
func (x Versioning) Enum() *Versioning
func (Versioning) EnumDescriptor
deprecated
func (Versioning) EnumDescriptor() ([]byte, []int)
Deprecated: Use Versioning.Descriptor instead.
func (Versioning) Number ¶
func (x Versioning) Number() protoreflect.EnumNumber
func (Versioning) String ¶
func (x Versioning) String() string
func (Versioning) Type ¶
func (Versioning) Type() protoreflect.EnumType
type WebsiteSettings ¶
type WebsiteSettings struct { // Key of the index page object that is returned when a response is made to the root of the website. // // Either [index] or [redirect_all_requests] must be specified in order for the bucket to host a static website. // // If specified, the index page object must be located in the root of the bucket. Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // Key of the error page object that is returned when an error occurs. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Configuration for redirecting all requests sent to the website. // // Either [redirect_all_requests] or [index] must be specified in order for the bucket to host a static website. // If [redirect_all_requests] is specified, it must be the only field in [Bucket.website_settings]. RedirectAllRequests *WebsiteSettings_Scheme `protobuf:"bytes,3,opt,name=redirect_all_requests,json=redirectAllRequests,proto3" json:"redirect_all_requests,omitempty"` // List of redirect rules. RoutingRules []*WebsiteSettings_RoutingRule `protobuf:"bytes,4,rep,name=routing_rules,json=routingRules,proto3" json:"routing_rules,omitempty"` // contains filtered or unexported fields }
func (*WebsiteSettings) Descriptor
deprecated
func (*WebsiteSettings) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings.ProtoReflect.Descriptor instead.
func (*WebsiteSettings) GetError ¶
func (x *WebsiteSettings) GetError() string
func (*WebsiteSettings) GetIndex ¶
func (x *WebsiteSettings) GetIndex() string
func (*WebsiteSettings) GetRedirectAllRequests ¶
func (x *WebsiteSettings) GetRedirectAllRequests() *WebsiteSettings_Scheme
func (*WebsiteSettings) GetRoutingRules ¶
func (x *WebsiteSettings) GetRoutingRules() []*WebsiteSettings_RoutingRule
func (*WebsiteSettings) ProtoMessage ¶
func (*WebsiteSettings) ProtoMessage()
func (*WebsiteSettings) ProtoReflect ¶
func (x *WebsiteSettings) ProtoReflect() protoreflect.Message
func (*WebsiteSettings) Reset ¶
func (x *WebsiteSettings) Reset()
func (*WebsiteSettings) SetError ¶
func (m *WebsiteSettings) SetError(v string)
func (*WebsiteSettings) SetIndex ¶
func (m *WebsiteSettings) SetIndex(v string)
func (*WebsiteSettings) SetRedirectAllRequests ¶
func (m *WebsiteSettings) SetRedirectAllRequests(v *WebsiteSettings_Scheme)
func (*WebsiteSettings) SetRoutingRules ¶
func (m *WebsiteSettings) SetRoutingRules(v []*WebsiteSettings_RoutingRule)
func (*WebsiteSettings) String ¶
func (x *WebsiteSettings) String() string
type WebsiteSettings_Condition ¶
type WebsiteSettings_Condition struct { // HTTP status code (number only) that must match for the redirect to apply. HttpErrorCodeReturnedEquals string `` /* 148-byte string literal not displayed */ // Prefix of the object key from which requests are redirected. KeyPrefixEquals string `protobuf:"bytes,2,opt,name=key_prefix_equals,json=keyPrefixEquals,proto3" json:"key_prefix_equals,omitempty"` // contains filtered or unexported fields }
func (*WebsiteSettings_Condition) Descriptor
deprecated
func (*WebsiteSettings_Condition) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings_Condition.ProtoReflect.Descriptor instead.
func (*WebsiteSettings_Condition) GetHttpErrorCodeReturnedEquals ¶
func (x *WebsiteSettings_Condition) GetHttpErrorCodeReturnedEquals() string
func (*WebsiteSettings_Condition) GetKeyPrefixEquals ¶
func (x *WebsiteSettings_Condition) GetKeyPrefixEquals() string
func (*WebsiteSettings_Condition) ProtoMessage ¶
func (*WebsiteSettings_Condition) ProtoMessage()
func (*WebsiteSettings_Condition) ProtoReflect ¶
func (x *WebsiteSettings_Condition) ProtoReflect() protoreflect.Message
func (*WebsiteSettings_Condition) Reset ¶
func (x *WebsiteSettings_Condition) Reset()
func (*WebsiteSettings_Condition) SetHttpErrorCodeReturnedEquals ¶
func (m *WebsiteSettings_Condition) SetHttpErrorCodeReturnedEquals(v string)
func (*WebsiteSettings_Condition) SetKeyPrefixEquals ¶
func (m *WebsiteSettings_Condition) SetKeyPrefixEquals(v string)
func (*WebsiteSettings_Condition) String ¶
func (x *WebsiteSettings_Condition) String() string
type WebsiteSettings_Protocol ¶
type WebsiteSettings_Protocol int32
const ( WebsiteSettings_PROTOCOL_UNSPECIFIED WebsiteSettings_Protocol = 0 // `http` scheme. WebsiteSettings_PROTOCOL_HTTP WebsiteSettings_Protocol = 1 // `https` scheme. WebsiteSettings_PROTOCOL_HTTPS WebsiteSettings_Protocol = 2 )
func (WebsiteSettings_Protocol) Descriptor ¶
func (WebsiteSettings_Protocol) Descriptor() protoreflect.EnumDescriptor
func (WebsiteSettings_Protocol) Enum ¶
func (x WebsiteSettings_Protocol) Enum() *WebsiteSettings_Protocol
func (WebsiteSettings_Protocol) EnumDescriptor
deprecated
func (WebsiteSettings_Protocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings_Protocol.Descriptor instead.
func (WebsiteSettings_Protocol) Number ¶
func (x WebsiteSettings_Protocol) Number() protoreflect.EnumNumber
func (WebsiteSettings_Protocol) String ¶
func (x WebsiteSettings_Protocol) String() string
func (WebsiteSettings_Protocol) Type ¶
func (WebsiteSettings_Protocol) Type() protoreflect.EnumType
type WebsiteSettings_Redirect ¶
type WebsiteSettings_Redirect struct { // Hostname of the redirect URI. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // HTTP status code of the redirect response. // // Default value: `"301"`. HttpRedirectCode string `protobuf:"bytes,2,opt,name=http_redirect_code,json=httpRedirectCode,proto3" json:"http_redirect_code,omitempty"` // Scheme of the redirect URI. Protocol WebsiteSettings_Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=yandex.cloud.storage.v1.WebsiteSettings_Protocol" json:"protocol,omitempty"` // Substitution for the prefix of the object key specified in [Condition.key_prefix_equals]. // // At most one of [replace_key_prefix_with] and [replace_key_with] can be specified. ReplaceKeyPrefixWith string `protobuf:"bytes,4,opt,name=replace_key_prefix_with,json=replaceKeyPrefixWith,proto3" json:"replace_key_prefix_with,omitempty"` // New object key. // // At most one of [replace_key_with] and [replace_key_prefix_with] can be specified. ReplaceKeyWith string `protobuf:"bytes,5,opt,name=replace_key_with,json=replaceKeyWith,proto3" json:"replace_key_with,omitempty"` // contains filtered or unexported fields }
func (*WebsiteSettings_Redirect) Descriptor
deprecated
func (*WebsiteSettings_Redirect) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings_Redirect.ProtoReflect.Descriptor instead.
func (*WebsiteSettings_Redirect) GetHostname ¶
func (x *WebsiteSettings_Redirect) GetHostname() string
func (*WebsiteSettings_Redirect) GetHttpRedirectCode ¶
func (x *WebsiteSettings_Redirect) GetHttpRedirectCode() string
func (*WebsiteSettings_Redirect) GetProtocol ¶
func (x *WebsiteSettings_Redirect) GetProtocol() WebsiteSettings_Protocol
func (*WebsiteSettings_Redirect) GetReplaceKeyPrefixWith ¶
func (x *WebsiteSettings_Redirect) GetReplaceKeyPrefixWith() string
func (*WebsiteSettings_Redirect) GetReplaceKeyWith ¶
func (x *WebsiteSettings_Redirect) GetReplaceKeyWith() string
func (*WebsiteSettings_Redirect) ProtoMessage ¶
func (*WebsiteSettings_Redirect) ProtoMessage()
func (*WebsiteSettings_Redirect) ProtoReflect ¶
func (x *WebsiteSettings_Redirect) ProtoReflect() protoreflect.Message
func (*WebsiteSettings_Redirect) Reset ¶
func (x *WebsiteSettings_Redirect) Reset()
func (*WebsiteSettings_Redirect) SetHostname ¶
func (m *WebsiteSettings_Redirect) SetHostname(v string)
func (*WebsiteSettings_Redirect) SetHttpRedirectCode ¶
func (m *WebsiteSettings_Redirect) SetHttpRedirectCode(v string)
func (*WebsiteSettings_Redirect) SetProtocol ¶
func (m *WebsiteSettings_Redirect) SetProtocol(v WebsiteSettings_Protocol)
func (*WebsiteSettings_Redirect) SetReplaceKeyPrefixWith ¶
func (m *WebsiteSettings_Redirect) SetReplaceKeyPrefixWith(v string)
func (*WebsiteSettings_Redirect) SetReplaceKeyWith ¶
func (m *WebsiteSettings_Redirect) SetReplaceKeyWith(v string)
func (*WebsiteSettings_Redirect) String ¶
func (x *WebsiteSettings_Redirect) String() string
type WebsiteSettings_RoutingRule ¶
type WebsiteSettings_RoutingRule struct { // Redirect condition. Condition *WebsiteSettings_Condition `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // Redirect instructions. Redirect *WebsiteSettings_Redirect `protobuf:"bytes,2,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
List of redirect rules.
func (*WebsiteSettings_RoutingRule) Descriptor
deprecated
func (*WebsiteSettings_RoutingRule) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings_RoutingRule.ProtoReflect.Descriptor instead.
func (*WebsiteSettings_RoutingRule) GetCondition ¶
func (x *WebsiteSettings_RoutingRule) GetCondition() *WebsiteSettings_Condition
func (*WebsiteSettings_RoutingRule) GetRedirect ¶
func (x *WebsiteSettings_RoutingRule) GetRedirect() *WebsiteSettings_Redirect
func (*WebsiteSettings_RoutingRule) ProtoMessage ¶
func (*WebsiteSettings_RoutingRule) ProtoMessage()
func (*WebsiteSettings_RoutingRule) ProtoReflect ¶
func (x *WebsiteSettings_RoutingRule) ProtoReflect() protoreflect.Message
func (*WebsiteSettings_RoutingRule) Reset ¶
func (x *WebsiteSettings_RoutingRule) Reset()
func (*WebsiteSettings_RoutingRule) SetCondition ¶
func (m *WebsiteSettings_RoutingRule) SetCondition(v *WebsiteSettings_Condition)
func (*WebsiteSettings_RoutingRule) SetRedirect ¶
func (m *WebsiteSettings_RoutingRule) SetRedirect(v *WebsiteSettings_Redirect)
func (*WebsiteSettings_RoutingRule) String ¶
func (x *WebsiteSettings_RoutingRule) String() string
type WebsiteSettings_Scheme ¶
type WebsiteSettings_Scheme struct { // Scheme of the redirect URI. Protocol WebsiteSettings_Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=yandex.cloud.storage.v1.WebsiteSettings_Protocol" json:"protocol,omitempty"` // Hostname of the redirect URI. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"` // contains filtered or unexported fields }
A configuration resource for redirecting all requests sent to the website.
func (*WebsiteSettings_Scheme) Descriptor
deprecated
func (*WebsiteSettings_Scheme) Descriptor() ([]byte, []int)
Deprecated: Use WebsiteSettings_Scheme.ProtoReflect.Descriptor instead.
func (*WebsiteSettings_Scheme) GetHostname ¶
func (x *WebsiteSettings_Scheme) GetHostname() string
func (*WebsiteSettings_Scheme) GetProtocol ¶
func (x *WebsiteSettings_Scheme) GetProtocol() WebsiteSettings_Protocol
func (*WebsiteSettings_Scheme) ProtoMessage ¶
func (*WebsiteSettings_Scheme) ProtoMessage()
func (*WebsiteSettings_Scheme) ProtoReflect ¶
func (x *WebsiteSettings_Scheme) ProtoReflect() protoreflect.Message
func (*WebsiteSettings_Scheme) Reset ¶
func (x *WebsiteSettings_Scheme) Reset()
func (*WebsiteSettings_Scheme) SetHostname ¶
func (m *WebsiteSettings_Scheme) SetHostname(v string)
func (*WebsiteSettings_Scheme) SetProtocol ¶
func (m *WebsiteSettings_Scheme) SetProtocol(v WebsiteSettings_Protocol)
func (*WebsiteSettings_Scheme) String ¶
func (x *WebsiteSettings_Scheme) String() string