controlpb

package
v1.63.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 18 Imported by: 10

Documentation

Index

Constants

View Source
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_DeleteFolderRecursive_FullMethodName                = "/google.storage.control.v2.StorageControl/DeleteFolderRecursive"
	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"
	StorageControl_GetIntelligenceFinding_FullMethodName               = "/google.storage.control.v2.StorageControl/GetIntelligenceFinding"
	StorageControl_ListIntelligenceFindings_FullMethodName             = "/google.storage.control.v2.StorageControl/ListIntelligenceFindings"
	StorageControl_SummarizeIntelligenceFindings_FullMethodName        = "/google.storage.control.v2.StorageControl/SummarizeIntelligenceFindings"
	StorageControl_GetIntelligenceFindingRevision_FullMethodName       = "/google.storage.control.v2.StorageControl/GetIntelligenceFindingRevision"
	StorageControl_ListIntelligenceFindingRevisions_FullMethodName     = "/google.storage.control.v2.StorageControl/ListIntelligenceFindingRevisions"
)

Variables

View Source
var (
	FindingType_name = map[int32]string{
		0: "FINDING_TYPE_UNSPECIFIED",
		1: "FINDING_TYPE_COLDLINE_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE",
		2: "FINDING_TYPE_THROTTLED_REQUEST_SPIKE",
		3: "FINDING_TYPE_CROSS_REGION_EGRESS_SPIKE",
		4: "FINDING_TYPE_STORAGE_GROWTH_ABOVE_TREND",
	}
	FindingType_value = map[string]int32{
		"FINDING_TYPE_UNSPECIFIED":                                    0,
		"FINDING_TYPE_COLDLINE_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE": 1,
		"FINDING_TYPE_THROTTLED_REQUEST_SPIKE":                        2,
		"FINDING_TYPE_CROSS_REGION_EGRESS_SPIKE":                      3,
		"FINDING_TYPE_STORAGE_GROWTH_ABOVE_TREND":                     4,
	}
)

Enum value maps for FindingType.

View Source
var (
	FindingCategory_name = map[int32]string{
		0: "FINDING_CATEGORY_UNSPECIFIED",
		1: "FINDING_CATEGORY_DATA_MANAGEMENT",
		2: "FINDING_CATEGORY_PERFORMANCE",
	}
	FindingCategory_value = map[string]int32{
		"FINDING_CATEGORY_UNSPECIFIED":     0,
		"FINDING_CATEGORY_DATA_MANAGEMENT": 1,
		"FINDING_CATEGORY_PERFORMANCE":     2,
	}
)

Enum value maps for FindingCategory.

View Source
var (
	FindingSeverity_name = map[int32]string{
		0: "FINDING_SEVERITY_UNSPECIFIED",
		1: "FINDING_SEVERITY_CRITICAL",
	}
	FindingSeverity_value = map[string]int32{
		"FINDING_SEVERITY_UNSPECIFIED": 0,
		"FINDING_SEVERITY_CRITICAL":    1,
	}
)

Enum value maps for FindingSeverity.

View Source
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.

View Source
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.

View Source
var (
	SummarizeIntelligenceFindingsRequest_ResourceScope_name = map[int32]string{
		0: "RESOURCE_SCOPE_UNSPECIFIED",
		1: "PARENT",
		2: "PROJECT",
	}
	SummarizeIntelligenceFindingsRequest_ResourceScope_value = map[string]int32{
		"RESOURCE_SCOPE_UNSPECIFIED": 0,
		"PARENT":                     1,
		"PROJECT":                    2,
	}
)

Enum value maps for SummarizeIntelligenceFindingsRequest_ResourceScope.

View Source
var (
	FindingSummary_SummaryDetails_ResourceType_name = map[int32]string{
		0: "RESOURCE_TYPE_UNSPECIFIED",
		1: "PROJECT",
		2: "BUCKET",
	}
	FindingSummary_SummaryDetails_ResourceType_value = map[string]int32{
		"RESOURCE_TYPE_UNSPECIFIED": 0,
		"PROJECT":                   1,
		"BUCKET":                    2,
	}
)

Enum value maps for FindingSummary_SummaryDetails_ResourceType.

View Source
var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptor
View Source
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: "DeleteFolderRecursive",
			Handler:    _StorageControl_DeleteFolderRecursive_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,
		},
		{
			MethodName: "GetIntelligenceFinding",
			Handler:    _StorageControl_GetIntelligenceFinding_Handler,
		},
		{
			MethodName: "ListIntelligenceFindings",
			Handler:    _StorageControl_ListIntelligenceFindings_Handler,
		},
		{
			MethodName: "SummarizeIntelligenceFindings",
			Handler:    _StorageControl_SummarizeIntelligenceFindings_Handler,
		},
		{
			MethodName: "GetIntelligenceFindingRevision",
			Handler:    _StorageControl_GetIntelligenceFindingRevision_Handler,
		},
		{
			MethodName: "ListIntelligenceFindingRevisions",
			Handler:    _StorageControl_ListIntelligenceFindingRevisions_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)

Types

type AnywhereCache added in v1.53.0

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 deprecated added in v1.53.0

func (*AnywhereCache) Descriptor() ([]byte, []int)

Deprecated: Use AnywhereCache.ProtoReflect.Descriptor instead.

func (*AnywhereCache) GetAdmissionPolicy added in v1.53.0

func (x *AnywhereCache) GetAdmissionPolicy() string

func (*AnywhereCache) GetCreateTime added in v1.53.0

func (x *AnywhereCache) GetCreateTime() *timestamppb.Timestamp

func (*AnywhereCache) GetName added in v1.53.0

func (x *AnywhereCache) GetName() string

func (*AnywhereCache) GetPendingUpdate added in v1.53.0

func (x *AnywhereCache) GetPendingUpdate() bool

func (*AnywhereCache) GetState added in v1.53.0

func (x *AnywhereCache) GetState() string

func (*AnywhereCache) GetTtl added in v1.53.0

func (x *AnywhereCache) GetTtl() *durationpb.Duration

func (*AnywhereCache) GetUpdateTime added in v1.53.0

func (x *AnywhereCache) GetUpdateTime() *timestamppb.Timestamp

func (*AnywhereCache) GetZone added in v1.53.0

func (x *AnywhereCache) GetZone() string

func (*AnywhereCache) ProtoMessage added in v1.53.0

func (*AnywhereCache) ProtoMessage()

func (*AnywhereCache) ProtoReflect added in v1.53.0

func (x *AnywhereCache) ProtoReflect() protoreflect.Message

func (*AnywhereCache) Reset added in v1.53.0

func (x *AnywhereCache) Reset()

func (*AnywhereCache) String added in v1.53.0

func (x *AnywhereCache) String() string

type CommonLongRunningOperationMetadata

type CommonLongRunningOperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The time the operation was last modified.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The type of operation invoked.
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. Identifies whether the user has requested cancellation.
	RequestedCancellation bool `protobuf:"varint,5,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. The estimated progress of the operation in percentage [0,
	// 100]. The value -1 means the progress is unknown.
	ProgressPercent int32 `protobuf:"varint,6,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// contains filtered or unexported fields
}

The message contains metadata that is common to all Storage Control long-running operations, present in its `google.longrunning.Operation` messages, and accessible via `metadata.common_metadata`.

func (*CommonLongRunningOperationMetadata) Descriptor deprecated

func (*CommonLongRunningOperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CommonLongRunningOperationMetadata.ProtoReflect.Descriptor instead.

func (*CommonLongRunningOperationMetadata) GetCreateTime

func (*CommonLongRunningOperationMetadata) GetEndTime

func (*CommonLongRunningOperationMetadata) GetProgressPercent

func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32

func (*CommonLongRunningOperationMetadata) GetRequestedCancellation

func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() bool

func (*CommonLongRunningOperationMetadata) GetType

func (*CommonLongRunningOperationMetadata) GetUpdateTime

func (*CommonLongRunningOperationMetadata) ProtoMessage

func (*CommonLongRunningOperationMetadata) ProtoMessage()

func (*CommonLongRunningOperationMetadata) ProtoReflect

func (*CommonLongRunningOperationMetadata) Reset

func (*CommonLongRunningOperationMetadata) String

type CreateAnywhereCacheMetadata added in v1.53.0

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 deprecated added in v1.53.0

func (*CreateAnywhereCacheMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheMetadata) GetAdmissionPolicy added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*CreateAnywhereCacheMetadata) GetAnywhereCacheId added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*CreateAnywhereCacheMetadata) GetCommonMetadata added in v1.53.0

func (*CreateAnywhereCacheMetadata) GetTtl added in v1.53.0

func (*CreateAnywhereCacheMetadata) GetZone added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetZone() string

func (*CreateAnywhereCacheMetadata) ProtoMessage added in v1.53.0

func (*CreateAnywhereCacheMetadata) ProtoMessage()

func (*CreateAnywhereCacheMetadata) ProtoReflect added in v1.53.0

func (*CreateAnywhereCacheMetadata) Reset added in v1.53.0

func (x *CreateAnywhereCacheMetadata) Reset()

func (*CreateAnywhereCacheMetadata) String added in v1.53.0

func (x *CreateAnywhereCacheMetadata) String() string

type CreateAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*CreateAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheRequest) GetAnywhereCache added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*CreateAnywhereCacheRequest) GetParent added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetParent() string

func (*CreateAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetRequestId() string

func (*CreateAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*CreateAnywhereCacheRequest) ProtoMessage()

func (*CreateAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*CreateAnywhereCacheRequest) Reset added in v1.53.0

func (x *CreateAnywhereCacheRequest) Reset()

func (*CreateAnywhereCacheRequest) String added in v1.53.0

func (x *CreateAnywhereCacheRequest) String() string

type CreateFolderRequest

type CreateFolderRequest struct {

	// Required. Name of the bucket in which the folder will reside. The bucket
	// must be a hierarchical namespace enabled bucket.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Properties of the new folder being created.
	// The bucket and name of the folder are specified in the parent and folder_id
	// fields, respectively. Populating those fields in `folder` will result in an
	// error.
	Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
	// Required. The full name of a folder, including all its parent folders.
	// Folders use single '/' characters as a delimiter.
	// The folder_id must end with a slash.
	// For example, the folder_id of "books/biographies/" would create a new
	// "biographies/" folder under the "books/" folder.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Optional. If true, parent folder doesn't have to be present and all missing
	// ancestor folders will be created atomically.
	Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

func (*CreateFolderRequest) Descriptor deprecated

func (*CreateFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateFolderRequest) GetFolder

func (x *CreateFolderRequest) GetFolder() *Folder

func (*CreateFolderRequest) GetFolderId

func (x *CreateFolderRequest) GetFolderId() string

func (*CreateFolderRequest) GetParent

func (x *CreateFolderRequest) GetParent() string

func (*CreateFolderRequest) GetRecursive

func (x *CreateFolderRequest) GetRecursive() bool

func (*CreateFolderRequest) GetRequestId

func (x *CreateFolderRequest) GetRequestId() string

func (*CreateFolderRequest) ProtoMessage

func (*CreateFolderRequest) ProtoMessage()

func (*CreateFolderRequest) ProtoReflect

func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message

func (*CreateFolderRequest) Reset

func (x *CreateFolderRequest) Reset()

func (*CreateFolderRequest) String

func (x *CreateFolderRequest) String() string

type CreateManagedFolderRequest added in v1.41.0

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 deprecated added in v1.41.0

func (*CreateManagedFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateManagedFolderRequest) GetManagedFolder added in v1.41.0

func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder

func (*CreateManagedFolderRequest) GetManagedFolderId added in v1.41.0

func (x *CreateManagedFolderRequest) GetManagedFolderId() string

func (*CreateManagedFolderRequest) GetParent added in v1.41.0

func (x *CreateManagedFolderRequest) GetParent() string

func (*CreateManagedFolderRequest) GetRequestId added in v1.41.0

func (x *CreateManagedFolderRequest) GetRequestId() string

func (*CreateManagedFolderRequest) ProtoMessage added in v1.41.0

func (*CreateManagedFolderRequest) ProtoMessage()

func (*CreateManagedFolderRequest) ProtoReflect added in v1.41.0

func (*CreateManagedFolderRequest) Reset added in v1.41.0

func (x *CreateManagedFolderRequest) Reset()

func (*CreateManagedFolderRequest) String added in v1.41.0

func (x *CreateManagedFolderRequest) String() string

type DeleteFolderRecursiveMetadata added in v1.61.0

type DeleteFolderRecursiveMetadata 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 folder recursively deleted.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

Message returned in the metadata field of the Operation resource for DeleteFolderRecursive operations.

func (*DeleteFolderRecursiveMetadata) Descriptor deprecated added in v1.61.0

func (*DeleteFolderRecursiveMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFolderRecursiveMetadata.ProtoReflect.Descriptor instead.

func (*DeleteFolderRecursiveMetadata) GetCommonMetadata added in v1.61.0

func (*DeleteFolderRecursiveMetadata) GetFolderId added in v1.61.0

func (x *DeleteFolderRecursiveMetadata) GetFolderId() string

func (*DeleteFolderRecursiveMetadata) ProtoMessage added in v1.61.0

func (*DeleteFolderRecursiveMetadata) ProtoMessage()

func (*DeleteFolderRecursiveMetadata) ProtoReflect added in v1.61.0

func (*DeleteFolderRecursiveMetadata) Reset added in v1.61.0

func (x *DeleteFolderRecursiveMetadata) Reset()

func (*DeleteFolderRecursiveMetadata) String added in v1.61.0

type DeleteFolderRecursiveRequest added in v1.61.0

type DeleteFolderRecursiveRequest struct {

	// Required. Name of the folder being deleted, however all of its contents
	// will be deleted too. Format:
	// `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Makes the operation only succeed conditional on whether the root
	// folder's current metageneration matches the given value.
	IfMetagenerationMatch *int64 `` /* 133-byte string literal not displayed */
	// Optional. Makes the operation only succeed conditional on whether the root
	// folder's current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 DeleteFolderRecursive.

func (*DeleteFolderRecursiveRequest) Descriptor deprecated added in v1.61.0

func (*DeleteFolderRecursiveRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFolderRecursiveRequest.ProtoReflect.Descriptor instead.

func (*DeleteFolderRecursiveRequest) GetIfMetagenerationMatch added in v1.61.0

func (x *DeleteFolderRecursiveRequest) GetIfMetagenerationMatch() int64

func (*DeleteFolderRecursiveRequest) GetIfMetagenerationNotMatch added in v1.61.0

func (x *DeleteFolderRecursiveRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteFolderRecursiveRequest) GetName added in v1.61.0

func (x *DeleteFolderRecursiveRequest) GetName() string

func (*DeleteFolderRecursiveRequest) GetRequestId added in v1.61.0

func (x *DeleteFolderRecursiveRequest) GetRequestId() string

func (*DeleteFolderRecursiveRequest) ProtoMessage added in v1.61.0

func (*DeleteFolderRecursiveRequest) ProtoMessage()

func (*DeleteFolderRecursiveRequest) ProtoReflect added in v1.61.0

func (*DeleteFolderRecursiveRequest) Reset added in v1.61.0

func (x *DeleteFolderRecursiveRequest) Reset()

func (*DeleteFolderRecursiveRequest) String added in v1.61.0

type DeleteFolderRequest

type DeleteFolderRequest struct {

	// Required. Name of the folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration matches the given value.
	IfMetagenerationMatch *int64 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated

func (*DeleteFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteFolderRequest) GetIfMetagenerationMatch

func (x *DeleteFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteFolderRequest) GetIfMetagenerationNotMatch

func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteFolderRequest) GetName

func (x *DeleteFolderRequest) GetName() string

func (*DeleteFolderRequest) GetRequestId

func (x *DeleteFolderRequest) GetRequestId() string

func (*DeleteFolderRequest) ProtoMessage

func (*DeleteFolderRequest) ProtoMessage()

func (*DeleteFolderRequest) ProtoReflect

func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message

func (*DeleteFolderRequest) Reset

func (x *DeleteFolderRequest) Reset()

func (*DeleteFolderRequest) String

func (x *DeleteFolderRequest) String() string

type DeleteManagedFolderRequest added in v1.41.0

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 `` /* 133-byte string literal not displayed */
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.41.0

func (*DeleteManagedFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteManagedFolderRequest) GetAllowNonEmpty added in v1.41.0

func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool

func (*DeleteManagedFolderRequest) GetIfMetagenerationMatch added in v1.41.0

func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch added in v1.41.0

func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteManagedFolderRequest) GetName added in v1.41.0

func (x *DeleteManagedFolderRequest) GetName() string

func (*DeleteManagedFolderRequest) GetRequestId added in v1.41.0

func (x *DeleteManagedFolderRequest) GetRequestId() string

func (*DeleteManagedFolderRequest) ProtoMessage added in v1.41.0

func (*DeleteManagedFolderRequest) ProtoMessage()

func (*DeleteManagedFolderRequest) ProtoReflect added in v1.41.0

func (*DeleteManagedFolderRequest) Reset added in v1.41.0

func (x *DeleteManagedFolderRequest) Reset()

func (*DeleteManagedFolderRequest) String added in v1.41.0

func (x *DeleteManagedFolderRequest) String() string

type DisableAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*DisableAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*DisableAnywhereCacheRequest) GetName added in v1.53.0

func (x *DisableAnywhereCacheRequest) GetName() string

func (*DisableAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *DisableAnywhereCacheRequest) GetRequestId() string

func (*DisableAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*DisableAnywhereCacheRequest) ProtoMessage()

func (*DisableAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*DisableAnywhereCacheRequest) Reset added in v1.53.0

func (x *DisableAnywhereCacheRequest) Reset()

func (*DisableAnywhereCacheRequest) String added in v1.53.0

func (x *DisableAnywhereCacheRequest) String() string

type FindingCategory added in v1.63.0

type FindingCategory int32

List of categories a finding falls under.

const (
	// Category is unspecified.
	FindingCategory_FINDING_CATEGORY_UNSPECIFIED FindingCategory = 0
	// Category is 'Data Management'.
	FindingCategory_FINDING_CATEGORY_DATA_MANAGEMENT FindingCategory = 1
	// Category is 'Performance'.
	FindingCategory_FINDING_CATEGORY_PERFORMANCE FindingCategory = 2
)

func (FindingCategory) Descriptor added in v1.63.0

func (FindingCategory) Enum added in v1.63.0

func (x FindingCategory) Enum() *FindingCategory

func (FindingCategory) EnumDescriptor deprecated added in v1.63.0

func (FindingCategory) EnumDescriptor() ([]byte, []int)

Deprecated: Use FindingCategory.Descriptor instead.

func (FindingCategory) Number added in v1.63.0

func (FindingCategory) String added in v1.63.0

func (x FindingCategory) String() string

func (FindingCategory) Type added in v1.63.0

type FindingSeverity added in v1.63.0

type FindingSeverity int32

Severity of the `IntelligenceFinding` resource.

const (
	// Severity is unspecified.
	FindingSeverity_FINDING_SEVERITY_UNSPECIFIED FindingSeverity = 0
	// Severity is critical.
	FindingSeverity_FINDING_SEVERITY_CRITICAL FindingSeverity = 1
)

func (FindingSeverity) Descriptor added in v1.63.0

func (FindingSeverity) Enum added in v1.63.0

func (x FindingSeverity) Enum() *FindingSeverity

func (FindingSeverity) EnumDescriptor deprecated added in v1.63.0

func (FindingSeverity) EnumDescriptor() ([]byte, []int)

Deprecated: Use FindingSeverity.Descriptor instead.

func (FindingSeverity) Number added in v1.63.0

func (FindingSeverity) String added in v1.63.0

func (x FindingSeverity) String() string

func (FindingSeverity) Type added in v1.63.0

type FindingSummary added in v1.63.0

type FindingSummary struct {

	// Output only. The type of the finding.
	Type FindingType `protobuf:"varint,1,opt,name=type,proto3,enum=google.storage.control.v2.FindingType" json:"type,omitempty"`
	// Output only. The category of finding.
	Category FindingCategory `protobuf:"varint,2,opt,name=category,proto3,enum=google.storage.control.v2.FindingCategory" json:"category,omitempty"`
	// Output only. The fully qualified Cloud resource name for which this
	// summary was generated.
	// eg: `//cloudresourcemanager.googleapis.com/projects/p1`
	TargetResource string `protobuf:"bytes,4,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
	// Output only. The creation time of the earliest finding that this summary is
	// based on.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time of the most recent update among all the findings that
	// this summary is based on.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Severity of the finding.
	Severity FindingSeverity `protobuf:"varint,7,opt,name=severity,proto3,enum=google.storage.control.v2.FindingSeverity" json:"severity,omitempty"`
	// Output only. List of `SummaryDetails`.
	SummaryDetails []*FindingSummary_SummaryDetails `protobuf:"bytes,8,rep,name=summary_details,json=summaryDetails,proto3" json:"summary_details,omitempty"`
	// contains filtered or unexported fields
}

A summary of findings generated for an organization, a folder, or a project.

func (*FindingSummary) Descriptor deprecated added in v1.63.0

func (*FindingSummary) Descriptor() ([]byte, []int)

Deprecated: Use FindingSummary.ProtoReflect.Descriptor instead.

func (*FindingSummary) GetCategory added in v1.63.0

func (x *FindingSummary) GetCategory() FindingCategory

func (*FindingSummary) GetCreateTime added in v1.63.0

func (x *FindingSummary) GetCreateTime() *timestamppb.Timestamp

func (*FindingSummary) GetSeverity added in v1.63.0

func (x *FindingSummary) GetSeverity() FindingSeverity

func (*FindingSummary) GetSummaryDetails added in v1.63.0

func (x *FindingSummary) GetSummaryDetails() []*FindingSummary_SummaryDetails

func (*FindingSummary) GetTargetResource added in v1.63.0

func (x *FindingSummary) GetTargetResource() string

func (*FindingSummary) GetType added in v1.63.0

func (x *FindingSummary) GetType() FindingType

func (*FindingSummary) GetUpdateTime added in v1.63.0

func (x *FindingSummary) GetUpdateTime() *timestamppb.Timestamp

func (*FindingSummary) ProtoMessage added in v1.63.0

func (*FindingSummary) ProtoMessage()

func (*FindingSummary) ProtoReflect added in v1.63.0

func (x *FindingSummary) ProtoReflect() protoreflect.Message

func (*FindingSummary) Reset added in v1.63.0

func (x *FindingSummary) Reset()

func (*FindingSummary) String added in v1.63.0

func (x *FindingSummary) String() string

type FindingSummary_SummaryDetails added in v1.63.0

type FindingSummary_SummaryDetails struct {

	// The value of the summary.
	//
	// Types that are valid to be assigned to Magnitude:
	//
	//	*FindingSummary_SummaryDetails_Count
	//	*FindingSummary_SummaryDetails_Percentage
	Magnitude isFindingSummary_SummaryDetails_Magnitude `protobuf_oneof:"magnitude"`
	// Output only. The type of Cloud resource this summary detail applies to.
	ResourceType FindingSummary_SummaryDetails_ResourceType `` /* 172-byte string literal not displayed */
	// Output only. A short description about the FindingSummary
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Details about the `FindingSummary` resource.

func (*FindingSummary_SummaryDetails) Descriptor deprecated added in v1.63.0

func (*FindingSummary_SummaryDetails) Descriptor() ([]byte, []int)

Deprecated: Use FindingSummary_SummaryDetails.ProtoReflect.Descriptor instead.

func (*FindingSummary_SummaryDetails) GetCount added in v1.63.0

func (x *FindingSummary_SummaryDetails) GetCount() int64

func (*FindingSummary_SummaryDetails) GetDescription added in v1.63.0

func (x *FindingSummary_SummaryDetails) GetDescription() string

func (*FindingSummary_SummaryDetails) GetMagnitude added in v1.63.0

func (x *FindingSummary_SummaryDetails) GetMagnitude() isFindingSummary_SummaryDetails_Magnitude

func (*FindingSummary_SummaryDetails) GetPercentage added in v1.63.0

func (x *FindingSummary_SummaryDetails) GetPercentage() float32

func (*FindingSummary_SummaryDetails) GetResourceType added in v1.63.0

func (*FindingSummary_SummaryDetails) ProtoMessage added in v1.63.0

func (*FindingSummary_SummaryDetails) ProtoMessage()

func (*FindingSummary_SummaryDetails) ProtoReflect added in v1.63.0

func (*FindingSummary_SummaryDetails) Reset added in v1.63.0

func (x *FindingSummary_SummaryDetails) Reset()

func (*FindingSummary_SummaryDetails) String added in v1.63.0

type FindingSummary_SummaryDetails_Count added in v1.63.0

type FindingSummary_SummaryDetails_Count struct {
	// The count of impacted resources.
	Count int64 `protobuf:"varint,1,opt,name=count,proto3,oneof"`
}

type FindingSummary_SummaryDetails_Percentage added in v1.63.0

type FindingSummary_SummaryDetails_Percentage struct {
	// The percentage of impacted resources.
	Percentage float32 `protobuf:"fixed32,2,opt,name=percentage,proto3,oneof"`
}

type FindingSummary_SummaryDetails_ResourceType added in v1.63.0

type FindingSummary_SummaryDetails_ResourceType int32

The list of resource types.

const (
	// Resource type is unspecified.
	FindingSummary_SummaryDetails_RESOURCE_TYPE_UNSPECIFIED FindingSummary_SummaryDetails_ResourceType = 0
	// Resource type is project.
	FindingSummary_SummaryDetails_PROJECT FindingSummary_SummaryDetails_ResourceType = 1
	// Resource type is bucket.
	FindingSummary_SummaryDetails_BUCKET FindingSummary_SummaryDetails_ResourceType = 2
)

func (FindingSummary_SummaryDetails_ResourceType) Descriptor added in v1.63.0

func (FindingSummary_SummaryDetails_ResourceType) Enum added in v1.63.0

func (FindingSummary_SummaryDetails_ResourceType) EnumDescriptor deprecated added in v1.63.0

func (FindingSummary_SummaryDetails_ResourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FindingSummary_SummaryDetails_ResourceType.Descriptor instead.

func (FindingSummary_SummaryDetails_ResourceType) Number added in v1.63.0

func (FindingSummary_SummaryDetails_ResourceType) String added in v1.63.0

func (FindingSummary_SummaryDetails_ResourceType) Type added in v1.63.0

type FindingType added in v1.63.0

type FindingType int32

List the finding types.

const (
	// Finding type is unspecified.
	FindingType_FINDING_TYPE_UNSPECIFIED FindingType = 0
	// Finding is about a spike in Class A/B operations on Coldline or Archive
	// Cloud Storage objects.
	FindingType_FINDING_TYPE_COLDLINE_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE FindingType = 1
	// Finding is about a spike in throttled requests (429 errors) within a
	// project.
	FindingType_FINDING_TYPE_THROTTLED_REQUEST_SPIKE FindingType = 2
	// Finding is about a spike in cross region egress in Cloud Storage.
	FindingType_FINDING_TYPE_CROSS_REGION_EGRESS_SPIKE FindingType = 3
	// Finding is about growth in storage above the expected trend.
	FindingType_FINDING_TYPE_STORAGE_GROWTH_ABOVE_TREND FindingType = 4
)

func (FindingType) Descriptor added in v1.63.0

func (FindingType) Enum added in v1.63.0

func (x FindingType) Enum() *FindingType

func (FindingType) EnumDescriptor deprecated added in v1.63.0

func (FindingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FindingType.Descriptor instead.

func (FindingType) Number added in v1.63.0

func (x FindingType) Number() protoreflect.EnumNumber

func (FindingType) String added in v1.63.0

func (x FindingType) String() string

func (FindingType) Type added in v1.63.0

type Folder

type Folder struct {

	// Identifier. The name of this folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The version of the metadata for this folder. Used for
	// preconditions and for detecting changes in metadata.
	Metageneration int64 `protobuf:"varint,3,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// Output only. The creation time of the folder.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The modification time of the folder.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Only present if the folder is part of an ongoing RenameFolder
	// operation. Contains information which can be used to query the operation
	// status. The presence of this field also indicates all write operations are
	// blocked for this folder, including folder, managed folder, and object
	// operations.
	PendingRenameInfo *PendingRenameInfo `protobuf:"bytes,7,opt,name=pending_rename_info,json=pendingRenameInfo,proto3" json:"pending_rename_info,omitempty"`
	// contains filtered or unexported fields
}

A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.

func (*Folder) Descriptor deprecated

func (*Folder) Descriptor() ([]byte, []int)

Deprecated: Use Folder.ProtoReflect.Descriptor instead.

func (*Folder) GetCreateTime

func (x *Folder) GetCreateTime() *timestamppb.Timestamp

func (*Folder) GetMetageneration

func (x *Folder) GetMetageneration() int64

func (*Folder) GetName

func (x *Folder) GetName() string

func (*Folder) GetPendingRenameInfo

func (x *Folder) GetPendingRenameInfo() *PendingRenameInfo

func (*Folder) GetUpdateTime

func (x *Folder) GetUpdateTime() *timestamppb.Timestamp

func (*Folder) ProtoMessage

func (*Folder) ProtoMessage()

func (*Folder) ProtoReflect

func (x *Folder) ProtoReflect() protoreflect.Message

func (*Folder) Reset

func (x *Folder) Reset()

func (*Folder) String

func (x *Folder) String() string

type GetAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*GetAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*GetAnywhereCacheRequest) GetName added in v1.53.0

func (x *GetAnywhereCacheRequest) GetName() string

func (*GetAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *GetAnywhereCacheRequest) GetRequestId() string

func (*GetAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*GetAnywhereCacheRequest) ProtoMessage()

func (*GetAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (x *GetAnywhereCacheRequest) ProtoReflect() protoreflect.Message

func (*GetAnywhereCacheRequest) Reset added in v1.53.0

func (x *GetAnywhereCacheRequest) Reset()

func (*GetAnywhereCacheRequest) String added in v1.53.0

func (x *GetAnywhereCacheRequest) String() string

type GetFolderIntelligenceConfigRequest added in v1.55.0

type GetFolderIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your folder.
	//
	// Format: `folders/{id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the `IntelligenceConfig` resource associated with your folder.

**IAM Permissions**

Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*GetFolderIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetFolderIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) ProtoMessage()

func (*GetFolderIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) String added in v1.55.0

type GetFolderRequest

type GetFolderRequest struct {

	// Required. Name of the folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration matches the given value.
	IfMetagenerationMatch *int64 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated

func (*GetFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.

func (*GetFolderRequest) GetIfMetagenerationMatch

func (x *GetFolderRequest) GetIfMetagenerationMatch() int64

func (*GetFolderRequest) GetIfMetagenerationNotMatch

func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetFolderRequest) GetName

func (x *GetFolderRequest) GetName() string

func (*GetFolderRequest) GetRequestId

func (x *GetFolderRequest) GetRequestId() string

func (*GetFolderRequest) ProtoMessage

func (*GetFolderRequest) ProtoMessage()

func (*GetFolderRequest) ProtoReflect

func (x *GetFolderRequest) ProtoReflect() protoreflect.Message

func (*GetFolderRequest) Reset

func (x *GetFolderRequest) Reset()

func (*GetFolderRequest) String

func (x *GetFolderRequest) String() string

type GetIntelligenceFindingRequest added in v1.63.0

type GetIntelligenceFindingRequest struct {

	// Required. The name of the `IntelligenceFinding` resource.
	//
	// Format:
	// `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the `IntelligenceFinding` resource associated with a project.

func (*GetIntelligenceFindingRequest) Descriptor deprecated added in v1.63.0

func (*GetIntelligenceFindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIntelligenceFindingRequest.ProtoReflect.Descriptor instead.

func (*GetIntelligenceFindingRequest) GetName added in v1.63.0

func (*GetIntelligenceFindingRequest) ProtoMessage added in v1.63.0

func (*GetIntelligenceFindingRequest) ProtoMessage()

func (*GetIntelligenceFindingRequest) ProtoReflect added in v1.63.0

func (*GetIntelligenceFindingRequest) Reset added in v1.63.0

func (x *GetIntelligenceFindingRequest) Reset()

func (*GetIntelligenceFindingRequest) String added in v1.63.0

type GetIntelligenceFindingRevisionRequest added in v1.63.0

type GetIntelligenceFindingRevisionRequest struct {

	// Required. The name of the `IntelligenceFindingRevision` resource.
	// ## Format:
	//
	// `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the `IntelligenceFindingRevision` resource associated with a project.

func (*GetIntelligenceFindingRevisionRequest) Descriptor deprecated added in v1.63.0

func (*GetIntelligenceFindingRevisionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIntelligenceFindingRevisionRequest.ProtoReflect.Descriptor instead.

func (*GetIntelligenceFindingRevisionRequest) GetName added in v1.63.0

func (*GetIntelligenceFindingRevisionRequest) ProtoMessage added in v1.63.0

func (*GetIntelligenceFindingRevisionRequest) ProtoMessage()

func (*GetIntelligenceFindingRevisionRequest) ProtoReflect added in v1.63.0

func (*GetIntelligenceFindingRevisionRequest) Reset added in v1.63.0

func (*GetIntelligenceFindingRevisionRequest) String added in v1.63.0

type GetManagedFolderRequest added in v1.41.0

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 `` /* 133-byte string literal not displayed */
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.41.0

func (*GetManagedFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*GetManagedFolderRequest) GetIfMetagenerationMatch added in v1.41.0

func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch added in v1.41.0

func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetManagedFolderRequest) GetName added in v1.41.0

func (x *GetManagedFolderRequest) GetName() string

func (*GetManagedFolderRequest) GetRequestId added in v1.41.0

func (x *GetManagedFolderRequest) GetRequestId() string

func (*GetManagedFolderRequest) ProtoMessage added in v1.41.0

func (*GetManagedFolderRequest) ProtoMessage()

func (*GetManagedFolderRequest) ProtoReflect added in v1.41.0

func (x *GetManagedFolderRequest) ProtoReflect() protoreflect.Message

func (*GetManagedFolderRequest) Reset added in v1.41.0

func (x *GetManagedFolderRequest) Reset()

func (*GetManagedFolderRequest) String added in v1.41.0

func (x *GetManagedFolderRequest) String() string

type GetOrganizationIntelligenceConfigRequest added in v1.55.0

type GetOrganizationIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your organization.
	//
	// Format: `organizations/{org_id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the `IntelligenceConfig` resource associated with your organization.

**IAM Permissions**

Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.

func (*GetOrganizationIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) String added in v1.55.0

type GetProjectIntelligenceConfigRequest added in v1.55.0

type GetProjectIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your project.
	//
	// Format: `projects/{id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the `IntelligenceConfig` resource associated with your project.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.get` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the project.

func (*GetProjectIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetProjectIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) ProtoMessage()

func (*GetProjectIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) String added in v1.55.0

type GetStorageLayoutRequest

type GetStorageLayoutRequest struct {

	// Required. The name of the StorageLayout resource.
	// Format: `projects/{project}/buckets/{bucket}/storageLayout`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An optional prefix used for permission check. It is useful when the caller
	// only has limited permissions under a specific prefix.
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetStorageLayout.

func (*GetStorageLayoutRequest) Descriptor deprecated

func (*GetStorageLayoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStorageLayoutRequest.ProtoReflect.Descriptor instead.

func (*GetStorageLayoutRequest) GetName

func (x *GetStorageLayoutRequest) GetName() string

func (*GetStorageLayoutRequest) GetPrefix

func (x *GetStorageLayoutRequest) GetPrefix() string

func (*GetStorageLayoutRequest) GetRequestId

func (x *GetStorageLayoutRequest) GetRequestId() string

func (*GetStorageLayoutRequest) ProtoMessage

func (*GetStorageLayoutRequest) ProtoMessage()

func (*GetStorageLayoutRequest) ProtoReflect

func (x *GetStorageLayoutRequest) ProtoReflect() protoreflect.Message

func (*GetStorageLayoutRequest) Reset

func (x *GetStorageLayoutRequest) Reset()

func (*GetStorageLayoutRequest) String

func (x *GetStorageLayoutRequest) String() string

type IntelligenceConfig added in v1.55.0

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 `` /* 165-byte string literal not displayed */
	// 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 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.55.0

func (*IntelligenceConfig) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig) GetEditionConfig added in v1.55.0

func (*IntelligenceConfig) GetEffectiveIntelligenceConfig added in v1.55.0

func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig

func (*IntelligenceConfig) GetFilter added in v1.55.0

func (*IntelligenceConfig) GetName added in v1.55.0

func (x *IntelligenceConfig) GetName() string

func (*IntelligenceConfig) GetTrialConfig added in v1.55.0

func (*IntelligenceConfig) GetUpdateTime added in v1.55.0

func (x *IntelligenceConfig) GetUpdateTime() *timestamppb.Timestamp

func (*IntelligenceConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig) ProtoMessage()

func (*IntelligenceConfig) ProtoReflect added in v1.55.0

func (x *IntelligenceConfig) ProtoReflect() protoreflect.Message

func (*IntelligenceConfig) Reset added in v1.55.0

func (x *IntelligenceConfig) Reset()

func (*IntelligenceConfig) String added in v1.55.0

func (x *IntelligenceConfig) String() string

type IntelligenceConfig_EditionConfig added in v1.55.0

type IntelligenceConfig_EditionConfig int32

The edition configuration of the `IntelligenceConfig` resource. This signifies the edition used for configuring the `IntelligenceConfig` resource and can only take the following values: `EDITION_CONFIG_UNSPECIFIED`, `INHERIT`, `DISABLED`, `STANDARD` and `TRIAL`.

const (
	// This is an unknown edition of the resource.
	IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED IntelligenceConfig_EditionConfig = 0
	// The inherited edition from the parent and filters. This is the default
	// edition when there is no `IntelligenceConfig` setup for a GCP resource.
	IntelligenceConfig_INHERIT IntelligenceConfig_EditionConfig = 1
	// The edition configuration is disabled for the `IntelligenceConfig`
	// resource and its children. Filters are not applicable.
	IntelligenceConfig_DISABLED IntelligenceConfig_EditionConfig = 2
	// The `IntelligenceConfig` resource is of STANDARD edition.
	IntelligenceConfig_STANDARD IntelligenceConfig_EditionConfig = 3
	// The `IntelligenceConfig` resource is available in `TRIAL` edition. During
	// the trial period, Cloud Storage does not charge for Storage Intelligence
	// usage. You can specify the buckets to include in the trial period by
	// using filters. At the end of the trial period, the `IntelligenceConfig`
	// resource is upgraded to `STANDARD` edition.
	IntelligenceConfig_TRIAL IntelligenceConfig_EditionConfig = 5
)

func (IntelligenceConfig_EditionConfig) Descriptor added in v1.55.0

func (IntelligenceConfig_EditionConfig) Enum added in v1.55.0

func (IntelligenceConfig_EditionConfig) EnumDescriptor deprecated added in v1.55.0

func (IntelligenceConfig_EditionConfig) EnumDescriptor() ([]byte, []int)

Deprecated: Use IntelligenceConfig_EditionConfig.Descriptor instead.

func (IntelligenceConfig_EditionConfig) Number added in v1.55.0

func (IntelligenceConfig_EditionConfig) String added in v1.55.0

func (IntelligenceConfig_EditionConfig) Type added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig struct {

	// Output only. The `IntelligenceConfig` edition that is applicable for the
	// resource.
	EffectiveEdition IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition `` /* 205-byte string literal not displayed */
	// 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 deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig added in v1.55.0

func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) String added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32

The effective edition of the `IntelligenceConfig` resource.

const (
	// This is an unknown edition of the resource.
	IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 0
	// No edition.
	IntelligenceConfig_EffectiveIntelligenceConfig_NONE IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 1
	// The `IntelligenceConfig` resource is of STANDARD edition.
	IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 2
)

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.Descriptor instead.

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Type added in v1.55.0

type IntelligenceConfig_Filter added in v1.55.0

type IntelligenceConfig_Filter struct {

	// Bucket locations to include or exclude.
	//
	// Types that are valid to be assigned 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 valid to be assigned 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 deprecated added in v1.55.0

func (*IntelligenceConfig_Filter) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceConfig_Filter.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter) GetCloudStorageBuckets added in v1.55.0

func (x *IntelligenceConfig_Filter) GetCloudStorageBuckets() isIntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetCloudStorageLocations added in v1.55.0

func (x *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets added in v1.55.0

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageLocations added in v1.55.0

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets added in v1.55.0

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageLocations added in v1.55.0

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter) ProtoMessage()

func (*IntelligenceConfig_Filter) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter) Reset added in v1.55.0

func (x *IntelligenceConfig_Filter) Reset()

func (*IntelligenceConfig_Filter) String added in v1.55.0

func (x *IntelligenceConfig_Filter) String() string

type IntelligenceConfig_Filter_CloudStorageBuckets added in v1.55.0

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 deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_Filter_CloudStorageBuckets.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes added in v1.55.0

func (x *IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes() []string

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) Reset added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) String added in v1.55.0

type IntelligenceConfig_Filter_CloudStorageLocations added in v1.55.0

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 deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_Filter_CloudStorageLocations.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageLocations) GetLocations added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) Reset added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) String added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets struct {
	// Buckets to exclude.
	ExcludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,4,opt,name=excluded_cloud_storage_buckets,json=excludedCloudStorageBuckets,proto3,oneof"`
}

type IntelligenceConfig_Filter_ExcludedCloudStorageLocations added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageLocations struct {
	// Bucket locations to exclude.
	ExcludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,2,opt,name=excluded_cloud_storage_locations,json=excludedCloudStorageLocations,proto3,oneof"`
}

type IntelligenceConfig_Filter_IncludedCloudStorageBuckets added in v1.55.0

type IntelligenceConfig_Filter_IncludedCloudStorageBuckets struct {
	// Buckets to include.
	IncludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,3,opt,name=included_cloud_storage_buckets,json=includedCloudStorageBuckets,proto3,oneof"`
}

type IntelligenceConfig_Filter_IncludedCloudStorageLocations added in v1.55.0

type IntelligenceConfig_Filter_IncludedCloudStorageLocations struct {
	// Bucket locations to include.
	IncludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,1,opt,name=included_cloud_storage_locations,json=includedCloudStorageLocations,proto3,oneof"`
}

type IntelligenceConfig_TrialConfig added in v1.55.0

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 deprecated added in v1.55.0

func (*IntelligenceConfig_TrialConfig) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceConfig_TrialConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_TrialConfig) GetExpireTime added in v1.55.0

func (*IntelligenceConfig_TrialConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_TrialConfig) ProtoMessage()

func (*IntelligenceConfig_TrialConfig) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_TrialConfig) Reset added in v1.55.0

func (x *IntelligenceConfig_TrialConfig) Reset()

func (*IntelligenceConfig_TrialConfig) String added in v1.55.0

type IntelligenceFinding added in v1.63.0

type IntelligenceFinding struct {

	// Identifier. The resource name of `IntelligenceFinding`.
	// Format:
	// `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. A short description about the finding.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Type of this finding.
	Type FindingType `protobuf:"varint,3,opt,name=type,proto3,enum=google.storage.control.v2.FindingType" json:"type,omitempty"`
	// Output only. Category of this finding.
	Category FindingCategory `protobuf:"varint,4,opt,name=category,proto3,enum=google.storage.control.v2.FindingCategory" json:"category,omitempty"`
	// Output only. Severity of the finding.
	Severity FindingSeverity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.storage.control.v2.FindingSeverity" json:"severity,omitempty"`
	// Output only. The time at which the finding was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time at which the finding was last updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The fully qualified resource name of the resource that this
	// `IntelligenceFinding` applies to. eg:
	// - `storage.googleapis.com/projects/_/buckets/b1`
	// - `cloudresourecemanager.googleapis.com/projects/p1`
	TargetResource string `protobuf:"bytes,8,opt,name=target_resource,json=targetResource,proto3" json:"target_resource,omitempty"`
	// Output only. Contains GCP resource names that are
	// relevant to this `IntelligenceFinding`. The `target_resource` is also added
	// as part of `associated_resources`. eg:
	// - `storage.googleapis.com/projects/_/buckets/b1`
	// - `cloudresourecemanager.googleapis.com/projects/p1`
	AssociatedResources []string `protobuf:"bytes,9,rep,name=associated_resources,json=associatedResources,proto3" json:"associated_resources,omitempty"`
	// Output only. The time interval during which the underlying data was used to
	// generate this `IntelligenceFinding`.
	ObservationPeriod *interval.Interval `protobuf:"bytes,10,opt,name=observation_period,json=observationPeriod,proto3" json:"observation_period,omitempty"`
	// The specific details of the `IntelligenceFinding`.
	//
	// Types that are valid to be assigned to IntelligenceFindingDetails:
	//
	//	*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_
	//	*IntelligenceFinding_ThrottledRequestsSpike
	//	*IntelligenceFinding_CrossRegionEgressSpike_
	//	*IntelligenceFinding_StorageGrowthAboveTrend_
	IntelligenceFindingDetails isIntelligenceFinding_IntelligenceFindingDetails `protobuf_oneof:"intelligence_finding_details"`
	// contains filtered or unexported fields
}

The `IntelligenceFinding` resource that represents a security, performance, or cost-related finding about a project or bucket.

func (*IntelligenceFinding) Descriptor deprecated added in v1.63.0

func (*IntelligenceFinding) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceFinding.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding) GetAssociatedResources added in v1.63.0

func (x *IntelligenceFinding) GetAssociatedResources() []string

func (*IntelligenceFinding) GetCategory added in v1.63.0

func (x *IntelligenceFinding) GetCategory() FindingCategory

func (*IntelligenceFinding) GetColdlineAndArchivalStorageOperationsSpike added in v1.63.0

func (x *IntelligenceFinding) GetColdlineAndArchivalStorageOperationsSpike() *IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike

func (*IntelligenceFinding) GetCreateTime added in v1.63.0

func (x *IntelligenceFinding) GetCreateTime() *timestamppb.Timestamp

func (*IntelligenceFinding) GetCrossRegionEgressSpike added in v1.63.0

func (x *IntelligenceFinding) GetCrossRegionEgressSpike() *IntelligenceFinding_CrossRegionEgressSpike

func (*IntelligenceFinding) GetDescription added in v1.63.0

func (x *IntelligenceFinding) GetDescription() string

func (*IntelligenceFinding) GetIntelligenceFindingDetails added in v1.63.0

func (x *IntelligenceFinding) GetIntelligenceFindingDetails() isIntelligenceFinding_IntelligenceFindingDetails

func (*IntelligenceFinding) GetName added in v1.63.0

func (x *IntelligenceFinding) GetName() string

func (*IntelligenceFinding) GetObservationPeriod added in v1.63.0

func (x *IntelligenceFinding) GetObservationPeriod() *interval.Interval

func (*IntelligenceFinding) GetSeverity added in v1.63.0

func (x *IntelligenceFinding) GetSeverity() FindingSeverity

func (*IntelligenceFinding) GetStorageGrowthAboveTrend added in v1.63.0

func (x *IntelligenceFinding) GetStorageGrowthAboveTrend() *IntelligenceFinding_StorageGrowthAboveTrend

func (*IntelligenceFinding) GetTargetResource added in v1.63.0

func (x *IntelligenceFinding) GetTargetResource() string

func (*IntelligenceFinding) GetThrottledRequestsSpike added in v1.63.0

func (x *IntelligenceFinding) GetThrottledRequestsSpike() *IntelligenceFinding_ThrottledRequestSpike

func (*IntelligenceFinding) GetType added in v1.63.0

func (x *IntelligenceFinding) GetType() FindingType

func (*IntelligenceFinding) GetUpdateTime added in v1.63.0

func (x *IntelligenceFinding) GetUpdateTime() *timestamppb.Timestamp

func (*IntelligenceFinding) ProtoMessage added in v1.63.0

func (*IntelligenceFinding) ProtoMessage()

func (*IntelligenceFinding) ProtoReflect added in v1.63.0

func (x *IntelligenceFinding) ProtoReflect() protoreflect.Message

func (*IntelligenceFinding) Reset added in v1.63.0

func (x *IntelligenceFinding) Reset()

func (*IntelligenceFinding) String added in v1.63.0

func (x *IntelligenceFinding) String() string

type IntelligenceFindingRevision added in v1.63.0

type IntelligenceFindingRevision struct {

	// Identifier. The resource name of `IntelligenceFindingRevision`.
	// Format:
	// `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}/revisions/{revision}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The snapshot of the `IntelligenceFinding` at the time the
	// revision was created. This field contains the full finding details as they
	// existed for the revision.
	Snapshot *IntelligenceFinding `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// Output only. The timestamp when the revision was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

An `IntelligenceFindingRevision` represents a specific revision of an `IntelligenceFinding` resource.

func (*IntelligenceFindingRevision) Descriptor deprecated added in v1.63.0

func (*IntelligenceFindingRevision) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceFindingRevision.ProtoReflect.Descriptor instead.

func (*IntelligenceFindingRevision) GetCreateTime added in v1.63.0

func (*IntelligenceFindingRevision) GetName added in v1.63.0

func (x *IntelligenceFindingRevision) GetName() string

func (*IntelligenceFindingRevision) GetSnapshot added in v1.63.0

func (*IntelligenceFindingRevision) ProtoMessage added in v1.63.0

func (*IntelligenceFindingRevision) ProtoMessage()

func (*IntelligenceFindingRevision) ProtoReflect added in v1.63.0

func (*IntelligenceFindingRevision) Reset added in v1.63.0

func (x *IntelligenceFindingRevision) Reset()

func (*IntelligenceFindingRevision) String added in v1.63.0

func (x *IntelligenceFindingRevision) String() string

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike struct {

	// Output only. The percentage increase in operations across the project.
	PercentageIncrease float64 `protobuf:"fixed64,1,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. The total count of operations across the project.
	TotalOperationsCount int64 `protobuf:"varint,2,opt,name=total_operations_count,json=totalOperationsCount,proto3" json:"total_operations_count,omitempty"`
	// Output only. A list of the top buckets driving the increase in
	// operations.
	TopBuckets []*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution `protobuf:"bytes,3,rep,name=top_buckets,json=topBuckets,proto3" json:"top_buckets,omitempty"`
	// contains filtered or unexported fields
}

Represents a finding about a spike in Class A/B operations on Coldline or Archive Cloud Storage objects. This corresponds to the `COLD_AND_ARCHIVAL_STORAGE_OPERATIONS_SPIKE` finding type.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) GetTopBuckets added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) GetTotalOperationsCount added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) Reset added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike) String added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_ added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_ struct {
	// Output only. `IntelligenceFinding` about a spike in Class A/B operations
	// on Coldline or Archive Cloud Storage objects.
	ColdlineAndArchivalStorageOperationsSpike *IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike `` /* 135-byte string literal not displayed */
}

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution struct {

	// Output only. The name of the bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Output only. The percentage increase in operations for the bucket.
	PercentageIncrease float64 `protobuf:"fixed64,2,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. The total count of operations for the bucket.
	TotalOperationsCount int64 `protobuf:"varint,3,opt,name=total_operations_count,json=totalOperationsCount,proto3" json:"total_operations_count,omitempty"`
	// The details of the bucket's contribution towards the
	// `IntelligenceFinding`.
	//
	// Types that are valid to be assigned to Details:
	//
	//	*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_
	//	*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Error
	Details isIntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Represents the operation spike details for a bucket.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetBucket added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetContribution added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetDetails added in v1.63.0

func (x *IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetDetails() isIntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Details

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetError added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) GetTotalOperationsCount added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) Reset added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution) String added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution struct {

	// Output only. A list of the top object prefixes driving the increase
	// in operations.
	TopPrefixes []*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution `protobuf:"bytes,1,rep,name=top_prefixes,json=topPrefixes,proto3" json:"top_prefixes,omitempty"`
	// contains filtered or unexported fields
}

Represents the contribution of the bucket towards the `IntelligenceFinding`.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) GetTopPrefixes added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) Reset added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution) String added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_ added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_ struct {
	// Output only. The details about the contribution of the bucket.
	Contribution *IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution `protobuf:"bytes,4,opt,name=contribution,proto3,oneof"`
}

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution struct {

	// Output only. The object prefix.
	// Format: `a/b/c`, 'a/b/d', etc.
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Output only. The percentage increase in operations for the object
	// prefix.
	PercentageIncrease float64 `protobuf:"fixed64,2,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. The total count of operations for the object prefix.
	TotalOperationsCount int64 `protobuf:"varint,3,opt,name=total_operations_count,json=totalOperationsCount,proto3" json:"total_operations_count,omitempty"`
	// contains filtered or unexported fields
}

Represents the operation spike details for an object prefix.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) GetPrefix added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) GetTotalOperationsCount added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) Reset added in v1.63.0

func (*IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Contribution_PrefixContribution) String added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Error added in v1.63.0

type IntelligenceFinding_ColdlineAndArchivalStorageOperationsSpike_BucketContribution_Error struct {
	// Output only. The error related to accessing the details about the
	// contribution of the bucket.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}

type IntelligenceFinding_CrossRegionEgressSpike added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike struct {

	// Output only. The total cross-region egress volume in bytes across the
	// project.
	TotalEgressBytes int64 `protobuf:"varint,1,opt,name=total_egress_bytes,json=totalEgressBytes,proto3" json:"total_egress_bytes,omitempty"`
	// Output only. The percentage increase in cross-region egress across the
	// project.
	PercentageIncrease float64 `protobuf:"fixed64,2,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. A list of top buckets driving the increase in cross-region
	// egress.
	TopBuckets []*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution `protobuf:"bytes,3,rep,name=top_buckets,json=topBuckets,proto3" json:"top_buckets,omitempty"`
	// contains filtered or unexported fields
}

Represents a finding about a spike in cross-region egress from Cloud Storage. This corresponds to the `CROSS_REGION_EGRESS_SPIKE` finding type.

func (*IntelligenceFinding_CrossRegionEgressSpike) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_CrossRegionEgressSpike.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_CrossRegionEgressSpike) GetPercentageIncrease added in v1.63.0

func (x *IntelligenceFinding_CrossRegionEgressSpike) GetPercentageIncrease() float64

func (*IntelligenceFinding_CrossRegionEgressSpike) GetTopBuckets added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike) GetTotalEgressBytes added in v1.63.0

func (x *IntelligenceFinding_CrossRegionEgressSpike) GetTotalEgressBytes() int64

func (*IntelligenceFinding_CrossRegionEgressSpike) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike) Reset added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike) String added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_ added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_ struct {
	// Output only. `IntelligenceFinding` about a spike in cross-region egress.
	CrossRegionEgressSpike *IntelligenceFinding_CrossRegionEgressSpike `protobuf:"bytes,13,opt,name=cross_region_egress_spike,json=crossRegionEgressSpike,proto3,oneof"`
}

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution struct {

	// Output only. The name of the bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Output only. The total cross-region egress volume in bytes for the
	// bucket.
	TotalEgressBytes int64 `protobuf:"varint,2,opt,name=total_egress_bytes,json=totalEgressBytes,proto3" json:"total_egress_bytes,omitempty"`
	// Output only. The percentage increase in cross-region egress for the
	// bucket.
	PercentageIncrease float64 `protobuf:"fixed64,3,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// The details of the bucket's contribution towards the
	// `IntelligenceFinding`.
	//
	// Types that are valid to be assigned to Details:
	//
	//	*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_
	//	*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Error
	Details isIntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Represents the cross-region egress spike details for a bucket.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_CrossRegionEgressSpike_BucketContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetBucket added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetContribution added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetDetails added in v1.63.0

func (x *IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetDetails() isIntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Details

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetError added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) GetTotalEgressBytes added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) Reset added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution) String added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution struct {

	// Output only. A list of the top object prefixes driving the increase
	// in cross-region egress.
	TopPrefixes []*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution `protobuf:"bytes,1,rep,name=top_prefixes,json=topPrefixes,proto3" json:"top_prefixes,omitempty"`
	// contains filtered or unexported fields
}

Represents the contribution of the bucket towards the `IntelligenceFinding`.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) GetTopPrefixes added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) Reset added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution) String added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_ added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_ struct {
	// Output only. The details about the contribution of the bucket.
	Contribution *IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution `protobuf:"bytes,4,opt,name=contribution,proto3,oneof"`
}

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution struct {

	// Output only. The object prefix.
	// Format: `a/b/c`, 'a/b/d', etc.
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Output only. The total cross-region egress volume in bytes from the
	// object prefix.
	TotalEgressBytes int64 `protobuf:"varint,2,opt,name=total_egress_bytes,json=totalEgressBytes,proto3" json:"total_egress_bytes,omitempty"`
	// Output only. The percentage increase in cross-region egress for the
	// object prefix.
	PercentageIncrease float64 `protobuf:"fixed64,3,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// contains filtered or unexported fields
}

Represents the cross-region egress spike details for an object prefix.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) GetPrefix added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) GetTotalEgressBytes added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) Reset added in v1.63.0

func (*IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Contribution_PrefixContribution) String added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Error added in v1.63.0

type IntelligenceFinding_CrossRegionEgressSpike_BucketContribution_Error struct {
	// Output only. The error related to accessing the details about the
	// contribution of the bucket.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}

type IntelligenceFinding_StorageGrowthAboveTrend added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend struct {

	// Output only. The total storage growth in bytes.
	TotalStorageGrowthBytes int64 `` /* 135-byte string literal not displayed */
	// Output only. The percentage increase in storage growth.
	PercentageIncrease float64 `protobuf:"fixed64,2,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. A list of top buckets driving the increase in storage
	// growth.
	TopBuckets []*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution `protobuf:"bytes,3,rep,name=top_buckets,json=topBuckets,proto3" json:"top_buckets,omitempty"`
	// contains filtered or unexported fields
}

Represents a finding about a storage growth above the expected trend. This corresponds to the `STORAGE_GROWTH_ABOVE_TREND` finding type.

func (*IntelligenceFinding_StorageGrowthAboveTrend) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_StorageGrowthAboveTrend.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_StorageGrowthAboveTrend) GetPercentageIncrease added in v1.63.0

func (x *IntelligenceFinding_StorageGrowthAboveTrend) GetPercentageIncrease() float64

func (*IntelligenceFinding_StorageGrowthAboveTrend) GetTopBuckets added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend) GetTotalStorageGrowthBytes added in v1.63.0

func (x *IntelligenceFinding_StorageGrowthAboveTrend) GetTotalStorageGrowthBytes() int64

func (*IntelligenceFinding_StorageGrowthAboveTrend) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend) Reset added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend) String added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend_ added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend_ struct {
	// Output only. `IntelligenceFinding` about growth in storage above the
	// expected trend.
	StorageGrowthAboveTrend *IntelligenceFinding_StorageGrowthAboveTrend `protobuf:"bytes,14,opt,name=storage_growth_above_trend,json=storageGrowthAboveTrend,proto3,oneof"`
}

type IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution struct {

	// Output only. The name of the bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Output only. The total storage growth in bytes for the bucket.
	TotalStorageGrowthBytes int64 `` /* 135-byte string literal not displayed */
	// Output only. The percentage increase in storage growth for the bucket.
	PercentageIncrease float64 `protobuf:"fixed64,3,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// The details of the bucket's contribution towards the
	// `IntelligenceFinding`.
	//
	// Types that are valid to be assigned to Details:
	//
	//	*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution_Error
	Details isIntelligenceFinding_StorageGrowthAboveTrend_BucketContribution_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Represents the storage growth details for a bucket.

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetBucket added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetDetails added in v1.63.0

func (x *IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetDetails() isIntelligenceFinding_StorageGrowthAboveTrend_BucketContribution_Details

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetError added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) GetTotalStorageGrowthBytes added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) Reset added in v1.63.0

func (*IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution) String added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution_Error added in v1.63.0

type IntelligenceFinding_StorageGrowthAboveTrend_BucketContribution_Error struct {
	// Output only. The error related to accessing the details about the
	// contribution of the bucket.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}

type IntelligenceFinding_ThrottledRequestSpike added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike struct {

	// Output only. The count of throttled requests across the project.
	ThrottledRequests int64 `protobuf:"varint,1,opt,name=throttled_requests,json=throttledRequests,proto3" json:"throttled_requests,omitempty"`
	// Output only. The percentage increase in throttled requests across the
	// project.
	PercentageIncrease float64 `protobuf:"fixed64,2,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// Output only. A list of top buckets driving the increase in throttled
	// requests.
	TopBuckets []*IntelligenceFinding_ThrottledRequestSpike_BucketContribution `protobuf:"bytes,3,rep,name=top_buckets,json=topBuckets,proto3" json:"top_buckets,omitempty"`
	// contains filtered or unexported fields
}

Represents a finding about a spike in throttled requests (429 errors) within a project. This corresponds to the `THROTTLED_REQUEST_SPIKE` finding type.

func (*IntelligenceFinding_ThrottledRequestSpike) Descriptor deprecated added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike) Descriptor() ([]byte, []int)

Deprecated: Use IntelligenceFinding_ThrottledRequestSpike.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ThrottledRequestSpike) GetPercentageIncrease added in v1.63.0

func (x *IntelligenceFinding_ThrottledRequestSpike) GetPercentageIncrease() float64

func (*IntelligenceFinding_ThrottledRequestSpike) GetThrottledRequests added in v1.63.0

func (x *IntelligenceFinding_ThrottledRequestSpike) GetThrottledRequests() int64

func (*IntelligenceFinding_ThrottledRequestSpike) GetTopBuckets added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike) Reset added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike) String added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution struct {

	// Output only. The name of the bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Output only. The count of throttled requests for the bucket.
	ThrottledRequests int64 `protobuf:"varint,2,opt,name=throttled_requests,json=throttledRequests,proto3" json:"throttled_requests,omitempty"`
	// Output only. The percentage increase in throttled requests for the
	// bucket.
	PercentageIncrease float64 `protobuf:"fixed64,3,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// The details of the bucket's contribution towards the
	// `IntelligenceFinding`.
	//
	// Types that are valid to be assigned to Details:
	//
	//	*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_
	//	*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Error
	Details isIntelligenceFinding_ThrottledRequestSpike_BucketContribution_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Represents the throttled requests details for a bucket.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ThrottledRequestSpike_BucketContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetBucket added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetContribution added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetDetails added in v1.63.0

func (x *IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetDetails() isIntelligenceFinding_ThrottledRequestSpike_BucketContribution_Details

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetError added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) GetThrottledRequests added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) Reset added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution) String added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution struct {

	// Output only. A list of top object prefixes driving the increase in
	// throttled requests.
	TopPrefixes []*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution `protobuf:"bytes,1,rep,name=top_prefixes,json=topPrefixes,proto3" json:"top_prefixes,omitempty"`
	// contains filtered or unexported fields
}

Represents the contribution of the bucket towards the `IntelligenceFinding`.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) GetTopPrefixes added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) Reset added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution) String added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_ added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_ struct {
	// Output only. The details about the contribution of the bucket.
	Contribution *IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution `protobuf:"bytes,4,opt,name=contribution,proto3,oneof"`
}

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution struct {

	// Output only. The object prefix.
	// Format: `a/b/c`, 'a/b/d', etc.
	Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Output only. The count of throttled requests for the object prefix.
	ThrottledRequests int64 `protobuf:"varint,2,opt,name=throttled_requests,json=throttledRequests,proto3" json:"throttled_requests,omitempty"`
	// Output only. The percentage increase in throttled requests for the
	// object prefix.
	PercentageIncrease float64 `protobuf:"fixed64,3,opt,name=percentage_increase,json=percentageIncrease,proto3" json:"percentage_increase,omitempty"`
	// contains filtered or unexported fields
}

Represents throttled requests details for an object prefix.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) Descriptor deprecated added in v1.63.0

Deprecated: Use IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution.ProtoReflect.Descriptor instead.

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) GetPercentageIncrease added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) GetPrefix added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) GetThrottledRequests added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) ProtoMessage added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) ProtoReflect added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) Reset added in v1.63.0

func (*IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Contribution_PrefixContribution) String added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Error added in v1.63.0

type IntelligenceFinding_ThrottledRequestSpike_BucketContribution_Error struct {
	// Output only. The error related to accessing the details about the
	// contribution of the bucket.
	Error *status.Status `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
}

type IntelligenceFinding_ThrottledRequestsSpike added in v1.63.0

type IntelligenceFinding_ThrottledRequestsSpike struct {
	// Output only. `IntelligenceFinding` about a spike in throttled requests
	// (429 errors) within a project.
	ThrottledRequestsSpike *IntelligenceFinding_ThrottledRequestSpike `protobuf:"bytes,12,opt,name=throttled_requests_spike,json=throttledRequestsSpike,proto3,oneof"`
}

type ListAnywhereCachesRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*ListAnywhereCachesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAnywhereCachesRequest.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesRequest) GetPageSize added in v1.53.0

func (x *ListAnywhereCachesRequest) GetPageSize() int32

func (*ListAnywhereCachesRequest) GetPageToken added in v1.53.0

func (x *ListAnywhereCachesRequest) GetPageToken() string

func (*ListAnywhereCachesRequest) GetParent added in v1.53.0

func (x *ListAnywhereCachesRequest) GetParent() string

func (*ListAnywhereCachesRequest) GetRequestId added in v1.53.0

func (x *ListAnywhereCachesRequest) GetRequestId() string

func (*ListAnywhereCachesRequest) ProtoMessage added in v1.53.0

func (*ListAnywhereCachesRequest) ProtoMessage()

func (*ListAnywhereCachesRequest) ProtoReflect added in v1.53.0

func (*ListAnywhereCachesRequest) Reset added in v1.53.0

func (x *ListAnywhereCachesRequest) Reset()

func (*ListAnywhereCachesRequest) String added in v1.53.0

func (x *ListAnywhereCachesRequest) String() string

type ListAnywhereCachesResponse added in v1.53.0

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 deprecated added in v1.53.0

func (*ListAnywhereCachesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAnywhereCachesResponse.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesResponse) GetAnywhereCaches added in v1.53.0

func (x *ListAnywhereCachesResponse) GetAnywhereCaches() []*AnywhereCache

func (*ListAnywhereCachesResponse) GetNextPageToken added in v1.53.0

func (x *ListAnywhereCachesResponse) GetNextPageToken() string

func (*ListAnywhereCachesResponse) ProtoMessage added in v1.53.0

func (*ListAnywhereCachesResponse) ProtoMessage()

func (*ListAnywhereCachesResponse) ProtoReflect added in v1.53.0

func (*ListAnywhereCachesResponse) Reset added in v1.53.0

func (x *ListAnywhereCachesResponse) Reset()

func (*ListAnywhereCachesResponse) String added in v1.53.0

func (x *ListAnywhereCachesResponse) String() string

type ListFoldersRequest

type ListFoldersRequest struct {

	// Required. Name of the bucket in which to look for folders. The bucket must
	// be a hierarchical namespace enabled bucket.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of folders to return in a single response. The
	// service will use this parameter or 1,000 items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A previously-returned page token representing part of the larger
	// set of results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results to folders whose names begin with this prefix.
	// If set, the value must either be an empty string or end with a '/'.
	Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional. If set, returns results in a directory-like mode. The results
	// will only include folders that either exactly match the above prefix, or
	// are one level below the prefix. The only supported value is '/'.
	Delimiter string `protobuf:"bytes,8,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	// Optional. Filter results to folders whose names are lexicographically equal
	// to or after lexicographic_start. If lexicographic_end is also set, the
	// folders listed have names between lexicographic_start (inclusive) and
	// lexicographic_end (exclusive).
	LexicographicStart string `protobuf:"bytes,6,opt,name=lexicographic_start,json=lexicographicStart,proto3" json:"lexicographic_start,omitempty"`
	// Optional. Filter results to folders whose names are lexicographically
	// before lexicographic_end. If lexicographic_start is also set, the folders
	// listed have names between lexicographic_start (inclusive) and
	// lexicographic_end (exclusive).
	LexicographicEnd string `protobuf:"bytes,7,opt,name=lexicographic_end,json=lexicographicEnd,proto3" json:"lexicographic_end,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListFolders. This operation is only applicable to a hierarchical namespace enabled bucket.

func (*ListFoldersRequest) Descriptor deprecated

func (*ListFoldersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFoldersRequest.ProtoReflect.Descriptor instead.

func (*ListFoldersRequest) GetDelimiter

func (x *ListFoldersRequest) GetDelimiter() string

func (*ListFoldersRequest) GetLexicographicEnd

func (x *ListFoldersRequest) GetLexicographicEnd() string

func (*ListFoldersRequest) GetLexicographicStart

func (x *ListFoldersRequest) GetLexicographicStart() string

func (*ListFoldersRequest) GetPageSize

func (x *ListFoldersRequest) GetPageSize() int32

func (*ListFoldersRequest) GetPageToken

func (x *ListFoldersRequest) GetPageToken() string

func (*ListFoldersRequest) GetParent

func (x *ListFoldersRequest) GetParent() string

func (*ListFoldersRequest) GetPrefix

func (x *ListFoldersRequest) GetPrefix() string

func (*ListFoldersRequest) GetRequestId

func (x *ListFoldersRequest) GetRequestId() string

func (*ListFoldersRequest) ProtoMessage

func (*ListFoldersRequest) ProtoMessage()

func (*ListFoldersRequest) ProtoReflect

func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message

func (*ListFoldersRequest) Reset

func (x *ListFoldersRequest) Reset()

func (*ListFoldersRequest) String

func (x *ListFoldersRequest) String() string

type ListFoldersResponse

type ListFoldersResponse struct {

	// The list of child folders
	Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListFolders.

func (*ListFoldersResponse) Descriptor deprecated

func (*ListFoldersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFoldersResponse.ProtoReflect.Descriptor instead.

func (*ListFoldersResponse) GetFolders

func (x *ListFoldersResponse) GetFolders() []*Folder

func (*ListFoldersResponse) GetNextPageToken

func (x *ListFoldersResponse) GetNextPageToken() string

func (*ListFoldersResponse) ProtoMessage

func (*ListFoldersResponse) ProtoMessage()

func (*ListFoldersResponse) ProtoReflect

func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message

func (*ListFoldersResponse) Reset

func (x *ListFoldersResponse) Reset()

func (*ListFoldersResponse) String

func (x *ListFoldersResponse) String() string

type ListIntelligenceFindingRevisionsRequest added in v1.63.0

type ListIntelligenceFindingRevisionsRequest struct {

	// Required. The parent of the `IntelligenceFindingRevision` resource.
	// ## Format:
	//
	// `projects/{project}/locations/{location}/intelligenceFindings/{intelligence_finding}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of `IntelligenceFindingRevision` resources to
	// return.
	//
	// The maximum value is `100`; values above `100` will be coerced to `100`.
	// The default value is `100`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `ListIntelligenceFindingRevisions` call. Provide this to retrieve the
	// subsequent page.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message to list `IntelligenceFindingRevision` resources associated with a project.

func (*ListIntelligenceFindingRevisionsRequest) Descriptor deprecated added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIntelligenceFindingRevisionsRequest.ProtoReflect.Descriptor instead.

func (*ListIntelligenceFindingRevisionsRequest) GetPageSize added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) GetPageToken added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) GetParent added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) ProtoMessage added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) ProtoReflect added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) Reset added in v1.63.0

func (*ListIntelligenceFindingRevisionsRequest) String added in v1.63.0

type ListIntelligenceFindingRevisionsResponse added in v1.63.0

type ListIntelligenceFindingRevisionsResponse struct {

	// The `IntelligenceFindingRevision` resources from the specified project.
	IntelligenceFindingRevisions []*IntelligenceFindingRevision `` /* 147-byte string literal not displayed */
	// A token that can be sent as `page_token` to retrieve the next page.
	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 to list `IntelligenceFindingRevision` resources associated with a project.

func (*ListIntelligenceFindingRevisionsResponse) Descriptor deprecated added in v1.63.0

func (*ListIntelligenceFindingRevisionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIntelligenceFindingRevisionsResponse.ProtoReflect.Descriptor instead.

func (*ListIntelligenceFindingRevisionsResponse) GetIntelligenceFindingRevisions added in v1.63.0

func (x *ListIntelligenceFindingRevisionsResponse) GetIntelligenceFindingRevisions() []*IntelligenceFindingRevision

func (*ListIntelligenceFindingRevisionsResponse) GetNextPageToken added in v1.63.0

func (x *ListIntelligenceFindingRevisionsResponse) GetNextPageToken() string

func (*ListIntelligenceFindingRevisionsResponse) ProtoMessage added in v1.63.0

func (*ListIntelligenceFindingRevisionsResponse) ProtoReflect added in v1.63.0

func (*ListIntelligenceFindingRevisionsResponse) Reset added in v1.63.0

func (*ListIntelligenceFindingRevisionsResponse) String added in v1.63.0

type ListIntelligenceFindingsRequest added in v1.63.0

type ListIntelligenceFindingsRequest struct {

	// Required. The parent of the `IntelligenceFinding` resource.
	//
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The filter expression to be applied.
	// Supports filtering by `type` and `associated_resources`.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of `IntelligenceFinding` resources to return.
	//
	// The maximum value is `100`; values above `100` will be coerced to `100`.
	// The default value is `100`.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous `ListIntelligenceFindings`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListIntelligenceFindings` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message to list `IntelligenceFinding` resources associated with a project.

func (*ListIntelligenceFindingsRequest) Descriptor deprecated added in v1.63.0

func (*ListIntelligenceFindingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIntelligenceFindingsRequest.ProtoReflect.Descriptor instead.

func (*ListIntelligenceFindingsRequest) GetFilter added in v1.63.0

func (x *ListIntelligenceFindingsRequest) GetFilter() string

func (*ListIntelligenceFindingsRequest) GetPageSize added in v1.63.0

func (x *ListIntelligenceFindingsRequest) GetPageSize() int32

func (*ListIntelligenceFindingsRequest) GetPageToken added in v1.63.0

func (x *ListIntelligenceFindingsRequest) GetPageToken() string

func (*ListIntelligenceFindingsRequest) GetParent added in v1.63.0

func (x *ListIntelligenceFindingsRequest) GetParent() string

func (*ListIntelligenceFindingsRequest) ProtoMessage added in v1.63.0

func (*ListIntelligenceFindingsRequest) ProtoMessage()

func (*ListIntelligenceFindingsRequest) ProtoReflect added in v1.63.0

func (*ListIntelligenceFindingsRequest) Reset added in v1.63.0

func (*ListIntelligenceFindingsRequest) String added in v1.63.0

type ListIntelligenceFindingsResponse added in v1.63.0

type ListIntelligenceFindingsResponse struct {

	// The `IntelligenceFinding` resources from the specified project.
	IntelligenceFindings []*IntelligenceFinding `protobuf:"bytes,1,rep,name=intelligence_findings,json=intelligenceFindings,proto3" json:"intelligence_findings,omitempty"`
	// A token to retrieve the next page of results.
	// Pass this value in the `page_token` field in the subsequent call.
	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 to list the `IntelligenceFinding` resources associated with a project.

func (*ListIntelligenceFindingsResponse) Descriptor deprecated added in v1.63.0

func (*ListIntelligenceFindingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIntelligenceFindingsResponse.ProtoReflect.Descriptor instead.

func (*ListIntelligenceFindingsResponse) GetIntelligenceFindings added in v1.63.0

func (x *ListIntelligenceFindingsResponse) GetIntelligenceFindings() []*IntelligenceFinding

func (*ListIntelligenceFindingsResponse) GetNextPageToken added in v1.63.0

func (x *ListIntelligenceFindingsResponse) GetNextPageToken() string

func (*ListIntelligenceFindingsResponse) ProtoMessage added in v1.63.0

func (*ListIntelligenceFindingsResponse) ProtoMessage()

func (*ListIntelligenceFindingsResponse) ProtoReflect added in v1.63.0

func (*ListIntelligenceFindingsResponse) Reset added in v1.63.0

func (*ListIntelligenceFindingsResponse) String added in v1.63.0

type ListManagedFoldersRequest added in v1.41.0

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 deprecated added in v1.41.0

func (*ListManagedFoldersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListManagedFoldersRequest.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersRequest) GetPageSize added in v1.41.0

func (x *ListManagedFoldersRequest) GetPageSize() int32

func (*ListManagedFoldersRequest) GetPageToken added in v1.41.0

func (x *ListManagedFoldersRequest) GetPageToken() string

func (*ListManagedFoldersRequest) GetParent added in v1.41.0

func (x *ListManagedFoldersRequest) GetParent() string

func (*ListManagedFoldersRequest) GetPrefix added in v1.41.0

func (x *ListManagedFoldersRequest) GetPrefix() string

func (*ListManagedFoldersRequest) GetRequestId added in v1.41.0

func (x *ListManagedFoldersRequest) GetRequestId() string

func (*ListManagedFoldersRequest) ProtoMessage added in v1.41.0

func (*ListManagedFoldersRequest) ProtoMessage()

func (*ListManagedFoldersRequest) ProtoReflect added in v1.41.0

func (*ListManagedFoldersRequest) Reset added in v1.41.0

func (x *ListManagedFoldersRequest) Reset()

func (*ListManagedFoldersRequest) String added in v1.41.0

func (x *ListManagedFoldersRequest) String() string

type ListManagedFoldersResponse added in v1.41.0

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 deprecated added in v1.41.0

func (*ListManagedFoldersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListManagedFoldersResponse.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersResponse) GetManagedFolders added in v1.41.0

func (x *ListManagedFoldersResponse) GetManagedFolders() []*ManagedFolder

func (*ListManagedFoldersResponse) GetNextPageToken added in v1.41.0

func (x *ListManagedFoldersResponse) GetNextPageToken() string

func (*ListManagedFoldersResponse) ProtoMessage added in v1.41.0

func (*ListManagedFoldersResponse) ProtoMessage()

func (*ListManagedFoldersResponse) ProtoReflect added in v1.41.0

func (*ListManagedFoldersResponse) Reset added in v1.41.0

func (x *ListManagedFoldersResponse) Reset()

func (*ListManagedFoldersResponse) String added in v1.41.0

func (x *ListManagedFoldersResponse) String() string

type ManagedFolder added in v1.41.0

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 deprecated added in v1.41.0

func (*ManagedFolder) Descriptor() ([]byte, []int)

Deprecated: Use ManagedFolder.ProtoReflect.Descriptor instead.

func (*ManagedFolder) GetCreateTime added in v1.41.0

func (x *ManagedFolder) GetCreateTime() *timestamppb.Timestamp

func (*ManagedFolder) GetMetageneration added in v1.41.0

func (x *ManagedFolder) GetMetageneration() int64

func (*ManagedFolder) GetName added in v1.41.0

func (x *ManagedFolder) GetName() string

func (*ManagedFolder) GetUpdateTime added in v1.41.0

func (x *ManagedFolder) GetUpdateTime() *timestamppb.Timestamp

func (*ManagedFolder) ProtoMessage added in v1.41.0

func (*ManagedFolder) ProtoMessage()

func (*ManagedFolder) ProtoReflect added in v1.41.0

func (x *ManagedFolder) ProtoReflect() protoreflect.Message

func (*ManagedFolder) Reset added in v1.41.0

func (x *ManagedFolder) Reset()

func (*ManagedFolder) String added in v1.41.0

func (x *ManagedFolder) String() string

type PauseAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*PauseAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*PauseAnywhereCacheRequest) GetName added in v1.53.0

func (x *PauseAnywhereCacheRequest) GetName() string

func (*PauseAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *PauseAnywhereCacheRequest) GetRequestId() string

func (*PauseAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*PauseAnywhereCacheRequest) ProtoMessage()

func (*PauseAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*PauseAnywhereCacheRequest) Reset added in v1.53.0

func (x *PauseAnywhereCacheRequest) Reset()

func (*PauseAnywhereCacheRequest) String added in v1.53.0

func (x *PauseAnywhereCacheRequest) String() string

type PendingRenameInfo

type PendingRenameInfo struct {

	// Output only. The name of the rename operation.
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

Contains information about a pending rename operation.

func (*PendingRenameInfo) Descriptor deprecated

func (*PendingRenameInfo) Descriptor() ([]byte, []int)

Deprecated: Use PendingRenameInfo.ProtoReflect.Descriptor instead.

func (*PendingRenameInfo) GetOperation

func (x *PendingRenameInfo) GetOperation() string

func (*PendingRenameInfo) ProtoMessage

func (*PendingRenameInfo) ProtoMessage()

func (*PendingRenameInfo) ProtoReflect

func (x *PendingRenameInfo) ProtoReflect() protoreflect.Message

func (*PendingRenameInfo) Reset

func (x *PendingRenameInfo) Reset()

func (*PendingRenameInfo) String

func (x *PendingRenameInfo) String() string

type RenameFolderMetadata

type RenameFolderMetadata struct {

	// Generic metadata for the long running operation.
	CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
	// The path of the source folder.
	SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
	// The path of the destination folder.
	DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

Message returned in the metadata field of the Operation resource for RenameFolder operations.

func (*RenameFolderMetadata) Descriptor deprecated

func (*RenameFolderMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RenameFolderMetadata.ProtoReflect.Descriptor instead.

func (*RenameFolderMetadata) GetCommonMetadata

func (*RenameFolderMetadata) GetDestinationFolderId

func (x *RenameFolderMetadata) GetDestinationFolderId() string

func (*RenameFolderMetadata) GetSourceFolderId

func (x *RenameFolderMetadata) GetSourceFolderId() string

func (*RenameFolderMetadata) ProtoMessage

func (*RenameFolderMetadata) ProtoMessage()

func (*RenameFolderMetadata) ProtoReflect

func (x *RenameFolderMetadata) ProtoReflect() protoreflect.Message

func (*RenameFolderMetadata) Reset

func (x *RenameFolderMetadata) Reset()

func (*RenameFolderMetadata) String

func (x *RenameFolderMetadata) String() string

type RenameFolderRequest

type RenameFolderRequest struct {

	// Required. Name of the source folder being renamed.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The destination folder ID, e.g. `foo/bar/`.
	DestinationFolderId string `protobuf:"bytes,8,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// Makes the operation only succeed conditional on whether the source
	// folder's current metageneration matches the given value.
	IfMetagenerationMatch *int64 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the source
	// folder's current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated

func (*RenameFolderRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenameFolderRequest.ProtoReflect.Descriptor instead.

func (*RenameFolderRequest) GetDestinationFolderId

func (x *RenameFolderRequest) GetDestinationFolderId() string

func (*RenameFolderRequest) GetIfMetagenerationMatch

func (x *RenameFolderRequest) GetIfMetagenerationMatch() int64

func (*RenameFolderRequest) GetIfMetagenerationNotMatch

func (x *RenameFolderRequest) GetIfMetagenerationNotMatch() int64

func (*RenameFolderRequest) GetName

func (x *RenameFolderRequest) GetName() string

func (*RenameFolderRequest) GetRequestId

func (x *RenameFolderRequest) GetRequestId() string

func (*RenameFolderRequest) ProtoMessage

func (*RenameFolderRequest) ProtoMessage()

func (*RenameFolderRequest) ProtoReflect

func (x *RenameFolderRequest) ProtoReflect() protoreflect.Message

func (*RenameFolderRequest) Reset

func (x *RenameFolderRequest) Reset()

func (*RenameFolderRequest) String

func (x *RenameFolderRequest) String() string

type ResumeAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*ResumeAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*ResumeAnywhereCacheRequest) GetName added in v1.53.0

func (x *ResumeAnywhereCacheRequest) GetName() string

func (*ResumeAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *ResumeAnywhereCacheRequest) GetRequestId() string

func (*ResumeAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*ResumeAnywhereCacheRequest) ProtoMessage()

func (*ResumeAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*ResumeAnywhereCacheRequest) Reset added in v1.53.0

func (x *ResumeAnywhereCacheRequest) Reset()

func (*ResumeAnywhereCacheRequest) String added in v1.53.0

func (x *ResumeAnywhereCacheRequest) String() string

type StorageControlClient

type StorageControlClient interface {
	// Creates a new folder. This operation is only applicable to a hierarchical
	// namespace enabled bucket.
	CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*Folder, error)
	// Permanently deletes an empty folder. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns metadata for the specified folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket.
	GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error)
	// Retrieves a list of folders. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error)
	// Renames a source folder to a destination folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket. During a rename, the
	// source and destination folders are locked until the long running operation
	// completes.
	RenameFolder(ctx context.Context, in *RenameFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a folder recursively. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolderRecursive(ctx context.Context, in *DeleteFolderRecursiveRequest, 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)
	// Gets the `IntelligenceFinding` for a project.
	GetIntelligenceFinding(ctx context.Context, in *GetIntelligenceFindingRequest, opts ...grpc.CallOption) (*IntelligenceFinding, error)
	// Lists the `IntelligenceFinding` resources for the specified project.
	ListIntelligenceFindings(ctx context.Context, in *ListIntelligenceFindingsRequest, opts ...grpc.CallOption) (*ListIntelligenceFindingsResponse, error)
	// Summarize the intelligence findings for the specified scope(org, folder or
	// project).
	SummarizeIntelligenceFindings(ctx context.Context, in *SummarizeIntelligenceFindingsRequest, opts ...grpc.CallOption) (*SummarizeIntelligenceFindingsResponse, error)
	// Gets the `IntelligenceFindingRevision` resource.
	GetIntelligenceFindingRevision(ctx context.Context, in *GetIntelligenceFindingRevisionRequest, opts ...grpc.CallOption) (*IntelligenceFindingRevision, error)
	// Lists all the revisions of an `IntelligenceFinding` resource.
	ListIntelligenceFindingRevisions(ctx context.Context, in *ListIntelligenceFindingRevisionsRequest, opts ...grpc.CallOption) (*ListIntelligenceFindingRevisionsResponse, 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.

type StorageControlServer

type StorageControlServer interface {
	// Creates a new folder. This operation is only applicable to a hierarchical
	// namespace enabled bucket.
	CreateFolder(context.Context, *CreateFolderRequest) (*Folder, error)
	// Permanently deletes an empty folder. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolder(context.Context, *DeleteFolderRequest) (*emptypb.Empty, error)
	// Returns metadata for the specified folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket.
	GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
	// Retrieves a list of folders. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
	// Renames a source folder to a destination folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket. During a rename, the
	// source and destination folders are locked until the long running operation
	// completes.
	RenameFolder(context.Context, *RenameFolderRequest) (*longrunningpb.Operation, error)
	// Deletes a folder recursively. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolderRecursive(context.Context, *DeleteFolderRecursiveRequest) (*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)
	// Gets the `IntelligenceFinding` for a project.
	GetIntelligenceFinding(context.Context, *GetIntelligenceFindingRequest) (*IntelligenceFinding, error)
	// Lists the `IntelligenceFinding` resources for the specified project.
	ListIntelligenceFindings(context.Context, *ListIntelligenceFindingsRequest) (*ListIntelligenceFindingsResponse, error)
	// Summarize the intelligence findings for the specified scope(org, folder or
	// project).
	SummarizeIntelligenceFindings(context.Context, *SummarizeIntelligenceFindingsRequest) (*SummarizeIntelligenceFindingsResponse, error)
	// Gets the `IntelligenceFindingRevision` resource.
	GetIntelligenceFindingRevision(context.Context, *GetIntelligenceFindingRevisionRequest) (*IntelligenceFindingRevision, error)
	// Lists all the revisions of an `IntelligenceFinding` resource.
	ListIntelligenceFindingRevisions(context.Context, *ListIntelligenceFindingRevisionsRequest) (*ListIntelligenceFindingRevisionsResponse, error)
}

StorageControlServer is the server API for StorageControl service. All implementations should embed UnimplementedStorageControlServer for forward compatibility

type StorageLayout

type StorageLayout struct {

	// Output only. The name of the StorageLayout resource.
	// Format: `projects/{project}/buckets/{bucket}/storageLayout`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The location of the bucket.
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The location type of the bucket (region, dual-region,
	// multi-region, etc).
	LocationType string `protobuf:"bytes,3,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"`
	// Output only. The data placement configuration for custom dual region. If
	// there is no configuration, this is not a custom dual region bucket.
	CustomPlacementConfig *StorageLayout_CustomPlacementConfig `` /* 126-byte string literal not displayed */
	// 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 deprecated

func (*StorageLayout) Descriptor() ([]byte, []int)

Deprecated: Use StorageLayout.ProtoReflect.Descriptor instead.

func (*StorageLayout) GetCustomPlacementConfig

func (x *StorageLayout) GetCustomPlacementConfig() *StorageLayout_CustomPlacementConfig

func (*StorageLayout) GetHierarchicalNamespace

func (x *StorageLayout) GetHierarchicalNamespace() *StorageLayout_HierarchicalNamespace

func (*StorageLayout) GetLocation

func (x *StorageLayout) GetLocation() string

func (*StorageLayout) GetLocationType

func (x *StorageLayout) GetLocationType() string

func (*StorageLayout) GetName

func (x *StorageLayout) GetName() string

func (*StorageLayout) ProtoMessage

func (*StorageLayout) ProtoMessage()

func (*StorageLayout) ProtoReflect

func (x *StorageLayout) ProtoReflect() protoreflect.Message

func (*StorageLayout) Reset

func (x *StorageLayout) Reset()

func (*StorageLayout) String

func (x *StorageLayout) String() string

type StorageLayout_CustomPlacementConfig

type StorageLayout_CustomPlacementConfig struct {

	// List of locations to use for data placement.
	DataLocations []string `protobuf:"bytes,1,rep,name=data_locations,json=dataLocations,proto3" json:"data_locations,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found [here](https://cloud.google.com/storage/docs/locations).

func (*StorageLayout_CustomPlacementConfig) Descriptor deprecated

func (*StorageLayout_CustomPlacementConfig) Descriptor() ([]byte, []int)

Deprecated: Use StorageLayout_CustomPlacementConfig.ProtoReflect.Descriptor instead.

func (*StorageLayout_CustomPlacementConfig) GetDataLocations

func (x *StorageLayout_CustomPlacementConfig) GetDataLocations() []string

func (*StorageLayout_CustomPlacementConfig) ProtoMessage

func (*StorageLayout_CustomPlacementConfig) ProtoMessage()

func (*StorageLayout_CustomPlacementConfig) ProtoReflect

func (*StorageLayout_CustomPlacementConfig) Reset

func (*StorageLayout_CustomPlacementConfig) String

type StorageLayout_HierarchicalNamespace

type StorageLayout_HierarchicalNamespace struct {

	// Enables the hierarchical namespace feature.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a bucket's hierarchical namespace feature.

func (*StorageLayout_HierarchicalNamespace) Descriptor deprecated

func (*StorageLayout_HierarchicalNamespace) Descriptor() ([]byte, []int)

Deprecated: Use StorageLayout_HierarchicalNamespace.ProtoReflect.Descriptor instead.

func (*StorageLayout_HierarchicalNamespace) GetEnabled

func (x *StorageLayout_HierarchicalNamespace) GetEnabled() bool

func (*StorageLayout_HierarchicalNamespace) ProtoMessage

func (*StorageLayout_HierarchicalNamespace) ProtoMessage()

func (*StorageLayout_HierarchicalNamespace) ProtoReflect

func (*StorageLayout_HierarchicalNamespace) Reset

func (*StorageLayout_HierarchicalNamespace) String

type SummarizeIntelligenceFindingsRequest added in v1.63.0

type SummarizeIntelligenceFindingsRequest struct {

	// Required. The scope to summarize the findings for.
	// Format:
	// - `organizations/{organization}/locations/{location}`
	// - `folders/{folder}/locations/{location}`
	// - `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Determines the granularity of the findings
	// when the `parent` is an organization or folder.
	//
	//   - `PARENT` (or not set): A single summary is
	//     returned for each insight type, aggregated across the entire `parent`
	//     scope.
	//   - `PROJECT`: A separate summary is returned for each
	//     insight type for every project within the `parent` scope.
	//
	// The only supported values are `PARENT` and `PROJECT`.
	// If no value is specified, the API behaviour defaults to the `PARENT`.
	ResourceScope SummarizeIntelligenceFindingsRequest_ResourceScope `` /* 183-byte string literal not displayed */
	// Optional. The filter expression, following AIP-160.
	// Supports filtering by FindingType.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The maximum number of findings to return.
	//
	// The maximum value is `100`; values above `100` will be coerced to `100`.
	// The default value is `100`.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// `SummarizeIntelligenceFindings` call. Provide this to retrieve the
	// subsequent page.
	//
	// When paginating, all other parameters provided to
	// `SummarizeIntelligenceFindings` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message to summarize the intelligence findings for the specified scope(org, folder or project).

func (*SummarizeIntelligenceFindingsRequest) Descriptor deprecated added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SummarizeIntelligenceFindingsRequest.ProtoReflect.Descriptor instead.

func (*SummarizeIntelligenceFindingsRequest) GetFilter added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) GetPageSize added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) GetPageToken added in v1.63.0

func (x *SummarizeIntelligenceFindingsRequest) GetPageToken() string

func (*SummarizeIntelligenceFindingsRequest) GetParent added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) GetResourceScope added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) ProtoMessage added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) ProtoMessage()

func (*SummarizeIntelligenceFindingsRequest) ProtoReflect added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) Reset added in v1.63.0

func (*SummarizeIntelligenceFindingsRequest) String added in v1.63.0

type SummarizeIntelligenceFindingsRequest_ResourceScope added in v1.63.0

type SummarizeIntelligenceFindingsRequest_ResourceScope int32

The list of resource scopes.

const (
	// The default behavior. Falls back to PARENT behaviour
	SummarizeIntelligenceFindingsRequest_RESOURCE_SCOPE_UNSPECIFIED SummarizeIntelligenceFindingsRequest_ResourceScope = 0
	// Summaries are aggregated at the level of the `parent` resource.
	SummarizeIntelligenceFindingsRequest_PARENT SummarizeIntelligenceFindingsRequest_ResourceScope = 1
	// Summaries are broken down by each project within the `parent` scope.
	SummarizeIntelligenceFindingsRequest_PROJECT SummarizeIntelligenceFindingsRequest_ResourceScope = 2
)

func (SummarizeIntelligenceFindingsRequest_ResourceScope) Descriptor added in v1.63.0

func (SummarizeIntelligenceFindingsRequest_ResourceScope) Enum added in v1.63.0

func (SummarizeIntelligenceFindingsRequest_ResourceScope) EnumDescriptor deprecated added in v1.63.0

Deprecated: Use SummarizeIntelligenceFindingsRequest_ResourceScope.Descriptor instead.

func (SummarizeIntelligenceFindingsRequest_ResourceScope) Number added in v1.63.0

func (SummarizeIntelligenceFindingsRequest_ResourceScope) String added in v1.63.0

func (SummarizeIntelligenceFindingsRequest_ResourceScope) Type added in v1.63.0

type SummarizeIntelligenceFindingsResponse added in v1.63.0

type SummarizeIntelligenceFindingsResponse struct {

	// The list of `FindingSummary` summaries.
	FindingSummaries []*FindingSummary `protobuf:"bytes,1,rep,name=finding_summaries,json=findingSummaries,proto3" json:"finding_summaries,omitempty"`
	// A token to retrieve the next page of results.
	// Pass this value in the `page_token` field in the subsequent call to
	// `SummarizeIntelligenceFindings` to retrieve 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 to summarize the intelligence findings for a specified scope(org, folder or project).

func (*SummarizeIntelligenceFindingsResponse) Descriptor deprecated added in v1.63.0

func (*SummarizeIntelligenceFindingsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SummarizeIntelligenceFindingsResponse.ProtoReflect.Descriptor instead.

func (*SummarizeIntelligenceFindingsResponse) GetFindingSummaries added in v1.63.0

func (x *SummarizeIntelligenceFindingsResponse) GetFindingSummaries() []*FindingSummary

func (*SummarizeIntelligenceFindingsResponse) GetNextPageToken added in v1.63.0

func (x *SummarizeIntelligenceFindingsResponse) GetNextPageToken() string

func (*SummarizeIntelligenceFindingsResponse) ProtoMessage added in v1.63.0

func (*SummarizeIntelligenceFindingsResponse) ProtoMessage()

func (*SummarizeIntelligenceFindingsResponse) ProtoReflect added in v1.63.0

func (*SummarizeIntelligenceFindingsResponse) Reset added in v1.63.0

func (*SummarizeIntelligenceFindingsResponse) String added in v1.63.0

type UnimplementedStorageControlServer

type UnimplementedStorageControlServer struct {
}

UnimplementedStorageControlServer should be embedded to have forward compatible implementations.

func (UnimplementedStorageControlServer) CreateAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) CreateFolder

func (UnimplementedStorageControlServer) CreateManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) DeleteFolder

func (UnimplementedStorageControlServer) DeleteFolderRecursive added in v1.61.0

func (UnimplementedStorageControlServer) DeleteManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) DisableAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) GetAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) GetFolder

func (UnimplementedStorageControlServer) GetFolderIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetIamPolicy added in v1.57.0

func (UnimplementedStorageControlServer) GetIntelligenceFinding added in v1.63.0

func (UnimplementedStorageControlServer) GetIntelligenceFindingRevision added in v1.63.0

func (UnimplementedStorageControlServer) GetManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetProjectIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetStorageLayout

func (UnimplementedStorageControlServer) ListAnywhereCaches added in v1.53.0

func (UnimplementedStorageControlServer) ListFolders

func (UnimplementedStorageControlServer) ListIntelligenceFindingRevisions added in v1.63.0

func (UnimplementedStorageControlServer) ListIntelligenceFindings added in v1.63.0

func (UnimplementedStorageControlServer) ListManagedFolders added in v1.41.0

func (UnimplementedStorageControlServer) PauseAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) RenameFolder

func (UnimplementedStorageControlServer) ResumeAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) SetIamPolicy added in v1.57.0

func (UnimplementedStorageControlServer) SummarizeIntelligenceFindings added in v1.63.0

func (UnimplementedStorageControlServer) TestIamPermissions added in v1.57.0

func (UnimplementedStorageControlServer) UpdateAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig added in v1.55.0

type UnsafeStorageControlServer added in v1.57.1

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.

type UpdateAnywhereCacheMetadata added in v1.53.0

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 deprecated added in v1.53.0

func (*UpdateAnywhereCacheMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheMetadata) GetAdmissionPolicy added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*UpdateAnywhereCacheMetadata) GetAnywhereCacheId added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*UpdateAnywhereCacheMetadata) GetCommonMetadata added in v1.53.0

func (*UpdateAnywhereCacheMetadata) GetTtl added in v1.53.0

func (*UpdateAnywhereCacheMetadata) GetZone added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetZone() string

func (*UpdateAnywhereCacheMetadata) ProtoMessage added in v1.53.0

func (*UpdateAnywhereCacheMetadata) ProtoMessage()

func (*UpdateAnywhereCacheMetadata) ProtoReflect added in v1.53.0

func (*UpdateAnywhereCacheMetadata) Reset added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) Reset()

func (*UpdateAnywhereCacheMetadata) String added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) String() string

type UpdateAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

func (*UpdateAnywhereCacheRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheRequest) GetAnywhereCache added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*UpdateAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetRequestId() string

func (*UpdateAnywhereCacheRequest) GetUpdateMask added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*UpdateAnywhereCacheRequest) ProtoMessage()

func (*UpdateAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*UpdateAnywhereCacheRequest) Reset added in v1.53.0

func (x *UpdateAnywhereCacheRequest) Reset()

func (*UpdateAnywhereCacheRequest) String added in v1.53.0

func (x *UpdateAnywhereCacheRequest) String() string

type UpdateFolderIntelligenceConfigRequest added in v1.55.0

type UpdateFolderIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your folder.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*UpdateFolderIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (x *UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateFolderIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()

func (*UpdateFolderIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) String added in v1.55.0

type UpdateOrganizationIntelligenceConfigRequest added in v1.55.0

type UpdateOrganizationIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your organization.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.

func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

Deprecated: Use UpdateOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) String added in v1.55.0

type UpdateProjectIntelligenceConfigRequest added in v1.55.0

type UpdateProjectIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your project.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*UpdateProjectIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (x *UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateProjectIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) String added in v1.55.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL