- 1.57.1 (latest)
- 1.57.0
- 1.56.3
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.1
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.1
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.1
- 1.29.0
- 1.28.1
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.1
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.2
- 1.17.0
- 1.16.1
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
Constants
StorageControl_CreateFolder_FullMethodName, StorageControl_DeleteFolder_FullMethodName, StorageControl_GetFolder_FullMethodName, StorageControl_ListFolders_FullMethodName, StorageControl_RenameFolder_FullMethodName, StorageControl_GetStorageLayout_FullMethodName, StorageControl_CreateManagedFolder_FullMethodName, StorageControl_DeleteManagedFolder_FullMethodName, StorageControl_GetManagedFolder_FullMethodName, StorageControl_ListManagedFolders_FullMethodName, StorageControl_CreateAnywhereCache_FullMethodName, StorageControl_UpdateAnywhereCache_FullMethodName, StorageControl_DisableAnywhereCache_FullMethodName, StorageControl_PauseAnywhereCache_FullMethodName, StorageControl_ResumeAnywhereCache_FullMethodName, StorageControl_GetAnywhereCache_FullMethodName, StorageControl_ListAnywhereCaches_FullMethodName, StorageControl_GetProjectIntelligenceConfig_FullMethodName, StorageControl_UpdateProjectIntelligenceConfig_FullMethodName, StorageControl_GetFolderIntelligenceConfig_FullMethodName, StorageControl_UpdateFolderIntelligenceConfig_FullMethodName, StorageControl_GetOrganizationIntelligenceConfig_FullMethodName, StorageControl_UpdateOrganizationIntelligenceConfig_FullMethodName, StorageControl_GetIamPolicy_FullMethodName, StorageControl_SetIamPolicy_FullMethodName, StorageControl_TestIamPermissions_FullMethodName
const (
StorageControl_CreateFolder_FullMethodName = "/google.storage.control.v2.StorageControl/CreateFolder"
StorageControl_DeleteFolder_FullMethodName = "/google.storage.control.v2.StorageControl/DeleteFolder"
StorageControl_GetFolder_FullMethodName = "/google.storage.control.v2.StorageControl/GetFolder"
StorageControl_ListFolders_FullMethodName = "/google.storage.control.v2.StorageControl/ListFolders"
StorageControl_RenameFolder_FullMethodName = "/google.storage.control.v2.StorageControl/RenameFolder"
StorageControl_GetStorageLayout_FullMethodName = "/google.storage.control.v2.StorageControl/GetStorageLayout"
StorageControl_CreateManagedFolder_FullMethodName = "/google.storage.control.v2.StorageControl/CreateManagedFolder"
StorageControl_DeleteManagedFolder_FullMethodName = "/google.storage.control.v2.StorageControl/DeleteManagedFolder"
StorageControl_GetManagedFolder_FullMethodName = "/google.storage.control.v2.StorageControl/GetManagedFolder"
StorageControl_ListManagedFolders_FullMethodName = "/google.storage.control.v2.StorageControl/ListManagedFolders"
StorageControl_CreateAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/CreateAnywhereCache"
StorageControl_UpdateAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/UpdateAnywhereCache"
StorageControl_DisableAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/DisableAnywhereCache"
StorageControl_PauseAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/PauseAnywhereCache"
StorageControl_ResumeAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/ResumeAnywhereCache"
StorageControl_GetAnywhereCache_FullMethodName = "/google.storage.control.v2.StorageControl/GetAnywhereCache"
StorageControl_ListAnywhereCaches_FullMethodName = "/google.storage.control.v2.StorageControl/ListAnywhereCaches"
StorageControl_GetProjectIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/GetProjectIntelligenceConfig"
StorageControl_UpdateProjectIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/UpdateProjectIntelligenceConfig"
StorageControl_GetFolderIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/GetFolderIntelligenceConfig"
StorageControl_UpdateFolderIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/UpdateFolderIntelligenceConfig"
StorageControl_GetOrganizationIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/GetOrganizationIntelligenceConfig"
StorageControl_UpdateOrganizationIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/UpdateOrganizationIntelligenceConfig"
StorageControl_GetIamPolicy_FullMethodName = "/google.storage.control.v2.StorageControl/GetIamPolicy"
StorageControl_SetIamPolicy_FullMethodName = "/google.storage.control.v2.StorageControl/SetIamPolicy"
StorageControl_TestIamPermissions_FullMethodName = "/google.storage.control.v2.StorageControl/TestIamPermissions"
)Variables
IntelligenceConfig_EditionConfig_name, IntelligenceConfig_EditionConfig_value
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.
IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_name, IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_value
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.
File_google_storage_control_v2_storage_control_proto
var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptorStorageControl_ServiceDesc
var StorageControl_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.storage.control.v2.StorageControl",
HandlerType: (*StorageControlServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateFolder",
Handler: _StorageControl_CreateFolder_Handler,
},
{
MethodName: "DeleteFolder",
Handler: _StorageControl_DeleteFolder_Handler,
},
{
MethodName: "GetFolder",
Handler: _StorageControl_GetFolder_Handler,
},
{
MethodName: "ListFolders",
Handler: _StorageControl_ListFolders_Handler,
},
{
MethodName: "RenameFolder",
Handler: _StorageControl_RenameFolder_Handler,
},
{
MethodName: "GetStorageLayout",
Handler: _StorageControl_GetStorageLayout_Handler,
},
{
MethodName: "CreateManagedFolder",
Handler: _StorageControl_CreateManagedFolder_Handler,
},
{
MethodName: "DeleteManagedFolder",
Handler: _StorageControl_DeleteManagedFolder_Handler,
},
{
MethodName: "GetManagedFolder",
Handler: _StorageControl_GetManagedFolder_Handler,
},
{
MethodName: "ListManagedFolders",
Handler: _StorageControl_ListManagedFolders_Handler,
},
{
MethodName: "CreateAnywhereCache",
Handler: _StorageControl_CreateAnywhereCache_Handler,
},
{
MethodName: "UpdateAnywhereCache",
Handler: _StorageControl_UpdateAnywhereCache_Handler,
},
{
MethodName: "DisableAnywhereCache",
Handler: _StorageControl_DisableAnywhereCache_Handler,
},
{
MethodName: "PauseAnywhereCache",
Handler: _StorageControl_PauseAnywhereCache_Handler,
},
{
MethodName: "ResumeAnywhereCache",
Handler: _StorageControl_ResumeAnywhereCache_Handler,
},
{
MethodName: "GetAnywhereCache",
Handler: _StorageControl_GetAnywhereCache_Handler,
},
{
MethodName: "ListAnywhereCaches",
Handler: _StorageControl_ListAnywhereCaches_Handler,
},
{
MethodName: "GetProjectIntelligenceConfig",
Handler: _StorageControl_GetProjectIntelligenceConfig_Handler,
},
{
MethodName: "UpdateProjectIntelligenceConfig",
Handler: _StorageControl_UpdateProjectIntelligenceConfig_Handler,
},
{
MethodName: "GetFolderIntelligenceConfig",
Handler: _StorageControl_GetFolderIntelligenceConfig_Handler,
},
{
MethodName: "UpdateFolderIntelligenceConfig",
Handler: _StorageControl_UpdateFolderIntelligenceConfig_Handler,
},
{
MethodName: "GetOrganizationIntelligenceConfig",
Handler: _StorageControl_GetOrganizationIntelligenceConfig_Handler,
},
{
MethodName: "UpdateOrganizationIntelligenceConfig",
Handler: _StorageControl_UpdateOrganizationIntelligenceConfig_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _StorageControl_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _StorageControl_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _StorageControl_TestIamPermissions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/storage/control/v2/storage_control.proto",
}StorageControl_ServiceDesc is the grpc.ServiceDesc for StorageControl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions
func RegisterStorageControlServer
func RegisterStorageControlServer(s grpc.ServiceRegistrar, srv StorageControlServer)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() stringfunc (*AnywhereCache) GetCreateTime
func (x *AnywhereCache) GetCreateTime() *timestamppb.Timestampfunc (*AnywhereCache) GetName
func (x *AnywhereCache) GetName() stringfunc (*AnywhereCache) GetPendingUpdate
func (x *AnywhereCache) GetPendingUpdate() boolfunc (*AnywhereCache) GetState
func (x *AnywhereCache) GetState() stringfunc (*AnywhereCache) GetTtl
func (x *AnywhereCache) GetTtl() *durationpb.Durationfunc (*AnywhereCache) GetUpdateTime
func (x *AnywhereCache) GetUpdateTime() *timestamppb.Timestampfunc (*AnywhereCache) GetZone
func (x *AnywhereCache) GetZone() stringfunc (*AnywhereCache) ProtoMessage
func (*AnywhereCache) ProtoMessage()func (*AnywhereCache) ProtoReflect
func (x *AnywhereCache) ProtoReflect() protoreflect.Messagefunc (*AnywhereCache) Reset
func (x *AnywhereCache) Reset()func (*AnywhereCache) String
func (x *AnywhereCache) String() stringCommonLongRunningOperationMetadata
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.Timestampfunc (*CommonLongRunningOperationMetadata) GetEndTime
func (x *CommonLongRunningOperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*CommonLongRunningOperationMetadata) GetProgressPercent
func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32func (*CommonLongRunningOperationMetadata) GetRequestedCancellation
func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() boolfunc (*CommonLongRunningOperationMetadata) GetType
func (x *CommonLongRunningOperationMetadata) GetType() stringfunc (*CommonLongRunningOperationMetadata) GetUpdateTime
func (x *CommonLongRunningOperationMetadata) GetUpdateTime() *timestamppb.Timestampfunc (*CommonLongRunningOperationMetadata) ProtoMessage
func (*CommonLongRunningOperationMetadata) ProtoMessage()func (*CommonLongRunningOperationMetadata) ProtoReflect
func (x *CommonLongRunningOperationMetadata) ProtoReflect() protoreflect.Messagefunc (*CommonLongRunningOperationMetadata) Reset
func (x *CommonLongRunningOperationMetadata) Reset()func (*CommonLongRunningOperationMetadata) String
func (x *CommonLongRunningOperationMetadata) String() stringCreateAnywhereCacheMetadata
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() stringfunc (*CreateAnywhereCacheMetadata) GetAnywhereCacheId
func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() stringfunc (*CreateAnywhereCacheMetadata) GetCommonMetadata
func (x *CreateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadatafunc (*CreateAnywhereCacheMetadata) GetTtl
func (x *CreateAnywhereCacheMetadata) GetTtl() *durationpb.Durationfunc (*CreateAnywhereCacheMetadata) GetZone
func (x *CreateAnywhereCacheMetadata) GetZone() stringfunc (*CreateAnywhereCacheMetadata) ProtoMessage
func (*CreateAnywhereCacheMetadata) ProtoMessage()func (*CreateAnywhereCacheMetadata) ProtoReflect
func (x *CreateAnywhereCacheMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateAnywhereCacheMetadata) Reset
func (x *CreateAnywhereCacheMetadata) Reset()func (*CreateAnywhereCacheMetadata) String
func (x *CreateAnywhereCacheMetadata) String() stringCreateAnywhereCacheRequest
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() *AnywhereCachefunc (*CreateAnywhereCacheRequest) GetParent
func (x *CreateAnywhereCacheRequest) GetParent() stringfunc (*CreateAnywhereCacheRequest) GetRequestId
func (x *CreateAnywhereCacheRequest) GetRequestId() stringfunc (*CreateAnywhereCacheRequest) ProtoMessage
func (*CreateAnywhereCacheRequest) ProtoMessage()func (*CreateAnywhereCacheRequest) ProtoReflect
func (x *CreateAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAnywhereCacheRequest) Reset
func (x *CreateAnywhereCacheRequest) Reset()func (*CreateAnywhereCacheRequest) String
func (x *CreateAnywhereCacheRequest) String() stringCreateFolderRequest
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() *Folderfunc (*CreateFolderRequest) GetFolderId
func (x *CreateFolderRequest) GetFolderId() stringfunc (*CreateFolderRequest) GetParent
func (x *CreateFolderRequest) GetParent() stringfunc (*CreateFolderRequest) GetRecursive
func (x *CreateFolderRequest) GetRecursive() boolfunc (*CreateFolderRequest) GetRequestId
func (x *CreateFolderRequest) GetRequestId() stringfunc (*CreateFolderRequest) ProtoMessage
func (*CreateFolderRequest) ProtoMessage()func (*CreateFolderRequest) ProtoReflect
func (x *CreateFolderRequest) ProtoReflect() protoreflect.Messagefunc (*CreateFolderRequest) Reset
func (x *CreateFolderRequest) Reset()func (*CreateFolderRequest) String
func (x *CreateFolderRequest) String() stringCreateManagedFolderRequest
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() *ManagedFolderfunc (*CreateManagedFolderRequest) GetManagedFolderId
func (x *CreateManagedFolderRequest) GetManagedFolderId() stringfunc (*CreateManagedFolderRequest) GetParent
func (x *CreateManagedFolderRequest) GetParent() stringfunc (*CreateManagedFolderRequest) GetRequestId
func (x *CreateManagedFolderRequest) GetRequestId() stringfunc (*CreateManagedFolderRequest) ProtoMessage
func (*CreateManagedFolderRequest) ProtoMessage()func (*CreateManagedFolderRequest) ProtoReflect
func (x *CreateManagedFolderRequest) ProtoReflect() protoreflect.Messagefunc (*CreateManagedFolderRequest) Reset
func (x *CreateManagedFolderRequest) Reset()func (*CreateManagedFolderRequest) String
func (x *CreateManagedFolderRequest) String() stringDeleteFolderRequest
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() int64func (*DeleteFolderRequest) GetIfMetagenerationNotMatch
func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64func (*DeleteFolderRequest) GetName
func (x *DeleteFolderRequest) GetName() stringfunc (*DeleteFolderRequest) GetRequestId
func (x *DeleteFolderRequest) GetRequestId() stringfunc (*DeleteFolderRequest) ProtoMessage
func (*DeleteFolderRequest) ProtoMessage()func (*DeleteFolderRequest) ProtoReflect
func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteFolderRequest) Reset
func (x *DeleteFolderRequest) Reset()func (*DeleteFolderRequest) String
func (x *DeleteFolderRequest) String() stringDeleteManagedFolderRequest
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() boolfunc (*DeleteManagedFolderRequest) GetIfMetagenerationMatch
func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch
func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64func (*DeleteManagedFolderRequest) GetName
func (x *DeleteManagedFolderRequest) GetName() stringfunc (*DeleteManagedFolderRequest) GetRequestId
func (x *DeleteManagedFolderRequest) GetRequestId() stringfunc (*DeleteManagedFolderRequest) ProtoMessage
func (*DeleteManagedFolderRequest) ProtoMessage()func (*DeleteManagedFolderRequest) ProtoReflect
func (x *DeleteManagedFolderRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteManagedFolderRequest) Reset
func (x *DeleteManagedFolderRequest) Reset()func (*DeleteManagedFolderRequest) String
func (x *DeleteManagedFolderRequest) String() stringDisableAnywhereCacheRequest
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() stringfunc (*DisableAnywhereCacheRequest) GetRequestId
func (x *DisableAnywhereCacheRequest) GetRequestId() stringfunc (*DisableAnywhereCacheRequest) ProtoMessage
func (*DisableAnywhereCacheRequest) ProtoMessage()func (*DisableAnywhereCacheRequest) ProtoReflect
func (x *DisableAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*DisableAnywhereCacheRequest) Reset
func (x *DisableAnywhereCacheRequest) Reset()func (*DisableAnywhereCacheRequest) String
func (x *DisableAnywhereCacheRequest) String() stringFolder
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.Timestampfunc (*Folder) GetMetageneration
func (*Folder) GetName
func (*Folder) GetPendingRenameInfo
func (x *Folder) GetPendingRenameInfo() *PendingRenameInfofunc (*Folder) GetUpdateTime
func (x *Folder) GetUpdateTime() *timestamppb.Timestampfunc (*Folder) ProtoMessage
func (*Folder) ProtoMessage()func (*Folder) ProtoReflect
func (x *Folder) ProtoReflect() protoreflect.Messagefunc (*Folder) Reset
func (x *Folder) Reset()func (*Folder) String
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() stringfunc (*GetAnywhereCacheRequest) GetRequestId
func (x *GetAnywhereCacheRequest) GetRequestId() stringfunc (*GetAnywhereCacheRequest) ProtoMessage
func (*GetAnywhereCacheRequest) ProtoMessage()func (*GetAnywhereCacheRequest) ProtoReflect
func (x *GetAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*GetAnywhereCacheRequest) Reset
func (x *GetAnywhereCacheRequest) Reset()func (*GetAnywhereCacheRequest) String
func (x *GetAnywhereCacheRequest) String() stringGetFolderIntelligenceConfigRequest
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 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() stringfunc (*GetFolderIntelligenceConfigRequest) ProtoMessage
func (*GetFolderIntelligenceConfigRequest) ProtoMessage()func (*GetFolderIntelligenceConfigRequest) ProtoReflect
func (x *GetFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetFolderIntelligenceConfigRequest) Reset
func (x *GetFolderIntelligenceConfigRequest) Reset()func (*GetFolderIntelligenceConfigRequest) String
func (x *GetFolderIntelligenceConfigRequest) String() stringGetFolderRequest
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() int64func (*GetFolderRequest) GetIfMetagenerationNotMatch
func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64func (*GetFolderRequest) GetName
func (x *GetFolderRequest) GetName() stringfunc (*GetFolderRequest) GetRequestId
func (x *GetFolderRequest) GetRequestId() stringfunc (*GetFolderRequest) ProtoMessage
func (*GetFolderRequest) ProtoMessage()func (*GetFolderRequest) ProtoReflect
func (x *GetFolderRequest) ProtoReflect() protoreflect.Messagefunc (*GetFolderRequest) Reset
func (x *GetFolderRequest) Reset()func (*GetFolderRequest) String
func (x *GetFolderRequest) String() stringGetManagedFolderRequest
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() int64func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch
func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64func (*GetManagedFolderRequest) GetName
func (x *GetManagedFolderRequest) GetName() stringfunc (*GetManagedFolderRequest) GetRequestId
func (x *GetManagedFolderRequest) GetRequestId() stringfunc (*GetManagedFolderRequest) ProtoMessage
func (*GetManagedFolderRequest) ProtoMessage()func (*GetManagedFolderRequest) ProtoReflect
func (x *GetManagedFolderRequest) ProtoReflect() protoreflect.Messagefunc (*GetManagedFolderRequest) Reset
func (x *GetManagedFolderRequest) Reset()func (*GetManagedFolderRequest) String
func (x *GetManagedFolderRequest) String() stringGetOrganizationIntelligenceConfigRequest
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 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() stringfunc (*GetOrganizationIntelligenceConfigRequest) ProtoMessage
func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage()func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect
func (x *GetOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetOrganizationIntelligenceConfigRequest) Reset
func (x *GetOrganizationIntelligenceConfigRequest) Reset()func (*GetOrganizationIntelligenceConfigRequest) String
func (x *GetOrganizationIntelligenceConfigRequest) String() stringGetProjectIntelligenceConfigRequest
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 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() stringfunc (*GetProjectIntelligenceConfigRequest) ProtoMessage
func (*GetProjectIntelligenceConfigRequest) ProtoMessage()func (*GetProjectIntelligenceConfigRequest) ProtoReflect
func (x *GetProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetProjectIntelligenceConfigRequest) Reset
func (x *GetProjectIntelligenceConfigRequest) Reset()func (*GetProjectIntelligenceConfigRequest) String
func (x *GetProjectIntelligenceConfigRequest) String() stringGetStorageLayoutRequest
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() stringfunc (*GetStorageLayoutRequest) GetPrefix
func (x *GetStorageLayoutRequest) GetPrefix() stringfunc (*GetStorageLayoutRequest) GetRequestId
func (x *GetStorageLayoutRequest) GetRequestId() stringfunc (*GetStorageLayoutRequest) ProtoMessage
func (*GetStorageLayoutRequest) ProtoMessage()func (*GetStorageLayoutRequest) ProtoReflect
func (x *GetStorageLayoutRequest) ProtoReflect() protoreflect.Messagefunc (*GetStorageLayoutRequest) Reset
func (x *GetStorageLayoutRequest) Reset()func (*GetStorageLayoutRequest) String
func (x *GetStorageLayoutRequest) String() stringIntelligenceConfig
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_EditionConfigfunc (*IntelligenceConfig) GetEffectiveIntelligenceConfig
func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfigfunc (*IntelligenceConfig) GetFilter
func (x *IntelligenceConfig) GetFilter() *IntelligenceConfig_Filterfunc (*IntelligenceConfig) GetName
func (x *IntelligenceConfig) GetName() stringfunc (*IntelligenceConfig) GetTrialConfig
func (x *IntelligenceConfig) GetTrialConfig() *IntelligenceConfig_TrialConfigfunc (*IntelligenceConfig) GetUpdateTime
func (x *IntelligenceConfig) GetUpdateTime() *timestamppb.Timestampfunc (*IntelligenceConfig) ProtoMessage
func (*IntelligenceConfig) ProtoMessage()func (*IntelligenceConfig) ProtoReflect
func (x *IntelligenceConfig) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig) Reset
func (x *IntelligenceConfig) Reset()func (*IntelligenceConfig) String
func (x *IntelligenceConfig) String() stringIntelligenceConfig_EditionConfig
type IntelligenceConfig_EditionConfig int32The 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.
IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED, IntelligenceConfig_INHERIT, IntelligenceConfig_DISABLED, IntelligenceConfig_STANDARD, IntelligenceConfig_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.EnumDescriptorfunc (IntelligenceConfig_EditionConfig) Enum
func (x IntelligenceConfig_EditionConfig) Enum() *IntelligenceConfig_EditionConfigfunc (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.EnumNumberfunc (IntelligenceConfig_EditionConfig) String
func (x IntelligenceConfig_EditionConfig) String() stringfunc (IntelligenceConfig_EditionConfig) Type
func (IntelligenceConfig_EditionConfig) Type() protoreflect.EnumTypeIntelligenceConfig_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_EffectiveEditionfunc (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() stringfunc (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage
func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage()func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) Reset()func (*IntelligenceConfig_EffectiveIntelligenceConfig) String
func (x *IntelligenceConfig_EffectiveIntelligenceConfig) String() stringIntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition
type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32The effective edition of the IntelligenceConfig resource.
IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED, IntelligenceConfig_EffectiveIntelligenceConfig_NONE, IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD
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.EnumDescriptorfunc (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum
func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum() *IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEditionfunc (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.EnumNumberfunc (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String
func (x IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String() stringfunc (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) 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_CloudStorageBucketsfunc (*IntelligenceConfig_Filter) GetCloudStorageLocations
func (m *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocationsfunc (*IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets
func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBucketsfunc (*IntelligenceConfig_Filter) GetExcludedCloudStorageLocations
func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocationsfunc (*IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets
func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBucketsfunc (*IntelligenceConfig_Filter) GetIncludedCloudStorageLocations
func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocationsfunc (*IntelligenceConfig_Filter) ProtoMessage
func (*IntelligenceConfig_Filter) ProtoMessage()func (*IntelligenceConfig_Filter) ProtoReflect
func (x *IntelligenceConfig_Filter) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig_Filter) Reset
func (x *IntelligenceConfig_Filter) Reset()func (*IntelligenceConfig_Filter) String
func (x *IntelligenceConfig_Filter) String() stringIntelligenceConfig_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() []stringfunc (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage
func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage()func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig_Filter_CloudStorageBuckets) Reset
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) Reset()func (*IntelligenceConfig_Filter_CloudStorageBuckets) String
func (x *IntelligenceConfig_Filter_CloudStorageBuckets) String() stringIntelligenceConfig_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() []stringfunc (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage
func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage()func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect
func (x *IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig_Filter_CloudStorageLocations) Reset
func (x *IntelligenceConfig_Filter_CloudStorageLocations) Reset()func (*IntelligenceConfig_Filter_CloudStorageLocations) String
func (x *IntelligenceConfig_Filter_CloudStorageLocations) String() stringIntelligenceConfig_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"`
}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"`
}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"`
}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"`
}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.Timestampfunc (*IntelligenceConfig_TrialConfig) ProtoMessage
func (*IntelligenceConfig_TrialConfig) ProtoMessage()func (*IntelligenceConfig_TrialConfig) ProtoReflect
func (x *IntelligenceConfig_TrialConfig) ProtoReflect() protoreflect.Messagefunc (*IntelligenceConfig_TrialConfig) Reset
func (x *IntelligenceConfig_TrialConfig) Reset()func (*IntelligenceConfig_TrialConfig) String
func (x *IntelligenceConfig_TrialConfig) String() stringListAnywhereCachesRequest
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() int32func (*ListAnywhereCachesRequest) GetPageToken
func (x *ListAnywhereCachesRequest) GetPageToken() stringfunc (*ListAnywhereCachesRequest) GetParent
func (x *ListAnywhereCachesRequest) GetParent() stringfunc (*ListAnywhereCachesRequest) GetRequestId
func (x *ListAnywhereCachesRequest) GetRequestId() stringfunc (*ListAnywhereCachesRequest) ProtoMessage
func (*ListAnywhereCachesRequest) ProtoMessage()func (*ListAnywhereCachesRequest) ProtoReflect
func (x *ListAnywhereCachesRequest) ProtoReflect() protoreflect.Messagefunc (*ListAnywhereCachesRequest) Reset
func (x *ListAnywhereCachesRequest) Reset()func (*ListAnywhereCachesRequest) String
func (x *ListAnywhereCachesRequest) String() stringListAnywhereCachesResponse
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() []*AnywhereCachefunc (*ListAnywhereCachesResponse) GetNextPageToken
func (x *ListAnywhereCachesResponse) GetNextPageToken() stringfunc (*ListAnywhereCachesResponse) ProtoMessage
func (*ListAnywhereCachesResponse) ProtoMessage()func (*ListAnywhereCachesResponse) ProtoReflect
func (x *ListAnywhereCachesResponse) ProtoReflect() protoreflect.Messagefunc (*ListAnywhereCachesResponse) Reset
func (x *ListAnywhereCachesResponse) Reset()func (*ListAnywhereCachesResponse) String
func (x *ListAnywhereCachesResponse) String() stringListFoldersRequest
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() stringfunc (*ListFoldersRequest) GetLexicographicEnd
func (x *ListFoldersRequest) GetLexicographicEnd() stringfunc (*ListFoldersRequest) GetLexicographicStart
func (x *ListFoldersRequest) GetLexicographicStart() stringfunc (*ListFoldersRequest) GetPageSize
func (x *ListFoldersRequest) GetPageSize() int32func (*ListFoldersRequest) GetPageToken
func (x *ListFoldersRequest) GetPageToken() stringfunc (*ListFoldersRequest) GetParent
func (x *ListFoldersRequest) GetParent() stringfunc (*ListFoldersRequest) GetPrefix
func (x *ListFoldersRequest) GetPrefix() stringfunc (*ListFoldersRequest) GetRequestId
func (x *ListFoldersRequest) GetRequestId() stringfunc (*ListFoldersRequest) ProtoMessage
func (*ListFoldersRequest) ProtoMessage()func (*ListFoldersRequest) ProtoReflect
func (x *ListFoldersRequest) ProtoReflect() protoreflect.Messagefunc (*ListFoldersRequest) Reset
func (x *ListFoldersRequest) Reset()func (*ListFoldersRequest) String
func (x *ListFoldersRequest) String() stringListFoldersResponse
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() []*Folderfunc (*ListFoldersResponse) GetNextPageToken
func (x *ListFoldersResponse) GetNextPageToken() stringfunc (*ListFoldersResponse) ProtoMessage
func (*ListFoldersResponse) ProtoMessage()func (*ListFoldersResponse) ProtoReflect
func (x *ListFoldersResponse) ProtoReflect() protoreflect.Messagefunc (*ListFoldersResponse) Reset
func (x *ListFoldersResponse) Reset()func (*ListFoldersResponse) String
func (x *ListFoldersResponse) String() stringListManagedFoldersRequest
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() int32func (*ListManagedFoldersRequest) GetPageToken
func (x *ListManagedFoldersRequest) GetPageToken() stringfunc (*ListManagedFoldersRequest) GetParent
func (x *ListManagedFoldersRequest) GetParent() stringfunc (*ListManagedFoldersRequest) GetPrefix
func (x *ListManagedFoldersRequest) GetPrefix() stringfunc (*ListManagedFoldersRequest) GetRequestId
func (x *ListManagedFoldersRequest) GetRequestId() stringfunc (*ListManagedFoldersRequest) ProtoMessage
func (*ListManagedFoldersRequest) ProtoMessage()func (*ListManagedFoldersRequest) ProtoReflect
func (x *ListManagedFoldersRequest) ProtoReflect() protoreflect.Messagefunc (*ListManagedFoldersRequest) Reset
func (x *ListManagedFoldersRequest) Reset()func (*ListManagedFoldersRequest) String
func (x *ListManagedFoldersRequest) String() stringListManagedFoldersResponse
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() []*ManagedFolderfunc (*ListManagedFoldersResponse) GetNextPageToken
func (x *ListManagedFoldersResponse) GetNextPageToken() stringfunc (*ListManagedFoldersResponse) ProtoMessage
func (*ListManagedFoldersResponse) ProtoMessage()func (*ListManagedFoldersResponse) ProtoReflect
func (x *ListManagedFoldersResponse) ProtoReflect() protoreflect.Messagefunc (*ListManagedFoldersResponse) Reset
func (x *ListManagedFoldersResponse) Reset()func (*ListManagedFoldersResponse) String
func (x *ListManagedFoldersResponse) String() stringManagedFolder
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.Timestampfunc (*ManagedFolder) GetMetageneration
func (x *ManagedFolder) GetMetageneration() int64func (*ManagedFolder) GetName
func (x *ManagedFolder) GetName() stringfunc (*ManagedFolder) GetUpdateTime
func (x *ManagedFolder) GetUpdateTime() *timestamppb.Timestampfunc (*ManagedFolder) ProtoMessage
func (*ManagedFolder) ProtoMessage()func (*ManagedFolder) ProtoReflect
func (x *ManagedFolder) ProtoReflect() protoreflect.Messagefunc (*ManagedFolder) Reset
func (x *ManagedFolder) Reset()func (*ManagedFolder) String
func (x *ManagedFolder) String() stringPauseAnywhereCacheRequest
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() stringfunc (*PauseAnywhereCacheRequest) GetRequestId
func (x *PauseAnywhereCacheRequest) GetRequestId() stringfunc (*PauseAnywhereCacheRequest) ProtoMessage
func (*PauseAnywhereCacheRequest) ProtoMessage()func (*PauseAnywhereCacheRequest) ProtoReflect
func (x *PauseAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*PauseAnywhereCacheRequest) Reset
func (x *PauseAnywhereCacheRequest) Reset()func (*PauseAnywhereCacheRequest) String
func (x *PauseAnywhereCacheRequest) String() stringPendingRenameInfo
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() stringfunc (*PendingRenameInfo) ProtoMessage
func (*PendingRenameInfo) ProtoMessage()func (*PendingRenameInfo) ProtoReflect
func (x *PendingRenameInfo) ProtoReflect() protoreflect.Messagefunc (*PendingRenameInfo) Reset
func (x *PendingRenameInfo) Reset()func (*PendingRenameInfo) String
func (x *PendingRenameInfo) String() stringRenameFolderMetadata
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() *CommonLongRunningOperationMetadatafunc (*RenameFolderMetadata) GetDestinationFolderId
func (x *RenameFolderMetadata) GetDestinationFolderId() stringfunc (*RenameFolderMetadata) GetSourceFolderId
func (x *RenameFolderMetadata) GetSourceFolderId() stringfunc (*RenameFolderMetadata) ProtoMessage
func (*RenameFolderMetadata) ProtoMessage()func (*RenameFolderMetadata) ProtoReflect
func (x *RenameFolderMetadata) ProtoReflect() protoreflect.Messagefunc (*RenameFolderMetadata) Reset
func (x *RenameFolderMetadata) Reset()func (*RenameFolderMetadata) String
func (x *RenameFolderMetadata) String() stringRenameFolderRequest
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() stringfunc (*RenameFolderRequest) GetIfMetagenerationMatch
func (x *RenameFolderRequest) GetIfMetagenerationMatch() int64func (*RenameFolderRequest) GetIfMetagenerationNotMatch
func (x *RenameFolderRequest) GetIfMetagenerationNotMatch() int64func (*RenameFolderRequest) GetName
func (x *RenameFolderRequest) GetName() stringfunc (*RenameFolderRequest) GetRequestId
func (x *RenameFolderRequest) GetRequestId() stringfunc (*RenameFolderRequest) ProtoMessage
func (*RenameFolderRequest) ProtoMessage()func (*RenameFolderRequest) ProtoReflect
func (x *RenameFolderRequest) ProtoReflect() protoreflect.Messagefunc (*RenameFolderRequest) Reset
func (x *RenameFolderRequest) Reset()func (*RenameFolderRequest) String
func (x *RenameFolderRequest) String() stringResumeAnywhereCacheRequest
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() stringfunc (*ResumeAnywhereCacheRequest) GetRequestId
func (x *ResumeAnywhereCacheRequest) GetRequestId() stringfunc (*ResumeAnywhereCacheRequest) ProtoMessage
func (*ResumeAnywhereCacheRequest) ProtoMessage()func (*ResumeAnywhereCacheRequest) ProtoReflect
func (x *ResumeAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*ResumeAnywhereCacheRequest) Reset
func (x *ResumeAnywhereCacheRequest) Reset()func (*ResumeAnywhereCacheRequest) String
func (x *ResumeAnywhereCacheRequest) String() stringStorageControlClient
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)
// Gets the IAM policy for a specified bucket.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Updates an IAM policy for the specified bucket.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Tests a set of permissions on the given bucket, object, or managed folder
// to see which, if any, are held by the caller.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket,
// `projects/_/buckets/{bucket}/objects/{object}` for an object, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}StorageControlClient is the client API for StorageControl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStorageControlClient
func NewStorageControlClient(cc grpc.ClientConnInterface) StorageControlClientStorageControlServer
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)
// Gets the IAM policy for a specified bucket.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Updates an IAM policy for the specified bucket.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Tests a set of permissions on the given bucket, object, or managed folder
// to see which, if any, are held by the caller.
// The `resource` field in the request should be
// `projects/_/buckets/{bucket}` for a bucket,
// `projects/_/buckets/{bucket}/objects/{object}` for an object, or
// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
// for a managed folder.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}StorageControlServer is the server API for StorageControl service. All implementations should embed UnimplementedStorageControlServer for forward compatibility
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_CustomPlacementConfigfunc (*StorageLayout) GetHierarchicalNamespace
func (x *StorageLayout) GetHierarchicalNamespace() *StorageLayout_HierarchicalNamespacefunc (*StorageLayout) GetLocation
func (x *StorageLayout) GetLocation() stringfunc (*StorageLayout) GetLocationType
func (x *StorageLayout) GetLocationType() stringfunc (*StorageLayout) GetName
func (x *StorageLayout) GetName() stringfunc (*StorageLayout) ProtoMessage
func (*StorageLayout) ProtoMessage()func (*StorageLayout) ProtoReflect
func (x *StorageLayout) ProtoReflect() protoreflect.Messagefunc (*StorageLayout) Reset
func (x *StorageLayout) Reset()func (*StorageLayout) String
func (x *StorageLayout) String() stringStorageLayout_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.
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() []stringfunc (*StorageLayout_CustomPlacementConfig) ProtoMessage
func (*StorageLayout_CustomPlacementConfig) ProtoMessage()func (*StorageLayout_CustomPlacementConfig) ProtoReflect
func (x *StorageLayout_CustomPlacementConfig) ProtoReflect() protoreflect.Messagefunc (*StorageLayout_CustomPlacementConfig) Reset
func (x *StorageLayout_CustomPlacementConfig) Reset()func (*StorageLayout_CustomPlacementConfig) String
func (x *StorageLayout_CustomPlacementConfig) String() stringStorageLayout_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() boolfunc (*StorageLayout_HierarchicalNamespace) ProtoMessage
func (*StorageLayout_HierarchicalNamespace) ProtoMessage()func (*StorageLayout_HierarchicalNamespace) ProtoReflect
func (x *StorageLayout_HierarchicalNamespace) ProtoReflect() protoreflect.Messagefunc (*StorageLayout_HierarchicalNamespace) Reset
func (x *StorageLayout_HierarchicalNamespace) Reset()func (*StorageLayout_HierarchicalNamespace) String
func (x *StorageLayout_HierarchicalNamespace) String() stringUnimplementedStorageControlServer
type UnimplementedStorageControlServer struct {
}UnimplementedStorageControlServer should 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) GetIamPolicy
func (UnimplementedStorageControlServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, 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) SetIamPolicy
func (UnimplementedStorageControlServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedStorageControlServer) TestIamPermissions
func (UnimplementedStorageControlServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, 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)UnsafeStorageControlServer
type UnsafeStorageControlServer interface {
// contains filtered or unexported methods
}UnsafeStorageControlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageControlServer will result in compilation errors.
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() stringfunc (*UpdateAnywhereCacheMetadata) GetAnywhereCacheId
func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() stringfunc (*UpdateAnywhereCacheMetadata) GetCommonMetadata
func (x *UpdateAnywhereCacheMetadata) GetCommonMetadata() *CommonLongRunningOperationMetadatafunc (*UpdateAnywhereCacheMetadata) GetTtl
func (x *UpdateAnywhereCacheMetadata) GetTtl() *durationpb.Durationfunc (*UpdateAnywhereCacheMetadata) GetZone
func (x *UpdateAnywhereCacheMetadata) GetZone() stringfunc (*UpdateAnywhereCacheMetadata) ProtoMessage
func (*UpdateAnywhereCacheMetadata) ProtoMessage()func (*UpdateAnywhereCacheMetadata) ProtoReflect
func (x *UpdateAnywhereCacheMetadata) ProtoReflect() protoreflect.Messagefunc (*UpdateAnywhereCacheMetadata) Reset
func (x *UpdateAnywhereCacheMetadata) Reset()func (*UpdateAnywhereCacheMetadata) String
func (x *UpdateAnywhereCacheMetadata) String() stringUpdateAnywhereCacheRequest
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() *AnywhereCachefunc (*UpdateAnywhereCacheRequest) GetRequestId
func (x *UpdateAnywhereCacheRequest) GetRequestId() stringfunc (*UpdateAnywhereCacheRequest) GetUpdateMask
func (x *UpdateAnywhereCacheRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAnywhereCacheRequest) ProtoMessage
func (*UpdateAnywhereCacheRequest) ProtoMessage()func (*UpdateAnywhereCacheRequest) ProtoReflect
func (x *UpdateAnywhereCacheRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAnywhereCacheRequest) Reset
func (x *UpdateAnywhereCacheRequest) Reset()func (*UpdateAnywhereCacheRequest) String
func (x *UpdateAnywhereCacheRequest) String() stringUpdateFolderIntelligenceConfigRequest
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 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() *IntelligenceConfigfunc (*UpdateFolderIntelligenceConfigRequest) GetRequestId
func (x *UpdateFolderIntelligenceConfigRequest) GetRequestId() stringfunc (*UpdateFolderIntelligenceConfigRequest) GetUpdateMask
func (x *UpdateFolderIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateFolderIntelligenceConfigRequest) ProtoMessage
func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()func (*UpdateFolderIntelligenceConfigRequest) ProtoReflect
func (x *UpdateFolderIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateFolderIntelligenceConfigRequest) Reset
func (x *UpdateFolderIntelligenceConfigRequest) Reset()func (*UpdateFolderIntelligenceConfigRequest) String
func (x *UpdateFolderIntelligenceConfigRequest) String() stringUpdateOrganizationIntelligenceConfigRequest
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 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() *IntelligenceConfigfunc (*UpdateOrganizationIntelligenceConfigRequest) GetRequestId
func (x *UpdateOrganizationIntelligenceConfigRequest) GetRequestId() stringfunc (*UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask
func (x *UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage
func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage()func (*UpdateOrganizationIntelligenceConfigRequest) ProtoReflect
func (x *UpdateOrganizationIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateOrganizationIntelligenceConfigRequest) Reset
func (x *UpdateOrganizationIntelligenceConfigRequest) Reset()func (*UpdateOrganizationIntelligenceConfigRequest) String
func (x *UpdateOrganizationIntelligenceConfigRequest) String() stringUpdateProjectIntelligenceConfigRequest
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 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() *IntelligenceConfigfunc (*UpdateProjectIntelligenceConfigRequest) GetRequestId
func (x *UpdateProjectIntelligenceConfigRequest) GetRequestId() stringfunc (*UpdateProjectIntelligenceConfigRequest) GetUpdateMask
func (x *UpdateProjectIntelligenceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateProjectIntelligenceConfigRequest) ProtoMessage
func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage()func (*UpdateProjectIntelligenceConfigRequest) ProtoReflect
func (x *UpdateProjectIntelligenceConfigRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateProjectIntelligenceConfigRequest) Reset
func (x *UpdateProjectIntelligenceConfigRequest) Reset()func (*UpdateProjectIntelligenceConfigRequest) String
func (x *UpdateProjectIntelligenceConfigRequest) String() string