package controlpb
import "cloud.google.com/go/storage/control/apiv2/controlpb"
Index ¶
- Variables
- func RegisterStorageControlServer(s *grpc.Server, srv StorageControlServer)
- type AnywhereCache
- func (*AnywhereCache) Descriptor() ([]byte, []int)
- func (x *AnywhereCache) GetAdmissionPolicy() string
- func (x *AnywhereCache) GetCreateTime() *timestamppb.Timestamp
- func (x *AnywhereCache) GetName() string
- func (x *AnywhereCache) GetPendingUpdate() bool
- func (x *AnywhereCache) GetState() string
- func (x *AnywhereCache) GetTtl() *durationpb.Duration
- func (x *AnywhereCache) GetUpdateTime() *timestamppb.Timestamp
- func (x *AnywhereCache) GetZone() string
- func (*AnywhereCache) ProtoMessage()
- func (x *AnywhereCache) ProtoReflect() protoreflect.Message
- func (x *AnywhereCache) Reset()
- func (x *AnywhereCache) String() string
- type CommonLongRunningOperationMetadata
- func (*CommonLongRunningOperationMetadata) Descriptor() ([]byte, []int)
- func (x *CommonLongRunningOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *CommonLongRunningOperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32
- func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() bool
- func (x *CommonLongRunningOperationMetadata) GetType() string
- func (x *CommonLongRunningOperationMetadata) GetUpdateTime() *timestamppb.Timestamp
- func (*CommonLongRunningOperationMetadata) ProtoMessage()
- func (x *CommonLongRunningOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *CommonLongRunningOperationMetadata) Reset()
- func (x *CommonLongRunningOperationMetadata) String() string
- type CreateAnywhereCacheMetadata
- func (*CreateAnywhereCacheMetadata) Descriptor() ([]byte, []int)
- func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string
- func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string
- func (x *CreateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
- func (x *CreateAnywhereCacheMetadata) GetTtl() *durationpb.Duration
- func (x *CreateAnywhereCacheMetadata) GetZone() string
- func (*CreateAnywhereCacheMetadata) ProtoMessage()
- func (x *CreateAnywhereCacheMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateAnywhereCacheMetadata) Reset()
- func (x *CreateAnywhereCacheMetadata) String() string
- type CreateAnywhereCacheRequest
- func (*CreateAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache
- func (x *CreateAnywhereCacheRequest) GetParent() string
- func (x *CreateAnywhereCacheRequest) GetRequestId() string
- func (*CreateAnywhereCacheRequest) ProtoMessage()
- func (x *CreateAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAnywhereCacheRequest) Reset()
- func (x *CreateAnywhereCacheRequest) String() string
- type CreateFolderRequest
- func (*CreateFolderRequest) Descriptor() ([]byte, []int)
- func (x *CreateFolderRequest) GetFolder() *Folder
- func (x *CreateFolderRequest) GetFolderId() string
- func (x *CreateFolderRequest) GetParent() string
- func (x *CreateFolderRequest) GetRecursive() bool
- func (x *CreateFolderRequest) GetRequestId() string
- func (*CreateFolderRequest) ProtoMessage()
- func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFolderRequest) Reset()
- func (x *CreateFolderRequest) String() string
- type CreateManagedFolderRequest
- func (*CreateManagedFolderRequest) Descriptor() ([]byte, []int)
- func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder
- func (x *CreateManagedFolderRequest) GetManagedFolderId() string
- func (x *CreateManagedFolderRequest) GetParent() string
- func (x *CreateManagedFolderRequest) GetRequestId() string
- func (*CreateManagedFolderRequest) ProtoMessage()
- func (x *CreateManagedFolderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateManagedFolderRequest) Reset()
- func (x *CreateManagedFolderRequest) String() string
- type DeleteFolderRequest
- func (*DeleteFolderRequest) Descriptor() ([]byte, []int)
- func (x *DeleteFolderRequest) GetIfMetagenerationMatch() int64
- func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64
- func (x *DeleteFolderRequest) GetName() string
- func (x *DeleteFolderRequest) GetRequestId() string
- func (*DeleteFolderRequest) ProtoMessage()
- func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFolderRequest) Reset()
- func (x *DeleteFolderRequest) String() string
- type DeleteManagedFolderRequest
- func (*DeleteManagedFolderRequest) Descriptor() ([]byte, []int)
- func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool
- func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64
- func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64
- func (x *DeleteManagedFolderRequest) GetName() string
- func (x *DeleteManagedFolderRequest) GetRequestId() string
- func (*DeleteManagedFolderRequest) ProtoMessage()
- func (x *DeleteManagedFolderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteManagedFolderRequest) Reset()
- func (x *DeleteManagedFolderRequest) String() string
- type DisableAnywhereCacheRequest
- func (*DisableAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *DisableAnywhereCacheRequest) GetName() string
- func (x *DisableAnywhereCacheRequest) GetRequestId() string
- func (*DisableAnywhereCacheRequest) ProtoMessage()
- func (x *DisableAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *DisableAnywhereCacheRequest) Reset()
- func (x *DisableAnywhereCacheRequest) String() string
- type Folder
- func (*Folder) Descriptor() ([]byte, []int)
- func (x *Folder) GetCreateTime() *timestamppb.Timestamp
- func (x *Folder) GetMetageneration() int64
- func (x *Folder) GetName() string
- func (x *Folder) GetPendingRenameInfo() *PendingRenameInfo
- func (x *Folder) GetUpdateTime() *timestamppb.Timestamp
- func (*Folder) ProtoMessage()
- func (x *Folder) ProtoReflect() protoreflect.Message
- func (x *Folder) Reset()
- func (x *Folder) String() string
- type GetAnywhereCacheRequest
- func (*GetAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *GetAnywhereCacheRequest) GetName() string
- func (x *GetAnywhereCacheRequest) GetRequestId() string
- func (*GetAnywhereCacheRequest) ProtoMessage()
- func (x *GetAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *GetAnywhereCacheRequest) Reset()
- func (x *GetAnywhereCacheRequest) String() string
- type GetFolderIntelligenceConfigRequest
- func (*GetFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *GetFolderIntelligenceConfigRequest) GetName() string
- func (*GetFolderIntelligenceConfigRequest) ProtoMessage()
- func (x *GetFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetFolderIntelligenceConfigRequest) Reset()
- func (x *GetFolderIntelligenceConfigRequest) String() string
- type GetFolderRequest
- func (*GetFolderRequest) Descriptor() ([]byte, []int)
- func (x *GetFolderRequest) GetIfMetagenerationMatch() int64
- func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64
- func (x *GetFolderRequest) GetName() string
- func (x *GetFolderRequest) GetRequestId() string
- func (*GetFolderRequest) ProtoMessage()
- func (x *GetFolderRequest) ProtoReflect() protoreflect.Message
- func (x *GetFolderRequest) Reset()
- func (x *GetFolderRequest) String() string
- type GetManagedFolderRequest
- func (*GetManagedFolderRequest) Descriptor() ([]byte, []int)
- func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64
- func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64
- func (x *GetManagedFolderRequest) GetName() string
- func (x *GetManagedFolderRequest) GetRequestId() string
- func (*GetManagedFolderRequest) ProtoMessage()
- func (x *GetManagedFolderRequest) ProtoReflect() protoreflect.Message
- func (x *GetManagedFolderRequest) Reset()
- func (x *GetManagedFolderRequest) String() string
- type GetOrganizationIntelligenceConfigRequest
- func (*GetOrganizationIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *GetOrganizationIntelligenceConfigRequest) GetName() string
- func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage()
- func (x *GetOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationIntelligenceConfigRequest) Reset()
- func (x *GetOrganizationIntelligenceConfigRequest) String() string
- type GetProjectIntelligenceConfigRequest
- func (*GetProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *GetProjectIntelligenceConfigRequest) GetName() string
- func (*GetProjectIntelligenceConfigRequest) ProtoMessage()
- func (x *GetProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectIntelligenceConfigRequest) Reset()
- func (x *GetProjectIntelligenceConfigRequest) String() string
- type GetStorageLayoutRequest
- func (*GetStorageLayoutRequest) Descriptor() ([]byte, []int)
- func (x *GetStorageLayoutRequest) GetName() string
- func (x *GetStorageLayoutRequest) GetPrefix() string
- func (x *GetStorageLayoutRequest) GetRequestId() string
- func (*GetStorageLayoutRequest) ProtoMessage()
- func (x *GetStorageLayoutRequest) ProtoReflect() protoreflect.Message
- func (x *GetStorageLayoutRequest) Reset()
- func (x *GetStorageLayoutRequest) String() string
- type IntelligenceConfig
- func (*IntelligenceConfig) Descriptor() ([]byte, []int)
- func (x *IntelligenceConfig) GetEditionConfig() IntelligenceConfig_EditionConfig
- func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig
- func (x *IntelligenceConfig) GetFilter() *IntelligenceConfig_Filter
- func (x *IntelligenceConfig) GetName() string
- func (x *IntelligenceConfig) GetTrialConfig() *IntelligenceConfig_TrialConfig
- func (x *IntelligenceConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*IntelligenceConfig) ProtoMessage()
- func (x *IntelligenceConfig) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig) Reset()
- func (x *IntelligenceConfig) String() string
- type IntelligenceConfig_EditionConfig
- func (IntelligenceConfig_EditionConfig) Descriptor() protoreflect.EnumDescriptor
- func (x IntelligenceConfig_EditionConfig) Enum() *IntelligenceConfig_EditionConfig
- func (IntelligenceConfig_EditionConfig) EnumDescriptor() ([]byte, []int)
- func (x IntelligenceConfig_EditionConfig) Number() protoreflect.EnumNumber
- func (x IntelligenceConfig_EditionConfig) String() string
- func (IntelligenceConfig_EditionConfig) Type() protoreflect.EnumType
- type IntelligenceConfig_EffectiveIntelligenceConfig
- func (*IntelligenceConfig_EffectiveIntelligenceConfig) Descriptor() ([]byte, []int)
- func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition() IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
- func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string
- func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage()
- func (x *IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig_EffectiveIntelligenceConfig) Reset()
- func (x *IntelligenceConfig_EffectiveIntelligenceConfig) String() string
- type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
- func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor() protoreflect.EnumDescriptor
- func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum() *IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
- func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor() ([]byte, []int)
- func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number() protoreflect.EnumNumber
- func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String() string
- func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Type() protoreflect.EnumType
- type IntelligenceConfig_Filter
- func (*IntelligenceConfig_Filter) Descriptor() ([]byte, []int)
- func (m *IntelligenceConfig_Filter) GetCloudStorageBuckets() isIntelligenceConfig_Filter_CloudStorageBuckets
- func (m *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocations
- func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets
- func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations
- func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets
- func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations
- func (*IntelligenceConfig_Filter) ProtoMessage()
- func (x *IntelligenceConfig_Filter) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig_Filter) Reset()
- func (x *IntelligenceConfig_Filter) String() string
- type IntelligenceConfig_Filter_CloudStorageBuckets
- func (*IntelligenceConfig_Filter_CloudStorageBuckets) Descriptor() ([]byte, []int)
- func (x *IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes() []string
- func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage()
- func (x *IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig_Filter_CloudStorageBuckets) Reset()
- func (x *IntelligenceConfig_Filter_CloudStorageBuckets) String() string
- type IntelligenceConfig_Filter_CloudStorageLocations
- func (*IntelligenceConfig_Filter_CloudStorageLocations) Descriptor() ([]byte, []int)
- func (x *IntelligenceConfig_Filter_CloudStorageLocations) GetLocations() []string
- func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage()
- func (x *IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig_Filter_CloudStorageLocations) Reset()
- func (x *IntelligenceConfig_Filter_CloudStorageLocations) String() string
- type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets
- type IntelligenceConfig_Filter_ExcludedCloudStorageLocations
- type IntelligenceConfig_Filter_IncludedCloudStorageBuckets
- type IntelligenceConfig_Filter_IncludedCloudStorageLocations
- type IntelligenceConfig_TrialConfig
- func (*IntelligenceConfig_TrialConfig) Descriptor() ([]byte, []int)
- func (x *IntelligenceConfig_TrialConfig) GetExpireTime() *timestamppb.Timestamp
- func (*IntelligenceConfig_TrialConfig) ProtoMessage()
- func (x *IntelligenceConfig_TrialConfig) ProtoReflect() protoreflect.Message
- func (x *IntelligenceConfig_TrialConfig) Reset()
- func (x *IntelligenceConfig_TrialConfig) String() string
- type ListAnywhereCachesRequest
- func (*ListAnywhereCachesRequest) Descriptor() ([]byte, []int)
- func (x *ListAnywhereCachesRequest) GetPageSize() int32
- func (x *ListAnywhereCachesRequest) GetPageToken() string
- func (x *ListAnywhereCachesRequest) GetParent() string
- func (x *ListAnywhereCachesRequest) GetRequestId() string
- func (*ListAnywhereCachesRequest) ProtoMessage()
- func (x *ListAnywhereCachesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAnywhereCachesRequest) Reset()
- func (x *ListAnywhereCachesRequest) String() string
- type ListAnywhereCachesResponse
- func (*ListAnywhereCachesResponse) Descriptor() ([]byte, []int)
- func (x *ListAnywhereCachesResponse) GetAnywhereCaches() []*AnywhereCache
- func (x *ListAnywhereCachesResponse) GetNextPageToken() string
- func (*ListAnywhereCachesResponse) ProtoMessage()
- func (x *ListAnywhereCachesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAnywhereCachesResponse) Reset()
- func (x *ListAnywhereCachesResponse) String() string
- type ListFoldersRequest
- func (*ListFoldersRequest) Descriptor() ([]byte, []int)
- func (x *ListFoldersRequest) GetDelimiter() string
- func (x *ListFoldersRequest) GetLexicographicEnd() string
- func (x *ListFoldersRequest) GetLexicographicStart() string
- func (x *ListFoldersRequest) GetPageSize() int32
- func (x *ListFoldersRequest) GetPageToken() string
- func (x *ListFoldersRequest) GetParent() string
- func (x *ListFoldersRequest) GetPrefix() string
- func (x *ListFoldersRequest) GetRequestId() string
- func (*ListFoldersRequest) ProtoMessage()
- func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *ListFoldersRequest) Reset()
- func (x *ListFoldersRequest) String() string
- type ListFoldersResponse
- func (*ListFoldersResponse) Descriptor() ([]byte, []int)
- func (x *ListFoldersResponse) GetFolders() []*Folder
- func (x *ListFoldersResponse) GetNextPageToken() string
- func (*ListFoldersResponse) ProtoMessage()
- func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *ListFoldersResponse) Reset()
- func (x *ListFoldersResponse) String() string
- type ListManagedFoldersRequest
- func (*ListManagedFoldersRequest) Descriptor() ([]byte, []int)
- func (x *ListManagedFoldersRequest) GetPageSize() int32
- func (x *ListManagedFoldersRequest) GetPageToken() string
- func (x *ListManagedFoldersRequest) GetParent() string
- func (x *ListManagedFoldersRequest) GetPrefix() string
- func (x *ListManagedFoldersRequest) GetRequestId() string
- func (*ListManagedFoldersRequest) ProtoMessage()
- func (x *ListManagedFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *ListManagedFoldersRequest) Reset()
- func (x *ListManagedFoldersRequest) String() string
- type ListManagedFoldersResponse
- func (*ListManagedFoldersResponse) Descriptor() ([]byte, []int)
- func (x *ListManagedFoldersResponse) GetManagedFolders() []*ManagedFolder
- func (x *ListManagedFoldersResponse) GetNextPageToken() string
- func (*ListManagedFoldersResponse) ProtoMessage()
- func (x *ListManagedFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *ListManagedFoldersResponse) Reset()
- func (x *ListManagedFoldersResponse) String() string
- type ManagedFolder
- func (*ManagedFolder) Descriptor() ([]byte, []int)
- func (x *ManagedFolder) GetCreateTime() *timestamppb.Timestamp
- func (x *ManagedFolder) GetMetageneration() int64
- func (x *ManagedFolder) GetName() string
- func (x *ManagedFolder) GetUpdateTime() *timestamppb.Timestamp
- func (*ManagedFolder) ProtoMessage()
- func (x *ManagedFolder) ProtoReflect() protoreflect.Message
- func (x *ManagedFolder) Reset()
- func (x *ManagedFolder) String() string
- type PauseAnywhereCacheRequest
- func (*PauseAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *PauseAnywhereCacheRequest) GetName() string
- func (x *PauseAnywhereCacheRequest) GetRequestId() string
- func (*PauseAnywhereCacheRequest) ProtoMessage()
- func (x *PauseAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *PauseAnywhereCacheRequest) Reset()
- func (x *PauseAnywhereCacheRequest) String() string
- type PendingRenameInfo
- func (*PendingRenameInfo) Descriptor() ([]byte, []int)
- func (x *PendingRenameInfo) GetOperation() string
- func (*PendingRenameInfo) ProtoMessage()
- func (x *PendingRenameInfo) ProtoReflect() protoreflect.Message
- func (x *PendingRenameInfo) Reset()
- func (x *PendingRenameInfo) String() string
- type RenameFolderMetadata
- func (*RenameFolderMetadata) Descriptor() ([]byte, []int)
- func (x *RenameFolderMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
- func (x *RenameFolderMetadata) GetDestinationFolderId() string
- func (x *RenameFolderMetadata) GetSourceFolderId() string
- func (*RenameFolderMetadata) ProtoMessage()
- func (x *RenameFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *RenameFolderMetadata) Reset()
- func (x *RenameFolderMetadata) String() string
- type RenameFolderRequest
- func (*RenameFolderRequest) Descriptor() ([]byte, []int)
- func (x *RenameFolderRequest) GetDestinationFolderId() string
- func (x *RenameFolderRequest) GetIfMetagenerationMatch() int64
- func (x *RenameFolderRequest) GetIfMetagenerationNotMatch() int64
- func (x *RenameFolderRequest) GetName() string
- func (x *RenameFolderRequest) GetRequestId() string
- func (*RenameFolderRequest) ProtoMessage()
- func (x *RenameFolderRequest) ProtoReflect() protoreflect.Message
- func (x *RenameFolderRequest) Reset()
- func (x *RenameFolderRequest) String() string
- type ResumeAnywhereCacheRequest
- func (*ResumeAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *ResumeAnywhereCacheRequest) GetName() string
- func (x *ResumeAnywhereCacheRequest) GetRequestId() string
- func (*ResumeAnywhereCacheRequest) ProtoMessage()
- func (x *ResumeAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeAnywhereCacheRequest) Reset()
- func (x *ResumeAnywhereCacheRequest) String() string
- type StorageControlClient
- type StorageControlServer
- type StorageLayout
- func (*StorageLayout) Descriptor() ([]byte, []int)
- func (x *StorageLayout) GetCustomPlacementConfig() *StorageLayout_CustomPlacementConfig
- func (x *StorageLayout) GetHierarchicalNamespace() *StorageLayout_HierarchicalNamespace
- func (x *StorageLayout) GetLocation() string
- func (x *StorageLayout) GetLocationType() string
- func (x *StorageLayout) GetName() string
- func (*StorageLayout) ProtoMessage()
- func (x *StorageLayout) ProtoReflect() protoreflect.Message
- func (x *StorageLayout) Reset()
- func (x *StorageLayout) String() string
- type StorageLayout_CustomPlacementConfig
- func (*StorageLayout_CustomPlacementConfig) Descriptor() ([]byte, []int)
- func (x *StorageLayout_CustomPlacementConfig) GetDataLocations() []string
- func (*StorageLayout_CustomPlacementConfig) ProtoMessage()
- func (x *StorageLayout_CustomPlacementConfig) ProtoReflect() protoreflect.Message
- func (x *StorageLayout_CustomPlacementConfig) Reset()
- func (x *StorageLayout_CustomPlacementConfig) String() string
- type StorageLayout_HierarchicalNamespace
- func (*StorageLayout_HierarchicalNamespace) Descriptor() ([]byte, []int)
- func (x *StorageLayout_HierarchicalNamespace) GetEnabled() bool
- func (*StorageLayout_HierarchicalNamespace) ProtoMessage()
- func (x *StorageLayout_HierarchicalNamespace) ProtoReflect() protoreflect.Message
- func (x *StorageLayout_HierarchicalNamespace) Reset()
- func (x *StorageLayout_HierarchicalNamespace) String() string
- type UnimplementedStorageControlServer
- func (*UnimplementedStorageControlServer) CreateAnywhereCache(context.Context, *CreateAnywhereCacheRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedStorageControlServer) CreateFolder(context.Context, *CreateFolderRequest) (*Folder, error)
- func (*UnimplementedStorageControlServer) CreateManagedFolder(context.Context, *CreateManagedFolderRequest) (*ManagedFolder, error)
- func (*UnimplementedStorageControlServer) DeleteFolder(context.Context, *DeleteFolderRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageControlServer) DeleteManagedFolder(context.Context, *DeleteManagedFolderRequest) (*emptypb.Empty, error)
- func (*UnimplementedStorageControlServer) DisableAnywhereCache(context.Context, *DisableAnywhereCacheRequest) (*AnywhereCache, error)
- func (*UnimplementedStorageControlServer) GetAnywhereCache(context.Context, *GetAnywhereCacheRequest) (*AnywhereCache, error)
- func (*UnimplementedStorageControlServer) GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
- func (*UnimplementedStorageControlServer) GetFolderIntelligenceConfig(context.Context, *GetFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
- func (*UnimplementedStorageControlServer) GetManagedFolder(context.Context, *GetManagedFolderRequest) (*ManagedFolder, error)
- func (*UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig(context.Context, *GetOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
- func (*UnimplementedStorageControlServer) GetProjectIntelligenceConfig(context.Context, *GetProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
- func (*UnimplementedStorageControlServer) GetStorageLayout(context.Context, *GetStorageLayoutRequest) (*StorageLayout, error)
- func (*UnimplementedStorageControlServer) ListAnywhereCaches(context.Context, *ListAnywhereCachesRequest) (*ListAnywhereCachesResponse, error)
- func (*UnimplementedStorageControlServer) ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
- func (*UnimplementedStorageControlServer) ListManagedFolders(context.Context, *ListManagedFoldersRequest) (*ListManagedFoldersResponse, error)
- func (*UnimplementedStorageControlServer) PauseAnywhereCache(context.Context, *PauseAnywhereCacheRequest) (*AnywhereCache, error)
- func (*UnimplementedStorageControlServer) RenameFolder(context.Context, *RenameFolderRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedStorageControlServer) ResumeAnywhereCache(context.Context, *ResumeAnywhereCacheRequest) (*AnywhereCache, error)
- func (*UnimplementedStorageControlServer) UpdateAnywhereCache(context.Context, *UpdateAnywhereCacheRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig(context.Context, *UpdateFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
- func (*UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig(context.Context, *UpdateOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
- func (*UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig(context.Context, *UpdateProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
- type UpdateAnywhereCacheMetadata
- func (*UpdateAnywhereCacheMetadata) Descriptor() ([]byte, []int)
- func (x *UpdateAnywhereCacheMetadata) GetAdmissionPolicy() string
- func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() string
- func (x *UpdateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
- func (x *UpdateAnywhereCacheMetadata) GetTtl() *durationpb.Duration
- func (x *UpdateAnywhereCacheMetadata) GetZone() string
- func (*UpdateAnywhereCacheMetadata) ProtoMessage()
- func (x *UpdateAnywhereCacheMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateAnywhereCacheMetadata) Reset()
- func (x *UpdateAnywhereCacheMetadata) String() string
- type UpdateAnywhereCacheRequest
- func (*UpdateAnywhereCacheRequest) Descriptor() ([]byte, []int)
- func (x *UpdateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache
- func (x *UpdateAnywhereCacheRequest) GetRequestId() string
- func (x *UpdateAnywhereCacheRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAnywhereCacheRequest) ProtoMessage()
- func (x *UpdateAnywhereCacheRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAnywhereCacheRequest) Reset()
- func (x *UpdateAnywhereCacheRequest) String() string
- type UpdateFolderIntelligenceConfigRequest
- func (*UpdateFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
- func (x *UpdateFolderIntelligenceConfigRequest) GetRequestId() string
- func (x *UpdateFolderIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()
- func (x *UpdateFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFolderIntelligenceConfigRequest) Reset()
- func (x *UpdateFolderIntelligenceConfigRequest) String() string
- type UpdateOrganizationIntelligenceConfigRequest
- func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
- func (x *UpdateOrganizationIntelligenceConfigRequest) GetRequestId() string
- func (x *UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage()
- func (x *UpdateOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationIntelligenceConfigRequest) Reset()
- func (x *UpdateOrganizationIntelligenceConfigRequest) String() string
- type UpdateProjectIntelligenceConfigRequest
- func (*UpdateProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)
- func (x *UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
- func (x *UpdateProjectIntelligenceConfigRequest) GetRequestId() string
- func (x *UpdateProjectIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage()
- func (x *UpdateProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectIntelligenceConfigRequest) Reset()
- func (x *UpdateProjectIntelligenceConfigRequest) String() string
Variables ¶
var ( IntelligenceConfig_EditionConfig_name = map[int32]string{ 0: "EDITION_CONFIG_UNSPECIFIED", 1: "INHERIT", 2: "DISABLED", 3: "STANDARD", 5: "TRIAL", } IntelligenceConfig_EditionConfig_value = map[string]int32{ "EDITION_CONFIG_UNSPECIFIED": 0, "INHERIT": 1, "DISABLED": 2, "STANDARD": 3, "TRIAL": 5, } )
Enum value maps for IntelligenceConfig_EditionConfig.
var ( IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_name = map[int32]string{ 0: "EFFECTIVE_EDITION_UNSPECIFIED", 1: "NONE", 2: "STANDARD", } IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_value = map[string]int32{ "EFFECTIVE_EDITION_UNSPECIFIED": 0, "NONE": 1, "STANDARD": 2, } )
Enum value maps for IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.
var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptor
Functions ¶
func RegisterStorageControlServer ¶
func RegisterStorageControlServer(s *grpc.Server, srv StorageControlServer)
Types ¶
type AnywhereCache ¶
type AnywhereCache struct {
// Immutable. The resource name of this AnywhereCache.
// Format:
// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Immutable. The zone in which the cache instance is running. For example,
// us-central1-a.
Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
// Cache entry TTL (ranges between 1h to 7d). This is a cache-level config
// that defines how long a cache entry can live. Default ttl value (24hrs)
// is applied if not specified in the create request. TTL must be in whole
// seconds.
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
// Cache admission policy. Valid policies includes:
// `admit-on-first-miss` and `admit-on-second-miss`. Defaults to
// `admit-on-first-miss`. Default value is applied if not specified in the
// create request.
AdmissionPolicy string `protobuf:"bytes,9,opt,name=admission_policy,json=admissionPolicy,proto3" json:"admission_policy,omitempty"`
// Output only. Cache state including RUNNING, CREATING, DISABLED and PAUSED.
State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
// Output only. Time when Anywhere cache instance is allocated.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time when Anywhere cache instance is last updated, including
// creation.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. True if there is an active update operation against this cache
// instance. Subsequential update requests will be rejected if this field is
// true. Output only.
PendingUpdate bool `protobuf:"varint,8,opt,name=pending_update,json=pendingUpdate,proto3" json:"pending_update,omitempty"`
// contains filtered or unexported fields
}
An Anywhere Cache Instance.
func (*AnywhereCache) Descriptor ¶
func (*AnywhereCache) Descriptor() ([]byte, []int)
Deprecated: Use AnywhereCache.ProtoReflect.Descriptor instead.
func (*AnywhereCache) GetAdmissionPolicy ¶
func (x *AnywhereCache) GetAdmissionPolicy() string
func (*AnywhereCache) GetCreateTime ¶
func (x *AnywhereCache) GetCreateTime() *timestamppb.Timestamp
func (*AnywhereCache) GetName ¶
func (x *AnywhereCache) GetName() string
func (*AnywhereCache) GetPendingUpdate ¶
func (x *AnywhereCache) GetPendingUpdate() bool
func (*AnywhereCache) GetState ¶
func (x *AnywhereCache) GetState() string
func (*AnywhereCache) GetTtl ¶
func (x *AnywhereCache) GetTtl() *durationpb.Duration
func (*AnywhereCache) GetUpdateTime ¶
func (x *AnywhereCache) GetUpdateTime() *timestamppb.Timestamp
func (*AnywhereCache) GetZone ¶
func (x *AnywhereCache) GetZone() string
func (*AnywhereCache) ProtoMessage ¶
func (*AnywhereCache) ProtoMessage()
func (*AnywhereCache) ProtoReflect ¶
func (x *AnywhereCache) ProtoReflect() protoreflect.Message
func (*AnywhereCache) Reset ¶
func (x *AnywhereCache) Reset()
func (*AnywhereCache) String ¶
func (x *AnywhereCache) String() string
type CommonLongRunningOperationMetadata ¶
type CommonLongRunningOperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The time the operation was last modified.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. The type of operation invoked.
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// Output only. Identifies whether the user has requested cancellation.
RequestedCancellation bool `protobuf:"varint,5,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. The estimated progress of the operation in percentage [0,
// 100]. The value -1 means the progress is unknown.
ProgressPercent int32 `protobuf:"varint,6,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
// contains filtered or unexported fields
}
The message contains metadata that is common to all Storage Control long-running operations, present in its `google.longrunning.Operation` messages, and accessible via `metadata.common_metadata`.
func (*CommonLongRunningOperationMetadata) Descriptor ¶
func (*CommonLongRunningOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CommonLongRunningOperationMetadata.ProtoReflect.Descriptor instead.
func (*CommonLongRunningOperationMetadata) GetCreateTime ¶
func (x *CommonLongRunningOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CommonLongRunningOperationMetadata) GetEndTime ¶
func (x *CommonLongRunningOperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*CommonLongRunningOperationMetadata) GetProgressPercent ¶
func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32
func (*CommonLongRunningOperationMetadata) GetRequestedCancellation ¶
func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() bool
func (*CommonLongRunningOperationMetadata) GetType ¶
func (x *CommonLongRunningOperationMetadata) GetType() string
func (*CommonLongRunningOperationMetadata) GetUpdateTime ¶
func (x *CommonLongRunningOperationMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*CommonLongRunningOperationMetadata) ProtoMessage ¶
func (*CommonLongRunningOperationMetadata) ProtoMessage()
func (*CommonLongRunningOperationMetadata) ProtoReflect ¶
func (x *CommonLongRunningOperationMetadata) ProtoReflect() protoreflect.Message
func (*CommonLongRunningOperationMetadata) Reset ¶
func (x *CommonLongRunningOperationMetadata) Reset()
func (*CommonLongRunningOperationMetadata) String ¶
func (x *CommonLongRunningOperationMetadata) String() string
type CreateAnywhereCacheMetadata ¶
type CreateAnywhereCacheMetadata struct {
// Generic metadata for the long running operation.
CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
// Anywhere Cache ID.
AnywhereCacheId *string `protobuf:"bytes,2,opt,name=anywhere_cache_id,json=anywhereCacheId,proto3,oneof" json:"anywhere_cache_id,omitempty"`
// The zone in which the cache instance is running. For example,
// us-central1-a.
Zone *string `protobuf:"bytes,6,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
// Anywhere Cache entry's TTL. A cache-level config that is applied to all new
// cache entries on admission. Default ttl value (24hrs) is applied if not
// specified in the create request.
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"`
// Anywhere Cache entry Admission Policy in kebab-case (e.g.,
// "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is
// applied if not specified in the create request.
AdmissionPolicy *string `protobuf:"bytes,5,opt,name=admission_policy,json=admissionPolicy,proto3,oneof" json:"admission_policy,omitempty"`
// contains filtered or unexported fields
}
Message returned in the metadata field of the Operation resource for CreateAnywhereCache operations.
func (*CreateAnywhereCacheMetadata) Descriptor ¶
func (*CreateAnywhereCacheMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.
func (*CreateAnywhereCacheMetadata) GetAdmissionPolicy ¶
func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string
func (*CreateAnywhereCacheMetadata) GetAnywhereCacheId ¶
func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string
func (*CreateAnywhereCacheMetadata) GetCommonMetadata ¶
func (x *CreateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
func (*CreateAnywhereCacheMetadata) GetTtl ¶
func (x *CreateAnywhereCacheMetadata) GetTtl() *durationpb.Duration
func (*CreateAnywhereCacheMetadata) GetZone ¶
func (x *CreateAnywhereCacheMetadata) GetZone() string
func (*CreateAnywhereCacheMetadata) ProtoMessage ¶
func (*CreateAnywhereCacheMetadata) ProtoMessage()
func (*CreateAnywhereCacheMetadata) ProtoReflect ¶
func (x *CreateAnywhereCacheMetadata) ProtoReflect() protoreflect.Message
func (*CreateAnywhereCacheMetadata) Reset ¶
func (x *CreateAnywhereCacheMetadata) Reset()
func (*CreateAnywhereCacheMetadata) String ¶
func (x *CreateAnywhereCacheMetadata) String() string
type CreateAnywhereCacheRequest ¶
type CreateAnywhereCacheRequest struct {
// Required. The bucket to which this cache belongs.
// Format: `projects/{project}/buckets/{bucket}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Properties of the Anywhere Cache instance being created.
// The parent bucket name is specified in the `parent` field. Server uses the
// default value of `ttl` or `admission_policy` if not specified in
// request.
AnywhereCache *AnywhereCache `protobuf:"bytes,3,opt,name=anywhere_cache,json=anywhereCache,proto3" json:"anywhere_cache,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateAnywhereCache.
func (*CreateAnywhereCacheRequest) Descriptor ¶
func (*CreateAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*CreateAnywhereCacheRequest) GetAnywhereCache ¶
func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache
func (*CreateAnywhereCacheRequest) GetParent ¶
func (x *CreateAnywhereCacheRequest) GetParent() string
func (*CreateAnywhereCacheRequest) GetRequestId ¶
func (x *CreateAnywhereCacheRequest) GetRequestId() string
func (*CreateAnywhereCacheRequest) ProtoMessage ¶
func (*CreateAnywhereCacheRequest) ProtoMessage()
func (*CreateAnywhereCacheRequest) ProtoReflect ¶
func (x *CreateAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*CreateAnywhereCacheRequest) Reset ¶
func (x *CreateAnywhereCacheRequest) Reset()
func (*CreateAnywhereCacheRequest) String ¶
func (x *CreateAnywhereCacheRequest) String() string
type CreateFolderRequest ¶
type CreateFolderRequest struct {
// Required. Name of the bucket in which the folder will reside. The bucket
// must be a hierarchical namespace enabled bucket.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Properties of the new folder being created.
// The bucket and name of the folder are specified in the parent and folder_id
// fields, respectively. Populating those fields in `folder` will result in an
// error.
Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
// Required. The full name of a folder, including all its parent folders.
// Folders use single '/' characters as a delimiter.
// The folder_id must end with a slash.
// For example, the folder_id of "books/biographies/" would create a new
// "biographies/" folder under the "books/" folder.
FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
// Optional. If true, parent folder doesn't have to be present and all missing
// ancestor folders will be created atomically.
Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
func (*CreateFolderRequest) Descriptor ¶
func (*CreateFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.
func (*CreateFolderRequest) GetFolder ¶
func (x *CreateFolderRequest) GetFolder() *Folder
func (*CreateFolderRequest) GetFolderId ¶
func (x *CreateFolderRequest) GetFolderId() string
func (*CreateFolderRequest) GetParent ¶
func (x *CreateFolderRequest) GetParent() string
func (*CreateFolderRequest) GetRecursive ¶
func (x *CreateFolderRequest) GetRecursive() bool
func (*CreateFolderRequest) GetRequestId ¶
func (x *CreateFolderRequest) GetRequestId() string
func (*CreateFolderRequest) ProtoMessage ¶
func (*CreateFolderRequest) ProtoMessage()
func (*CreateFolderRequest) ProtoReflect ¶
func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
func (*CreateFolderRequest) Reset ¶
func (x *CreateFolderRequest) Reset()
func (*CreateFolderRequest) String ¶
func (x *CreateFolderRequest) String() string
type CreateManagedFolderRequest ¶
type CreateManagedFolderRequest struct {
// Required. Name of the bucket this managed folder belongs to.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Properties of the managed folder being created.
// The bucket and managed folder names are specified in the `parent` and
// `managed_folder_id` fields. Populating these fields in `managed_folder`
// will result in an error.
ManagedFolder *ManagedFolder `protobuf:"bytes,2,opt,name=managed_folder,json=managedFolder,proto3" json:"managed_folder,omitempty"`
// Required. The name of the managed folder. It uses a single `/` as delimiter
// and leading and trailing `/` are allowed.
ManagedFolderId string `protobuf:"bytes,3,opt,name=managed_folder_id,json=managedFolderId,proto3" json:"managed_folder_id,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for CreateManagedFolder.
func (*CreateManagedFolderRequest) Descriptor ¶
func (*CreateManagedFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateManagedFolderRequest.ProtoReflect.Descriptor instead.
func (*CreateManagedFolderRequest) GetManagedFolder ¶
func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder
func (*CreateManagedFolderRequest) GetManagedFolderId ¶
func (x *CreateManagedFolderRequest) GetManagedFolderId() string
func (*CreateManagedFolderRequest) GetParent ¶
func (x *CreateManagedFolderRequest) GetParent() string
func (*CreateManagedFolderRequest) GetRequestId ¶
func (x *CreateManagedFolderRequest) GetRequestId() string
func (*CreateManagedFolderRequest) ProtoMessage ¶
func (*CreateManagedFolderRequest) ProtoMessage()
func (*CreateManagedFolderRequest) ProtoReflect ¶
func (x *CreateManagedFolderRequest) ProtoReflect() protoreflect.Message
func (*CreateManagedFolderRequest) Reset ¶
func (x *CreateManagedFolderRequest) Reset()
func (*CreateManagedFolderRequest) String ¶
func (x *CreateManagedFolderRequest) String() string
type DeleteFolderRequest ¶
type DeleteFolderRequest struct {
// Required. Name of the folder.
// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Makes the operation only succeed conditional on whether the folder's
// current metageneration matches the given value.
IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
// Makes the operation only succeed conditional on whether the folder's
// current metageneration does not match the given value.
IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for DeleteFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
func (*DeleteFolderRequest) Descriptor ¶
func (*DeleteFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.
func (*DeleteFolderRequest) GetIfMetagenerationMatch ¶
func (x *DeleteFolderRequest) GetIfMetagenerationMatch() int64
func (*DeleteFolderRequest) GetIfMetagenerationNotMatch ¶
func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64
func (*DeleteFolderRequest) GetName ¶
func (x *DeleteFolderRequest) GetName() string
func (*DeleteFolderRequest) GetRequestId ¶
func (x *DeleteFolderRequest) GetRequestId() string
func (*DeleteFolderRequest) ProtoMessage ¶
func (*DeleteFolderRequest) ProtoMessage()
func (*DeleteFolderRequest) ProtoReflect ¶
func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message
func (*DeleteFolderRequest) Reset ¶
func (x *DeleteFolderRequest) Reset()
func (*DeleteFolderRequest) String ¶
func (x *DeleteFolderRequest) String() string
type DeleteManagedFolderRequest ¶
type DeleteManagedFolderRequest struct {
// Required. Name of the managed folder.
// Format:
// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// The operation succeeds conditional on the managed folder's current
// metageneration matching the value here specified.
IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
// The operation succeeds conditional on the managed folder's current
// metageneration NOT matching the value here specified.
IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
// Allows deletion of a managed folder even if it is not empty.
// A managed folder is empty if it manages no child managed folders or
// objects. Caller must have permission for
// storage.managedFolders.setIamPolicy.
AllowNonEmpty bool `protobuf:"varint,5,opt,name=allow_non_empty,json=allowNonEmpty,proto3" json:"allow_non_empty,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
DeleteManagedFolder RPC request message.
func (*DeleteManagedFolderRequest) Descriptor ¶
func (*DeleteManagedFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManagedFolderRequest.ProtoReflect.Descriptor instead.
func (*DeleteManagedFolderRequest) GetAllowNonEmpty ¶
func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool
func (*DeleteManagedFolderRequest) GetIfMetagenerationMatch ¶
func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64
func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch ¶
func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64
func (*DeleteManagedFolderRequest) GetName ¶
func (x *DeleteManagedFolderRequest) GetName() string
func (*DeleteManagedFolderRequest) GetRequestId ¶
func (x *DeleteManagedFolderRequest) GetRequestId() string
func (*DeleteManagedFolderRequest) ProtoMessage ¶
func (*DeleteManagedFolderRequest) ProtoMessage()
func (*DeleteManagedFolderRequest) ProtoReflect ¶
func (x *DeleteManagedFolderRequest) ProtoReflect() protoreflect.Message
func (*DeleteManagedFolderRequest) Reset ¶
func (x *DeleteManagedFolderRequest) Reset()
func (*DeleteManagedFolderRequest) String ¶
func (x *DeleteManagedFolderRequest) String() string
type DisableAnywhereCacheRequest ¶
type DisableAnywhereCacheRequest struct {
// Required. The name field in the request should be:
// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for DisableAnywhereCache.
func (*DisableAnywhereCacheRequest) Descriptor ¶
func (*DisableAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*DisableAnywhereCacheRequest) GetName ¶
func (x *DisableAnywhereCacheRequest) GetName() string
func (*DisableAnywhereCacheRequest) GetRequestId ¶
func (x *DisableAnywhereCacheRequest) GetRequestId() string
func (*DisableAnywhereCacheRequest) ProtoMessage ¶
func (*DisableAnywhereCacheRequest) ProtoMessage()
func (*DisableAnywhereCacheRequest) ProtoReflect ¶
func (x *DisableAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*DisableAnywhereCacheRequest) Reset ¶
func (x *DisableAnywhereCacheRequest) Reset()
func (*DisableAnywhereCacheRequest) String ¶
func (x *DisableAnywhereCacheRequest) String() string
type Folder ¶
type Folder struct {
// Identifier. The name of this folder.
// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The version of the metadata for this folder. Used for
// preconditions and for detecting changes in metadata.
Metageneration int64 `protobuf:"varint,3,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
// Output only. The creation time of the folder.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The modification time of the folder.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. Only present if the folder is part of an ongoing RenameFolder
// operation. Contains information which can be used to query the operation
// status. The presence of this field also indicates all write operations are
// blocked for this folder, including folder, managed folder, and object
// operations.
PendingRenameInfo *PendingRenameInfo `protobuf:"bytes,7,opt,name=pending_rename_info,json=pendingRenameInfo,proto3" json:"pending_rename_info,omitempty"`
// contains filtered or unexported fields
}
A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.
func (*Folder) Descriptor ¶
Deprecated: Use Folder.ProtoReflect.Descriptor instead.
func (*Folder) GetCreateTime ¶
func (x *Folder) GetCreateTime() *timestamppb.Timestamp
func (*Folder) GetMetageneration ¶
func (*Folder) GetName ¶
func (*Folder) GetPendingRenameInfo ¶
func (x *Folder) GetPendingRenameInfo() *PendingRenameInfo
func (*Folder) GetUpdateTime ¶
func (x *Folder) GetUpdateTime() *timestamppb.Timestamp
func (*Folder) ProtoMessage ¶
func (*Folder) ProtoMessage()
func (*Folder) ProtoReflect ¶
func (x *Folder) ProtoReflect() protoreflect.Message
func (*Folder) Reset ¶
func (x *Folder) Reset()
func (*Folder) String ¶
type GetAnywhereCacheRequest ¶
type GetAnywhereCacheRequest struct {
// Required. The name field in the request should be:
// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for GetAnywhereCache.
func (*GetAnywhereCacheRequest) Descriptor ¶
func (*GetAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*GetAnywhereCacheRequest) GetName ¶
func (x *GetAnywhereCacheRequest) GetName() string
func (*GetAnywhereCacheRequest) GetRequestId ¶
func (x *GetAnywhereCacheRequest) GetRequestId() string
func (*GetAnywhereCacheRequest) ProtoMessage ¶
func (*GetAnywhereCacheRequest) ProtoMessage()
func (*GetAnywhereCacheRequest) ProtoReflect ¶
func (x *GetAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*GetAnywhereCacheRequest) Reset ¶
func (x *GetAnywhereCacheRequest) Reset()
func (*GetAnywhereCacheRequest) String ¶
func (x *GetAnywhereCacheRequest) String() string
type GetFolderIntelligenceConfigRequest ¶
type GetFolderIntelligenceConfigRequest struct {
// Required. The name of the `IntelligenceConfig` resource associated with
// your folder.
//
// Format: `folders/{id}/locations/global/intelligenceConfig`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message to get the `IntelligenceConfig` resource associated with your folder.
**IAM Permissions**
Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.
func (*GetFolderIntelligenceConfigRequest) Descriptor ¶
func (*GetFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetFolderIntelligenceConfigRequest) GetName ¶
func (x *GetFolderIntelligenceConfigRequest) GetName() string
func (*GetFolderIntelligenceConfigRequest) ProtoMessage ¶
func (*GetFolderIntelligenceConfigRequest) ProtoMessage()
func (*GetFolderIntelligenceConfigRequest) ProtoReflect ¶
func (x *GetFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetFolderIntelligenceConfigRequest) Reset ¶
func (x *GetFolderIntelligenceConfigRequest) Reset()
func (*GetFolderIntelligenceConfigRequest) String ¶
func (x *GetFolderIntelligenceConfigRequest) String() string
type GetFolderRequest ¶
type GetFolderRequest struct {
// Required. Name of the folder.
// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Makes the operation only succeed conditional on whether the folder's
// current metageneration matches the given value.
IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
// Makes the operation only succeed conditional on whether the folder's
// current metageneration does not match the given value.
IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for GetFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
func (*GetFolderRequest) Descriptor ¶
func (*GetFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.
func (*GetFolderRequest) GetIfMetagenerationMatch ¶
func (x *GetFolderRequest) GetIfMetagenerationMatch() int64
func (*GetFolderRequest) GetIfMetagenerationNotMatch ¶
func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64
func (*GetFolderRequest) GetName ¶
func (x *GetFolderRequest) GetName() string
func (*GetFolderRequest) GetRequestId ¶
func (x *GetFolderRequest) GetRequestId() string
func (*GetFolderRequest) ProtoMessage ¶
func (*GetFolderRequest) ProtoMessage()
func (*GetFolderRequest) ProtoReflect ¶
func (x *GetFolderRequest) ProtoReflect() protoreflect.Message
func (*GetFolderRequest) Reset ¶
func (x *GetFolderRequest) Reset()
func (*GetFolderRequest) String ¶
func (x *GetFolderRequest) String() string
type GetManagedFolderRequest ¶
type GetManagedFolderRequest struct {
// Required. Name of the managed folder.
// Format:
// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// The operation succeeds conditional on the managed folder's current
// metageneration matching the value here specified.
IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
// The operation succeeds conditional on the managed folder's current
// metageneration NOT matching the value here specified.
IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for GetManagedFolder.
func (*GetManagedFolderRequest) Descriptor ¶
func (*GetManagedFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManagedFolderRequest.ProtoReflect.Descriptor instead.
func (*GetManagedFolderRequest) GetIfMetagenerationMatch ¶
func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64
func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch ¶
func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64
func (*GetManagedFolderRequest) GetName ¶
func (x *GetManagedFolderRequest) GetName() string
func (*GetManagedFolderRequest) GetRequestId ¶
func (x *GetManagedFolderRequest) GetRequestId() string
func (*GetManagedFolderRequest) ProtoMessage ¶
func (*GetManagedFolderRequest) ProtoMessage()
func (*GetManagedFolderRequest) ProtoReflect ¶
func (x *GetManagedFolderRequest) ProtoReflect() protoreflect.Message
func (*GetManagedFolderRequest) Reset ¶
func (x *GetManagedFolderRequest) Reset()
func (*GetManagedFolderRequest) String ¶
func (x *GetManagedFolderRequest) String() string
type GetOrganizationIntelligenceConfigRequest ¶
type GetOrganizationIntelligenceConfigRequest struct {
// Required. The name of the `IntelligenceConfig` resource associated with
// your organization.
//
// Format: `organizations/{org_id}/locations/global/intelligenceConfig`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message to get the `IntelligenceConfig` resource associated with your organization.
**IAM Permissions**
Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.
func (*GetOrganizationIntelligenceConfigRequest) Descriptor ¶
func (*GetOrganizationIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationIntelligenceConfigRequest) GetName ¶
func (x *GetOrganizationIntelligenceConfigRequest) GetName() string
func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage ¶
func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage()
func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect ¶
func (x *GetOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationIntelligenceConfigRequest) Reset ¶
func (x *GetOrganizationIntelligenceConfigRequest) Reset()
func (*GetOrganizationIntelligenceConfigRequest) String ¶
func (x *GetOrganizationIntelligenceConfigRequest) String() string
type GetProjectIntelligenceConfigRequest ¶
type GetProjectIntelligenceConfigRequest struct {
// Required. The name of the `IntelligenceConfig` resource associated with
// your project.
//
// Format: `projects/{id}/locations/global/intelligenceConfig`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message to get the `IntelligenceConfig` resource associated with your project.
**IAM Permissions**:
Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the project.
func (*GetProjectIntelligenceConfigRequest) Descriptor ¶
func (*GetProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*GetProjectIntelligenceConfigRequest) GetName ¶
func (x *GetProjectIntelligenceConfigRequest) GetName() string
func (*GetProjectIntelligenceConfigRequest) ProtoMessage ¶
func (*GetProjectIntelligenceConfigRequest) ProtoMessage()
func (*GetProjectIntelligenceConfigRequest) ProtoReflect ¶
func (x *GetProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*GetProjectIntelligenceConfigRequest) Reset ¶
func (x *GetProjectIntelligenceConfigRequest) Reset()
func (*GetProjectIntelligenceConfigRequest) String ¶
func (x *GetProjectIntelligenceConfigRequest) String() string
type GetStorageLayoutRequest ¶
type GetStorageLayoutRequest struct {
// Required. The name of the StorageLayout resource.
// Format: `projects/{project}/buckets/{bucket}/storageLayout`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An optional prefix used for permission check. It is useful when the caller
// only has limited permissions under a specific prefix.
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for GetStorageLayout.
func (*GetStorageLayoutRequest) Descriptor ¶
func (*GetStorageLayoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStorageLayoutRequest.ProtoReflect.Descriptor instead.
func (*GetStorageLayoutRequest) GetName ¶
func (x *GetStorageLayoutRequest) GetName() string
func (*GetStorageLayoutRequest) GetPrefix ¶
func (x *GetStorageLayoutRequest) GetPrefix() string
func (*GetStorageLayoutRequest) GetRequestId ¶
func (x *GetStorageLayoutRequest) GetRequestId() string
func (*GetStorageLayoutRequest) ProtoMessage ¶
func (*GetStorageLayoutRequest) ProtoMessage()
func (*GetStorageLayoutRequest) ProtoReflect ¶
func (x *GetStorageLayoutRequest) ProtoReflect() protoreflect.Message
func (*GetStorageLayoutRequest) Reset ¶
func (x *GetStorageLayoutRequest) Reset()
func (*GetStorageLayoutRequest) String ¶
func (x *GetStorageLayoutRequest) String() string
type IntelligenceConfig ¶
type IntelligenceConfig struct {
// Identifier. The name of the `IntelligenceConfig` resource associated with
// your organization, folder, or project.
//
// The name format varies based on the GCP resource hierarchy as follows:
//
// * For project:
// `projects/{project_number}/locations/global/intelligenceConfig`
// * For organization:
// `organizations/{org_id}/locations/global/intelligenceConfig`
// * For folder: `folders/{folder_id}/locations/global/intelligenceConfig`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The edition configuration of the `IntelligenceConfig` resource.
EditionConfig IntelligenceConfig_EditionConfig `protobuf:"varint,2,opt,name=edition_config,json=editionConfig,proto3,enum=google.storage.control.v2.IntelligenceConfig_EditionConfig" json:"edition_config,omitempty"`
// Output only. The time at which the `IntelligenceConfig` resource is last
// updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Filter over location and bucket.
Filter *IntelligenceConfig_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Output only. The `IntelligenceConfig` resource that is applicable for the
// resource.
EffectiveIntelligenceConfig *IntelligenceConfig_EffectiveIntelligenceConfig `protobuf:"bytes,5,opt,name=effective_intelligence_config,json=effectiveIntelligenceConfig,proto3" json:"effective_intelligence_config,omitempty"`
// The trial configuration of the `IntelligenceConfig` resource.
TrialConfig *IntelligenceConfig_TrialConfig `protobuf:"bytes,7,opt,name=trial_config,json=trialConfig,proto3" json:"trial_config,omitempty"`
// contains filtered or unexported fields
}
The `IntelligenceConfig` resource associated with your organization, folder, or project.
func (*IntelligenceConfig) Descriptor ¶
func (*IntelligenceConfig) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig) GetEditionConfig ¶
func (x *IntelligenceConfig) GetEditionConfig() IntelligenceConfig_EditionConfig
func (*IntelligenceConfig) GetEffectiveIntelligenceConfig ¶
func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig
func (*IntelligenceConfig) GetFilter ¶
func (x *IntelligenceConfig) GetFilter() *IntelligenceConfig_Filter
func (*IntelligenceConfig) GetName ¶
func (x *IntelligenceConfig) GetName() string
func (*IntelligenceConfig) GetTrialConfig ¶
func (x *IntelligenceConfig) GetTrialConfig() *IntelligenceConfig_TrialConfig
func (*IntelligenceConfig) GetUpdateTime ¶
func (x *IntelligenceConfig) GetUpdateTime() *timestamppb.Timestamp
func (*IntelligenceConfig) ProtoMessage ¶
func (*IntelligenceConfig) ProtoMessage()
func (*IntelligenceConfig) ProtoReflect ¶
func (x *IntelligenceConfig) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig) Reset ¶
func (x *IntelligenceConfig) Reset()
func (*IntelligenceConfig) String ¶
func (x *IntelligenceConfig) String() string
type IntelligenceConfig_EditionConfig ¶
type IntelligenceConfig_EditionConfig int32
The edition configuration of the `IntelligenceConfig` resource. This signifies the edition used for configuring the `IntelligenceConfig` resource and can only take the following values: `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and `TRIAL`.
const ( // This is an unknown edition of the resource. IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED IntelligenceConfig_EditionConfig = 0 // The inherited edition from the parent and filters. This is the default // edition when there is no `IntelligenceConfig` setup for a GCP resource. IntelligenceConfig_INHERIT IntelligenceConfig_EditionConfig = 1 // The edition configuration is disabled for the `IntelligenceConfig` // resource and its children. Filters are not applicable. IntelligenceConfig_DISABLED IntelligenceConfig_EditionConfig = 2 // The `IntelligenceConfig` resource is of STANDARD edition. IntelligenceConfig_STANDARD IntelligenceConfig_EditionConfig = 3 // The `IntelligenceConfig` resource is available in `TRIAL` edition. During // the trial period, Cloud Storage does not charge for Storage Intelligence // usage. You can specify the buckets to include in the trial period by // using filters. At the end of the trial period, the `IntelligenceConfig` // resource is upgraded to `STANDARD` edition. IntelligenceConfig_TRIAL IntelligenceConfig_EditionConfig = 5 )
func (IntelligenceConfig_EditionConfig) Descriptor ¶
func (IntelligenceConfig_EditionConfig) Descriptor() protoreflect.EnumDescriptor
func (IntelligenceConfig_EditionConfig) Enum ¶
func (x IntelligenceConfig_EditionConfig) Enum() *IntelligenceConfig_EditionConfig
func (IntelligenceConfig_EditionConfig) EnumDescriptor ¶
func (IntelligenceConfig_EditionConfig) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_EditionConfig.Descriptor instead.
func (IntelligenceConfig_EditionConfig) Number ¶
func (x IntelligenceConfig_EditionConfig) Number() protoreflect.EnumNumber
func (IntelligenceConfig_EditionConfig) String ¶
func (x IntelligenceConfig_EditionConfig) String() string
func (IntelligenceConfig_EditionConfig) Type ¶
func (IntelligenceConfig_EditionConfig) Type() protoreflect.EnumType
type IntelligenceConfig_EffectiveIntelligenceConfig ¶
type IntelligenceConfig_EffectiveIntelligenceConfig struct {
// Output only. The `IntelligenceConfig` edition that is applicable for the
// resource.
EffectiveEdition IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition `protobuf:"varint,1,opt,name=effective_edition,json=effectiveEdition,proto3,enum=google.storage.control.v2.IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition" json:"effective_edition,omitempty"`
// Output only. The `IntelligenceConfig` resource that is applied for the
// target resource. Format:
// `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig`
IntelligenceConfig string `protobuf:"bytes,2,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
// contains filtered or unexported fields
}
The effective `IntelligenceConfig` for the resource.
func (*IntelligenceConfig_EffectiveIntelligenceConfig) Descriptor ¶
func (*IntelligenceConfig_EffectiveIntelligenceConfig) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition ¶
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition() IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig ¶
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string
func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage ¶
func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage()
func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect ¶
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset ¶
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) Reset()
func (*IntelligenceConfig_EffectiveIntelligenceConfig) String ¶
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) String() string
type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition ¶
type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32
The effective edition of the `IntelligenceConfig` resource.
const ( // This is an unknown edition of the resource. IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 0 // No edition. IntelligenceConfig_EffectiveIntelligenceConfig_NONE IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 1 // The `IntelligenceConfig` resource is of STANDARD edition. IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 2 )
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor ¶
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor() protoreflect.EnumDescriptor
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum ¶
func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum() *IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor ¶
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.Descriptor instead.
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number ¶
func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number() protoreflect.EnumNumber
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String ¶
func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String() string
func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Type ¶
type IntelligenceConfig_Filter ¶
type IntelligenceConfig_Filter struct {
// Bucket locations to include or exclude.
//
// Types that are assignable to CloudStorageLocations:
//
// *IntelligenceConfig_Filter_IncludedCloudStorageLocations
// *IntelligenceConfig_Filter_ExcludedCloudStorageLocations
CloudStorageLocations isIntelligenceConfig_Filter_CloudStorageLocations `protobuf_oneof:"cloud_storage_locations"`
// Buckets to include or exclude.
//
// Types that are assignable to CloudStorageBuckets:
//
// *IntelligenceConfig_Filter_IncludedCloudStorageBuckets
// *IntelligenceConfig_Filter_ExcludedCloudStorageBuckets
CloudStorageBuckets isIntelligenceConfig_Filter_CloudStorageBuckets `protobuf_oneof:"cloud_storage_buckets"`
// contains filtered or unexported fields
}
Filter over location and bucket using include or exclude semantics. Resources that match the include or exclude filter are exclusively included or excluded from the Storage Intelligence plan.
func (*IntelligenceConfig_Filter) Descriptor ¶
func (*IntelligenceConfig_Filter) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_Filter.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig_Filter) GetCloudStorageBuckets ¶
func (m *IntelligenceConfig_Filter) GetCloudStorageBuckets() isIntelligenceConfig_Filter_CloudStorageBuckets
func (*IntelligenceConfig_Filter) GetCloudStorageLocations ¶
func (m *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocations
func (*IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets ¶
func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets
func (*IntelligenceConfig_Filter) GetExcludedCloudStorageLocations ¶
func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations
func (*IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets ¶
func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets
func (*IntelligenceConfig_Filter) GetIncludedCloudStorageLocations ¶
func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations
func (*IntelligenceConfig_Filter) ProtoMessage ¶
func (*IntelligenceConfig_Filter) ProtoMessage()
func (*IntelligenceConfig_Filter) ProtoReflect ¶
func (x *IntelligenceConfig_Filter) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig_Filter) Reset ¶
func (x *IntelligenceConfig_Filter) Reset()
func (*IntelligenceConfig_Filter) String ¶
func (x *IntelligenceConfig_Filter) String() string
type IntelligenceConfig_Filter_CloudStorageBuckets ¶
type IntelligenceConfig_Filter_CloudStorageBuckets struct {
// Optional. A regex pattern for matching bucket names. Regex should
// follow the syntax specified in
// [google/re2](https://github.com/google/re2). For example,
// `^sample_.*` matches all buckets of the form
// `gs://sample_bucket-1`, `gs://sample_bucket-2`,
// `gs://sample_bucket-n` but not `gs://test_sample_bucket`.
// If you want to match a single bucket, say `gs://sample_bucket`,
// use `sample_bucket`.
BucketIdRegexes []string `protobuf:"bytes,1,rep,name=bucket_id_regexes,json=bucketIdRegexes,proto3" json:"bucket_id_regexes,omitempty"`
// contains filtered or unexported fields
}
Collection of buckets.
func (*IntelligenceConfig_Filter_CloudStorageBuckets) Descriptor ¶
func (*IntelligenceConfig_Filter_CloudStorageBuckets) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_Filter_CloudStorageBuckets.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes ¶
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes() []string
func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage ¶
func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage()
func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect ¶
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig_Filter_CloudStorageBuckets) Reset ¶
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) Reset()
func (*IntelligenceConfig_Filter_CloudStorageBuckets) String ¶
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) String() string
type IntelligenceConfig_Filter_CloudStorageLocations ¶
type IntelligenceConfig_Filter_CloudStorageLocations struct {
// Optional. Bucket locations. Location can be any of the Cloud Storage
// regions specified in lower case format. For example, `us-east1`,
// `us-west1`.
Locations []string `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
Collection of bucket locations.
func (*IntelligenceConfig_Filter_CloudStorageLocations) Descriptor ¶
func (*IntelligenceConfig_Filter_CloudStorageLocations) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_Filter_CloudStorageLocations.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig_Filter_CloudStorageLocations) GetLocations ¶
func (x *IntelligenceConfig_Filter_CloudStorageLocations) GetLocations() []string
func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage ¶
func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage()
func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect ¶
func (x *IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig_Filter_CloudStorageLocations) Reset ¶
func (x *IntelligenceConfig_Filter_CloudStorageLocations) Reset()
func (*IntelligenceConfig_Filter_CloudStorageLocations) String ¶
func (x *IntelligenceConfig_Filter_CloudStorageLocations) String() string
type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets ¶
type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets struct {
// Buckets to exclude.
ExcludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,4,opt,name=excluded_cloud_storage_buckets,json=excludedCloudStorageBuckets,proto3,oneof"`
}
type IntelligenceConfig_Filter_ExcludedCloudStorageLocations ¶
type IntelligenceConfig_Filter_ExcludedCloudStorageLocations struct {
// Bucket locations to exclude.
ExcludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,2,opt,name=excluded_cloud_storage_locations,json=excludedCloudStorageLocations,proto3,oneof"`
}
type IntelligenceConfig_Filter_IncludedCloudStorageBuckets ¶
type IntelligenceConfig_Filter_IncludedCloudStorageBuckets struct {
// Buckets to include.
IncludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,3,opt,name=included_cloud_storage_buckets,json=includedCloudStorageBuckets,proto3,oneof"`
}
type IntelligenceConfig_Filter_IncludedCloudStorageLocations ¶
type IntelligenceConfig_Filter_IncludedCloudStorageLocations struct {
// Bucket locations to include.
IncludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,1,opt,name=included_cloud_storage_locations,json=includedCloudStorageLocations,proto3,oneof"`
}
type IntelligenceConfig_TrialConfig ¶
type IntelligenceConfig_TrialConfig struct {
// Output only. The time at which the trial expires.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
The trial configuration of the `IntelligenceConfig` resource.
func (*IntelligenceConfig_TrialConfig) Descriptor ¶
func (*IntelligenceConfig_TrialConfig) Descriptor() ([]byte, []int)
Deprecated: Use IntelligenceConfig_TrialConfig.ProtoReflect.Descriptor instead.
func (*IntelligenceConfig_TrialConfig) GetExpireTime ¶
func (x *IntelligenceConfig_TrialConfig) GetExpireTime() *timestamppb.Timestamp
func (*IntelligenceConfig_TrialConfig) ProtoMessage ¶
func (*IntelligenceConfig_TrialConfig) ProtoMessage()
func (*IntelligenceConfig_TrialConfig) ProtoReflect ¶
func (x *IntelligenceConfig_TrialConfig) ProtoReflect() protoreflect.Message
func (*IntelligenceConfig_TrialConfig) Reset ¶
func (x *IntelligenceConfig_TrialConfig) Reset()
func (*IntelligenceConfig_TrialConfig) String ¶
func (x *IntelligenceConfig_TrialConfig) String() string
type ListAnywhereCachesRequest ¶
type ListAnywhereCachesRequest struct {
// Required. The bucket to which this cache belongs.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Maximum number of caches to return in a single response.
// The service will use this parameter or 1,000 items, whichever is smaller.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A previously-returned page token representing part of the larger set of
// results to view.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for ListAnywhereCaches.
func (*ListAnywhereCachesRequest) Descriptor ¶
func (*ListAnywhereCachesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnywhereCachesRequest.ProtoReflect.Descriptor instead.
func (*ListAnywhereCachesRequest) GetPageSize ¶
func (x *ListAnywhereCachesRequest) GetPageSize() int32
func (*ListAnywhereCachesRequest) GetPageToken ¶
func (x *ListAnywhereCachesRequest) GetPageToken() string
func (*ListAnywhereCachesRequest) GetParent ¶
func (x *ListAnywhereCachesRequest) GetParent() string
func (*ListAnywhereCachesRequest) GetRequestId ¶
func (x *ListAnywhereCachesRequest) GetRequestId() string
func (*ListAnywhereCachesRequest) ProtoMessage ¶
func (*ListAnywhereCachesRequest) ProtoMessage()
func (*ListAnywhereCachesRequest) ProtoReflect ¶
func (x *ListAnywhereCachesRequest) ProtoReflect() protoreflect.Message
func (*ListAnywhereCachesRequest) Reset ¶
func (x *ListAnywhereCachesRequest) Reset()
func (*ListAnywhereCachesRequest) String ¶
func (x *ListAnywhereCachesRequest) String() string
type ListAnywhereCachesResponse ¶
type ListAnywhereCachesResponse struct {
// The list of items.
AnywhereCaches []*AnywhereCache `protobuf:"bytes,1,rep,name=anywhere_caches,json=anywhereCaches,proto3" json:"anywhere_caches,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListAnywhereCaches.
func (*ListAnywhereCachesResponse) Descriptor ¶
func (*ListAnywhereCachesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnywhereCachesResponse.ProtoReflect.Descriptor instead.
func (*ListAnywhereCachesResponse) GetAnywhereCaches ¶
func (x *ListAnywhereCachesResponse) GetAnywhereCaches() []*AnywhereCache
func (*ListAnywhereCachesResponse) GetNextPageToken ¶
func (x *ListAnywhereCachesResponse) GetNextPageToken() string
func (*ListAnywhereCachesResponse) ProtoMessage ¶
func (*ListAnywhereCachesResponse) ProtoMessage()
func (*ListAnywhereCachesResponse) ProtoReflect ¶
func (x *ListAnywhereCachesResponse) ProtoReflect() protoreflect.Message
func (*ListAnywhereCachesResponse) Reset ¶
func (x *ListAnywhereCachesResponse) Reset()
func (*ListAnywhereCachesResponse) String ¶
func (x *ListAnywhereCachesResponse) String() string
type ListFoldersRequest ¶
type ListFoldersRequest struct {
// Required. Name of the bucket in which to look for folders. The bucket must
// be a hierarchical namespace enabled bucket.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of folders to return in a single response. The
// service will use this parameter or 1,000 items, whichever is smaller.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A previously-returned page token representing part of the larger
// set of results to view.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter results to folders whose names begin with this prefix.
// If set, the value must either be an empty string or end with a '/'.
Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
// Optional. If set, returns results in a directory-like mode. The results
// will only include folders that either exactly match the above prefix, or
// are one level below the prefix. The only supported value is '/'.
Delimiter string `protobuf:"bytes,8,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
// Optional. Filter results to folders whose names are lexicographically equal
// to or after lexicographic_start. If lexicographic_end is also set, the
// folders listed have names between lexicographic_start (inclusive) and
// lexicographic_end (exclusive).
LexicographicStart string `protobuf:"bytes,6,opt,name=lexicographic_start,json=lexicographicStart,proto3" json:"lexicographic_start,omitempty"`
// Optional. Filter results to folders whose names are lexicographically
// before lexicographic_end. If lexicographic_start is also set, the folders
// listed have names between lexicographic_start (inclusive) and
// lexicographic_end (exclusive).
LexicographicEnd string `protobuf:"bytes,7,opt,name=lexicographic_end,json=lexicographicEnd,proto3" json:"lexicographic_end,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for ListFolders. This operation is only applicable to a hierarchical namespace enabled bucket.
func (*ListFoldersRequest) Descriptor ¶
func (*ListFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFoldersRequest.ProtoReflect.Descriptor instead.
func (*ListFoldersRequest) GetDelimiter ¶
func (x *ListFoldersRequest) GetDelimiter() string
func (*ListFoldersRequest) GetLexicographicEnd ¶
func (x *ListFoldersRequest) GetLexicographicEnd() string
func (*ListFoldersRequest) GetLexicographicStart ¶
func (x *ListFoldersRequest) GetLexicographicStart() string
func (*ListFoldersRequest) GetPageSize ¶
func (x *ListFoldersRequest) GetPageSize() int32
func (*ListFoldersRequest) GetPageToken ¶
func (x *ListFoldersRequest) GetPageToken() string
func (*ListFoldersRequest) GetParent ¶
func (x *ListFoldersRequest) GetParent() string
func (*ListFoldersRequest) GetPrefix ¶
func (x *ListFoldersRequest) GetPrefix() string
func (*ListFoldersRequest) GetRequestId ¶
func (x *ListFoldersRequest) GetRequestId() string
func (*ListFoldersRequest) ProtoMessage ¶
func (*ListFoldersRequest) ProtoMessage()
func (*ListFoldersRequest) ProtoReflect ¶
func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message
func (*ListFoldersRequest) Reset ¶
func (x *ListFoldersRequest) Reset()
func (*ListFoldersRequest) String ¶
func (x *ListFoldersRequest) String() string
type ListFoldersResponse ¶
type ListFoldersResponse struct {
// The list of child folders
Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
// The continuation token, used to page through large result sets. Provide
// this value in a subsequent request to return the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListFolders.
func (*ListFoldersResponse) Descriptor ¶
func (*ListFoldersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFoldersResponse.ProtoReflect.Descriptor instead.
func (*ListFoldersResponse) GetFolders ¶
func (x *ListFoldersResponse) GetFolders() []*Folder
func (*ListFoldersResponse) GetNextPageToken ¶
func (x *ListFoldersResponse) GetNextPageToken() string
func (*ListFoldersResponse) ProtoMessage ¶
func (*ListFoldersResponse) ProtoMessage()
func (*ListFoldersResponse) ProtoReflect ¶
func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message
func (*ListFoldersResponse) Reset ¶
func (x *ListFoldersResponse) Reset()
func (*ListFoldersResponse) String ¶
func (x *ListFoldersResponse) String() string
type ListManagedFoldersRequest ¶
type ListManagedFoldersRequest struct {
// Required. Name of the bucket this managed folder belongs to.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Maximum number of managed folders to return in a single response.
// The service will use this parameter or 1,000 items, whichever is smaller.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A previously-returned page token representing part of the larger
// set of results to view.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter results to match managed folders with name starting with
// this prefix.
Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted.
RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for ListManagedFolders.
func (*ListManagedFoldersRequest) Descriptor ¶
func (*ListManagedFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListManagedFoldersRequest.ProtoReflect.Descriptor instead.
func (*ListManagedFoldersRequest) GetPageSize ¶
func (x *ListManagedFoldersRequest) GetPageSize() int32
func (*ListManagedFoldersRequest) GetPageToken ¶
func (x *ListManagedFoldersRequest) GetPageToken() string
func (*ListManagedFoldersRequest) GetParent ¶
func (x *ListManagedFoldersRequest) GetParent() string
func (*ListManagedFoldersRequest) GetPrefix ¶
func (x *ListManagedFoldersRequest) GetPrefix() string
func (*ListManagedFoldersRequest) GetRequestId ¶
func (x *ListManagedFoldersRequest) GetRequestId() string
func (*ListManagedFoldersRequest) ProtoMessage ¶
func (*ListManagedFoldersRequest) ProtoMessage()
func (*ListManagedFoldersRequest) ProtoReflect ¶
func (x *ListManagedFoldersRequest) ProtoReflect() protoreflect.Message
func (*ListManagedFoldersRequest) Reset ¶
func (x *ListManagedFoldersRequest) Reset()
func (*ListManagedFoldersRequest) String ¶
func (x *ListManagedFoldersRequest) String() string
type ListManagedFoldersResponse ¶
type ListManagedFoldersResponse struct {
// The list of matching managed folders
ManagedFolders []*ManagedFolder `protobuf:"bytes,1,rep,name=managed_folders,json=managedFolders,proto3" json:"managed_folders,omitempty"`
// The continuation token, used to page through large result sets. Provide
// this value in a subsequent request to return the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
Response message for ListManagedFolders.
func (*ListManagedFoldersResponse) Descriptor ¶
func (*ListManagedFoldersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListManagedFoldersResponse.ProtoReflect.Descriptor instead.
func (*ListManagedFoldersResponse) GetManagedFolders ¶
func (x *ListManagedFoldersResponse) GetManagedFolders() []*ManagedFolder
func (*ListManagedFoldersResponse) GetNextPageToken ¶
func (x *ListManagedFoldersResponse) GetNextPageToken() string
func (*ListManagedFoldersResponse) ProtoMessage ¶
func (*ListManagedFoldersResponse) ProtoMessage()
func (*ListManagedFoldersResponse) ProtoReflect ¶
func (x *ListManagedFoldersResponse) ProtoReflect() protoreflect.Message
func (*ListManagedFoldersResponse) Reset ¶
func (x *ListManagedFoldersResponse) Reset()
func (*ListManagedFoldersResponse) String ¶
func (x *ListManagedFoldersResponse) String() string
type ManagedFolder ¶
type ManagedFolder struct {
// Identifier. The name of this managed folder.
// Format:
// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The metadata version of this managed folder. It increases
// whenever the metadata is updated. Used for preconditions and for detecting
// changes in metadata. Managed folders don't have a generation number.
Metageneration int64 `protobuf:"varint,3,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
// Output only. The creation time of the managed folder.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The modification time of the managed folder.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}
A managed folder.
func (*ManagedFolder) Descriptor ¶
func (*ManagedFolder) Descriptor() ([]byte, []int)
Deprecated: Use ManagedFolder.ProtoReflect.Descriptor instead.
func (*ManagedFolder) GetCreateTime ¶
func (x *ManagedFolder) GetCreateTime() *timestamppb.Timestamp
func (*ManagedFolder) GetMetageneration ¶
func (x *ManagedFolder) GetMetageneration() int64
func (*ManagedFolder) GetName ¶
func (x *ManagedFolder) GetName() string
func (*ManagedFolder) GetUpdateTime ¶
func (x *ManagedFolder) GetUpdateTime() *timestamppb.Timestamp
func (*ManagedFolder) ProtoMessage ¶
func (*ManagedFolder) ProtoMessage()
func (*ManagedFolder) ProtoReflect ¶
func (x *ManagedFolder) ProtoReflect() protoreflect.Message
func (*ManagedFolder) Reset ¶
func (x *ManagedFolder) Reset()
func (*ManagedFolder) String ¶
func (x *ManagedFolder) String() string
type PauseAnywhereCacheRequest ¶
type PauseAnywhereCacheRequest struct {
// Required. The name field in the request should be:
// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for PauseAnywhereCache.
func (*PauseAnywhereCacheRequest) Descriptor ¶
func (*PauseAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*PauseAnywhereCacheRequest) GetName ¶
func (x *PauseAnywhereCacheRequest) GetName() string
func (*PauseAnywhereCacheRequest) GetRequestId ¶
func (x *PauseAnywhereCacheRequest) GetRequestId() string
func (*PauseAnywhereCacheRequest) ProtoMessage ¶
func (*PauseAnywhereCacheRequest) ProtoMessage()
func (*PauseAnywhereCacheRequest) ProtoReflect ¶
func (x *PauseAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*PauseAnywhereCacheRequest) Reset ¶
func (x *PauseAnywhereCacheRequest) Reset()
func (*PauseAnywhereCacheRequest) String ¶
func (x *PauseAnywhereCacheRequest) String() string
type PendingRenameInfo ¶
type PendingRenameInfo struct {
// Output only. The name of the rename operation.
Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
// contains filtered or unexported fields
}
Contains information about a pending rename operation.
func (*PendingRenameInfo) Descriptor ¶
func (*PendingRenameInfo) Descriptor() ([]byte, []int)
Deprecated: Use PendingRenameInfo.ProtoReflect.Descriptor instead.
func (*PendingRenameInfo) GetOperation ¶
func (x *PendingRenameInfo) GetOperation() string
func (*PendingRenameInfo) ProtoMessage ¶
func (*PendingRenameInfo) ProtoMessage()
func (*PendingRenameInfo) ProtoReflect ¶
func (x *PendingRenameInfo) ProtoReflect() protoreflect.Message
func (*PendingRenameInfo) Reset ¶
func (x *PendingRenameInfo) Reset()
func (*PendingRenameInfo) String ¶
func (x *PendingRenameInfo) String() string
type RenameFolderMetadata ¶
type RenameFolderMetadata struct {
// Generic metadata for the long running operation.
CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
// The path of the source folder.
SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
// The path of the destination folder.
DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
// contains filtered or unexported fields
}
Message returned in the metadata field of the Operation resource for RenameFolder operations.
func (*RenameFolderMetadata) Descriptor ¶
func (*RenameFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RenameFolderMetadata.ProtoReflect.Descriptor instead.
func (*RenameFolderMetadata) GetCommonMetadata ¶
func (x *RenameFolderMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
func (*RenameFolderMetadata) GetDestinationFolderId ¶
func (x *RenameFolderMetadata) GetDestinationFolderId() string
func (*RenameFolderMetadata) GetSourceFolderId ¶
func (x *RenameFolderMetadata) GetSourceFolderId() string
func (*RenameFolderMetadata) ProtoMessage ¶
func (*RenameFolderMetadata) ProtoMessage()
func (*RenameFolderMetadata) ProtoReflect ¶
func (x *RenameFolderMetadata) ProtoReflect() protoreflect.Message
func (*RenameFolderMetadata) Reset ¶
func (x *RenameFolderMetadata) Reset()
func (*RenameFolderMetadata) String ¶
func (x *RenameFolderMetadata) String() string
type RenameFolderRequest ¶
type RenameFolderRequest struct {
// Required. Name of the source folder being renamed.
// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// Required. The destination folder ID, e.g. `foo/bar/`.
DestinationFolderId string `protobuf:"bytes,8,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
// Makes the operation only succeed conditional on whether the source
// folder's current metageneration matches the given value.
IfMetagenerationMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
// Makes the operation only succeed conditional on whether the source
// folder's current metageneration does not match the given value.
IfMetagenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for RenameFolder. This operation is only applicable to a hierarchical namespace enabled bucket.
func (*RenameFolderRequest) Descriptor ¶
func (*RenameFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenameFolderRequest.ProtoReflect.Descriptor instead.
func (*RenameFolderRequest) GetDestinationFolderId ¶
func (x *RenameFolderRequest) GetDestinationFolderId() string
func (*RenameFolderRequest) GetIfMetagenerationMatch ¶
func (x *RenameFolderRequest) GetIfMetagenerationMatch() int64
func (*RenameFolderRequest) GetIfMetagenerationNotMatch ¶
func (x *RenameFolderRequest) GetIfMetagenerationNotMatch() int64
func (*RenameFolderRequest) GetName ¶
func (x *RenameFolderRequest) GetName() string
func (*RenameFolderRequest) GetRequestId ¶
func (x *RenameFolderRequest) GetRequestId() string
func (*RenameFolderRequest) ProtoMessage ¶
func (*RenameFolderRequest) ProtoMessage()
func (*RenameFolderRequest) ProtoReflect ¶
func (x *RenameFolderRequest) ProtoReflect() protoreflect.Message
func (*RenameFolderRequest) Reset ¶
func (x *RenameFolderRequest) Reset()
func (*RenameFolderRequest) String ¶
func (x *RenameFolderRequest) String() string
type ResumeAnywhereCacheRequest ¶
type ResumeAnywhereCacheRequest struct {
// Required. The name field in the request should be:
// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for ResumeAnywhereCache.
func (*ResumeAnywhereCacheRequest) Descriptor ¶
func (*ResumeAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*ResumeAnywhereCacheRequest) GetName ¶
func (x *ResumeAnywhereCacheRequest) GetName() string
func (*ResumeAnywhereCacheRequest) GetRequestId ¶
func (x *ResumeAnywhereCacheRequest) GetRequestId() string
func (*ResumeAnywhereCacheRequest) ProtoMessage ¶
func (*ResumeAnywhereCacheRequest) ProtoMessage()
func (*ResumeAnywhereCacheRequest) ProtoReflect ¶
func (x *ResumeAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*ResumeAnywhereCacheRequest) Reset ¶
func (x *ResumeAnywhereCacheRequest) Reset()
func (*ResumeAnywhereCacheRequest) String ¶
func (x *ResumeAnywhereCacheRequest) String() string
type StorageControlClient ¶
type StorageControlClient interface {
// Creates a new folder. This operation is only applicable to a hierarchical
// namespace enabled bucket.
CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*Folder, error)
// Permanently deletes an empty folder. This operation is only applicable to a
// hierarchical namespace enabled bucket.
DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns metadata for the specified folder. This operation is only
// applicable to a hierarchical namespace enabled bucket.
GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error)
// Retrieves a list of folders. This operation is only applicable to a
// hierarchical namespace enabled bucket.
ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error)
// Renames a source folder to a destination folder. This operation is only
// applicable to a hierarchical namespace enabled bucket. During a rename, the
// source and destination folders are locked until the long running operation
// completes.
RenameFolder(ctx context.Context, in *RenameFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Returns the storage layout configuration for a given bucket.
GetStorageLayout(ctx context.Context, in *GetStorageLayoutRequest, opts ...grpc.CallOption) (*StorageLayout, error)
// Creates a new managed folder.
CreateManagedFolder(ctx context.Context, in *CreateManagedFolderRequest, opts ...grpc.CallOption) (*ManagedFolder, error)
// Permanently deletes an empty managed folder.
DeleteManagedFolder(ctx context.Context, in *DeleteManagedFolderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns metadata for the specified managed folder.
GetManagedFolder(ctx context.Context, in *GetManagedFolderRequest, opts ...grpc.CallOption) (*ManagedFolder, error)
// Retrieves a list of managed folders for a given bucket.
ListManagedFolders(ctx context.Context, in *ListManagedFoldersRequest, opts ...grpc.CallOption) (*ListManagedFoldersResponse, error)
// Creates an Anywhere Cache instance.
CreateAnywhereCache(ctx context.Context, in *CreateAnywhereCacheRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates an Anywhere Cache instance. Mutable fields include `ttl` and
// `admission_policy`.
UpdateAnywhereCache(ctx context.Context, in *UpdateAnywhereCacheRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Disables an Anywhere Cache instance. A disabled instance is read-only. The
// disablement could be revoked by calling ResumeAnywhereCache. The cache
// instance will be deleted automatically if it remains in the disabled state
// for at least one hour.
DisableAnywhereCache(ctx context.Context, in *DisableAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
// Pauses an Anywhere Cache instance.
PauseAnywhereCache(ctx context.Context, in *PauseAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
// Resumes a disabled or paused Anywhere Cache instance.
ResumeAnywhereCache(ctx context.Context, in *ResumeAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
// Gets an Anywhere Cache instance.
GetAnywhereCache(ctx context.Context, in *GetAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
// Lists Anywhere Cache instances for a given bucket.
ListAnywhereCaches(ctx context.Context, in *ListAnywhereCachesRequest, opts ...grpc.CallOption) (*ListAnywhereCachesResponse, error)
// Returns the Project scoped singleton IntelligenceConfig resource.
GetProjectIntelligenceConfig(ctx context.Context, in *GetProjectIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
// Updates the Project scoped singleton IntelligenceConfig resource.
UpdateProjectIntelligenceConfig(ctx context.Context, in *UpdateProjectIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
// Returns the Folder scoped singleton IntelligenceConfig resource.
GetFolderIntelligenceConfig(ctx context.Context, in *GetFolderIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
// Updates the Folder scoped singleton IntelligenceConfig resource.
UpdateFolderIntelligenceConfig(ctx context.Context, in *UpdateFolderIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
// Returns the Organization scoped singleton IntelligenceConfig resource.
GetOrganizationIntelligenceConfig(ctx context.Context, in *GetOrganizationIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
// Updates the Organization scoped singleton IntelligenceConfig resource.
UpdateOrganizationIntelligenceConfig(ctx context.Context, in *UpdateOrganizationIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
}
StorageControlClient is the client API for StorageControl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStorageControlClient ¶
func NewStorageControlClient(cc grpc.ClientConnInterface) StorageControlClient
type StorageControlServer ¶
type StorageControlServer interface {
// Creates a new folder. This operation is only applicable to a hierarchical
// namespace enabled bucket.
CreateFolder(context.Context, *CreateFolderRequest) (*Folder, error)
// Permanently deletes an empty folder. This operation is only applicable to a
// hierarchical namespace enabled bucket.
DeleteFolder(context.Context, *DeleteFolderRequest) (*emptypb.Empty, error)
// Returns metadata for the specified folder. This operation is only
// applicable to a hierarchical namespace enabled bucket.
GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
// Retrieves a list of folders. This operation is only applicable to a
// hierarchical namespace enabled bucket.
ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
// Renames a source folder to a destination folder. This operation is only
// applicable to a hierarchical namespace enabled bucket. During a rename, the
// source and destination folders are locked until the long running operation
// completes.
RenameFolder(context.Context, *RenameFolderRequest) (*longrunningpb.Operation, error)
// Returns the storage layout configuration for a given bucket.
GetStorageLayout(context.Context, *GetStorageLayoutRequest) (*StorageLayout, error)
// Creates a new managed folder.
CreateManagedFolder(context.Context, *CreateManagedFolderRequest) (*ManagedFolder, error)
// Permanently deletes an empty managed folder.
DeleteManagedFolder(context.Context, *DeleteManagedFolderRequest) (*emptypb.Empty, error)
// Returns metadata for the specified managed folder.
GetManagedFolder(context.Context, *GetManagedFolderRequest) (*ManagedFolder, error)
// Retrieves a list of managed folders for a given bucket.
ListManagedFolders(context.Context, *ListManagedFoldersRequest) (*ListManagedFoldersResponse, error)
// Creates an Anywhere Cache instance.
CreateAnywhereCache(context.Context, *CreateAnywhereCacheRequest) (*longrunningpb.Operation, error)
// Updates an Anywhere Cache instance. Mutable fields include `ttl` and
// `admission_policy`.
UpdateAnywhereCache(context.Context, *UpdateAnywhereCacheRequest) (*longrunningpb.Operation, error)
// Disables an Anywhere Cache instance. A disabled instance is read-only. The
// disablement could be revoked by calling ResumeAnywhereCache. The cache
// instance will be deleted automatically if it remains in the disabled state
// for at least one hour.
DisableAnywhereCache(context.Context, *DisableAnywhereCacheRequest) (*AnywhereCache, error)
// Pauses an Anywhere Cache instance.
PauseAnywhereCache(context.Context, *PauseAnywhereCacheRequest) (*AnywhereCache, error)
// Resumes a disabled or paused Anywhere Cache instance.
ResumeAnywhereCache(context.Context, *ResumeAnywhereCacheRequest) (*AnywhereCache, error)
// Gets an Anywhere Cache instance.
GetAnywhereCache(context.Context, *GetAnywhereCacheRequest) (*AnywhereCache, error)
// Lists Anywhere Cache instances for a given bucket.
ListAnywhereCaches(context.Context, *ListAnywhereCachesRequest) (*ListAnywhereCachesResponse, error)
// Returns the Project scoped singleton IntelligenceConfig resource.
GetProjectIntelligenceConfig(context.Context, *GetProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
// Updates the Project scoped singleton IntelligenceConfig resource.
UpdateProjectIntelligenceConfig(context.Context, *UpdateProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
// Returns the Folder scoped singleton IntelligenceConfig resource.
GetFolderIntelligenceConfig(context.Context, *GetFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
// Updates the Folder scoped singleton IntelligenceConfig resource.
UpdateFolderIntelligenceConfig(context.Context, *UpdateFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
// Returns the Organization scoped singleton IntelligenceConfig resource.
GetOrganizationIntelligenceConfig(context.Context, *GetOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
// Updates the Organization scoped singleton IntelligenceConfig resource.
UpdateOrganizationIntelligenceConfig(context.Context, *UpdateOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
}
StorageControlServer is the server API for StorageControl service.
type StorageLayout ¶
type StorageLayout struct {
// Output only. The name of the StorageLayout resource.
// Format: `projects/{project}/buckets/{bucket}/storageLayout`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The location of the bucket.
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The location type of the bucket (region, dual-region,
// multi-region, etc).
LocationType string `protobuf:"bytes,3,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"`
// Output only. The data placement configuration for custom dual region. If
// there is no configuration, this is not a custom dual region bucket.
CustomPlacementConfig *StorageLayout_CustomPlacementConfig `protobuf:"bytes,4,opt,name=custom_placement_config,json=customPlacementConfig,proto3" json:"custom_placement_config,omitempty"`
// Output only. The bucket's hierarchical namespace configuration. If there is
// no configuration, the hierarchical namespace is disabled.
HierarchicalNamespace *StorageLayout_HierarchicalNamespace `protobuf:"bytes,5,opt,name=hierarchical_namespace,json=hierarchicalNamespace,proto3" json:"hierarchical_namespace,omitempty"`
// contains filtered or unexported fields
}
The storage layout configuration of a bucket.
func (*StorageLayout) Descriptor ¶
func (*StorageLayout) Descriptor() ([]byte, []int)
Deprecated: Use StorageLayout.ProtoReflect.Descriptor instead.
func (*StorageLayout) GetCustomPlacementConfig ¶
func (x *StorageLayout) GetCustomPlacementConfig() *StorageLayout_CustomPlacementConfig
func (*StorageLayout) GetHierarchicalNamespace ¶
func (x *StorageLayout) GetHierarchicalNamespace() *StorageLayout_HierarchicalNamespace
func (*StorageLayout) GetLocation ¶
func (x *StorageLayout) GetLocation() string
func (*StorageLayout) GetLocationType ¶
func (x *StorageLayout) GetLocationType() string
func (*StorageLayout) GetName ¶
func (x *StorageLayout) GetName() string
func (*StorageLayout) ProtoMessage ¶
func (*StorageLayout) ProtoMessage()
func (*StorageLayout) ProtoReflect ¶
func (x *StorageLayout) ProtoReflect() protoreflect.Message
func (*StorageLayout) Reset ¶
func (x *StorageLayout) Reset()
func (*StorageLayout) String ¶
func (x *StorageLayout) String() string
type StorageLayout_CustomPlacementConfig ¶
type StorageLayout_CustomPlacementConfig struct {
// List of locations to use for data placement.
DataLocations []string `protobuf:"bytes,1,rep,name=data_locations,json=dataLocations,proto3" json:"data_locations,omitempty"`
// contains filtered or unexported fields
}
Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found [here](https://cloud.google.com/storage/docs/locations).
func (*StorageLayout_CustomPlacementConfig) Descriptor ¶
func (*StorageLayout_CustomPlacementConfig) Descriptor() ([]byte, []int)
Deprecated: Use StorageLayout_CustomPlacementConfig.ProtoReflect.Descriptor instead.
func (*StorageLayout_CustomPlacementConfig) GetDataLocations ¶
func (x *StorageLayout_CustomPlacementConfig) GetDataLocations() []string
func (*StorageLayout_CustomPlacementConfig) ProtoMessage ¶
func (*StorageLayout_CustomPlacementConfig) ProtoMessage()
func (*StorageLayout_CustomPlacementConfig) ProtoReflect ¶
func (x *StorageLayout_CustomPlacementConfig) ProtoReflect() protoreflect.Message
func (*StorageLayout_CustomPlacementConfig) Reset ¶
func (x *StorageLayout_CustomPlacementConfig) Reset()
func (*StorageLayout_CustomPlacementConfig) String ¶
func (x *StorageLayout_CustomPlacementConfig) String() string
type StorageLayout_HierarchicalNamespace ¶
type StorageLayout_HierarchicalNamespace struct {
// Enables the hierarchical namespace feature.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for a bucket's hierarchical namespace feature.
func (*StorageLayout_HierarchicalNamespace) Descriptor ¶
func (*StorageLayout_HierarchicalNamespace) Descriptor() ([]byte, []int)
Deprecated: Use StorageLayout_HierarchicalNamespace.ProtoReflect.Descriptor instead.
func (*StorageLayout_HierarchicalNamespace) GetEnabled ¶
func (x *StorageLayout_HierarchicalNamespace) GetEnabled() bool
func (*StorageLayout_HierarchicalNamespace) ProtoMessage ¶
func (*StorageLayout_HierarchicalNamespace) ProtoMessage()
func (*StorageLayout_HierarchicalNamespace) ProtoReflect ¶
func (x *StorageLayout_HierarchicalNamespace) ProtoReflect() protoreflect.Message
func (*StorageLayout_HierarchicalNamespace) Reset ¶
func (x *StorageLayout_HierarchicalNamespace) Reset()
func (*StorageLayout_HierarchicalNamespace) String ¶
func (x *StorageLayout_HierarchicalNamespace) String() string
type UnimplementedStorageControlServer ¶
type UnimplementedStorageControlServer struct {
}
UnimplementedStorageControlServer can be embedded to have forward compatible implementations.
func (*UnimplementedStorageControlServer) CreateAnywhereCache ¶
func (*UnimplementedStorageControlServer) CreateAnywhereCache(context.Context, *CreateAnywhereCacheRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStorageControlServer) CreateFolder ¶
func (*UnimplementedStorageControlServer) CreateFolder(context.Context, *CreateFolderRequest) (*Folder, error)
func (*UnimplementedStorageControlServer) CreateManagedFolder ¶
func (*UnimplementedStorageControlServer) CreateManagedFolder(context.Context, *CreateManagedFolderRequest) (*ManagedFolder, error)
func (*UnimplementedStorageControlServer) DeleteFolder ¶
func (*UnimplementedStorageControlServer) DeleteFolder(context.Context, *DeleteFolderRequest) (*emptypb.Empty, error)
func (*UnimplementedStorageControlServer) DeleteManagedFolder ¶
func (*UnimplementedStorageControlServer) DeleteManagedFolder(context.Context, *DeleteManagedFolderRequest) (*emptypb.Empty, error)
func (*UnimplementedStorageControlServer) DisableAnywhereCache ¶
func (*UnimplementedStorageControlServer) DisableAnywhereCache(context.Context, *DisableAnywhereCacheRequest) (*AnywhereCache, error)
func (*UnimplementedStorageControlServer) GetAnywhereCache ¶
func (*UnimplementedStorageControlServer) GetAnywhereCache(context.Context, *GetAnywhereCacheRequest) (*AnywhereCache, error)
func (*UnimplementedStorageControlServer) GetFolder ¶
func (*UnimplementedStorageControlServer) GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
func (*UnimplementedStorageControlServer) GetFolderIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) GetFolderIntelligenceConfig(context.Context, *GetFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
func (*UnimplementedStorageControlServer) GetManagedFolder ¶
func (*UnimplementedStorageControlServer) GetManagedFolder(context.Context, *GetManagedFolderRequest) (*ManagedFolder, error)
func (*UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig(context.Context, *GetOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
func (*UnimplementedStorageControlServer) GetProjectIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) GetProjectIntelligenceConfig(context.Context, *GetProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
func (*UnimplementedStorageControlServer) GetStorageLayout ¶
func (*UnimplementedStorageControlServer) GetStorageLayout(context.Context, *GetStorageLayoutRequest) (*StorageLayout, error)
func (*UnimplementedStorageControlServer) ListAnywhereCaches ¶
func (*UnimplementedStorageControlServer) ListAnywhereCaches(context.Context, *ListAnywhereCachesRequest) (*ListAnywhereCachesResponse, error)
func (*UnimplementedStorageControlServer) ListFolders ¶
func (*UnimplementedStorageControlServer) ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
func (*UnimplementedStorageControlServer) ListManagedFolders ¶
func (*UnimplementedStorageControlServer) ListManagedFolders(context.Context, *ListManagedFoldersRequest) (*ListManagedFoldersResponse, error)
func (*UnimplementedStorageControlServer) PauseAnywhereCache ¶
func (*UnimplementedStorageControlServer) PauseAnywhereCache(context.Context, *PauseAnywhereCacheRequest) (*AnywhereCache, error)
func (*UnimplementedStorageControlServer) RenameFolder ¶
func (*UnimplementedStorageControlServer) RenameFolder(context.Context, *RenameFolderRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStorageControlServer) ResumeAnywhereCache ¶
func (*UnimplementedStorageControlServer) ResumeAnywhereCache(context.Context, *ResumeAnywhereCacheRequest) (*AnywhereCache, error)
func (*UnimplementedStorageControlServer) UpdateAnywhereCache ¶
func (*UnimplementedStorageControlServer) UpdateAnywhereCache(context.Context, *UpdateAnywhereCacheRequest) (*longrunningpb.Operation, error)
func (*UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig(context.Context, *UpdateFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
func (*UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig(context.Context, *UpdateOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
func (*UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig ¶
func (*UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig(context.Context, *UpdateProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
type UpdateAnywhereCacheMetadata ¶
type UpdateAnywhereCacheMetadata struct {
// Generic metadata for the long running operation.
CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
// Anywhere Cache ID.
AnywhereCacheId *string `protobuf:"bytes,2,opt,name=anywhere_cache_id,json=anywhereCacheId,proto3,oneof" json:"anywhere_cache_id,omitempty"`
// The zone in which the cache instance is running. For example,
// us-central1-a.
Zone *string `protobuf:"bytes,5,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
// Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
// is applied to all new cache entries on admission. If `ttl` is pending
// update, this field equals to the new value specified in the Update request.
Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"`
// L4 Cache entry Admission Policy in kebab-case (e.g.,
// "admit-on-first-miss"). If `admission_policy` is pending
// update, this field equals to the new value specified in the Update request.
AdmissionPolicy *string `protobuf:"bytes,4,opt,name=admission_policy,json=admissionPolicy,proto3,oneof" json:"admission_policy,omitempty"`
// contains filtered or unexported fields
}
Message returned in the metadata field of the Operation resource for UpdateAnywhereCache operation.
func (*UpdateAnywhereCacheMetadata) Descriptor ¶
func (*UpdateAnywhereCacheMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.
func (*UpdateAnywhereCacheMetadata) GetAdmissionPolicy ¶
func (x *UpdateAnywhereCacheMetadata) GetAdmissionPolicy() string
func (*UpdateAnywhereCacheMetadata) GetAnywhereCacheId ¶
func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() string
func (*UpdateAnywhereCacheMetadata) GetCommonMetadata ¶
func (x *UpdateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadata
func (*UpdateAnywhereCacheMetadata) GetTtl ¶
func (x *UpdateAnywhereCacheMetadata) GetTtl() *durationpb.Duration
func (*UpdateAnywhereCacheMetadata) GetZone ¶
func (x *UpdateAnywhereCacheMetadata) GetZone() string
func (*UpdateAnywhereCacheMetadata) ProtoMessage ¶
func (*UpdateAnywhereCacheMetadata) ProtoMessage()
func (*UpdateAnywhereCacheMetadata) ProtoReflect ¶
func (x *UpdateAnywhereCacheMetadata) ProtoReflect() protoreflect.Message
func (*UpdateAnywhereCacheMetadata) Reset ¶
func (x *UpdateAnywhereCacheMetadata) Reset()
func (*UpdateAnywhereCacheMetadata) String ¶
func (x *UpdateAnywhereCacheMetadata) String() string
type UpdateAnywhereCacheRequest ¶
type UpdateAnywhereCacheRequest struct {
// Required. The Anywhere Cache instance to be updated.
AnywhereCache *AnywhereCache `protobuf:"bytes,1,opt,name=anywhere_cache,json=anywhereCache,proto3" json:"anywhere_cache,omitempty"`
// Required. List of fields to be updated. Mutable fields of AnywhereCache
// include `ttl` and `admission_policy`.
//
// To specify ALL fields, specify a single field with the value `*`. Note: We
// recommend against doing this. If a new field is introduced at a later time,
// an older client updating with the `*` may accidentally reset the new
// field's value.
//
// Not specifying any fields is an error.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. A unique identifier for this request. UUID is the recommended
// format, but other formats are still accepted. This request is only
// idempotent if a `request_id` is provided.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for UpdateAnywhereCache.
func (*UpdateAnywhereCacheRequest) Descriptor ¶
func (*UpdateAnywhereCacheRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnywhereCacheRequest.ProtoReflect.Descriptor instead.
func (*UpdateAnywhereCacheRequest) GetAnywhereCache ¶
func (x *UpdateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache
func (*UpdateAnywhereCacheRequest) GetRequestId ¶
func (x *UpdateAnywhereCacheRequest) GetRequestId() string
func (*UpdateAnywhereCacheRequest) GetUpdateMask ¶
func (x *UpdateAnywhereCacheRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnywhereCacheRequest) ProtoMessage ¶
func (*UpdateAnywhereCacheRequest) ProtoMessage()
func (*UpdateAnywhereCacheRequest) ProtoReflect ¶
func (x *UpdateAnywhereCacheRequest) ProtoReflect() protoreflect.Message
func (*UpdateAnywhereCacheRequest) Reset ¶
func (x *UpdateAnywhereCacheRequest) Reset()
func (*UpdateAnywhereCacheRequest) String ¶
func (x *UpdateAnywhereCacheRequest) String() string
type UpdateFolderIntelligenceConfigRequest ¶
type UpdateFolderIntelligenceConfigRequest struct {
// Required. The `IntelligenceConfig` resource to be updated.
IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
// Required. The `update_mask` that specifies the fields within the
// `IntelligenceConfig` resource that should be modified by this update. Only
// the listed fields are updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The ID that uniquely identifies the request, preventing duplicate
// processing.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message to update the `IntelligenceConfig` resource associated with your folder.
**IAM Permissions**:
Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.
func (*UpdateFolderIntelligenceConfigRequest) Descriptor ¶
func (*UpdateFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig ¶
func (x *UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
func (*UpdateFolderIntelligenceConfigRequest) GetRequestId ¶
func (x *UpdateFolderIntelligenceConfigRequest) GetRequestId() string
func (*UpdateFolderIntelligenceConfigRequest) GetUpdateMask ¶
func (x *UpdateFolderIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage ¶
func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()
func (*UpdateFolderIntelligenceConfigRequest) ProtoReflect ¶
func (x *UpdateFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateFolderIntelligenceConfigRequest) Reset ¶
func (x *UpdateFolderIntelligenceConfigRequest) Reset()
func (*UpdateFolderIntelligenceConfigRequest) String ¶
func (x *UpdateFolderIntelligenceConfigRequest) String() string
type UpdateOrganizationIntelligenceConfigRequest ¶
type UpdateOrganizationIntelligenceConfigRequest struct {
// Required. The `IntelligenceConfig` resource to be updated.
IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
// Required. The `update_mask` that specifies the fields within the
// `IntelligenceConfig` resource that should be modified by this update. Only
// the listed fields are updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The ID that uniquely identifies the request, preventing duplicate
// processing.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message to update the `IntelligenceConfig` resource associated with your organization.
**IAM Permissions**:
Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.
func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor ¶
func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
func (*UpdateOrganizationIntelligenceConfigRequest) GetRequestId ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) GetRequestId() string
func (*UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage ¶
func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage()
func (*UpdateOrganizationIntelligenceConfigRequest) ProtoReflect ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationIntelligenceConfigRequest) Reset ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) Reset()
func (*UpdateOrganizationIntelligenceConfigRequest) String ¶
func (x *UpdateOrganizationIntelligenceConfigRequest) String() string
type UpdateProjectIntelligenceConfigRequest ¶
type UpdateProjectIntelligenceConfigRequest struct {
// Required. The `IntelligenceConfig` resource to be updated.
IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
// Required. The `update_mask` that specifies the fields within the
// `IntelligenceConfig` resource that should be modified by this update. Only
// the listed fields are updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. The ID that uniquely identifies the request, preventing duplicate
// processing.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message to update the `IntelligenceConfig` resource associated with your project.
**IAM Permissions**:
Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.
func (*UpdateProjectIntelligenceConfigRequest) Descriptor ¶
func (*UpdateProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig ¶
func (x *UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig
func (*UpdateProjectIntelligenceConfigRequest) GetRequestId ¶
func (x *UpdateProjectIntelligenceConfigRequest) GetRequestId() string
func (*UpdateProjectIntelligenceConfigRequest) GetUpdateMask ¶
func (x *UpdateProjectIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage ¶
func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage()
func (*UpdateProjectIntelligenceConfigRequest) ProtoReflect ¶
func (x *UpdateProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectIntelligenceConfigRequest) Reset ¶
func (x *UpdateProjectIntelligenceConfigRequest) Reset()
func (*UpdateProjectIntelligenceConfigRequest) String ¶
func (x *UpdateProjectIntelligenceConfigRequest) String() string
Source Files ¶
storage_control.pb.go
- Version
- v1.56.2
- Published
- Sep 12, 2025
- Platform
- darwin/amd64
- Imports
- 14 packages
- Last checked
- 6 minutes ago –
Tools for package owners.