Documentation
¶
Overview ¶
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package resourcemanagerpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterFoldersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFoldersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FoldersClient) error
- func RegisterFoldersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFoldersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FoldersServer) error
- func RegisterFoldersServer(s grpc.ServiceRegistrar, srv FoldersServer)
- func RegisterOrganizationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOrganizationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationsClient) error
- func RegisterOrganizationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOrganizationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationsServer) error
- func RegisterOrganizationsServer(s grpc.ServiceRegistrar, srv OrganizationsServer)
- func RegisterProjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectsClient) error
- func RegisterProjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProjectsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectsServer) error
- func RegisterProjectsServer(s grpc.ServiceRegistrar, srv ProjectsServer)
- func RegisterTagBindingsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagBindingsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagBindingsClient) error
- func RegisterTagBindingsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagBindingsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagBindingsServer) error
- func RegisterTagBindingsServer(s grpc.ServiceRegistrar, srv TagBindingsServer)
- func RegisterTagHoldsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagHoldsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagHoldsClient) error
- func RegisterTagHoldsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagHoldsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagHoldsServer) error
- func RegisterTagHoldsServer(s grpc.ServiceRegistrar, srv TagHoldsServer)
- func RegisterTagKeysHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagKeysHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagKeysClient) error
- func RegisterTagKeysHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagKeysHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagKeysServer) error
- func RegisterTagKeysServer(s grpc.ServiceRegistrar, srv TagKeysServer)
- func RegisterTagValuesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTagValuesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagValuesClient) error
- func RegisterTagValuesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTagValuesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagValuesServer) error
- func RegisterTagValuesServer(s grpc.ServiceRegistrar, srv TagValuesServer)
- type CreateFolderMetadata
- func (*CreateFolderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFolderMetadata) GetDisplayName() string
- func (x *CreateFolderMetadata) GetParent() string
- func (*CreateFolderMetadata) ProtoMessage()
- func (x *CreateFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateFolderMetadata) Reset()
- func (x *CreateFolderMetadata) String() string
- type CreateFolderRequest
- func (*CreateFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFolderRequest) GetFolder() *Folder
- func (*CreateFolderRequest) ProtoMessage()
- func (x *CreateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFolderRequest) Reset()
- func (x *CreateFolderRequest) String() string
- type CreateProjectMetadata
- func (*CreateProjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectMetadata) GetCreateTime() *timestamp.Timestamp
- func (x *CreateProjectMetadata) GetGettable() bool
- func (x *CreateProjectMetadata) GetReady() bool
- func (*CreateProjectMetadata) ProtoMessage()
- func (x *CreateProjectMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateProjectMetadata) Reset()
- func (x *CreateProjectMetadata) String() string
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetProject() *Project
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (x *CreateProjectRequest) String() string
- type CreateTagBindingMetadata
- type CreateTagBindingRequest
- func (*CreateTagBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagBindingRequest) GetTagBinding() *TagBinding
- func (x *CreateTagBindingRequest) GetValidateOnly() bool
- func (*CreateTagBindingRequest) ProtoMessage()
- func (x *CreateTagBindingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagBindingRequest) Reset()
- func (x *CreateTagBindingRequest) String() string
- type CreateTagHoldMetadata
- type CreateTagHoldRequest
- func (*CreateTagHoldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagHoldRequest) GetParent() string
- func (x *CreateTagHoldRequest) GetTagHold() *TagHold
- func (x *CreateTagHoldRequest) GetValidateOnly() bool
- func (*CreateTagHoldRequest) ProtoMessage()
- func (x *CreateTagHoldRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagHoldRequest) Reset()
- func (x *CreateTagHoldRequest) String() string
- type CreateTagKeyMetadata
- type CreateTagKeyRequest
- func (*CreateTagKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagKeyRequest) GetTagKey() *TagKey
- func (x *CreateTagKeyRequest) GetValidateOnly() bool
- func (*CreateTagKeyRequest) ProtoMessage()
- func (x *CreateTagKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagKeyRequest) Reset()
- func (x *CreateTagKeyRequest) String() string
- type CreateTagValueMetadata
- type CreateTagValueRequest
- func (*CreateTagValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTagValueRequest) GetTagValue() *TagValue
- func (x *CreateTagValueRequest) GetValidateOnly() bool
- func (*CreateTagValueRequest) ProtoMessage()
- func (x *CreateTagValueRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTagValueRequest) Reset()
- func (x *CreateTagValueRequest) String() string
- type DeleteFolderMetadata
- type DeleteFolderRequest
- func (*DeleteFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFolderRequest) GetName() string
- func (*DeleteFolderRequest) ProtoMessage()
- func (x *DeleteFolderRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFolderRequest) Reset()
- func (x *DeleteFolderRequest) String() string
- type DeleteOrganizationMetadata
- type DeleteProjectMetadata
- type DeleteProjectRequest
- func (*DeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectRequest) GetName() string
- func (*DeleteProjectRequest) ProtoMessage()
- func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectRequest) Reset()
- func (x *DeleteProjectRequest) String() string
- type DeleteTagBindingMetadata
- type DeleteTagBindingRequest
- func (*DeleteTagBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagBindingRequest) GetName() string
- func (*DeleteTagBindingRequest) ProtoMessage()
- func (x *DeleteTagBindingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagBindingRequest) Reset()
- func (x *DeleteTagBindingRequest) String() string
- type DeleteTagHoldMetadata
- type DeleteTagHoldRequest
- func (*DeleteTagHoldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagHoldRequest) GetName() string
- func (x *DeleteTagHoldRequest) GetValidateOnly() bool
- func (*DeleteTagHoldRequest) ProtoMessage()
- func (x *DeleteTagHoldRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagHoldRequest) Reset()
- func (x *DeleteTagHoldRequest) String() string
- type DeleteTagKeyMetadata
- type DeleteTagKeyRequest
- func (*DeleteTagKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagKeyRequest) GetEtag() string
- func (x *DeleteTagKeyRequest) GetName() string
- func (x *DeleteTagKeyRequest) GetValidateOnly() bool
- func (*DeleteTagKeyRequest) ProtoMessage()
- func (x *DeleteTagKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagKeyRequest) Reset()
- func (x *DeleteTagKeyRequest) String() string
- type DeleteTagValueMetadata
- type DeleteTagValueRequest
- func (*DeleteTagValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagValueRequest) GetEtag() string
- func (x *DeleteTagValueRequest) GetName() string
- func (x *DeleteTagValueRequest) GetValidateOnly() bool
- func (*DeleteTagValueRequest) ProtoMessage()
- func (x *DeleteTagValueRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagValueRequest) Reset()
- func (x *DeleteTagValueRequest) String() string
- type EffectiveTag
- func (*EffectiveTag) Descriptor() ([]byte, []int)deprecated
- func (x *EffectiveTag) GetInherited() bool
- func (x *EffectiveTag) GetNamespacedTagKey() string
- func (x *EffectiveTag) GetNamespacedTagValue() string
- func (x *EffectiveTag) GetTagKey() string
- func (x *EffectiveTag) GetTagKeyParentName() string
- func (x *EffectiveTag) GetTagValue() string
- func (*EffectiveTag) ProtoMessage()
- func (x *EffectiveTag) ProtoReflect() protoreflect.Message
- func (x *EffectiveTag) Reset()
- func (x *EffectiveTag) String() string
- type Folder
- func (*Folder) Descriptor() ([]byte, []int)deprecated
- func (x *Folder) GetCreateTime() *timestamp.Timestamp
- func (x *Folder) GetDeleteTime() *timestamp.Timestamp
- func (x *Folder) GetDisplayName() string
- func (x *Folder) GetEtag() string
- func (x *Folder) GetName() string
- func (x *Folder) GetParent() string
- func (x *Folder) GetState() Folder_State
- func (x *Folder) GetUpdateTime() *timestamp.Timestamp
- func (*Folder) ProtoMessage()
- func (x *Folder) ProtoReflect() protoreflect.Message
- func (x *Folder) Reset()
- func (x *Folder) String() string
- type Folder_State
- func (Folder_State) Descriptor() protoreflect.EnumDescriptor
- func (x Folder_State) Enum() *Folder_State
- func (Folder_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Folder_State) Number() protoreflect.EnumNumber
- func (x Folder_State) String() string
- func (Folder_State) Type() protoreflect.EnumType
- type FoldersClient
- type FoldersServer
- type GetFolderRequest
- type GetNamespacedTagKeyRequest
- func (*GetNamespacedTagKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespacedTagKeyRequest) GetName() string
- func (*GetNamespacedTagKeyRequest) ProtoMessage()
- func (x *GetNamespacedTagKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespacedTagKeyRequest) Reset()
- func (x *GetNamespacedTagKeyRequest) String() string
- type GetNamespacedTagValueRequest
- func (*GetNamespacedTagValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespacedTagValueRequest) GetName() string
- func (*GetNamespacedTagValueRequest) ProtoMessage()
- func (x *GetNamespacedTagValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespacedTagValueRequest) Reset()
- func (x *GetNamespacedTagValueRequest) String() string
- type GetOrganizationRequest
- func (*GetOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationRequest) GetName() string
- func (*GetOrganizationRequest) ProtoMessage()
- func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationRequest) Reset()
- func (x *GetOrganizationRequest) String() string
- type GetProjectRequest
- type GetTagKeyRequest
- type GetTagValueRequest
- func (*GetTagValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagValueRequest) GetName() string
- func (*GetTagValueRequest) ProtoMessage()
- func (x *GetTagValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagValueRequest) Reset()
- func (x *GetTagValueRequest) String() string
- type ListEffectiveTagsRequest
- func (*ListEffectiveTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveTagsRequest) GetPageSize() int32
- func (x *ListEffectiveTagsRequest) GetPageToken() string
- func (x *ListEffectiveTagsRequest) GetParent() string
- func (*ListEffectiveTagsRequest) ProtoMessage()
- func (x *ListEffectiveTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveTagsRequest) Reset()
- func (x *ListEffectiveTagsRequest) String() string
- type ListEffectiveTagsResponse
- func (*ListEffectiveTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEffectiveTagsResponse) GetEffectiveTags() []*EffectiveTag
- func (x *ListEffectiveTagsResponse) GetNextPageToken() string
- func (*ListEffectiveTagsResponse) ProtoMessage()
- func (x *ListEffectiveTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEffectiveTagsResponse) Reset()
- func (x *ListEffectiveTagsResponse) String() string
- type ListFoldersRequest
- func (*ListFoldersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFoldersRequest) GetPageSize() int32
- func (x *ListFoldersRequest) GetPageToken() string
- func (x *ListFoldersRequest) GetParent() string
- func (x *ListFoldersRequest) GetShowDeleted() bool
- func (*ListFoldersRequest) ProtoMessage()
- func (x *ListFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *ListFoldersRequest) Reset()
- func (x *ListFoldersRequest) String() string
- type ListFoldersResponse
- func (*ListFoldersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFoldersResponse) GetFolders() []*Folder
- func (x *ListFoldersResponse) GetNextPageToken() string
- func (*ListFoldersResponse) ProtoMessage()
- func (x *ListFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *ListFoldersResponse) Reset()
- func (x *ListFoldersResponse) String() string
- type ListProjectsRequest
- func (*ListProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsRequest) GetPageSize() int32
- func (x *ListProjectsRequest) GetPageToken() string
- func (x *ListProjectsRequest) GetParent() string
- func (x *ListProjectsRequest) GetShowDeleted() bool
- func (*ListProjectsRequest) ProtoMessage()
- func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectsRequest) Reset()
- func (x *ListProjectsRequest) String() string
- type ListProjectsResponse
- func (*ListProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResponse) GetNextPageToken() string
- func (x *ListProjectsResponse) GetProjects() []*Project
- func (*ListProjectsResponse) ProtoMessage()
- func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResponse) Reset()
- func (x *ListProjectsResponse) String() string
- type ListTagBindingsRequest
- func (*ListTagBindingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagBindingsRequest) GetPageSize() int32
- func (x *ListTagBindingsRequest) GetPageToken() string
- func (x *ListTagBindingsRequest) GetParent() string
- func (*ListTagBindingsRequest) ProtoMessage()
- func (x *ListTagBindingsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagBindingsRequest) Reset()
- func (x *ListTagBindingsRequest) String() string
- type ListTagBindingsResponse
- func (*ListTagBindingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagBindingsResponse) GetNextPageToken() string
- func (x *ListTagBindingsResponse) GetTagBindings() []*TagBinding
- func (*ListTagBindingsResponse) ProtoMessage()
- func (x *ListTagBindingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagBindingsResponse) Reset()
- func (x *ListTagBindingsResponse) String() string
- type ListTagHoldsRequest
- func (*ListTagHoldsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagHoldsRequest) GetFilter() string
- func (x *ListTagHoldsRequest) GetPageSize() int32
- func (x *ListTagHoldsRequest) GetPageToken() string
- func (x *ListTagHoldsRequest) GetParent() string
- func (*ListTagHoldsRequest) ProtoMessage()
- func (x *ListTagHoldsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagHoldsRequest) Reset()
- func (x *ListTagHoldsRequest) String() string
- type ListTagHoldsResponse
- func (*ListTagHoldsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagHoldsResponse) GetNextPageToken() string
- func (x *ListTagHoldsResponse) GetTagHolds() []*TagHold
- func (*ListTagHoldsResponse) ProtoMessage()
- func (x *ListTagHoldsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagHoldsResponse) Reset()
- func (x *ListTagHoldsResponse) String() string
- type ListTagKeysRequest
- func (*ListTagKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagKeysRequest) GetPageSize() int32
- func (x *ListTagKeysRequest) GetPageToken() string
- func (x *ListTagKeysRequest) GetParent() string
- func (*ListTagKeysRequest) ProtoMessage()
- func (x *ListTagKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagKeysRequest) Reset()
- func (x *ListTagKeysRequest) String() string
- type ListTagKeysResponse
- func (*ListTagKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagKeysResponse) GetNextPageToken() string
- func (x *ListTagKeysResponse) GetTagKeys() []*TagKey
- func (*ListTagKeysResponse) ProtoMessage()
- func (x *ListTagKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagKeysResponse) Reset()
- func (x *ListTagKeysResponse) String() string
- type ListTagValuesRequest
- func (*ListTagValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagValuesRequest) GetPageSize() int32
- func (x *ListTagValuesRequest) GetPageToken() string
- func (x *ListTagValuesRequest) GetParent() string
- func (*ListTagValuesRequest) ProtoMessage()
- func (x *ListTagValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagValuesRequest) Reset()
- func (x *ListTagValuesRequest) String() string
- type ListTagValuesResponse
- func (*ListTagValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagValuesResponse) GetNextPageToken() string
- func (x *ListTagValuesResponse) GetTagValues() []*TagValue
- func (*ListTagValuesResponse) ProtoMessage()
- func (x *ListTagValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagValuesResponse) Reset()
- func (x *ListTagValuesResponse) String() string
- type MoveFolderMetadata
- func (*MoveFolderMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFolderMetadata) GetDestinationParent() string
- func (x *MoveFolderMetadata) GetDisplayName() string
- func (x *MoveFolderMetadata) GetSourceParent() string
- func (*MoveFolderMetadata) ProtoMessage()
- func (x *MoveFolderMetadata) ProtoReflect() protoreflect.Message
- func (x *MoveFolderMetadata) Reset()
- func (x *MoveFolderMetadata) String() string
- type MoveFolderRequest
- func (*MoveFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFolderRequest) GetDestinationParent() string
- func (x *MoveFolderRequest) GetName() string
- func (*MoveFolderRequest) ProtoMessage()
- func (x *MoveFolderRequest) ProtoReflect() protoreflect.Message
- func (x *MoveFolderRequest) Reset()
- func (x *MoveFolderRequest) String() string
- type MoveProjectMetadata
- type MoveProjectRequest
- func (*MoveProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveProjectRequest) GetDestinationParent() string
- func (x *MoveProjectRequest) GetName() string
- func (*MoveProjectRequest) ProtoMessage()
- func (x *MoveProjectRequest) ProtoReflect() protoreflect.Message
- func (x *MoveProjectRequest) Reset()
- func (x *MoveProjectRequest) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetCreateTime() *timestamp.Timestamp
- func (x *Organization) GetDeleteTime() *timestamp.Timestamp
- func (x *Organization) GetDirectoryCustomerId() string
- func (x *Organization) GetDisplayName() string
- func (x *Organization) GetEtag() string
- func (x *Organization) GetName() string
- func (m *Organization) GetOwner() isOrganization_Owner
- func (x *Organization) GetState() Organization_State
- func (x *Organization) GetUpdateTime() *timestamp.Timestamp
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type Organization_DirectoryCustomerId
- type Organization_State
- func (Organization_State) Descriptor() protoreflect.EnumDescriptor
- func (x Organization_State) Enum() *Organization_State
- func (Organization_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Organization_State) Number() protoreflect.EnumNumber
- func (x Organization_State) String() string
- func (Organization_State) Type() protoreflect.EnumType
- type OrganizationsClient
- type OrganizationsServer
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreateTime() *timestamp.Timestamp
- func (x *Project) GetDeleteTime() *timestamp.Timestamp
- func (x *Project) GetDisplayName() string
- func (x *Project) GetEtag() string
- func (x *Project) GetLabels() map[string]string
- func (x *Project) GetName() string
- func (x *Project) GetParent() string
- func (x *Project) GetProjectId() string
- func (x *Project) GetState() Project_State
- func (x *Project) GetUpdateTime() *timestamp.Timestamp
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type Project_State
- func (Project_State) Descriptor() protoreflect.EnumDescriptor
- func (x Project_State) Enum() *Project_State
- func (Project_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Project_State) Number() protoreflect.EnumNumber
- func (x Project_State) String() string
- func (Project_State) Type() protoreflect.EnumType
- type ProjectsClient
- type ProjectsServer
- type Purpose
- type SearchFoldersRequest
- func (*SearchFoldersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFoldersRequest) GetPageSize() int32
- func (x *SearchFoldersRequest) GetPageToken() string
- func (x *SearchFoldersRequest) GetQuery() string
- func (*SearchFoldersRequest) ProtoMessage()
- func (x *SearchFoldersRequest) ProtoReflect() protoreflect.Message
- func (x *SearchFoldersRequest) Reset()
- func (x *SearchFoldersRequest) String() string
- type SearchFoldersResponse
- func (*SearchFoldersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchFoldersResponse) GetFolders() []*Folder
- func (x *SearchFoldersResponse) GetNextPageToken() string
- func (*SearchFoldersResponse) ProtoMessage()
- func (x *SearchFoldersResponse) ProtoReflect() protoreflect.Message
- func (x *SearchFoldersResponse) Reset()
- func (x *SearchFoldersResponse) String() string
- type SearchOrganizationsRequest
- func (*SearchOrganizationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchOrganizationsRequest) GetPageSize() int32
- func (x *SearchOrganizationsRequest) GetPageToken() string
- func (x *SearchOrganizationsRequest) GetQuery() string
- func (*SearchOrganizationsRequest) ProtoMessage()
- func (x *SearchOrganizationsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchOrganizationsRequest) Reset()
- func (x *SearchOrganizationsRequest) String() string
- type SearchOrganizationsResponse
- func (*SearchOrganizationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchOrganizationsResponse) GetNextPageToken() string
- func (x *SearchOrganizationsResponse) GetOrganizations() []*Organization
- func (*SearchOrganizationsResponse) ProtoMessage()
- func (x *SearchOrganizationsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchOrganizationsResponse) Reset()
- func (x *SearchOrganizationsResponse) String() string
- type SearchProjectsRequest
- func (*SearchProjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchProjectsRequest) GetPageSize() int32
- func (x *SearchProjectsRequest) GetPageToken() string
- func (x *SearchProjectsRequest) GetQuery() string
- func (*SearchProjectsRequest) ProtoMessage()
- func (x *SearchProjectsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchProjectsRequest) Reset()
- func (x *SearchProjectsRequest) String() string
- type SearchProjectsResponse
- func (*SearchProjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchProjectsResponse) GetNextPageToken() string
- func (x *SearchProjectsResponse) GetProjects() []*Project
- func (*SearchProjectsResponse) ProtoMessage()
- func (x *SearchProjectsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchProjectsResponse) Reset()
- func (x *SearchProjectsResponse) String() string
- type TagBinding
- func (*TagBinding) Descriptor() ([]byte, []int)deprecated
- func (x *TagBinding) GetName() string
- func (x *TagBinding) GetParent() string
- func (x *TagBinding) GetTagValue() string
- func (x *TagBinding) GetTagValueNamespacedName() string
- func (*TagBinding) ProtoMessage()
- func (x *TagBinding) ProtoReflect() protoreflect.Message
- func (x *TagBinding) Reset()
- func (x *TagBinding) String() string
- type TagBindingsClient
- type TagBindingsServer
- type TagHold
- func (*TagHold) Descriptor() ([]byte, []int)deprecated
- func (x *TagHold) GetCreateTime() *timestamp.Timestamp
- func (x *TagHold) GetHelpLink() string
- func (x *TagHold) GetHolder() string
- func (x *TagHold) GetName() string
- func (x *TagHold) GetOrigin() string
- func (*TagHold) ProtoMessage()
- func (x *TagHold) ProtoReflect() protoreflect.Message
- func (x *TagHold) Reset()
- func (x *TagHold) String() string
- type TagHoldsClient
- type TagHoldsServer
- type TagKey
- func (*TagKey) Descriptor() ([]byte, []int)deprecated
- func (x *TagKey) GetCreateTime() *timestamp.Timestamp
- func (x *TagKey) GetDescription() string
- func (x *TagKey) GetEtag() string
- func (x *TagKey) GetName() string
- func (x *TagKey) GetNamespacedName() string
- func (x *TagKey) GetParent() string
- func (x *TagKey) GetPurpose() Purpose
- func (x *TagKey) GetPurposeData() map[string]string
- func (x *TagKey) GetShortName() string
- func (x *TagKey) GetUpdateTime() *timestamp.Timestamp
- func (*TagKey) ProtoMessage()
- func (x *TagKey) ProtoReflect() protoreflect.Message
- func (x *TagKey) Reset()
- func (x *TagKey) String() string
- type TagKeysClient
- type TagKeysServer
- type TagValue
- func (*TagValue) Descriptor() ([]byte, []int)deprecated
- func (x *TagValue) GetCreateTime() *timestamp.Timestamp
- func (x *TagValue) GetDescription() string
- func (x *TagValue) GetEtag() string
- func (x *TagValue) GetName() string
- func (x *TagValue) GetNamespacedName() string
- func (x *TagValue) GetParent() string
- func (x *TagValue) GetShortName() string
- func (x *TagValue) GetUpdateTime() *timestamp.Timestamp
- func (*TagValue) ProtoMessage()
- func (x *TagValue) ProtoReflect() protoreflect.Message
- func (x *TagValue) Reset()
- func (x *TagValue) String() string
- type TagValuesClient
- type TagValuesServer
- type UndeleteFolderMetadata
- type UndeleteFolderRequest
- func (*UndeleteFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UndeleteFolderRequest) GetName() string
- func (*UndeleteFolderRequest) ProtoMessage()
- func (x *UndeleteFolderRequest) ProtoReflect() protoreflect.Message
- func (x *UndeleteFolderRequest) Reset()
- func (x *UndeleteFolderRequest) String() string
- type UndeleteOrganizationMetadata
- func (*UndeleteOrganizationMetadata) Descriptor() ([]byte, []int)deprecated
- func (*UndeleteOrganizationMetadata) ProtoMessage()
- func (x *UndeleteOrganizationMetadata) ProtoReflect() protoreflect.Message
- func (x *UndeleteOrganizationMetadata) Reset()
- func (x *UndeleteOrganizationMetadata) String() string
- type UndeleteProjectMetadata
- type UndeleteProjectRequest
- func (*UndeleteProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UndeleteProjectRequest) GetName() string
- func (*UndeleteProjectRequest) ProtoMessage()
- func (x *UndeleteProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UndeleteProjectRequest) Reset()
- func (x *UndeleteProjectRequest) String() string
- type UnimplementedFoldersServer
- func (UnimplementedFoldersServer) CreateFolder(context.Context, *CreateFolderRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFoldersServer) DeleteFolder(context.Context, *DeleteFolderRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFoldersServer) GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
- func (UnimplementedFoldersServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedFoldersServer) ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
- func (UnimplementedFoldersServer) MoveFolder(context.Context, *MoveFolderRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFoldersServer) SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error)
- func (UnimplementedFoldersServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedFoldersServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (UnimplementedFoldersServer) UndeleteFolder(context.Context, *UndeleteFolderRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFoldersServer) UpdateFolder(context.Context, *UpdateFolderRequest) (*longrunningpb.Operation, error)
- type UnimplementedOrganizationsServer
- func (UnimplementedOrganizationsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedOrganizationsServer) GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error)
- func (UnimplementedOrganizationsServer) SearchOrganizations(context.Context, *SearchOrganizationsRequest) (*SearchOrganizationsResponse, error)
- func (UnimplementedOrganizationsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedOrganizationsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- type UnimplementedProjectsServer
- func (UnimplementedProjectsServer) CreateProject(context.Context, *CreateProjectRequest) (*longrunningpb.Operation, error)
- func (UnimplementedProjectsServer) DeleteProject(context.Context, *DeleteProjectRequest) (*longrunningpb.Operation, error)
- func (UnimplementedProjectsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedProjectsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
- func (UnimplementedProjectsServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
- func (UnimplementedProjectsServer) MoveProject(context.Context, *MoveProjectRequest) (*longrunningpb.Operation, error)
- func (UnimplementedProjectsServer) SearchProjects(context.Context, *SearchProjectsRequest) (*SearchProjectsResponse, error)
- func (UnimplementedProjectsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedProjectsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (UnimplementedProjectsServer) UndeleteProject(context.Context, *UndeleteProjectRequest) (*longrunningpb.Operation, error)
- func (UnimplementedProjectsServer) UpdateProject(context.Context, *UpdateProjectRequest) (*longrunningpb.Operation, error)
- type UnimplementedTagBindingsServer
- func (UnimplementedTagBindingsServer) CreateTagBinding(context.Context, *CreateTagBindingRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagBindingsServer) DeleteTagBinding(context.Context, *DeleteTagBindingRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagBindingsServer) ListEffectiveTags(context.Context, *ListEffectiveTagsRequest) (*ListEffectiveTagsResponse, error)
- func (UnimplementedTagBindingsServer) ListTagBindings(context.Context, *ListTagBindingsRequest) (*ListTagBindingsResponse, error)
- type UnimplementedTagHoldsServer
- func (UnimplementedTagHoldsServer) CreateTagHold(context.Context, *CreateTagHoldRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagHoldsServer) DeleteTagHold(context.Context, *DeleteTagHoldRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagHoldsServer) ListTagHolds(context.Context, *ListTagHoldsRequest) (*ListTagHoldsResponse, error)
- type UnimplementedTagKeysServer
- func (UnimplementedTagKeysServer) CreateTagKey(context.Context, *CreateTagKeyRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagKeysServer) DeleteTagKey(context.Context, *DeleteTagKeyRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagKeysServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedTagKeysServer) GetNamespacedTagKey(context.Context, *GetNamespacedTagKeyRequest) (*TagKey, error)
- func (UnimplementedTagKeysServer) GetTagKey(context.Context, *GetTagKeyRequest) (*TagKey, error)
- func (UnimplementedTagKeysServer) ListTagKeys(context.Context, *ListTagKeysRequest) (*ListTagKeysResponse, error)
- func (UnimplementedTagKeysServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedTagKeysServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (UnimplementedTagKeysServer) UpdateTagKey(context.Context, *UpdateTagKeyRequest) (*longrunningpb.Operation, error)
- type UnimplementedTagValuesServer
- func (UnimplementedTagValuesServer) CreateTagValue(context.Context, *CreateTagValueRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagValuesServer) DeleteTagValue(context.Context, *DeleteTagValueRequest) (*longrunningpb.Operation, error)
- func (UnimplementedTagValuesServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedTagValuesServer) GetNamespacedTagValue(context.Context, *GetNamespacedTagValueRequest) (*TagValue, error)
- func (UnimplementedTagValuesServer) GetTagValue(context.Context, *GetTagValueRequest) (*TagValue, error)
- func (UnimplementedTagValuesServer) ListTagValues(context.Context, *ListTagValuesRequest) (*ListTagValuesResponse, error)
- func (UnimplementedTagValuesServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (UnimplementedTagValuesServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (UnimplementedTagValuesServer) UpdateTagValue(context.Context, *UpdateTagValueRequest) (*longrunningpb.Operation, error)
- type UnsafeFoldersServer
- type UnsafeOrganizationsServer
- type UnsafeProjectsServer
- type UnsafeTagBindingsServer
- type UnsafeTagHoldsServer
- type UnsafeTagKeysServer
- type UnsafeTagValuesServer
- type UpdateFolderMetadata
- type UpdateFolderRequest
- func (*UpdateFolderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFolderRequest) GetFolder() *Folder
- func (x *UpdateFolderRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateFolderRequest) ProtoMessage()
- func (x *UpdateFolderRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFolderRequest) Reset()
- func (x *UpdateFolderRequest) String() string
- type UpdateProjectMetadata
- type UpdateProjectRequest
- func (*UpdateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectRequest) GetProject() *Project
- func (x *UpdateProjectRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateProjectRequest) ProtoMessage()
- func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectRequest) Reset()
- func (x *UpdateProjectRequest) String() string
- type UpdateTagKeyMetadata
- type UpdateTagKeyRequest
- func (*UpdateTagKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTagKeyRequest) GetTagKey() *TagKey
- func (x *UpdateTagKeyRequest) GetUpdateMask() *field_mask.FieldMask
- func (x *UpdateTagKeyRequest) GetValidateOnly() bool
- func (*UpdateTagKeyRequest) ProtoMessage()
- func (x *UpdateTagKeyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTagKeyRequest) Reset()
- func (x *UpdateTagKeyRequest) String() string
- type UpdateTagValueMetadata
- type UpdateTagValueRequest
- func (*UpdateTagValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTagValueRequest) GetTagValue() *TagValue
- func (x *UpdateTagValueRequest) GetUpdateMask() *field_mask.FieldMask
- func (x *UpdateTagValueRequest) GetValidateOnly() bool
- func (*UpdateTagValueRequest) ProtoMessage()
- func (x *UpdateTagValueRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTagValueRequest) Reset()
- func (x *UpdateTagValueRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Folder_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DELETE_REQUESTED", } Folder_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DELETE_REQUESTED": 2, } )
Enum value maps for Folder_State.
var ( Organization_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DELETE_REQUESTED", } Organization_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DELETE_REQUESTED": 2, } )
Enum value maps for Organization_State.
var ( Project_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DELETE_REQUESTED", } Project_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DELETE_REQUESTED": 2, } )
Enum value maps for Project_State.
var ( Purpose_name = map[int32]string{ 0: "PURPOSE_UNSPECIFIED", 1: "GCE_FIREWALL", } Purpose_value = map[string]int32{ "PURPOSE_UNSPECIFIED": 0, "GCE_FIREWALL": 1, } )
Enum value maps for Purpose.
var File_mockgcp_cloud_resourcemanager_v3_folders_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_organizations_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_projects_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_tag_bindings_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_tag_holds_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_tag_keys_proto protoreflect.FileDescriptor
var File_mockgcp_cloud_resourcemanager_v3_tag_values_proto protoreflect.FileDescriptor
var Folders_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.Folders", HandlerType: (*FoldersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFolder", Handler: _Folders_GetFolder_Handler, }, { MethodName: "ListFolders", Handler: _Folders_ListFolders_Handler, }, { MethodName: "SearchFolders", Handler: _Folders_SearchFolders_Handler, }, { MethodName: "CreateFolder", Handler: _Folders_CreateFolder_Handler, }, { MethodName: "UpdateFolder", Handler: _Folders_UpdateFolder_Handler, }, { MethodName: "MoveFolder", Handler: _Folders_MoveFolder_Handler, }, { MethodName: "DeleteFolder", Handler: _Folders_DeleteFolder_Handler, }, { MethodName: "UndeleteFolder", Handler: _Folders_UndeleteFolder_Handler, }, { MethodName: "GetIamPolicy", Handler: _Folders_GetIamPolicy_Handler, }, { MethodName: "SetIamPolicy", Handler: _Folders_SetIamPolicy_Handler, }, { MethodName: "TestIamPermissions", Handler: _Folders_TestIamPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/folders.proto", }
Folders_ServiceDesc is the grpc.ServiceDesc for Folders service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Organizations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.Organizations", HandlerType: (*OrganizationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetOrganization", Handler: _Organizations_GetOrganization_Handler, }, { MethodName: "SearchOrganizations", Handler: _Organizations_SearchOrganizations_Handler, }, { MethodName: "GetIamPolicy", Handler: _Organizations_GetIamPolicy_Handler, }, { MethodName: "SetIamPolicy", Handler: _Organizations_SetIamPolicy_Handler, }, { MethodName: "TestIamPermissions", Handler: _Organizations_TestIamPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/organizations.proto", }
Organizations_ServiceDesc is the grpc.ServiceDesc for Organizations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Projects_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.Projects", HandlerType: (*ProjectsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProject", Handler: _Projects_GetProject_Handler, }, { MethodName: "ListProjects", Handler: _Projects_ListProjects_Handler, }, { MethodName: "SearchProjects", Handler: _Projects_SearchProjects_Handler, }, { MethodName: "CreateProject", Handler: _Projects_CreateProject_Handler, }, { MethodName: "UpdateProject", Handler: _Projects_UpdateProject_Handler, }, { MethodName: "MoveProject", Handler: _Projects_MoveProject_Handler, }, { MethodName: "DeleteProject", Handler: _Projects_DeleteProject_Handler, }, { MethodName: "UndeleteProject", Handler: _Projects_UndeleteProject_Handler, }, { MethodName: "GetIamPolicy", Handler: _Projects_GetIamPolicy_Handler, }, { MethodName: "SetIamPolicy", Handler: _Projects_SetIamPolicy_Handler, }, { MethodName: "TestIamPermissions", Handler: _Projects_TestIamPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/projects.proto", }
Projects_ServiceDesc is the grpc.ServiceDesc for Projects service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TagBindings_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.TagBindings", HandlerType: (*TagBindingsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTagBindings", Handler: _TagBindings_ListTagBindings_Handler, }, { MethodName: "CreateTagBinding", Handler: _TagBindings_CreateTagBinding_Handler, }, { MethodName: "DeleteTagBinding", Handler: _TagBindings_DeleteTagBinding_Handler, }, { MethodName: "ListEffectiveTags", Handler: _TagBindings_ListEffectiveTags_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/tag_bindings.proto", }
TagBindings_ServiceDesc is the grpc.ServiceDesc for TagBindings service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TagHolds_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.TagHolds", HandlerType: (*TagHoldsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTagHold", Handler: _TagHolds_CreateTagHold_Handler, }, { MethodName: "DeleteTagHold", Handler: _TagHolds_DeleteTagHold_Handler, }, { MethodName: "ListTagHolds", Handler: _TagHolds_ListTagHolds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/tag_holds.proto", }
TagHolds_ServiceDesc is the grpc.ServiceDesc for TagHolds service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TagKeys_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.TagKeys", HandlerType: (*TagKeysServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTagKeys", Handler: _TagKeys_ListTagKeys_Handler, }, { MethodName: "GetTagKey", Handler: _TagKeys_GetTagKey_Handler, }, { MethodName: "GetNamespacedTagKey", Handler: _TagKeys_GetNamespacedTagKey_Handler, }, { MethodName: "CreateTagKey", Handler: _TagKeys_CreateTagKey_Handler, }, { MethodName: "UpdateTagKey", Handler: _TagKeys_UpdateTagKey_Handler, }, { MethodName: "DeleteTagKey", Handler: _TagKeys_DeleteTagKey_Handler, }, { MethodName: "GetIamPolicy", Handler: _TagKeys_GetIamPolicy_Handler, }, { MethodName: "SetIamPolicy", Handler: _TagKeys_SetIamPolicy_Handler, }, { MethodName: "TestIamPermissions", Handler: _TagKeys_TestIamPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/tag_keys.proto", }
TagKeys_ServiceDesc is the grpc.ServiceDesc for TagKeys service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TagValues_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.cloud.resourcemanager.v3.TagValues", HandlerType: (*TagValuesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTagValues", Handler: _TagValues_ListTagValues_Handler, }, { MethodName: "GetTagValue", Handler: _TagValues_GetTagValue_Handler, }, { MethodName: "GetNamespacedTagValue", Handler: _TagValues_GetNamespacedTagValue_Handler, }, { MethodName: "CreateTagValue", Handler: _TagValues_CreateTagValue_Handler, }, { MethodName: "UpdateTagValue", Handler: _TagValues_UpdateTagValue_Handler, }, { MethodName: "DeleteTagValue", Handler: _TagValues_DeleteTagValue_Handler, }, { MethodName: "GetIamPolicy", Handler: _TagValues_GetIamPolicy_Handler, }, { MethodName: "SetIamPolicy", Handler: _TagValues_SetIamPolicy_Handler, }, { MethodName: "TestIamPermissions", Handler: _TagValues_TestIamPermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/cloud/resourcemanager/v3/tag_values.proto", }
TagValues_ServiceDesc is the grpc.ServiceDesc for TagValues service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFoldersHandler ¶
func RegisterFoldersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterFoldersHandler registers the http handlers for service Folders to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFoldersHandlerClient ¶
func RegisterFoldersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FoldersClient) error
RegisterFoldersHandlerClient registers the http handlers for service Folders to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FoldersClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FoldersClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FoldersClient" to call the correct interceptors.
func RegisterFoldersHandlerFromEndpoint ¶
func RegisterFoldersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFoldersHandlerFromEndpoint is same as RegisterFoldersHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFoldersHandlerServer ¶
func RegisterFoldersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FoldersServer) error
RegisterFoldersHandlerServer registers the http handlers for service Folders to "mux". UnaryRPC :call FoldersServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFoldersHandlerFromEndpoint instead.
func RegisterFoldersServer ¶
func RegisterFoldersServer(s grpc.ServiceRegistrar, srv FoldersServer)
func RegisterOrganizationsHandler ¶
func RegisterOrganizationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterOrganizationsHandler registers the http handlers for service Organizations to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterOrganizationsHandlerClient ¶
func RegisterOrganizationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationsClient) error
RegisterOrganizationsHandlerClient registers the http handlers for service Organizations to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrganizationsClient" to call the correct interceptors.
func RegisterOrganizationsHandlerFromEndpoint ¶
func RegisterOrganizationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterOrganizationsHandlerFromEndpoint is same as RegisterOrganizationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterOrganizationsHandlerServer ¶
func RegisterOrganizationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationsServer) error
RegisterOrganizationsHandlerServer registers the http handlers for service Organizations to "mux". UnaryRPC :call OrganizationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrganizationsHandlerFromEndpoint instead.
func RegisterOrganizationsServer ¶
func RegisterOrganizationsServer(s grpc.ServiceRegistrar, srv OrganizationsServer)
func RegisterProjectsHandler ¶
func RegisterProjectsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProjectsHandler registers the http handlers for service Projects to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProjectsHandlerClient ¶
func RegisterProjectsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectsClient) error
RegisterProjectsHandlerClient registers the http handlers for service Projects to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProjectsClient" to call the correct interceptors.
func RegisterProjectsHandlerFromEndpoint ¶
func RegisterProjectsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProjectsHandlerFromEndpoint is same as RegisterProjectsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProjectsHandlerServer ¶
func RegisterProjectsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectsServer) error
RegisterProjectsHandlerServer registers the http handlers for service Projects to "mux". UnaryRPC :call ProjectsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProjectsHandlerFromEndpoint instead.
func RegisterProjectsServer ¶
func RegisterProjectsServer(s grpc.ServiceRegistrar, srv ProjectsServer)
func RegisterTagBindingsHandler ¶
func RegisterTagBindingsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTagBindingsHandler registers the http handlers for service TagBindings to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTagBindingsHandlerClient ¶
func RegisterTagBindingsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagBindingsClient) error
RegisterTagBindingsHandlerClient registers the http handlers for service TagBindings to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagBindingsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagBindingsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagBindingsClient" to call the correct interceptors.
func RegisterTagBindingsHandlerFromEndpoint ¶
func RegisterTagBindingsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTagBindingsHandlerFromEndpoint is same as RegisterTagBindingsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTagBindingsHandlerServer ¶
func RegisterTagBindingsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagBindingsServer) error
RegisterTagBindingsHandlerServer registers the http handlers for service TagBindings to "mux". UnaryRPC :call TagBindingsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTagBindingsHandlerFromEndpoint instead.
func RegisterTagBindingsServer ¶
func RegisterTagBindingsServer(s grpc.ServiceRegistrar, srv TagBindingsServer)
func RegisterTagHoldsHandler ¶
func RegisterTagHoldsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTagHoldsHandler registers the http handlers for service TagHolds to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTagHoldsHandlerClient ¶
func RegisterTagHoldsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagHoldsClient) error
RegisterTagHoldsHandlerClient registers the http handlers for service TagHolds to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagHoldsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagHoldsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagHoldsClient" to call the correct interceptors.
func RegisterTagHoldsHandlerFromEndpoint ¶
func RegisterTagHoldsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTagHoldsHandlerFromEndpoint is same as RegisterTagHoldsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTagHoldsHandlerServer ¶
func RegisterTagHoldsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagHoldsServer) error
RegisterTagHoldsHandlerServer registers the http handlers for service TagHolds to "mux". UnaryRPC :call TagHoldsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTagHoldsHandlerFromEndpoint instead.
func RegisterTagHoldsServer ¶
func RegisterTagHoldsServer(s grpc.ServiceRegistrar, srv TagHoldsServer)
func RegisterTagKeysHandler ¶
func RegisterTagKeysHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTagKeysHandler registers the http handlers for service TagKeys to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTagKeysHandlerClient ¶
func RegisterTagKeysHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagKeysClient) error
RegisterTagKeysHandlerClient registers the http handlers for service TagKeys to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagKeysClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagKeysClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagKeysClient" to call the correct interceptors.
func RegisterTagKeysHandlerFromEndpoint ¶
func RegisterTagKeysHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTagKeysHandlerFromEndpoint is same as RegisterTagKeysHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTagKeysHandlerServer ¶
func RegisterTagKeysHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagKeysServer) error
RegisterTagKeysHandlerServer registers the http handlers for service TagKeys to "mux". UnaryRPC :call TagKeysServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTagKeysHandlerFromEndpoint instead.
func RegisterTagKeysServer ¶
func RegisterTagKeysServer(s grpc.ServiceRegistrar, srv TagKeysServer)
func RegisterTagValuesHandler ¶
func RegisterTagValuesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterTagValuesHandler registers the http handlers for service TagValues to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTagValuesHandlerClient ¶
func RegisterTagValuesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TagValuesClient) error
RegisterTagValuesHandlerClient registers the http handlers for service TagValues to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TagValuesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TagValuesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TagValuesClient" to call the correct interceptors.
func RegisterTagValuesHandlerFromEndpoint ¶
func RegisterTagValuesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTagValuesHandlerFromEndpoint is same as RegisterTagValuesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTagValuesHandlerServer ¶
func RegisterTagValuesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TagValuesServer) error
RegisterTagValuesHandlerServer registers the http handlers for service TagValues to "mux". UnaryRPC :call TagValuesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTagValuesHandlerFromEndpoint instead.
func RegisterTagValuesServer ¶
func RegisterTagValuesServer(s grpc.ServiceRegistrar, srv TagValuesServer)
Types ¶
type CreateFolderMetadata ¶
type CreateFolderMetadata struct { // The display name of the folder. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The resource name of the folder or organization we are creating the folder // under. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Metadata pertaining to the Folder creation process.
func (*CreateFolderMetadata) Descriptor
deprecated
func (*CreateFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateFolderMetadata.ProtoReflect.Descriptor instead.
func (*CreateFolderMetadata) GetDisplayName ¶
func (x *CreateFolderMetadata) GetDisplayName() string
func (*CreateFolderMetadata) GetParent ¶
func (x *CreateFolderMetadata) GetParent() string
func (*CreateFolderMetadata) ProtoMessage ¶
func (*CreateFolderMetadata) ProtoMessage()
func (*CreateFolderMetadata) ProtoReflect ¶
func (x *CreateFolderMetadata) ProtoReflect() protoreflect.Message
func (*CreateFolderMetadata) Reset ¶
func (x *CreateFolderMetadata) Reset()
func (*CreateFolderMetadata) String ¶
func (x *CreateFolderMetadata) String() string
type CreateFolderRequest ¶
type CreateFolderRequest struct { // Required. The folder being created, only the display name and parent will // be consulted. All other fields will be ignored. Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"` // contains filtered or unexported fields }
The CreateFolder request message.
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) 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 CreateProjectMetadata ¶
type CreateProjectMetadata struct { // Creation time of the project creation workflow. CreateTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // True if the project can be retrieved using `GetProject`. No other // operations on the project are guaranteed to work until the project creation // is complete. Gettable bool `protobuf:"varint,2,opt,name=gettable,proto3" json:"gettable,omitempty"` // True if the project creation process is complete. Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready,omitempty"` // contains filtered or unexported fields }
A status object which is used as the `metadata` field for the Operation returned by CreateProject. It provides insight for when significant phases of Project creation have completed.
func (*CreateProjectMetadata) Descriptor
deprecated
func (*CreateProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectMetadata.ProtoReflect.Descriptor instead.
func (*CreateProjectMetadata) GetCreateTime ¶
func (x *CreateProjectMetadata) GetCreateTime() *timestamp.Timestamp
func (*CreateProjectMetadata) GetGettable ¶
func (x *CreateProjectMetadata) GetGettable() bool
func (*CreateProjectMetadata) GetReady ¶
func (x *CreateProjectMetadata) GetReady() bool
func (*CreateProjectMetadata) ProtoMessage ¶
func (*CreateProjectMetadata) ProtoMessage()
func (*CreateProjectMetadata) ProtoReflect ¶
func (x *CreateProjectMetadata) ProtoReflect() protoreflect.Message
func (*CreateProjectMetadata) Reset ¶
func (x *CreateProjectMetadata) Reset()
func (*CreateProjectMetadata) String ¶
func (x *CreateProjectMetadata) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { // Required. The Project to create. // // Project ID is required. If the requested ID is unavailable, the request // fails. // // If the `parent` field is set, the `resourcemanager.projects.create` // permission is checked on the parent resource. If no parent is set and // the authorization credentials belong to an Organization, the parent // will be set to that Organization. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
The request sent to the [CreateProject][mockgcp.cloud.resourcemanager.v3.Projects.CreateProject] method.
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetProject ¶
func (x *CreateProjectRequest) GetProject() *Project
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type CreateTagBindingMetadata ¶
type CreateTagBindingMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for creating a TagValue.
func (*CreateTagBindingMetadata) Descriptor
deprecated
func (*CreateTagBindingMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagBindingMetadata.ProtoReflect.Descriptor instead.
func (*CreateTagBindingMetadata) ProtoMessage ¶
func (*CreateTagBindingMetadata) ProtoMessage()
func (*CreateTagBindingMetadata) ProtoReflect ¶
func (x *CreateTagBindingMetadata) ProtoReflect() protoreflect.Message
func (*CreateTagBindingMetadata) Reset ¶
func (x *CreateTagBindingMetadata) Reset()
func (*CreateTagBindingMetadata) String ¶
func (x *CreateTagBindingMetadata) String() string
type CreateTagBindingRequest ¶
type CreateTagBindingRequest struct { // Required. The TagBinding to be created. TagBinding *TagBinding `protobuf:"bytes,1,opt,name=tag_binding,json=tagBinding,proto3" json:"tag_binding,omitempty"` // Optional. Set to true to perform the validations necessary for creating the // resource, but not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message to create a TagBinding.
func (*CreateTagBindingRequest) Descriptor
deprecated
func (*CreateTagBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateTagBindingRequest) GetTagBinding ¶
func (x *CreateTagBindingRequest) GetTagBinding() *TagBinding
func (*CreateTagBindingRequest) GetValidateOnly ¶
func (x *CreateTagBindingRequest) GetValidateOnly() bool
func (*CreateTagBindingRequest) ProtoMessage ¶
func (*CreateTagBindingRequest) ProtoMessage()
func (*CreateTagBindingRequest) ProtoReflect ¶
func (x *CreateTagBindingRequest) ProtoReflect() protoreflect.Message
func (*CreateTagBindingRequest) Reset ¶
func (x *CreateTagBindingRequest) Reset()
func (*CreateTagBindingRequest) String ¶
func (x *CreateTagBindingRequest) String() string
type CreateTagHoldMetadata ¶
type CreateTagHoldMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for creating a TagHold. (-- The metadata is currently empty, but may include information in the future. --)
func (*CreateTagHoldMetadata) Descriptor
deprecated
func (*CreateTagHoldMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagHoldMetadata.ProtoReflect.Descriptor instead.
func (*CreateTagHoldMetadata) ProtoMessage ¶
func (*CreateTagHoldMetadata) ProtoMessage()
func (*CreateTagHoldMetadata) ProtoReflect ¶
func (x *CreateTagHoldMetadata) ProtoReflect() protoreflect.Message
func (*CreateTagHoldMetadata) Reset ¶
func (x *CreateTagHoldMetadata) Reset()
func (*CreateTagHoldMetadata) String ¶
func (x *CreateTagHoldMetadata) String() string
type CreateTagHoldRequest ¶
type CreateTagHoldRequest struct { // Required. The resource name of the TagHold's parent TagValue. Must be of // the form: `tagValues/{tag-value-id}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The TagHold to be created. TagHold *TagHold `protobuf:"bytes,2,opt,name=tag_hold,json=tagHold,proto3" json:"tag_hold,omitempty"` // Optional. Set to true to perform the validations necessary for creating the // resource, but not actually perform the action. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message to create a TagHold.
func (*CreateTagHoldRequest) Descriptor
deprecated
func (*CreateTagHoldRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagHoldRequest.ProtoReflect.Descriptor instead.
func (*CreateTagHoldRequest) GetParent ¶
func (x *CreateTagHoldRequest) GetParent() string
func (*CreateTagHoldRequest) GetTagHold ¶
func (x *CreateTagHoldRequest) GetTagHold() *TagHold
func (*CreateTagHoldRequest) GetValidateOnly ¶
func (x *CreateTagHoldRequest) GetValidateOnly() bool
func (*CreateTagHoldRequest) ProtoMessage ¶
func (*CreateTagHoldRequest) ProtoMessage()
func (*CreateTagHoldRequest) ProtoReflect ¶
func (x *CreateTagHoldRequest) ProtoReflect() protoreflect.Message
func (*CreateTagHoldRequest) Reset ¶
func (x *CreateTagHoldRequest) Reset()
func (*CreateTagHoldRequest) String ¶
func (x *CreateTagHoldRequest) String() string
type CreateTagKeyMetadata ¶
type CreateTagKeyMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for creating a TagKey.
func (*CreateTagKeyMetadata) Descriptor
deprecated
func (*CreateTagKeyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagKeyMetadata.ProtoReflect.Descriptor instead.
func (*CreateTagKeyMetadata) ProtoMessage ¶
func (*CreateTagKeyMetadata) ProtoMessage()
func (*CreateTagKeyMetadata) ProtoReflect ¶
func (x *CreateTagKeyMetadata) ProtoReflect() protoreflect.Message
func (*CreateTagKeyMetadata) Reset ¶
func (x *CreateTagKeyMetadata) Reset()
func (*CreateTagKeyMetadata) String ¶
func (x *CreateTagKeyMetadata) String() string
type CreateTagKeyRequest ¶
type CreateTagKeyRequest struct { // Required. The TagKey to be created. Only fields `short_name`, // `description`, and `parent` are considered during the creation request. TagKey *TagKey `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"` // Optional. Set to true to perform validations necessary for creating the // resource, but not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message for creating a TagKey.
func (*CreateTagKeyRequest) Descriptor
deprecated
func (*CreateTagKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateTagKeyRequest) GetTagKey ¶
func (x *CreateTagKeyRequest) GetTagKey() *TagKey
func (*CreateTagKeyRequest) GetValidateOnly ¶
func (x *CreateTagKeyRequest) GetValidateOnly() bool
func (*CreateTagKeyRequest) ProtoMessage ¶
func (*CreateTagKeyRequest) ProtoMessage()
func (*CreateTagKeyRequest) ProtoReflect ¶
func (x *CreateTagKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateTagKeyRequest) Reset ¶
func (x *CreateTagKeyRequest) Reset()
func (*CreateTagKeyRequest) String ¶
func (x *CreateTagKeyRequest) String() string
type CreateTagValueMetadata ¶
type CreateTagValueMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for creating a TagValue.
func (*CreateTagValueMetadata) Descriptor
deprecated
func (*CreateTagValueMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagValueMetadata.ProtoReflect.Descriptor instead.
func (*CreateTagValueMetadata) ProtoMessage ¶
func (*CreateTagValueMetadata) ProtoMessage()
func (*CreateTagValueMetadata) ProtoReflect ¶
func (x *CreateTagValueMetadata) ProtoReflect() protoreflect.Message
func (*CreateTagValueMetadata) Reset ¶
func (x *CreateTagValueMetadata) Reset()
func (*CreateTagValueMetadata) String ¶
func (x *CreateTagValueMetadata) String() string
type CreateTagValueRequest ¶
type CreateTagValueRequest struct { // Required. The TagValue to be created. Only fields `short_name`, // `description`, and `parent` are considered during the creation request. TagValue *TagValue `protobuf:"bytes,1,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` // Optional. Set as true to perform the validations necessary for creating the // resource, but not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message for creating a TagValue.
func (*CreateTagValueRequest) Descriptor
deprecated
func (*CreateTagValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagValueRequest.ProtoReflect.Descriptor instead.
func (*CreateTagValueRequest) GetTagValue ¶
func (x *CreateTagValueRequest) GetTagValue() *TagValue
func (*CreateTagValueRequest) GetValidateOnly ¶
func (x *CreateTagValueRequest) GetValidateOnly() bool
func (*CreateTagValueRequest) ProtoMessage ¶
func (*CreateTagValueRequest) ProtoMessage()
func (*CreateTagValueRequest) ProtoReflect ¶
func (x *CreateTagValueRequest) ProtoReflect() protoreflect.Message
func (*CreateTagValueRequest) Reset ¶
func (x *CreateTagValueRequest) Reset()
func (*CreateTagValueRequest) String ¶
func (x *CreateTagValueRequest) String() string
type DeleteFolderMetadata ¶
type DeleteFolderMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the `Operation` returned by `DeleteFolder`.
func (*DeleteFolderMetadata) Descriptor
deprecated
func (*DeleteFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFolderMetadata.ProtoReflect.Descriptor instead.
func (*DeleteFolderMetadata) ProtoMessage ¶
func (*DeleteFolderMetadata) ProtoMessage()
func (*DeleteFolderMetadata) ProtoReflect ¶
func (x *DeleteFolderMetadata) ProtoReflect() protoreflect.Message
func (*DeleteFolderMetadata) Reset ¶
func (x *DeleteFolderMetadata) Reset()
func (*DeleteFolderMetadata) String ¶
func (x *DeleteFolderMetadata) String() string
type DeleteFolderRequest ¶
type DeleteFolderRequest struct { // Required. The resource name of the folder to be deleted. // Must be of the form `folders/{folder_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The DeleteFolder request message.
func (*DeleteFolderRequest) Descriptor
deprecated
func (*DeleteFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.
func (*DeleteFolderRequest) GetName ¶
func (x *DeleteFolderRequest) GetName() 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 DeleteOrganizationMetadata ¶
type DeleteOrganizationMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the operation returned by DeleteOrganization.
func (*DeleteOrganizationMetadata) Descriptor
deprecated
func (*DeleteOrganizationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrganizationMetadata.ProtoReflect.Descriptor instead.
func (*DeleteOrganizationMetadata) ProtoMessage ¶
func (*DeleteOrganizationMetadata) ProtoMessage()
func (*DeleteOrganizationMetadata) ProtoReflect ¶
func (x *DeleteOrganizationMetadata) ProtoReflect() protoreflect.Message
func (*DeleteOrganizationMetadata) Reset ¶
func (x *DeleteOrganizationMetadata) Reset()
func (*DeleteOrganizationMetadata) String ¶
func (x *DeleteOrganizationMetadata) String() string
type DeleteProjectMetadata ¶
type DeleteProjectMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by `DeleteProject`.
func (*DeleteProjectMetadata) Descriptor
deprecated
func (*DeleteProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectMetadata.ProtoReflect.Descriptor instead.
func (*DeleteProjectMetadata) ProtoMessage ¶
func (*DeleteProjectMetadata) ProtoMessage()
func (*DeleteProjectMetadata) ProtoReflect ¶
func (x *DeleteProjectMetadata) ProtoReflect() protoreflect.Message
func (*DeleteProjectMetadata) Reset ¶
func (x *DeleteProjectMetadata) Reset()
func (*DeleteProjectMetadata) String ¶
func (x *DeleteProjectMetadata) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { // Required. The name of the Project (for example, `projects/415104041262`). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
[DeleteProject][mockgcp.cloud.resourcemanager.v3.Projects.DeleteProject] method.
func (*DeleteProjectRequest) Descriptor
deprecated
func (*DeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectRequest) GetName ¶
func (x *DeleteProjectRequest) GetName() string
func (*DeleteProjectRequest) ProtoMessage ¶
func (*DeleteProjectRequest) ProtoMessage()
func (*DeleteProjectRequest) ProtoReflect ¶
func (x *DeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectRequest) Reset ¶
func (x *DeleteProjectRequest) Reset()
func (*DeleteProjectRequest) String ¶
func (x *DeleteProjectRequest) String() string
type DeleteTagBindingMetadata ¶
type DeleteTagBindingMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for deleting a TagBinding.
func (*DeleteTagBindingMetadata) Descriptor
deprecated
func (*DeleteTagBindingMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagBindingMetadata.ProtoReflect.Descriptor instead.
func (*DeleteTagBindingMetadata) ProtoMessage ¶
func (*DeleteTagBindingMetadata) ProtoMessage()
func (*DeleteTagBindingMetadata) ProtoReflect ¶
func (x *DeleteTagBindingMetadata) ProtoReflect() protoreflect.Message
func (*DeleteTagBindingMetadata) Reset ¶
func (x *DeleteTagBindingMetadata) Reset()
func (*DeleteTagBindingMetadata) String ¶
func (x *DeleteTagBindingMetadata) String() string
type DeleteTagBindingRequest ¶
type DeleteTagBindingRequest struct { // Required. The name of the TagBinding. This is a String of the form: // `tagBindings/{id}` (e.g. // `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message to delete a TagBinding.
func (*DeleteTagBindingRequest) Descriptor
deprecated
func (*DeleteTagBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagBindingRequest) GetName ¶
func (x *DeleteTagBindingRequest) GetName() string
func (*DeleteTagBindingRequest) ProtoMessage ¶
func (*DeleteTagBindingRequest) ProtoMessage()
func (*DeleteTagBindingRequest) ProtoReflect ¶
func (x *DeleteTagBindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagBindingRequest) Reset ¶
func (x *DeleteTagBindingRequest) Reset()
func (*DeleteTagBindingRequest) String ¶
func (x *DeleteTagBindingRequest) String() string
type DeleteTagHoldMetadata ¶
type DeleteTagHoldMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for deleting a TagHold. (-- The metadata is currently empty, but may include information in the future. --)
func (*DeleteTagHoldMetadata) Descriptor
deprecated
func (*DeleteTagHoldMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagHoldMetadata.ProtoReflect.Descriptor instead.
func (*DeleteTagHoldMetadata) ProtoMessage ¶
func (*DeleteTagHoldMetadata) ProtoMessage()
func (*DeleteTagHoldMetadata) ProtoReflect ¶
func (x *DeleteTagHoldMetadata) ProtoReflect() protoreflect.Message
func (*DeleteTagHoldMetadata) Reset ¶
func (x *DeleteTagHoldMetadata) Reset()
func (*DeleteTagHoldMetadata) String ¶
func (x *DeleteTagHoldMetadata) String() string
type DeleteTagHoldRequest ¶
type DeleteTagHoldRequest struct { // Required. The resource name of the TagHold to delete. Must be of the form: // `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Set to true to perform the validations necessary for deleting the // resource, but not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message to delete a TagHold.
func (*DeleteTagHoldRequest) Descriptor
deprecated
func (*DeleteTagHoldRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagHoldRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagHoldRequest) GetName ¶
func (x *DeleteTagHoldRequest) GetName() string
func (*DeleteTagHoldRequest) GetValidateOnly ¶
func (x *DeleteTagHoldRequest) GetValidateOnly() bool
func (*DeleteTagHoldRequest) ProtoMessage ¶
func (*DeleteTagHoldRequest) ProtoMessage()
func (*DeleteTagHoldRequest) ProtoReflect ¶
func (x *DeleteTagHoldRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagHoldRequest) Reset ¶
func (x *DeleteTagHoldRequest) Reset()
func (*DeleteTagHoldRequest) String ¶
func (x *DeleteTagHoldRequest) String() string
type DeleteTagKeyMetadata ¶
type DeleteTagKeyMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for deleting a TagKey.
func (*DeleteTagKeyMetadata) Descriptor
deprecated
func (*DeleteTagKeyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagKeyMetadata.ProtoReflect.Descriptor instead.
func (*DeleteTagKeyMetadata) ProtoMessage ¶
func (*DeleteTagKeyMetadata) ProtoMessage()
func (*DeleteTagKeyMetadata) ProtoReflect ¶
func (x *DeleteTagKeyMetadata) ProtoReflect() protoreflect.Message
func (*DeleteTagKeyMetadata) Reset ¶
func (x *DeleteTagKeyMetadata) Reset()
func (*DeleteTagKeyMetadata) String ¶
func (x *DeleteTagKeyMetadata) String() string
type DeleteTagKeyRequest ¶
type DeleteTagKeyRequest struct { // Required. The resource name of a TagKey to be deleted in the format // `tagKeys/123`. The TagKey cannot be a parent of any existing TagValues or // it will not be deleted successfully. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Set as true to perform validations necessary for deletion, but // not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // Optional. The etag known to the client for the expected state of the // TagKey. This is to be used for optimistic concurrency. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
The request message for deleting a TagKey.
func (*DeleteTagKeyRequest) Descriptor
deprecated
func (*DeleteTagKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagKeyRequest) GetEtag ¶
func (x *DeleteTagKeyRequest) GetEtag() string
func (*DeleteTagKeyRequest) GetName ¶
func (x *DeleteTagKeyRequest) GetName() string
func (*DeleteTagKeyRequest) GetValidateOnly ¶
func (x *DeleteTagKeyRequest) GetValidateOnly() bool
func (*DeleteTagKeyRequest) ProtoMessage ¶
func (*DeleteTagKeyRequest) ProtoMessage()
func (*DeleteTagKeyRequest) ProtoReflect ¶
func (x *DeleteTagKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagKeyRequest) Reset ¶
func (x *DeleteTagKeyRequest) Reset()
func (*DeleteTagKeyRequest) String ¶
func (x *DeleteTagKeyRequest) String() string
type DeleteTagValueMetadata ¶
type DeleteTagValueMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for deleting a TagValue.
func (*DeleteTagValueMetadata) Descriptor
deprecated
func (*DeleteTagValueMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagValueMetadata.ProtoReflect.Descriptor instead.
func (*DeleteTagValueMetadata) ProtoMessage ¶
func (*DeleteTagValueMetadata) ProtoMessage()
func (*DeleteTagValueMetadata) ProtoReflect ¶
func (x *DeleteTagValueMetadata) ProtoReflect() protoreflect.Message
func (*DeleteTagValueMetadata) Reset ¶
func (x *DeleteTagValueMetadata) Reset()
func (*DeleteTagValueMetadata) String ¶
func (x *DeleteTagValueMetadata) String() string
type DeleteTagValueRequest ¶
type DeleteTagValueRequest struct { // Required. Resource name for TagValue to be deleted in the format // tagValues/456. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Set as true to perform the validations necessary for deletion, // but not actually perform the action. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // Optional. The etag known to the client for the expected state of the // TagValue. This is to be used for optimistic concurrency. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
The request message for deleting a TagValue.
func (*DeleteTagValueRequest) Descriptor
deprecated
func (*DeleteTagValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagValueRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagValueRequest) GetEtag ¶
func (x *DeleteTagValueRequest) GetEtag() string
func (*DeleteTagValueRequest) GetName ¶
func (x *DeleteTagValueRequest) GetName() string
func (*DeleteTagValueRequest) GetValidateOnly ¶
func (x *DeleteTagValueRequest) GetValidateOnly() bool
func (*DeleteTagValueRequest) ProtoMessage ¶
func (*DeleteTagValueRequest) ProtoMessage()
func (*DeleteTagValueRequest) ProtoReflect ¶
func (x *DeleteTagValueRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagValueRequest) Reset ¶
func (x *DeleteTagValueRequest) Reset()
func (*DeleteTagValueRequest) String ¶
func (x *DeleteTagValueRequest) String() string
type EffectiveTag ¶
type EffectiveTag struct { // Resource name for TagValue in the format `tagValues/456`. TagValue string `protobuf:"bytes,1,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` // The namespaced name of the TagValue. Can be in the form // `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or // `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or // `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. NamespacedTagValue string `protobuf:"bytes,2,opt,name=namespaced_tag_value,json=namespacedTagValue,proto3" json:"namespaced_tag_value,omitempty"` // The name of the TagKey, in the format `tagKeys/{id}`, such as // `tagKeys/123`. TagKey string `protobuf:"bytes,3,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"` // The namespaced name of the TagKey. Can be in the form // `{organization_id}/{tag_key_short_name}` or // `{project_id}/{tag_key_short_name}` or // `{project_number}/{tag_key_short_name}`. NamespacedTagKey string `protobuf:"bytes,4,opt,name=namespaced_tag_key,json=namespacedTagKey,proto3" json:"namespaced_tag_key,omitempty"` // The parent name of the tag key. // Must be in the format `organizations/{organization_id}` or // `projects/{project_number}` TagKeyParentName string `protobuf:"bytes,6,opt,name=tag_key_parent_name,json=tagKeyParentName,proto3" json:"tag_key_parent_name,omitempty"` // Indicates the inheritance status of a tag value // attached to the given resource. If the tag value is inherited from one of // the resource's ancestors, inherited will be true. If false, then the tag // value is directly attached to the resource, inherited will be false. Inherited bool `protobuf:"varint,5,opt,name=inherited,proto3" json:"inherited,omitempty"` // contains filtered or unexported fields }
An EffectiveTag represents a tag that applies to a resource during policy evaluation. Tags can be either directly bound to a resource or inherited from its ancestor. EffectiveTag contains the name and namespaced_name of the tag value and tag key, with additional fields of `inherited` to indicate the inheritance status of the effective tag.
func (*EffectiveTag) Descriptor
deprecated
func (*EffectiveTag) Descriptor() ([]byte, []int)
Deprecated: Use EffectiveTag.ProtoReflect.Descriptor instead.
func (*EffectiveTag) GetInherited ¶
func (x *EffectiveTag) GetInherited() bool
func (*EffectiveTag) GetNamespacedTagKey ¶
func (x *EffectiveTag) GetNamespacedTagKey() string
func (*EffectiveTag) GetNamespacedTagValue ¶
func (x *EffectiveTag) GetNamespacedTagValue() string
func (*EffectiveTag) GetTagKey ¶
func (x *EffectiveTag) GetTagKey() string
func (*EffectiveTag) GetTagKeyParentName ¶
func (x *EffectiveTag) GetTagKeyParentName() string
func (*EffectiveTag) GetTagValue ¶
func (x *EffectiveTag) GetTagValue() string
func (*EffectiveTag) ProtoMessage ¶
func (*EffectiveTag) ProtoMessage()
func (*EffectiveTag) ProtoReflect ¶
func (x *EffectiveTag) ProtoReflect() protoreflect.Message
func (*EffectiveTag) Reset ¶
func (x *EffectiveTag) Reset()
func (*EffectiveTag) String ¶
func (x *EffectiveTag) String() string
type Folder ¶
type Folder struct { // Output only. The resource name of the folder. // Its format is `folders/{folder_id}`, for example: "folders/1234". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The folder's parent's resource name. // Updates to the folder's parent must be performed using // [MoveFolder][mockgcp.cloud.resourcemanager.v3.Folders.MoveFolder]. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // The folder's display name. // A folder's display name must be unique amongst its siblings. For example, // no two folders with the same parent can share the same display name. // The display name must start and end with a letter or digit, may contain // letters, digits, spaces, hyphens and underscores and can be no longer // than 30 characters. This is captured by the regular expression: // `[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?`. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The lifecycle state of the folder. // Updates to the state must be performed using // [DeleteFolder][mockgcp.cloud.resourcemanager.v3.Folders.DeleteFolder] and // [UndeleteFolder][mockgcp.cloud.resourcemanager.v3.Folders.UndeleteFolder]. State Folder_State `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.cloud.resourcemanager.v3.Folder_State" json:"state,omitempty"` // Output only. Timestamp when the folder was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when the folder was last modified. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Timestamp when the folder was requested to be deleted. DeleteTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. A checksum computed by the server based on the current value // of the folder resource. This may be sent on update and delete requests to // ensure the client has an up-to-date value before proceeding. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
A folder in an organization's resource hierarchy, used to organize that organization's resources.
func (*Folder) Descriptor
deprecated
func (*Folder) GetCreateTime ¶
func (*Folder) GetDeleteTime ¶
func (*Folder) GetDisplayName ¶
func (*Folder) GetState ¶
func (x *Folder) GetState() Folder_State
func (*Folder) GetUpdateTime ¶
func (*Folder) ProtoMessage ¶
func (*Folder) ProtoMessage()
func (*Folder) ProtoReflect ¶
func (x *Folder) ProtoReflect() protoreflect.Message
type Folder_State ¶
type Folder_State int32
Folder lifecycle states.
const ( // Unspecified state. Folder_STATE_UNSPECIFIED Folder_State = 0 // The normal and active state. Folder_ACTIVE Folder_State = 1 // The folder has been marked for deletion by the user. Folder_DELETE_REQUESTED Folder_State = 2 )
func (Folder_State) Descriptor ¶
func (Folder_State) Descriptor() protoreflect.EnumDescriptor
func (Folder_State) Enum ¶
func (x Folder_State) Enum() *Folder_State
func (Folder_State) EnumDescriptor
deprecated
func (Folder_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Folder_State.Descriptor instead.
func (Folder_State) Number ¶
func (x Folder_State) Number() protoreflect.EnumNumber
func (Folder_State) String ¶
func (x Folder_State) String() string
func (Folder_State) Type ¶
func (Folder_State) Type() protoreflect.EnumType
type FoldersClient ¶
type FoldersClient interface { // Retrieves a folder identified by the supplied resource name. // Valid folder resource names have the format `folders/{folder_id}` // (for example, `folders/1234`). // The caller must have `resourcemanager.folders.get` permission on the // identified folder. GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error) // Lists the folders that are direct descendants of supplied parent resource. // `list()` provides a strongly consistent view of the folders underneath // the specified parent resource. // `list()` returns folders sorted based upon the (ascending) lexical ordering // of their display_name. // The caller must have `resourcemanager.folders.list` permission on the // identified parent. ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error) // Search for folders that match specific filter criteria. // `search()` provides an eventually consistent view of the folders a user has // access to which meet the specified filter criteria. // // This will only return folders on which the caller has the // permission `resourcemanager.folders.get`. SearchFolders(ctx context.Context, in *SearchFoldersRequest, opts ...grpc.CallOption) (*SearchFoldersResponse, error) // Creates a folder in the resource hierarchy. // Returns an `Operation` which can be used to track the progress of the // folder creation workflow. // Upon success, the `Operation.response` field will be populated with the // created Folder. // // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // // + The folder's `display_name` must be distinct from all other folders that // share its parent. // + The addition of the folder must not cause the active folder hierarchy // to exceed a height of 10. Note, the full active + deleted folder hierarchy // is allowed to reach a height of 20; this provides additional headroom when // moving folders that contain deleted folders. // + The addition of the folder must not cause the total number of folders // under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the `CreateFolder` request, with status code // `FAILED_PRECONDITION` and an error description. Other folder constraint // violations will be communicated in the `Operation`, with the specific // `PreconditionFailure` returned in the details list in the `Operation.error` // field. // // The caller must have `resourcemanager.folders.create` permission on the // identified parent. CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates a folder, changing its `display_name`. // Changes to the folder `display_name` will be rejected if they violate // either the `display_name` formatting rules or the naming constraints // described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. // // The folder's `display_name` must start and end with a letter or digit, // may contain letters, digits, spaces, hyphens and underscores and can be // between 3 and 30 characters. This is captured by the regular expression: // `[\p{L}\p{N}][\p{L}\p{N}_- ]{1,28}[\p{L}\p{N}]`. // The caller must have `resourcemanager.folders.update` permission on the // identified folder. // // If the update fails due to the unique name constraint then a // `PreconditionFailure` explaining this violation will be returned // in the Status.details field. UpdateFolder(ctx context.Context, in *UpdateFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Moves a folder under a new resource parent. // Returns an `Operation` which can be used to track the progress of the // folder move workflow. // Upon success, the `Operation.response` field will be populated with the // moved folder. // Upon failure, a `FolderOperationError` categorizing the failure cause will // be returned - if the failure occurs synchronously then the // `FolderOperationError` will be returned in the `Status.details` field. // If it occurs asynchronously, then the FolderOperation will be returned // in the `Operation.error` field. // In addition, the `Operation.metadata` field will be populated with a // `FolderOperation` message as an aid to stateless clients. // Folder moves will be rejected if they violate either the naming, height, // or fanout constraints described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. The caller must have `resourcemanager.folders.move` // permission on the folder's current and proposed new parent. MoveFolder(ctx context.Context, in *MoveFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Requests deletion of a folder. The folder is moved into the // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state immediately, and is deleted approximately 30 days later. This method // may only be called on an empty folder, where a folder is empty if it // doesn't contain any folders or projects in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. If // called on a folder in // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state the operation will result in a no-op success. // The caller must have `resourcemanager.folders.delete` permission on the // identified folder. DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Cancels the deletion request for a folder. This method may be called on a // folder in any state. If the folder is in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state the // result will be a no-op success. In order to succeed, the folder's parent // must be in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In // addition, reintroducing the folder into the tree must not violate folder // naming, height, and fanout constraints described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. The caller must have `resourcemanager.folders.undelete` // permission on the identified folder. UndeleteFolder(ctx context.Context, in *UndeleteFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets the access control policy for a folder. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the folder's resource name, for example: "folders/1234". // The caller must have `resourcemanager.folders.getIamPolicy` permission // on the identified folder. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the access control policy on a folder, replacing any existing policy. // The `resource` field should be the folder's resource name, for example: // "folders/1234". // The caller must have `resourcemanager.folders.setIamPolicy` permission // on the identified folder. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified folder. // The `resource` field should be the folder's resource name, // for example: "folders/1234". // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
FoldersClient is the client API for Folders service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFoldersClient ¶
func NewFoldersClient(cc grpc.ClientConnInterface) FoldersClient
type FoldersServer ¶
type FoldersServer interface { // Retrieves a folder identified by the supplied resource name. // Valid folder resource names have the format `folders/{folder_id}` // (for example, `folders/1234`). // The caller must have `resourcemanager.folders.get` permission on the // identified folder. GetFolder(context.Context, *GetFolderRequest) (*Folder, error) // Lists the folders that are direct descendants of supplied parent resource. // `list()` provides a strongly consistent view of the folders underneath // the specified parent resource. // `list()` returns folders sorted based upon the (ascending) lexical ordering // of their display_name. // The caller must have `resourcemanager.folders.list` permission on the // identified parent. ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error) // Search for folders that match specific filter criteria. // `search()` provides an eventually consistent view of the folders a user has // access to which meet the specified filter criteria. // // This will only return folders on which the caller has the // permission `resourcemanager.folders.get`. SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error) // Creates a folder in the resource hierarchy. // Returns an `Operation` which can be used to track the progress of the // folder creation workflow. // Upon success, the `Operation.response` field will be populated with the // created Folder. // // In order to succeed, the addition of this new folder must not violate // the folder naming, height, or fanout constraints. // // + The folder's `display_name` must be distinct from all other folders that // share its parent. // + The addition of the folder must not cause the active folder hierarchy // to exceed a height of 10. Note, the full active + deleted folder hierarchy // is allowed to reach a height of 20; this provides additional headroom when // moving folders that contain deleted folders. // + The addition of the folder must not cause the total number of folders // under its parent to exceed 300. // // If the operation fails due to a folder constraint violation, some errors // may be returned by the `CreateFolder` request, with status code // `FAILED_PRECONDITION` and an error description. Other folder constraint // violations will be communicated in the `Operation`, with the specific // `PreconditionFailure` returned in the details list in the `Operation.error` // field. // // The caller must have `resourcemanager.folders.create` permission on the // identified parent. CreateFolder(context.Context, *CreateFolderRequest) (*longrunningpb.Operation, error) // Updates a folder, changing its `display_name`. // Changes to the folder `display_name` will be rejected if they violate // either the `display_name` formatting rules or the naming constraints // described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. // // The folder's `display_name` must start and end with a letter or digit, // may contain letters, digits, spaces, hyphens and underscores and can be // between 3 and 30 characters. This is captured by the regular expression: // `[\p{L}\p{N}][\p{L}\p{N}_- ]{1,28}[\p{L}\p{N}]`. // The caller must have `resourcemanager.folders.update` permission on the // identified folder. // // If the update fails due to the unique name constraint then a // `PreconditionFailure` explaining this violation will be returned // in the Status.details field. UpdateFolder(context.Context, *UpdateFolderRequest) (*longrunningpb.Operation, error) // Moves a folder under a new resource parent. // Returns an `Operation` which can be used to track the progress of the // folder move workflow. // Upon success, the `Operation.response` field will be populated with the // moved folder. // Upon failure, a `FolderOperationError` categorizing the failure cause will // be returned - if the failure occurs synchronously then the // `FolderOperationError` will be returned in the `Status.details` field. // If it occurs asynchronously, then the FolderOperation will be returned // in the `Operation.error` field. // In addition, the `Operation.metadata` field will be populated with a // `FolderOperation` message as an aid to stateless clients. // Folder moves will be rejected if they violate either the naming, height, // or fanout constraints described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. The caller must have `resourcemanager.folders.move` // permission on the folder's current and proposed new parent. MoveFolder(context.Context, *MoveFolderRequest) (*longrunningpb.Operation, error) // Requests deletion of a folder. The folder is moved into the // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state immediately, and is deleted approximately 30 days later. This method // may only be called on an empty folder, where a folder is empty if it // doesn't contain any folders or projects in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. If // called on a folder in // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state the operation will result in a no-op success. // The caller must have `resourcemanager.folders.delete` permission on the // identified folder. DeleteFolder(context.Context, *DeleteFolderRequest) (*longrunningpb.Operation, error) // Cancels the deletion request for a folder. This method may be called on a // folder in any state. If the folder is in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state the // result will be a no-op success. In order to succeed, the folder's parent // must be in the // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In // addition, reintroducing the folder into the tree must not violate folder // naming, height, and fanout constraints described in the // [CreateFolder][mockgcp.cloud.resourcemanager.v3.Folders.CreateFolder] // documentation. The caller must have `resourcemanager.folders.undelete` // permission on the identified folder. UndeleteFolder(context.Context, *UndeleteFolderRequest) (*longrunningpb.Operation, error) // Gets the access control policy for a folder. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the folder's resource name, for example: "folders/1234". // The caller must have `resourcemanager.folders.getIamPolicy` permission // on the identified folder. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the access control policy on a folder, replacing any existing policy. // The `resource` field should be the folder's resource name, for example: // "folders/1234". // The caller must have `resourcemanager.folders.setIamPolicy` permission // on the identified folder. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified folder. // The `resource` field should be the folder's resource name, // for example: "folders/1234". // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // contains filtered or unexported methods }
FoldersServer is the server API for Folders service. All implementations must embed UnimplementedFoldersServer for forward compatibility
type GetFolderRequest ¶
type GetFolderRequest struct { // Required. The resource name of the folder to retrieve. // Must be of the form `folders/{folder_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The GetFolder request message.
func (*GetFolderRequest) Descriptor
deprecated
func (*GetFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.
func (*GetFolderRequest) GetName ¶
func (x *GetFolderRequest) GetName() 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 GetNamespacedTagKeyRequest ¶
type GetNamespacedTagKeyRequest struct { // Required. A namespaced tag key name in the format // `{parentId}/{tagKeyShort}`, such as `42/foo` for a key with short name // "foo" under the organization with ID 42 or `r2-d2/bar` for a key with short // name "bar" under the project `r2-d2`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for getting a TagKey by its namespaced name.
func (*GetNamespacedTagKeyRequest) Descriptor
deprecated
func (*GetNamespacedTagKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacedTagKeyRequest.ProtoReflect.Descriptor instead.
func (*GetNamespacedTagKeyRequest) GetName ¶
func (x *GetNamespacedTagKeyRequest) GetName() string
func (*GetNamespacedTagKeyRequest) ProtoMessage ¶
func (*GetNamespacedTagKeyRequest) ProtoMessage()
func (*GetNamespacedTagKeyRequest) ProtoReflect ¶
func (x *GetNamespacedTagKeyRequest) ProtoReflect() protoreflect.Message
func (*GetNamespacedTagKeyRequest) Reset ¶
func (x *GetNamespacedTagKeyRequest) Reset()
func (*GetNamespacedTagKeyRequest) String ¶
func (x *GetNamespacedTagKeyRequest) String() string
type GetNamespacedTagValueRequest ¶
type GetNamespacedTagValueRequest struct { // Required. A namespaced tag value name in the following format: // // `{parentId}/{tagKeyShort}/{tagValueShort}` // // Examples: // - `42/foo/abc` for a value with short name "abc" under the key with short // name "foo" under the organization with ID 42 // - `r2-d2/bar/xyz` for a value with short name "xyz" under the key with // short name "bar" under the project with ID "r2-d2" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for getting a TagValue by its namespaced name.
func (*GetNamespacedTagValueRequest) Descriptor
deprecated
func (*GetNamespacedTagValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacedTagValueRequest.ProtoReflect.Descriptor instead.
func (*GetNamespacedTagValueRequest) GetName ¶
func (x *GetNamespacedTagValueRequest) GetName() string
func (*GetNamespacedTagValueRequest) ProtoMessage ¶
func (*GetNamespacedTagValueRequest) ProtoMessage()
func (*GetNamespacedTagValueRequest) ProtoReflect ¶
func (x *GetNamespacedTagValueRequest) ProtoReflect() protoreflect.Message
func (*GetNamespacedTagValueRequest) Reset ¶
func (x *GetNamespacedTagValueRequest) Reset()
func (*GetNamespacedTagValueRequest) String ¶
func (x *GetNamespacedTagValueRequest) String() string
type GetOrganizationRequest ¶
type GetOrganizationRequest struct { // Required. The resource name of the Organization to fetch. This is the // organization's relative path in the API, formatted as // "organizations/[organizationId]". For example, "organizations/1234". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request sent to the `GetOrganization` method. The `name` field is required. `organization_id` is no longer accepted.
func (*GetOrganizationRequest) Descriptor
deprecated
func (*GetOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizationRequest) GetName ¶
func (x *GetOrganizationRequest) GetName() string
func (*GetOrganizationRequest) ProtoMessage ¶
func (*GetOrganizationRequest) ProtoMessage()
func (*GetOrganizationRequest) ProtoReflect ¶
func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message
func (*GetOrganizationRequest) Reset ¶
func (x *GetOrganizationRequest) Reset()
func (*GetOrganizationRequest) String ¶
func (x *GetOrganizationRequest) String() string
type GetProjectRequest ¶
type GetProjectRequest struct { // Required. The name of the project (for example, `projects/415104041262`). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request sent to the [GetProject][mockgcp.cloud.resourcemanager.v3.Projects.GetProject] method.
func (*GetProjectRequest) Descriptor
deprecated
func (*GetProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectRequest.ProtoReflect.Descriptor instead.
func (*GetProjectRequest) GetName ¶
func (x *GetProjectRequest) GetName() string
func (*GetProjectRequest) ProtoMessage ¶
func (*GetProjectRequest) ProtoMessage()
func (*GetProjectRequest) ProtoReflect ¶
func (x *GetProjectRequest) ProtoReflect() protoreflect.Message
func (*GetProjectRequest) Reset ¶
func (x *GetProjectRequest) Reset()
func (*GetProjectRequest) String ¶
func (x *GetProjectRequest) String() string
type GetTagKeyRequest ¶
type GetTagKeyRequest struct { // Required. A resource name in the format `tagKeys/{id}`, such as // `tagKeys/123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for getting a TagKey.
func (*GetTagKeyRequest) Descriptor
deprecated
func (*GetTagKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagKeyRequest.ProtoReflect.Descriptor instead.
func (*GetTagKeyRequest) GetName ¶
func (x *GetTagKeyRequest) GetName() string
func (*GetTagKeyRequest) ProtoMessage ¶
func (*GetTagKeyRequest) ProtoMessage()
func (*GetTagKeyRequest) ProtoReflect ¶
func (x *GetTagKeyRequest) ProtoReflect() protoreflect.Message
func (*GetTagKeyRequest) Reset ¶
func (x *GetTagKeyRequest) Reset()
func (*GetTagKeyRequest) String ¶
func (x *GetTagKeyRequest) String() string
type GetTagValueRequest ¶
type GetTagValueRequest struct { // Required. Resource name for TagValue to be fetched in the format // `tagValues/456`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for getting a TagValue.
func (*GetTagValueRequest) Descriptor
deprecated
func (*GetTagValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagValueRequest.ProtoReflect.Descriptor instead.
func (*GetTagValueRequest) GetName ¶
func (x *GetTagValueRequest) GetName() string
func (*GetTagValueRequest) ProtoMessage ¶
func (*GetTagValueRequest) ProtoMessage()
func (*GetTagValueRequest) ProtoReflect ¶
func (x *GetTagValueRequest) ProtoReflect() protoreflect.Message
func (*GetTagValueRequest) Reset ¶
func (x *GetTagValueRequest) Reset()
func (*GetTagValueRequest) String ¶
func (x *GetTagValueRequest) String() string
type ListEffectiveTagsRequest ¶
type ListEffectiveTagsRequest struct { // Required. The full resource name of a resource for which you want to list // the effective tags. E.g. // "//cloudresourcemanager.googleapis.com/projects/123" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of effective tags to return in the response. // The server allows a maximum of 300 effective tags to return in a single // page. If unspecified, the server will use 100 as the default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `ListEffectiveTags` that indicates from where this listing should continue. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message to ListEffectiveTags
func (*ListEffectiveTagsRequest) Descriptor
deprecated
func (*ListEffectiveTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveTagsRequest.ProtoReflect.Descriptor instead.
func (*ListEffectiveTagsRequest) GetPageSize ¶
func (x *ListEffectiveTagsRequest) GetPageSize() int32
func (*ListEffectiveTagsRequest) GetPageToken ¶
func (x *ListEffectiveTagsRequest) GetPageToken() string
func (*ListEffectiveTagsRequest) GetParent ¶
func (x *ListEffectiveTagsRequest) GetParent() string
func (*ListEffectiveTagsRequest) ProtoMessage ¶
func (*ListEffectiveTagsRequest) ProtoMessage()
func (*ListEffectiveTagsRequest) ProtoReflect ¶
func (x *ListEffectiveTagsRequest) ProtoReflect() protoreflect.Message
func (*ListEffectiveTagsRequest) Reset ¶
func (x *ListEffectiveTagsRequest) Reset()
func (*ListEffectiveTagsRequest) String ¶
func (x *ListEffectiveTagsRequest) String() string
type ListEffectiveTagsResponse ¶
type ListEffectiveTagsResponse struct { // A possibly paginated list of effective tags for the specified resource. EffectiveTags []*EffectiveTag `protobuf:"bytes,1,rep,name=effective_tags,json=effectiveTags,proto3" json:"effective_tags,omitempty"` // Pagination token. // // If the result set is too large to fit in a single response, this token // is returned. It encodes the position of the current result cursor. // Feeding this value into a new list request with the `page_token` parameter // gives the next page of the results. // // When `next_page_token` is not filled in, there is no next page and // the list returned is the last page in the result set. // // Pagination tokens have a limited lifetime. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response of ListEffectiveTags.
func (*ListEffectiveTagsResponse) Descriptor
deprecated
func (*ListEffectiveTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEffectiveTagsResponse.ProtoReflect.Descriptor instead.
func (*ListEffectiveTagsResponse) GetEffectiveTags ¶
func (x *ListEffectiveTagsResponse) GetEffectiveTags() []*EffectiveTag
func (*ListEffectiveTagsResponse) GetNextPageToken ¶
func (x *ListEffectiveTagsResponse) GetNextPageToken() string
func (*ListEffectiveTagsResponse) ProtoMessage ¶
func (*ListEffectiveTagsResponse) ProtoMessage()
func (*ListEffectiveTagsResponse) ProtoReflect ¶
func (x *ListEffectiveTagsResponse) ProtoReflect() protoreflect.Message
func (*ListEffectiveTagsResponse) Reset ¶
func (x *ListEffectiveTagsResponse) Reset()
func (*ListEffectiveTagsResponse) String ¶
func (x *ListEffectiveTagsResponse) String() string
type ListFoldersRequest ¶
type ListFoldersRequest struct { // Required. The name of the parent resource whose folders are being listed. // Only children of this parent resource are listed; descendants are not // listed. // // If the parent is a folder, use the value `folders/{folder_id}`. If the // parent is an organization, use the value `organizations/{org_id}`. // // Access to this method is controlled by checking the // `resourcemanager.folders.list` permission on the `parent`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of folders to return in the response. The // server can return fewer folders than requested. If unspecified, server // picks an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to `ListFolders` // that indicates where this listing should continue from. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Controls whether folders in the // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state should be returned. Defaults to false. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
The ListFolders request message.
func (*ListFoldersRequest) Descriptor
deprecated
func (*ListFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFoldersRequest.ProtoReflect.Descriptor instead.
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) GetShowDeleted ¶
func (x *ListFoldersRequest) GetShowDeleted() bool
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 { // A possibly paginated list of folders that are direct descendants of // the specified parent resource. Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` // A pagination token returned from a previous call to `ListFolders` // that indicates from where listing should continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The ListFolders response message.
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 ListProjectsRequest ¶
type ListProjectsRequest struct { // Required. The name of the parent resource whose projects are being listed. // Only children of this parent resource are listed; descendants are not // listed. // // If the parent is a folder, use the value `folders/{folder_id}`. If the // parent is an organization, use the value `organizations/{org_id}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. A pagination token returned from a previous call to // [ListProjects] [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects] that // indicates from where listing should continue. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The maximum number of projects to return in the response. // The server can return fewer projects than requested. // If unspecified, server picks an appropriate default. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. Indicate that projects in the `DELETE_REQUESTED` state should // also be returned. Normally only `ACTIVE` projects are returned. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
The request sent to the [ListProjects][mockgcp.cloud.resourcemanager.v3.Projects.ListProjects] method.
func (*ListProjectsRequest) Descriptor
deprecated
func (*ListProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsRequest.ProtoReflect.Descriptor instead.
func (*ListProjectsRequest) GetPageSize ¶
func (x *ListProjectsRequest) GetPageSize() int32
func (*ListProjectsRequest) GetPageToken ¶
func (x *ListProjectsRequest) GetPageToken() string
func (*ListProjectsRequest) GetParent ¶
func (x *ListProjectsRequest) GetParent() string
func (*ListProjectsRequest) GetShowDeleted ¶
func (x *ListProjectsRequest) GetShowDeleted() bool
func (*ListProjectsRequest) ProtoMessage ¶
func (*ListProjectsRequest) ProtoMessage()
func (*ListProjectsRequest) ProtoReflect ¶
func (x *ListProjectsRequest) ProtoReflect() protoreflect.Message
func (*ListProjectsRequest) Reset ¶
func (x *ListProjectsRequest) Reset()
func (*ListProjectsRequest) String ¶
func (x *ListProjectsRequest) String() string
type ListProjectsResponse ¶
type ListProjectsResponse struct { // The list of Projects under the parent. This list can be paginated. Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // Pagination token. // // If the result set is too large to fit in a single response, this token // is returned. It encodes the position of the current result cursor. // Feeding this value into a new list request with the `page_token` parameter // gives the next page of the results. // // When `next_page_token` is not filled in, there is no next page and // the list returned is the last page in the result set. // // Pagination tokens have a limited lifetime. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
A page of the response received from the [ListProjects][mockgcp.cloud.resourcemanager.v3.Projects.ListProjects] method.
A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.
NOTE: A response may contain fewer elements than the request `page_size` and still have a `next_page_token`.
func (*ListProjectsResponse) Descriptor
deprecated
func (*ListProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResponse.ProtoReflect.Descriptor instead.
func (*ListProjectsResponse) GetNextPageToken ¶
func (x *ListProjectsResponse) GetNextPageToken() string
func (*ListProjectsResponse) GetProjects ¶
func (x *ListProjectsResponse) GetProjects() []*Project
func (*ListProjectsResponse) ProtoMessage ¶
func (*ListProjectsResponse) ProtoMessage()
func (*ListProjectsResponse) ProtoReflect ¶
func (x *ListProjectsResponse) ProtoReflect() protoreflect.Message
func (*ListProjectsResponse) Reset ¶
func (x *ListProjectsResponse) Reset()
func (*ListProjectsResponse) String ¶
func (x *ListProjectsResponse) String() string
type ListTagBindingsRequest ¶
type ListTagBindingsRequest struct { // Required. The full resource name of a resource for which you want to list // existing TagBindings. E.g. // "//cloudresourcemanager.googleapis.com/projects/123" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of TagBindings to return in the response. The // server allows a maximum of 300 TagBindings to return. If unspecified, the // server will use 100 as the default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `ListTagBindings` that indicates where this listing should continue from. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message to list all TagBindings for a parent.
func (*ListTagBindingsRequest) Descriptor
deprecated
func (*ListTagBindingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagBindingsRequest.ProtoReflect.Descriptor instead.
func (*ListTagBindingsRequest) GetPageSize ¶
func (x *ListTagBindingsRequest) GetPageSize() int32
func (*ListTagBindingsRequest) GetPageToken ¶
func (x *ListTagBindingsRequest) GetPageToken() string
func (*ListTagBindingsRequest) GetParent ¶
func (x *ListTagBindingsRequest) GetParent() string
func (*ListTagBindingsRequest) ProtoMessage ¶
func (*ListTagBindingsRequest) ProtoMessage()
func (*ListTagBindingsRequest) ProtoReflect ¶
func (x *ListTagBindingsRequest) ProtoReflect() protoreflect.Message
func (*ListTagBindingsRequest) Reset ¶
func (x *ListTagBindingsRequest) Reset()
func (*ListTagBindingsRequest) String ¶
func (x *ListTagBindingsRequest) String() string
type ListTagBindingsResponse ¶
type ListTagBindingsResponse struct { // A possibly paginated list of TagBindings for the specified resource. TagBindings []*TagBinding `protobuf:"bytes,1,rep,name=tag_bindings,json=tagBindings,proto3" json:"tag_bindings,omitempty"` // Pagination token. // // If the result set is too large to fit in a single response, this token // is returned. It encodes the position of the current result cursor. // Feeding this value into a new list request with the `page_token` parameter // gives the next page of the results. // // When `next_page_token` is not filled in, there is no next page and // the list returned is the last page in the result set. // // Pagination tokens have a limited lifetime. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The ListTagBindings response.
func (*ListTagBindingsResponse) Descriptor
deprecated
func (*ListTagBindingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagBindingsResponse.ProtoReflect.Descriptor instead.
func (*ListTagBindingsResponse) GetNextPageToken ¶
func (x *ListTagBindingsResponse) GetNextPageToken() string
func (*ListTagBindingsResponse) GetTagBindings ¶
func (x *ListTagBindingsResponse) GetTagBindings() []*TagBinding
func (*ListTagBindingsResponse) ProtoMessage ¶
func (*ListTagBindingsResponse) ProtoMessage()
func (*ListTagBindingsResponse) ProtoReflect ¶
func (x *ListTagBindingsResponse) ProtoReflect() protoreflect.Message
func (*ListTagBindingsResponse) Reset ¶
func (x *ListTagBindingsResponse) Reset()
func (*ListTagBindingsResponse) String ¶
func (x *ListTagBindingsResponse) String() string
type ListTagHoldsRequest ¶
type ListTagHoldsRequest struct { // Required. The resource name of the parent TagValue. Must be of the form: // `tagValues/{tag-value-id}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of TagHolds to return in the response. The // server allows a maximum of 300 TagHolds to return. If unspecified, the // server will use 100 as the default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `ListTagHolds` that indicates where this listing should continue from. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Criteria used to select a subset of TagHolds parented by the // TagValue to return. This field follows the syntax defined by aip.dev/160; // the `holder` and `origin` fields are supported for filtering. Currently // only `AND` syntax is supported. Some example queries are: // // - `holder = // //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group` // - `origin = 35678234` // - `holder = // //compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group // AND origin = 35678234` Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for listing the TagHolds under a TagValue.
func (*ListTagHoldsRequest) Descriptor
deprecated
func (*ListTagHoldsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagHoldsRequest.ProtoReflect.Descriptor instead.
func (*ListTagHoldsRequest) GetFilter ¶
func (x *ListTagHoldsRequest) GetFilter() string
func (*ListTagHoldsRequest) GetPageSize ¶
func (x *ListTagHoldsRequest) GetPageSize() int32
func (*ListTagHoldsRequest) GetPageToken ¶
func (x *ListTagHoldsRequest) GetPageToken() string
func (*ListTagHoldsRequest) GetParent ¶
func (x *ListTagHoldsRequest) GetParent() string
func (*ListTagHoldsRequest) ProtoMessage ¶
func (*ListTagHoldsRequest) ProtoMessage()
func (*ListTagHoldsRequest) ProtoReflect ¶
func (x *ListTagHoldsRequest) ProtoReflect() protoreflect.Message
func (*ListTagHoldsRequest) Reset ¶
func (x *ListTagHoldsRequest) Reset()
func (*ListTagHoldsRequest) String ¶
func (x *ListTagHoldsRequest) String() string
type ListTagHoldsResponse ¶
type ListTagHoldsResponse struct { // A possibly paginated list of TagHolds. TagHolds []*TagHold `protobuf:"bytes,1,rep,name=tag_holds,json=tagHolds,proto3" json:"tag_holds,omitempty"` // Pagination token. // // If the result set is too large to fit in a single response, this token // is returned. It encodes the position of the current result cursor. // Feeding this value into a new list request with the `page_token` parameter // gives the next page of the results. // // When `next_page_token` is not filled in, there is no next page and // the list returned is the last page in the result set. // // Pagination tokens have a limited lifetime. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The ListTagHolds response.
func (*ListTagHoldsResponse) Descriptor
deprecated
func (*ListTagHoldsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagHoldsResponse.ProtoReflect.Descriptor instead.
func (*ListTagHoldsResponse) GetNextPageToken ¶
func (x *ListTagHoldsResponse) GetNextPageToken() string
func (*ListTagHoldsResponse) GetTagHolds ¶
func (x *ListTagHoldsResponse) GetTagHolds() []*TagHold
func (*ListTagHoldsResponse) ProtoMessage ¶
func (*ListTagHoldsResponse) ProtoMessage()
func (*ListTagHoldsResponse) ProtoReflect ¶
func (x *ListTagHoldsResponse) ProtoReflect() protoreflect.Message
func (*ListTagHoldsResponse) Reset ¶
func (x *ListTagHoldsResponse) Reset()
func (*ListTagHoldsResponse) String ¶
func (x *ListTagHoldsResponse) String() string
type ListTagKeysRequest ¶
type ListTagKeysRequest struct { // Required. The resource name of the TagKey's parent. // Must be of the form `organizations/{org_id}` or `projects/{project_id}` or // `projects/{project_number}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of TagKeys to return in the response. The // server allows a maximum of 300 TagKeys to return. If unspecified, the // server will use 100 as the default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to `ListTagKey` // that indicates where this listing should continue from. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for listing all TagKeys under a parent resource.
func (*ListTagKeysRequest) Descriptor
deprecated
func (*ListTagKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagKeysRequest.ProtoReflect.Descriptor instead.
func (*ListTagKeysRequest) GetPageSize ¶
func (x *ListTagKeysRequest) GetPageSize() int32
func (*ListTagKeysRequest) GetPageToken ¶
func (x *ListTagKeysRequest) GetPageToken() string
func (*ListTagKeysRequest) GetParent ¶
func (x *ListTagKeysRequest) GetParent() string
func (*ListTagKeysRequest) ProtoMessage ¶
func (*ListTagKeysRequest) ProtoMessage()
func (*ListTagKeysRequest) ProtoReflect ¶
func (x *ListTagKeysRequest) ProtoReflect() protoreflect.Message
func (*ListTagKeysRequest) Reset ¶
func (x *ListTagKeysRequest) Reset()
func (*ListTagKeysRequest) String ¶
func (x *ListTagKeysRequest) String() string
type ListTagKeysResponse ¶
type ListTagKeysResponse struct { // List of TagKeys that live under the specified parent in the request. TagKeys []*TagKey `protobuf:"bytes,1,rep,name=tag_keys,json=tagKeys,proto3" json:"tag_keys,omitempty"` // A pagination token returned from a previous call to `ListTagKeys` // that indicates from where listing should continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The ListTagKeys response message.
func (*ListTagKeysResponse) Descriptor
deprecated
func (*ListTagKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagKeysResponse.ProtoReflect.Descriptor instead.
func (*ListTagKeysResponse) GetNextPageToken ¶
func (x *ListTagKeysResponse) GetNextPageToken() string
func (*ListTagKeysResponse) GetTagKeys ¶
func (x *ListTagKeysResponse) GetTagKeys() []*TagKey
func (*ListTagKeysResponse) ProtoMessage ¶
func (*ListTagKeysResponse) ProtoMessage()
func (*ListTagKeysResponse) ProtoReflect ¶
func (x *ListTagKeysResponse) ProtoReflect() protoreflect.Message
func (*ListTagKeysResponse) Reset ¶
func (x *ListTagKeysResponse) Reset()
func (*ListTagKeysResponse) String ¶
func (x *ListTagKeysResponse) String() string
type ListTagValuesRequest ¶
type ListTagValuesRequest struct { // Required. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of TagValues to return in the response. The // server allows a maximum of 300 TagValues to return. If unspecified, the // server will use 100 as the default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `ListTagValues` that indicates where this listing should continue from. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for listing TagValues for the specified TagKey. Resource name for TagKey, parent of the TagValues to be listed, in the format `tagKeys/123`.
func (*ListTagValuesRequest) Descriptor
deprecated
func (*ListTagValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagValuesRequest.ProtoReflect.Descriptor instead.
func (*ListTagValuesRequest) GetPageSize ¶
func (x *ListTagValuesRequest) GetPageSize() int32
func (*ListTagValuesRequest) GetPageToken ¶
func (x *ListTagValuesRequest) GetPageToken() string
func (*ListTagValuesRequest) GetParent ¶
func (x *ListTagValuesRequest) GetParent() string
func (*ListTagValuesRequest) ProtoMessage ¶
func (*ListTagValuesRequest) ProtoMessage()
func (*ListTagValuesRequest) ProtoReflect ¶
func (x *ListTagValuesRequest) ProtoReflect() protoreflect.Message
func (*ListTagValuesRequest) Reset ¶
func (x *ListTagValuesRequest) Reset()
func (*ListTagValuesRequest) String ¶
func (x *ListTagValuesRequest) String() string
type ListTagValuesResponse ¶
type ListTagValuesResponse struct { // A possibly paginated list of TagValues that are direct descendants of // the specified parent TagKey. TagValues []*TagValue `protobuf:"bytes,1,rep,name=tag_values,json=tagValues,proto3" json:"tag_values,omitempty"` // A pagination token returned from a previous call to `ListTagValues` // that indicates from where listing should continue. This is currently not // used, but the server may at any point start supplying a valid token. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The ListTagValues response.
func (*ListTagValuesResponse) Descriptor
deprecated
func (*ListTagValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagValuesResponse.ProtoReflect.Descriptor instead.
func (*ListTagValuesResponse) GetNextPageToken ¶
func (x *ListTagValuesResponse) GetNextPageToken() string
func (*ListTagValuesResponse) GetTagValues ¶
func (x *ListTagValuesResponse) GetTagValues() []*TagValue
func (*ListTagValuesResponse) ProtoMessage ¶
func (*ListTagValuesResponse) ProtoMessage()
func (*ListTagValuesResponse) ProtoReflect ¶
func (x *ListTagValuesResponse) ProtoReflect() protoreflect.Message
func (*ListTagValuesResponse) Reset ¶
func (x *ListTagValuesResponse) Reset()
func (*ListTagValuesResponse) String ¶
func (x *ListTagValuesResponse) String() string
type MoveFolderMetadata ¶
type MoveFolderMetadata struct { // The display name of the folder. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The resource name of the folder's parent. SourceParent string `protobuf:"bytes,2,opt,name=source_parent,json=sourceParent,proto3" json:"source_parent,omitempty"` // The resource name of the folder or organization to move the folder to. DestinationParent string `protobuf:"bytes,3,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"` // contains filtered or unexported fields }
Metadata pertaining to the folder move process.
func (*MoveFolderMetadata) Descriptor
deprecated
func (*MoveFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MoveFolderMetadata.ProtoReflect.Descriptor instead.
func (*MoveFolderMetadata) GetDestinationParent ¶
func (x *MoveFolderMetadata) GetDestinationParent() string
func (*MoveFolderMetadata) GetDisplayName ¶
func (x *MoveFolderMetadata) GetDisplayName() string
func (*MoveFolderMetadata) GetSourceParent ¶
func (x *MoveFolderMetadata) GetSourceParent() string
func (*MoveFolderMetadata) ProtoMessage ¶
func (*MoveFolderMetadata) ProtoMessage()
func (*MoveFolderMetadata) ProtoReflect ¶
func (x *MoveFolderMetadata) ProtoReflect() protoreflect.Message
func (*MoveFolderMetadata) Reset ¶
func (x *MoveFolderMetadata) Reset()
func (*MoveFolderMetadata) String ¶
func (x *MoveFolderMetadata) String() string
type MoveFolderRequest ¶
type MoveFolderRequest struct { // Required. The resource name of the Folder to move. // Must be of the form folders/{folder_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The resource name of the folder or organization which should be // the folder's new parent. Must be of the form `folders/{folder_id}` or // `organizations/{org_id}`. DestinationParent string `protobuf:"bytes,2,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"` // contains filtered or unexported fields }
The MoveFolder request message.
func (*MoveFolderRequest) Descriptor
deprecated
func (*MoveFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveFolderRequest.ProtoReflect.Descriptor instead.
func (*MoveFolderRequest) GetDestinationParent ¶
func (x *MoveFolderRequest) GetDestinationParent() string
func (*MoveFolderRequest) GetName ¶
func (x *MoveFolderRequest) GetName() string
func (*MoveFolderRequest) ProtoMessage ¶
func (*MoveFolderRequest) ProtoMessage()
func (*MoveFolderRequest) ProtoReflect ¶
func (x *MoveFolderRequest) ProtoReflect() protoreflect.Message
func (*MoveFolderRequest) Reset ¶
func (x *MoveFolderRequest) Reset()
func (*MoveFolderRequest) String ¶
func (x *MoveFolderRequest) String() string
type MoveProjectMetadata ¶
type MoveProjectMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by MoveProject.
func (*MoveProjectMetadata) Descriptor
deprecated
func (*MoveProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use MoveProjectMetadata.ProtoReflect.Descriptor instead.
func (*MoveProjectMetadata) ProtoMessage ¶
func (*MoveProjectMetadata) ProtoMessage()
func (*MoveProjectMetadata) ProtoReflect ¶
func (x *MoveProjectMetadata) ProtoReflect() protoreflect.Message
func (*MoveProjectMetadata) Reset ¶
func (x *MoveProjectMetadata) Reset()
func (*MoveProjectMetadata) String ¶
func (x *MoveProjectMetadata) String() string
type MoveProjectRequest ¶
type MoveProjectRequest struct { // Required. The name of the project to move. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The new parent to move the Project under. DestinationParent string `protobuf:"bytes,2,opt,name=destination_parent,json=destinationParent,proto3" json:"destination_parent,omitempty"` // contains filtered or unexported fields }
The request sent to [MoveProject][mockgcp.cloud.resourcemanager.v3.Projects.MoveProject] method.
func (*MoveProjectRequest) Descriptor
deprecated
func (*MoveProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveProjectRequest.ProtoReflect.Descriptor instead.
func (*MoveProjectRequest) GetDestinationParent ¶
func (x *MoveProjectRequest) GetDestinationParent() string
func (*MoveProjectRequest) GetName ¶
func (x *MoveProjectRequest) GetName() string
func (*MoveProjectRequest) ProtoMessage ¶
func (*MoveProjectRequest) ProtoMessage()
func (*MoveProjectRequest) ProtoReflect ¶
func (x *MoveProjectRequest) ProtoReflect() protoreflect.Message
func (*MoveProjectRequest) Reset ¶
func (x *MoveProjectRequest) Reset()
func (*MoveProjectRequest) String ¶
func (x *MoveProjectRequest) String() string
type Organization ¶
type Organization struct { // Output only. The resource name of the organization. This is the // organization's relative path in the API. Its format is // "organizations/[organization_id]". For example, "organizations/1234". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. A human-readable string that refers to the organization in the // Google Cloud Console. This string is set by the server and cannot be // changed. The string will be set to the primary domain (for example, // "google.com") of the Google Workspace customer that owns the organization. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The owner of this organization. The owner should be specified on // creation. Once set, it cannot be changed. // // The lifetime of the organization and all of its descendants are bound to // the owner. If the owner is deleted, the organization and all its // descendants will be deleted. // // Types that are assignable to Owner: // // *Organization_DirectoryCustomerId Owner isOrganization_Owner `protobuf_oneof:"owner"` // Output only. The organization's current lifecycle state. State Organization_State `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.cloud.resourcemanager.v3.Organization_State" json:"state,omitempty"` // Output only. Timestamp when the Organization was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when the Organization was last modified. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Timestamp when the Organization was requested for deletion. DeleteTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. A checksum computed by the server based on the current value // of the Organization resource. This may be sent on update and delete // requests to ensure the client has an up-to-date value before proceeding. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetCreateTime ¶
func (x *Organization) GetCreateTime() *timestamp.Timestamp
func (*Organization) GetDeleteTime ¶
func (x *Organization) GetDeleteTime() *timestamp.Timestamp
func (*Organization) GetDirectoryCustomerId ¶
func (x *Organization) GetDirectoryCustomerId() string
func (*Organization) GetDisplayName ¶
func (x *Organization) GetDisplayName() string
func (*Organization) GetEtag ¶
func (x *Organization) GetEtag() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetOwner ¶
func (m *Organization) GetOwner() isOrganization_Owner
func (*Organization) GetState ¶
func (x *Organization) GetState() Organization_State
func (*Organization) GetUpdateTime ¶
func (x *Organization) GetUpdateTime() *timestamp.Timestamp
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type Organization_DirectoryCustomerId ¶
type Organization_DirectoryCustomerId struct { // Immutable. The G Suite / Workspace customer id used in the Directory API. DirectoryCustomerId string `protobuf:"bytes,3,opt,name=directory_customer_id,json=directoryCustomerId,proto3,oneof"` }
type Organization_State ¶
type Organization_State int32
Organization lifecycle states.
const ( // Unspecified state. This is only useful for distinguishing unset values. Organization_STATE_UNSPECIFIED Organization_State = 0 // The normal and active state. Organization_ACTIVE Organization_State = 1 // The organization has been marked for deletion by the user. Organization_DELETE_REQUESTED Organization_State = 2 )
func (Organization_State) Descriptor ¶
func (Organization_State) Descriptor() protoreflect.EnumDescriptor
func (Organization_State) Enum ¶
func (x Organization_State) Enum() *Organization_State
func (Organization_State) EnumDescriptor
deprecated
func (Organization_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Organization_State.Descriptor instead.
func (Organization_State) Number ¶
func (x Organization_State) Number() protoreflect.EnumNumber
func (Organization_State) String ¶
func (x Organization_State) String() string
func (Organization_State) Type ¶
func (Organization_State) Type() protoreflect.EnumType
type OrganizationsClient ¶
type OrganizationsClient interface { // Fetches an organization resource identified by the specified resource name. GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*Organization, error) // Searches organization resources that are visible to the user and satisfy // the specified filter. This method returns organizations in an unspecified // order. New organizations do not necessarily appear at the end of the // results, and may take a small amount of time to appear. // // Search will only return organizations on which the user has the permission // `resourcemanager.organizations.get` SearchOrganizations(ctx context.Context, in *SearchOrganizationsRequest, opts ...grpc.CallOption) (*SearchOrganizationsResponse, error) // Gets the access control policy for an organization resource. The policy may // be empty if no such policy or resource exists. The `resource` field should // be the organization's resource name, for example: "organizations/123". // // Authorization requires the IAM permission // `resourcemanager.organizations.getIamPolicy` on the specified organization. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the access control policy on an organization resource. Replaces any // existing policy. The `resource` field should be the organization's resource // name, for example: "organizations/123". // // Authorization requires the IAM permission // `resourcemanager.organizations.setIamPolicy` on the specified organization. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns the permissions that a caller has on the specified organization. // The `resource` field should be the organization's resource name, // for example: "organizations/123". // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
OrganizationsClient is the client API for Organizations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrganizationsClient ¶
func NewOrganizationsClient(cc grpc.ClientConnInterface) OrganizationsClient
type OrganizationsServer ¶
type OrganizationsServer interface { // Fetches an organization resource identified by the specified resource name. GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error) // Searches organization resources that are visible to the user and satisfy // the specified filter. This method returns organizations in an unspecified // order. New organizations do not necessarily appear at the end of the // results, and may take a small amount of time to appear. // // Search will only return organizations on which the user has the permission // `resourcemanager.organizations.get` SearchOrganizations(context.Context, *SearchOrganizationsRequest) (*SearchOrganizationsResponse, error) // Gets the access control policy for an organization resource. The policy may // be empty if no such policy or resource exists. The `resource` field should // be the organization's resource name, for example: "organizations/123". // // Authorization requires the IAM permission // `resourcemanager.organizations.getIamPolicy` on the specified organization. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the access control policy on an organization resource. Replaces any // existing policy. The `resource` field should be the organization's resource // name, for example: "organizations/123". // // Authorization requires the IAM permission // `resourcemanager.organizations.setIamPolicy` on the specified organization. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns the permissions that a caller has on the specified organization. // The `resource` field should be the organization's resource name, // for example: "organizations/123". // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // contains filtered or unexported methods }
OrganizationsServer is the server API for Organizations service. All implementations must embed UnimplementedOrganizationsServer for forward compatibility
type Project ¶
type Project struct { // Output only. The unique resource name of the project. It is an int64 // generated number prefixed by "projects/". // // Example: `projects/415104041262` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. A reference to a parent Resource. eg., `organizations/123` or // `folders/876`. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // Immutable. The unique, user-assigned id of the project. // It must be 6 to 30 lowercase ASCII letters, digits, or hyphens. // It must start with a letter. // Trailing hyphens are prohibited. // // Example: `tokyo-rain-123` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Output only. The project lifecycle state. State Project_State `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.cloud.resourcemanager.v3.Project_State" json:"state,omitempty"` // Optional. A user-assigned display name of the project. // When present it must be between 4 to 30 characters. // Allowed characters are: lowercase and uppercase letters, numbers, // hyphen, single-quote, double-quote, space, and exclamation point. // // Example: `My Project` DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Creation time. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The most recent time this resource was modified. UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The time at which this resource was requested for deletion. DeleteTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. A checksum computed by the server based on the current value // of the Project resource. This may be sent on update and delete requests to // ensure the client has an up-to-date value before proceeding. Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"` // Optional. The labels associated with this project. // // Label keys must be between 1 and 63 characters long and must conform // to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. // // Label values must be between 0 and 63 characters long and must conform // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. // // No more than 64 labels can be associated with a given resource. // // Clients should store labels in a representation such as JSON that does not // depend on specific characters being disallowed. // // Example: `"myBusinessDimension" : "businessValue"` Labels map[string]string `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
A project is a high-level Google Cloud entity. It is a container for ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
func (*Project) Descriptor
deprecated
func (*Project) GetCreateTime ¶
func (*Project) GetDeleteTime ¶
func (*Project) GetDisplayName ¶
func (*Project) GetProjectId ¶
func (*Project) GetState ¶
func (x *Project) GetState() Project_State
func (*Project) GetUpdateTime ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type Project_State ¶
type Project_State int32
Project lifecycle states.
const ( // Unspecified state. This is only used/useful for distinguishing // unset values. Project_STATE_UNSPECIFIED Project_State = 0 // The normal and active state. Project_ACTIVE Project_State = 1 // The project has been marked for deletion by the user // (by invoking // [DeleteProject][mockgcp.cloud.resourcemanager.v3.Projects.DeleteProject]) // or by the system (Google Cloud Platform). // This can generally be reversed by invoking [UndeleteProject] // [mockgcp.cloud.resourcemanager.v3.Projects.UndeleteProject]. Project_DELETE_REQUESTED Project_State = 2 )
func (Project_State) Descriptor ¶
func (Project_State) Descriptor() protoreflect.EnumDescriptor
func (Project_State) Enum ¶
func (x Project_State) Enum() *Project_State
func (Project_State) EnumDescriptor
deprecated
func (Project_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Project_State.Descriptor instead.
func (Project_State) Number ¶
func (x Project_State) Number() protoreflect.EnumNumber
func (Project_State) String ¶
func (x Project_State) String() string
func (Project_State) Type ¶
func (Project_State) Type() protoreflect.EnumType
type ProjectsClient ¶
type ProjectsClient interface { // Retrieves the project identified by the specified `name` (for example, // `projects/415104041262`). // // The caller must have `resourcemanager.projects.get` permission // for this project. GetProject(ctx context.Context, in *GetProjectRequest, opts ...grpc.CallOption) (*Project, error) // Lists projects that are direct children of the specified folder or // organization resource. `list()` provides a strongly consistent view of the // projects underneath the specified parent resource. `list()` returns // projects sorted based upon the (ascending) lexical ordering of their // `display_name`. The caller must have `resourcemanager.projects.list` // permission on the identified parent. ListProjects(ctx context.Context, in *ListProjectsRequest, opts ...grpc.CallOption) (*ListProjectsResponse, error) // Search for projects that the caller has both `resourcemanager.projects.get` // permission on, and also satisfy the specified query. // // This method returns projects in an unspecified order. // // This method is eventually consistent with project mutations; this means // that a newly created project may not appear in the results or recent // updates to an existing project may not be reflected in the results. To // retrieve the latest state of a project, use the // [GetProject][mockgcp.cloud.resourcemanager.v3.Projects.GetProject] method. SearchProjects(ctx context.Context, in *SearchProjectsRequest, opts ...grpc.CallOption) (*SearchProjectsResponse, error) // Request that a new project be created. The result is an `Operation` which // can be used to track the creation process. This process usually takes a few // seconds, but can sometimes take much longer. The tracking `Operation` is // automatically deleted after a few hours, so there is no need to call // `DeleteOperation`. CreateProject(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the `display_name` and labels of the project identified by the // specified `name` (for example, `projects/415104041262`). Deleting all // labels requires an update mask for labels field. // // The caller must have `resourcemanager.projects.update` permission for this // project. UpdateProject(ctx context.Context, in *UpdateProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Move a project to another place in your resource hierarchy, under a new // resource parent. // // Returns an operation which can be used to track the process of the project // move workflow. // Upon success, the `Operation.response` field will be populated with the // moved project. // // The caller must have `resourcemanager.projects.move` permission on the // project, on the project's current and proposed new parent. // // If project has no current parent, or it currently does not have an // associated organization resource, you will also need the // `resourcemanager.projects.setIamPolicy` permission in the project. MoveProject(ctx context.Context, in *MoveProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Marks the project identified by the specified // `name` (for example, `projects/415104041262`) for deletion. // // This method will only affect the project if it has a lifecycle state of // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Project.State.ACTIVE]. // // This method changes the Project's lifecycle state from // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Project.State.ACTIVE] // to // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED]. // The deletion starts at an unspecified time, // at which point the Project is no longer accessible. // // Until the deletion completes, you can check the lifecycle state // checked by retrieving the project with [GetProject] // [mockgcp.cloud.resourcemanager.v3.Projects.GetProject], // and the project remains visible to [ListProjects] // [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects]. // However, you cannot update the project. // // After the deletion completes, the project is not retrievable by // the [GetProject] // [mockgcp.cloud.resourcemanager.v3.Projects.GetProject], // [ListProjects] // [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects], and // [SearchProjects][mockgcp.cloud.resourcemanager.v3.Projects.SearchProjects] // methods. // // This method behaves idempotently, such that deleting a `DELETE_REQUESTED` // project will not cause an error, but also won't do anything. // // The caller must have `resourcemanager.projects.delete` permissions for this // project. DeleteProject(ctx context.Context, in *DeleteProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Restores the project identified by the specified // `name` (for example, `projects/415104041262`). // You can only use this method for a project that has a lifecycle state of // [DELETE_REQUESTED] // [Projects.State.DELETE_REQUESTED]. // After deletion starts, the project cannot be restored. // // The caller must have `resourcemanager.projects.undelete` permission for // this project. UndeleteProject(ctx context.Context, in *UndeleteProjectRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Returns the IAM access control policy for the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // Permission is denied if the policy or the resource do not exist. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the IAM access control policy for the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // // CAUTION: This method will replace the existing policy, and cannot be used // to append additional IAM settings. // // Note: Removing service accounts from policies or changing their roles can // render services completely inoperable. It is important to understand how // the service account is being used before removing or updating its roles. // // The following constraints apply when using `setIamPolicy()`: // // + Project does not support `allUsers` and `allAuthenticatedUsers` as // `members` in a `Binding` of a `Policy`. // // + The owner role can be granted to a `user`, `serviceAccount`, or a group // that is part of an organization. For example, // group@myownpersonaldomain.com could be added as an owner to a project in // the myownpersonaldomain.com organization, but not the examplepetstore.com // organization. // // + Service accounts can be made owners of a project directly // without any restrictions. However, to be added as an owner, a user must be // invited using the Cloud Platform console and must accept the invitation. // // + A user cannot be granted the owner role using `setIamPolicy()`. The user // must be granted the owner role using the Cloud Platform Console and must // explicitly accept the invitation. // // + Invitations to grant the owner role cannot be sent using // `setIamPolicy()`; // they must be sent only using the Cloud Platform Console. // // + If the project is not part of an organization, there must be at least // one owner who has accepted the Terms of Service (ToS) agreement in the // policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner // from the policy will fail. This restriction also applies to legacy // projects that no longer have owners who have accepted the ToS. Edits to // IAM policies will be rejected until the lack of a ToS-accepting owner is // rectified. If the project is part of an organization, you can remove all // owners, potentially making the organization inaccessible. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123.. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
ProjectsClient is the client API for Projects service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProjectsClient ¶
func NewProjectsClient(cc grpc.ClientConnInterface) ProjectsClient
type ProjectsServer ¶
type ProjectsServer interface { // Retrieves the project identified by the specified `name` (for example, // `projects/415104041262`). // // The caller must have `resourcemanager.projects.get` permission // for this project. GetProject(context.Context, *GetProjectRequest) (*Project, error) // Lists projects that are direct children of the specified folder or // organization resource. `list()` provides a strongly consistent view of the // projects underneath the specified parent resource. `list()` returns // projects sorted based upon the (ascending) lexical ordering of their // `display_name`. The caller must have `resourcemanager.projects.list` // permission on the identified parent. ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error) // Search for projects that the caller has both `resourcemanager.projects.get` // permission on, and also satisfy the specified query. // // This method returns projects in an unspecified order. // // This method is eventually consistent with project mutations; this means // that a newly created project may not appear in the results or recent // updates to an existing project may not be reflected in the results. To // retrieve the latest state of a project, use the // [GetProject][mockgcp.cloud.resourcemanager.v3.Projects.GetProject] method. SearchProjects(context.Context, *SearchProjectsRequest) (*SearchProjectsResponse, error) // Request that a new project be created. The result is an `Operation` which // can be used to track the creation process. This process usually takes a few // seconds, but can sometimes take much longer. The tracking `Operation` is // automatically deleted after a few hours, so there is no need to call // `DeleteOperation`. CreateProject(context.Context, *CreateProjectRequest) (*longrunningpb.Operation, error) // Updates the `display_name` and labels of the project identified by the // specified `name` (for example, `projects/415104041262`). Deleting all // labels requires an update mask for labels field. // // The caller must have `resourcemanager.projects.update` permission for this // project. UpdateProject(context.Context, *UpdateProjectRequest) (*longrunningpb.Operation, error) // Move a project to another place in your resource hierarchy, under a new // resource parent. // // Returns an operation which can be used to track the process of the project // move workflow. // Upon success, the `Operation.response` field will be populated with the // moved project. // // The caller must have `resourcemanager.projects.move` permission on the // project, on the project's current and proposed new parent. // // If project has no current parent, or it currently does not have an // associated organization resource, you will also need the // `resourcemanager.projects.setIamPolicy` permission in the project. MoveProject(context.Context, *MoveProjectRequest) (*longrunningpb.Operation, error) // Marks the project identified by the specified // `name` (for example, `projects/415104041262`) for deletion. // // This method will only affect the project if it has a lifecycle state of // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Project.State.ACTIVE]. // // This method changes the Project's lifecycle state from // [ACTIVE][mockgcp.cloud.resourcemanager.v3.Project.State.ACTIVE] // to // [DELETE_REQUESTED][mockgcp.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED]. // The deletion starts at an unspecified time, // at which point the Project is no longer accessible. // // Until the deletion completes, you can check the lifecycle state // checked by retrieving the project with [GetProject] // [mockgcp.cloud.resourcemanager.v3.Projects.GetProject], // and the project remains visible to [ListProjects] // [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects]. // However, you cannot update the project. // // After the deletion completes, the project is not retrievable by // the [GetProject] // [mockgcp.cloud.resourcemanager.v3.Projects.GetProject], // [ListProjects] // [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects], and // [SearchProjects][mockgcp.cloud.resourcemanager.v3.Projects.SearchProjects] // methods. // // This method behaves idempotently, such that deleting a `DELETE_REQUESTED` // project will not cause an error, but also won't do anything. // // The caller must have `resourcemanager.projects.delete` permissions for this // project. DeleteProject(context.Context, *DeleteProjectRequest) (*longrunningpb.Operation, error) // Restores the project identified by the specified // `name` (for example, `projects/415104041262`). // You can only use this method for a project that has a lifecycle state of // [DELETE_REQUESTED] // [Projects.State.DELETE_REQUESTED]. // After deletion starts, the project cannot be restored. // // The caller must have `resourcemanager.projects.undelete` permission for // this project. UndeleteProject(context.Context, *UndeleteProjectRequest) (*longrunningpb.Operation, error) // Returns the IAM access control policy for the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // Permission is denied if the policy or the resource do not exist. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the IAM access control policy for the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // // CAUTION: This method will replace the existing policy, and cannot be used // to append additional IAM settings. // // Note: Removing service accounts from policies or changing their roles can // render services completely inoperable. It is important to understand how // the service account is being used before removing or updating its roles. // // The following constraints apply when using `setIamPolicy()`: // // + Project does not support `allUsers` and `allAuthenticatedUsers` as // `members` in a `Binding` of a `Policy`. // // + The owner role can be granted to a `user`, `serviceAccount`, or a group // that is part of an organization. For example, // group@myownpersonaldomain.com could be added as an owner to a project in // the myownpersonaldomain.com organization, but not the examplepetstore.com // organization. // // + Service accounts can be made owners of a project directly // without any restrictions. However, to be added as an owner, a user must be // invited using the Cloud Platform console and must accept the invitation. // // + A user cannot be granted the owner role using `setIamPolicy()`. The user // must be granted the owner role using the Cloud Platform Console and must // explicitly accept the invitation. // // + Invitations to grant the owner role cannot be sent using // `setIamPolicy()`; // they must be sent only using the Cloud Platform Console. // // + If the project is not part of an organization, there must be at least // one owner who has accepted the Terms of Service (ToS) agreement in the // policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner // from the policy will fail. This restriction also applies to legacy // projects that no longer have owners who have accepted the ToS. Edits to // IAM policies will be rejected until the lack of a ToS-accepting owner is // rectified. If the project is part of an organization, you can remove all // owners, potentially making the organization inaccessible. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified project, in the // format `projects/{ProjectIdOrNumber}` e.g. projects/123.. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // contains filtered or unexported methods }
ProjectsServer is the server API for Projects service. All implementations must embed UnimplementedProjectsServer for forward compatibility
type Purpose ¶
type Purpose int32
A purpose for each policy engine requiring such an integration. A single policy engine may have multiple purposes defined, however a TagKey may only specify a single purpose.
const ( // Unspecified purpose. Purpose_PURPOSE_UNSPECIFIED Purpose = 0 // Purpose for Compute Engine firewalls. // A corresponding `purpose_data` should be set for the network the tag is // intended for. The key should be `network` and the value should be in // either of these two formats: // // - // `https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}` // - `{project_id}/{network_name}` // // Examples: // // - // `https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600` // - `fail-closed-load-testing/load-testing-network` Purpose_GCE_FIREWALL Purpose = 1 )
func (Purpose) Descriptor ¶
func (Purpose) Descriptor() protoreflect.EnumDescriptor
func (Purpose) EnumDescriptor
deprecated
func (Purpose) Number ¶
func (x Purpose) Number() protoreflect.EnumNumber
func (Purpose) Type ¶
func (Purpose) Type() protoreflect.EnumType
type SearchFoldersRequest ¶
type SearchFoldersRequest struct { // Optional. The maximum number of folders to return in the response. The // server can return fewer folders than requested. If unspecified, server // picks an appropriate default. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `SearchFolders` that indicates from where search should continue. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Search criteria used to select the folders to return. // If no search criteria is specified then all accessible folders will be // returned. // // Query expressions can be used to restrict results based upon displayName, // state and parent, where the operators `=` (`:`) `NOT`, `AND` and `OR` // can be used along with the suffix wildcard symbol `*`. // // The `displayName` field in a query expression should use escaped quotes // for values that include whitespace to prevent unexpected behavior. // // “` // | Field | Description | // |-------------------------|----------------------------------------| // | displayName | Filters by displayName. | // | parent | Filters by parent (for example: folders/123). | // | state, lifecycleState | Filters by state. | // “` // // Some example queries are: // // * Query `displayName=Test*` returns Folder resources whose display name // starts with "Test". // * Query `state=ACTIVE` returns Folder resources with // `state` set to `ACTIVE`. // * Query `parent=folders/123` returns Folder resources that have // `folders/123` as a parent resource. // * Query `parent=folders/123 AND state=ACTIVE` returns active // Folder resources that have `folders/123` as a parent resource. // * Query `displayName=\\"Test String\\"` returns Folder resources with // display names that include both "Test" and "String". Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
The request message for searching folders.
func (*SearchFoldersRequest) Descriptor
deprecated
func (*SearchFoldersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchFoldersRequest.ProtoReflect.Descriptor instead.
func (*SearchFoldersRequest) GetPageSize ¶
func (x *SearchFoldersRequest) GetPageSize() int32
func (*SearchFoldersRequest) GetPageToken ¶
func (x *SearchFoldersRequest) GetPageToken() string
func (*SearchFoldersRequest) GetQuery ¶
func (x *SearchFoldersRequest) GetQuery() string
func (*SearchFoldersRequest) ProtoMessage ¶
func (*SearchFoldersRequest) ProtoMessage()
func (*SearchFoldersRequest) ProtoReflect ¶
func (x *SearchFoldersRequest) ProtoReflect() protoreflect.Message
func (*SearchFoldersRequest) Reset ¶
func (x *SearchFoldersRequest) Reset()
func (*SearchFoldersRequest) String ¶
func (x *SearchFoldersRequest) String() string
type SearchFoldersResponse ¶
type SearchFoldersResponse struct { // A possibly paginated folder search results. // the specified parent resource. Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"` // A pagination token returned from a previous call to `SearchFolders` // that indicates from where searching should continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for searching folders.
func (*SearchFoldersResponse) Descriptor
deprecated
func (*SearchFoldersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchFoldersResponse.ProtoReflect.Descriptor instead.
func (*SearchFoldersResponse) GetFolders ¶
func (x *SearchFoldersResponse) GetFolders() []*Folder
func (*SearchFoldersResponse) GetNextPageToken ¶
func (x *SearchFoldersResponse) GetNextPageToken() string
func (*SearchFoldersResponse) ProtoMessage ¶
func (*SearchFoldersResponse) ProtoMessage()
func (*SearchFoldersResponse) ProtoReflect ¶
func (x *SearchFoldersResponse) ProtoReflect() protoreflect.Message
func (*SearchFoldersResponse) Reset ¶
func (x *SearchFoldersResponse) Reset()
func (*SearchFoldersResponse) String ¶
func (x *SearchFoldersResponse) String() string
type SearchOrganizationsRequest ¶
type SearchOrganizationsRequest struct { // Optional. The maximum number of organizations to return in the response. // The server can return fewer organizations than requested. If unspecified, // server picks an appropriate default. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A pagination token returned from a previous call to // `SearchOrganizations` that indicates from where listing should continue. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. An optional query string used to filter the Organizations to // return in the response. Query rules are case-insensitive. // // “` // | Field | Description | // |------------------|--------------------------------------------| // | directoryCustomerId, owner.directoryCustomerId | Filters by directory // customer id. | // | domain | Filters by domain. | // “` // // Organizations may be queried by `directoryCustomerId` or by // `domain`, where the domain is a G Suite domain, for example: // // * Query `directorycustomerid:123456789` returns Organization // resources with `owner.directory_customer_id` equal to `123456789`. // * Query `domain:google.com` returns Organization resources corresponding // to the domain `google.com`. Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
The request sent to the `SearchOrganizations` method.
func (*SearchOrganizationsRequest) Descriptor
deprecated
func (*SearchOrganizationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchOrganizationsRequest.ProtoReflect.Descriptor instead.
func (*SearchOrganizationsRequest) GetPageSize ¶
func (x *SearchOrganizationsRequest) GetPageSize() int32
func (*SearchOrganizationsRequest) GetPageToken ¶
func (x *SearchOrganizationsRequest) GetPageToken() string
func (*SearchOrganizationsRequest) GetQuery ¶
func (x *SearchOrganizationsRequest) GetQuery() string
func (*SearchOrganizationsRequest) ProtoMessage ¶
func (*SearchOrganizationsRequest) ProtoMessage()
func (*SearchOrganizationsRequest) ProtoReflect ¶
func (x *SearchOrganizationsRequest) ProtoReflect() protoreflect.Message
func (*SearchOrganizationsRequest) Reset ¶
func (x *SearchOrganizationsRequest) Reset()
func (*SearchOrganizationsRequest) String ¶
func (x *SearchOrganizationsRequest) String() string
type SearchOrganizationsResponse ¶
type SearchOrganizationsResponse struct { // The list of Organizations that matched the search query, possibly // paginated. Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // A pagination token to be used to retrieve the next page of results. If the // result is too large to fit within the page size specified in the request, // this field will be set with a token that can be used to fetch the next page // of results. If this field is empty, it indicates that this response // contains the last 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 }
The response returned from the `SearchOrganizations` method.
func (*SearchOrganizationsResponse) Descriptor
deprecated
func (*SearchOrganizationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchOrganizationsResponse.ProtoReflect.Descriptor instead.
func (*SearchOrganizationsResponse) GetNextPageToken ¶
func (x *SearchOrganizationsResponse) GetNextPageToken() string
func (*SearchOrganizationsResponse) GetOrganizations ¶
func (x *SearchOrganizationsResponse) GetOrganizations() []*Organization
func (*SearchOrganizationsResponse) ProtoMessage ¶
func (*SearchOrganizationsResponse) ProtoMessage()
func (*SearchOrganizationsResponse) ProtoReflect ¶
func (x *SearchOrganizationsResponse) ProtoReflect() protoreflect.Message
func (*SearchOrganizationsResponse) Reset ¶
func (x *SearchOrganizationsResponse) Reset()
func (*SearchOrganizationsResponse) String ¶
func (x *SearchOrganizationsResponse) String() string
type SearchProjectsRequest ¶
type SearchProjectsRequest struct { // Optional. A query string for searching for projects that the caller has // `resourcemanager.projects.get` permission to. If multiple fields are // included in the query, then it will return results that match any of the // fields. Some eligible fields are: // // - **`displayName`, `name`**: Filters by displayName. // - **`parent`**: Project's parent (for example: `folders/123`, // `organizations/*`). Prefer `parent` field over `parent.type` and // `parent.id`. // - **`parent.type`**: Parent's type: `folder` or `organization`. // - **`parent.id`**: Parent's id number (for example: `123`). // - **`id`, `projectId`**: Filters by projectId. // - **`state`, `lifecycleState`**: Filters by state. // - **`labels`**: Filters by label name or value. // - **`labels.<key>` (where `<key>` is the name of a label)**: Filters by label // name. // // Search expressions are case insensitive. // // Some examples queries: // // - **`name:how*`**: The project's name starts with "how". // - **`name:Howl`**: The project's name is `Howl` or `howl`. // - **`name:HOWL`**: Equivalent to above. // - **`NAME:howl`**: Equivalent to above. // - **`labels.color:*`**: The project has the label `color`. // - **`labels.color:red`**: The project's label `color` has the value `red`. // - **`labels.color:red labels.size:big`**: The project's label `color` has // the value `red` or its label `size` has the value `big`. // // If no query is specified, the call will return projects for which the user // has the `resourcemanager.projects.get` permission. Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Optional. A pagination token returned from a previous call to // [ListProjects] [mockgcp.cloud.resourcemanager.v3.Projects.ListProjects] that // indicates from where listing should continue. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The maximum number of projects to return in the response. // The server can return fewer projects than requested. // If unspecified, server picks an appropriate default. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
The request sent to the [SearchProjects][mockgcp.cloud.resourcemanager.v3.Projects.SearchProjects] method.
func (*SearchProjectsRequest) Descriptor
deprecated
func (*SearchProjectsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchProjectsRequest.ProtoReflect.Descriptor instead.
func (*SearchProjectsRequest) GetPageSize ¶
func (x *SearchProjectsRequest) GetPageSize() int32
func (*SearchProjectsRequest) GetPageToken ¶
func (x *SearchProjectsRequest) GetPageToken() string
func (*SearchProjectsRequest) GetQuery ¶
func (x *SearchProjectsRequest) GetQuery() string
func (*SearchProjectsRequest) ProtoMessage ¶
func (*SearchProjectsRequest) ProtoMessage()
func (*SearchProjectsRequest) ProtoReflect ¶
func (x *SearchProjectsRequest) ProtoReflect() protoreflect.Message
func (*SearchProjectsRequest) Reset ¶
func (x *SearchProjectsRequest) Reset()
func (*SearchProjectsRequest) String ¶
func (x *SearchProjectsRequest) String() string
type SearchProjectsResponse ¶
type SearchProjectsResponse struct { // The list of Projects that matched the list filter query. This list can // be paginated. Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // Pagination token. // // If the result set is too large to fit in a single response, this token // is returned. It encodes the position of the current result cursor. // Feeding this value into a new list request with the `page_token` parameter // gives the next page of the results. // // When `next_page_token` is not filled in, there is no next page and // the list returned is the last page in the result set. // // Pagination tokens have a limited lifetime. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
A page of the response received from the [SearchProjects][mockgcp.cloud.resourcemanager.v3.Projects.SearchProjects] method.
A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.
func (*SearchProjectsResponse) Descriptor
deprecated
func (*SearchProjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchProjectsResponse.ProtoReflect.Descriptor instead.
func (*SearchProjectsResponse) GetNextPageToken ¶
func (x *SearchProjectsResponse) GetNextPageToken() string
func (*SearchProjectsResponse) GetProjects ¶
func (x *SearchProjectsResponse) GetProjects() []*Project
func (*SearchProjectsResponse) ProtoMessage ¶
func (*SearchProjectsResponse) ProtoMessage()
func (*SearchProjectsResponse) ProtoReflect ¶
func (x *SearchProjectsResponse) ProtoReflect() protoreflect.Message
func (*SearchProjectsResponse) Reset ¶
func (x *SearchProjectsResponse) Reset()
func (*SearchProjectsResponse) String ¶
func (x *SearchProjectsResponse) String() string
type TagBinding ¶
type TagBinding struct { // Output only. The name of the TagBinding. This is a String of the form: // `tagBindings/{full-resource-name}/{tag-value-name}` (e.g. // `tagBindings/%2F%2Fcloudresourcemanager.googleapis.com%2Fprojects%2F123/tagValues/456`). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The full resource name of the resource the TagValue is bound to. // E.g. `//cloudresourcemanager.googleapis.com/projects/123` Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // The TagValue of the TagBinding. // Must be of the form `tagValues/456`. TagValue string `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` // The namespaced name for the TagValue of the TagBinding. // Must be in the format // `{parent_id}/{tag_key_short_name}/{short_name}`. // // For methods that support TagValue namespaced name, only one of // tag_value_namespaced_name or tag_value may be filled. Requests with both // fields will be rejected. TagValueNamespacedName string `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
A TagBinding represents a connection between a TagValue and a cloud resource Once a TagBinding is created, the TagValue is applied to all the descendants of the Google Cloud resource.
func (*TagBinding) Descriptor
deprecated
func (*TagBinding) Descriptor() ([]byte, []int)
Deprecated: Use TagBinding.ProtoReflect.Descriptor instead.
func (*TagBinding) GetName ¶
func (x *TagBinding) GetName() string
func (*TagBinding) GetParent ¶
func (x *TagBinding) GetParent() string
func (*TagBinding) GetTagValue ¶
func (x *TagBinding) GetTagValue() string
func (*TagBinding) GetTagValueNamespacedName ¶
func (x *TagBinding) GetTagValueNamespacedName() string
func (*TagBinding) ProtoMessage ¶
func (*TagBinding) ProtoMessage()
func (*TagBinding) ProtoReflect ¶
func (x *TagBinding) ProtoReflect() protoreflect.Message
func (*TagBinding) Reset ¶
func (x *TagBinding) Reset()
func (*TagBinding) String ¶
func (x *TagBinding) String() string
type TagBindingsClient ¶
type TagBindingsClient interface { // Lists the TagBindings for the given Google Cloud resource, as specified // with `parent`. // // NOTE: The `parent` field is expected to be a full resource name: // https://cloud.google.com/apis/design/resource_names#full_resource_name ListTagBindings(ctx context.Context, in *ListTagBindingsRequest, opts ...grpc.CallOption) (*ListTagBindingsResponse, error) // Creates a TagBinding between a TagValue and a Google Cloud resource. CreateTagBinding(ctx context.Context, in *CreateTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a TagBinding. DeleteTagBinding(ctx context.Context, in *DeleteTagBindingRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Return a list of effective tags for the given Google Cloud resource, as // specified in `parent`. ListEffectiveTags(ctx context.Context, in *ListEffectiveTagsRequest, opts ...grpc.CallOption) (*ListEffectiveTagsResponse, error) }
TagBindingsClient is the client API for TagBindings service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTagBindingsClient ¶
func NewTagBindingsClient(cc grpc.ClientConnInterface) TagBindingsClient
type TagBindingsServer ¶
type TagBindingsServer interface { // Lists the TagBindings for the given Google Cloud resource, as specified // with `parent`. // // NOTE: The `parent` field is expected to be a full resource name: // https://cloud.google.com/apis/design/resource_names#full_resource_name ListTagBindings(context.Context, *ListTagBindingsRequest) (*ListTagBindingsResponse, error) // Creates a TagBinding between a TagValue and a Google Cloud resource. CreateTagBinding(context.Context, *CreateTagBindingRequest) (*longrunningpb.Operation, error) // Deletes a TagBinding. DeleteTagBinding(context.Context, *DeleteTagBindingRequest) (*longrunningpb.Operation, error) // Return a list of effective tags for the given Google Cloud resource, as // specified in `parent`. ListEffectiveTags(context.Context, *ListEffectiveTagsRequest) (*ListEffectiveTagsResponse, error) // contains filtered or unexported methods }
TagBindingsServer is the server API for TagBindings service. All implementations must embed UnimplementedTagBindingsServer for forward compatibility
type TagHold ¶
type TagHold struct { // Output only. The resource name of a TagHold. This is a String of the form: // `tagValues/{tag-value-id}/tagHolds/{tag-hold-id}` // (e.g. `tagValues/123/tagHolds/456`). This resource name is generated by // the server. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of the resource where the TagValue is being used. Must // be less than 200 characters. E.g. // `//compute.googleapis.com/compute/projects/myproject/regions/us-east-1/instanceGroupManagers/instance-group` Holder string `protobuf:"bytes,2,opt,name=holder,proto3" json:"holder,omitempty"` // Optional. An optional string representing the origin of this request. This // field should include human-understandable information to distinguish // origins from each other. Must be less than 200 characters. E.g. // `migs-35678234` Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` // Optional. A URL where an end user can learn more about removing this hold. // E.g. // `https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing` HelpLink string `protobuf:"bytes,4,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"` // Output only. The time this TagHold was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
A TagHold represents the use of a TagValue that is not captured by TagBindings. If a TagValue has any TagHolds, deletion will be blocked. This resource is intended to be created in the same cloud location as the `holder`.
func (*TagHold) Descriptor
deprecated
func (*TagHold) GetCreateTime ¶
func (*TagHold) GetHelpLink ¶
func (*TagHold) ProtoMessage ¶
func (*TagHold) ProtoMessage()
func (*TagHold) ProtoReflect ¶
func (x *TagHold) ProtoReflect() protoreflect.Message
type TagHoldsClient ¶
type TagHoldsClient interface { // Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same // resource and origin exists under the same TagValue. CreateTagHold(ctx context.Context, in *CreateTagHoldRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a TagHold. DeleteTagHold(ctx context.Context, in *DeleteTagHoldRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists TagHolds under a TagValue. ListTagHolds(ctx context.Context, in *ListTagHoldsRequest, opts ...grpc.CallOption) (*ListTagHoldsResponse, error) }
TagHoldsClient is the client API for TagHolds service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTagHoldsClient ¶
func NewTagHoldsClient(cc grpc.ClientConnInterface) TagHoldsClient
type TagHoldsServer ¶
type TagHoldsServer interface { // Creates a TagHold. Returns ALREADY_EXISTS if a TagHold with the same // resource and origin exists under the same TagValue. CreateTagHold(context.Context, *CreateTagHoldRequest) (*longrunningpb.Operation, error) // Deletes a TagHold. DeleteTagHold(context.Context, *DeleteTagHoldRequest) (*longrunningpb.Operation, error) // Lists TagHolds under a TagValue. ListTagHolds(context.Context, *ListTagHoldsRequest) (*ListTagHoldsResponse, error) // contains filtered or unexported methods }
TagHoldsServer is the server API for TagHolds service. All implementations must embed UnimplementedTagHoldsServer for forward compatibility
type TagKey ¶
type TagKey struct { // Immutable. The resource name for a TagKey. Must be in the format // `tagKeys/{tag_key_id}`, where `tag_key_id` is the generated numeric id for // the TagKey. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Immutable. The resource name of the TagKey's parent. A TagKey can be // parented by an Organization or a Project. For a TagKey parented by an // Organization, its parent must be in the form `organizations/{org_id}`. For // a TagKey parented by a Project, its parent can be in the form // `projects/{project_id}` or `projects/{project_number}`. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Immutable. The user friendly name for a TagKey. The short name // should be unique for TagKeys within the same tag namespace. // // The short name must be 1-63 characters, beginning and ending with // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), // dots (.), and alphanumerics between. ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` // Output only. Immutable. Namespaced name of the TagKey. NamespacedName string `protobuf:"bytes,4,opt,name=namespaced_name,json=namespacedName,proto3" json:"namespaced_name,omitempty"` // Optional. User-assigned description of the TagKey. Must not exceed 256 // characters. // // Read-write. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Output only. Creation time. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update time. UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Entity tag which users can pass to prevent race conditions. This // field is always set in server responses. See UpdateTagKeyRequest for // details. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` // Optional. A purpose denotes that this Tag is intended for use in policies // of a specific policy engine, and will involve that policy engine in // management operations involving this Tag. A purpose does not grant a // policy engine exclusive rights to the Tag, and it may be referenced by // other policy engines. // // A purpose cannot be changed once set. Purpose Purpose `protobuf:"varint,11,opt,name=purpose,proto3,enum=mockgcp.cloud.resourcemanager.v3.Purpose" json:"purpose,omitempty"` // Optional. Purpose data corresponds to the policy system that the tag is // intended for. See documentation for `Purpose` for formatting of this field. // // Purpose data cannot be changed once set. PurposeData map[string]string `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
A TagKey, used to group a set of TagValues.
func (*TagKey) Descriptor
deprecated
func (*TagKey) GetCreateTime ¶
func (*TagKey) GetDescription ¶
func (*TagKey) GetNamespacedName ¶
func (*TagKey) GetPurpose ¶
func (*TagKey) GetPurposeData ¶
func (*TagKey) GetShortName ¶
func (*TagKey) GetUpdateTime ¶
func (*TagKey) ProtoMessage ¶
func (*TagKey) ProtoMessage()
func (*TagKey) ProtoReflect ¶
func (x *TagKey) ProtoReflect() protoreflect.Message
type TagKeysClient ¶
type TagKeysClient interface { // Lists all TagKeys for a parent resource. ListTagKeys(ctx context.Context, in *ListTagKeysRequest, opts ...grpc.CallOption) (*ListTagKeysResponse, error) // Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the // key does not exist or the user does not have permission to view it. GetTagKey(ctx context.Context, in *GetTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error) // Retrieves a TagKey by its namespaced name. // This method will return `PERMISSION_DENIED` if the key does not exist // or the user does not have permission to view it. GetNamespacedTagKey(ctx context.Context, in *GetNamespacedTagKeyRequest, opts ...grpc.CallOption) (*TagKey, error) // Creates a new TagKey. If another request with the same parameters is // sent while the original request is in process, the second request // will receive an error. A maximum of 1000 TagKeys can exist under a parent // at any given time. CreateTagKey(ctx context.Context, in *CreateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the attributes of the TagKey resource. UpdateTagKey(ctx context.Context, in *UpdateTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a TagKey. The TagKey cannot be deleted if it has any child // TagValues. DeleteTagKey(ctx context.Context, in *DeleteTagKeyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets the access control policy for a TagKey. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the TagKey's resource name. For example, "tagKeys/1234". // The caller must have // `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on // the specified TagKey. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the access control policy on a TagKey, replacing any existing // policy. The `resource` field should be the TagKey's resource name. // For example, "tagKeys/1234". // The caller must have `resourcemanager.tagKeys.setIamPolicy` permission // on the identified tagValue. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified TagKey. // The `resource` field should be the TagKey's resource name. // For example, "tagKeys/1234". // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
TagKeysClient is the client API for TagKeys service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTagKeysClient ¶
func NewTagKeysClient(cc grpc.ClientConnInterface) TagKeysClient
type TagKeysServer ¶
type TagKeysServer interface { // Lists all TagKeys for a parent resource. ListTagKeys(context.Context, *ListTagKeysRequest) (*ListTagKeysResponse, error) // Retrieves a TagKey. This method will return `PERMISSION_DENIED` if the // key does not exist or the user does not have permission to view it. GetTagKey(context.Context, *GetTagKeyRequest) (*TagKey, error) // Retrieves a TagKey by its namespaced name. // This method will return `PERMISSION_DENIED` if the key does not exist // or the user does not have permission to view it. GetNamespacedTagKey(context.Context, *GetNamespacedTagKeyRequest) (*TagKey, error) // Creates a new TagKey. If another request with the same parameters is // sent while the original request is in process, the second request // will receive an error. A maximum of 1000 TagKeys can exist under a parent // at any given time. CreateTagKey(context.Context, *CreateTagKeyRequest) (*longrunningpb.Operation, error) // Updates the attributes of the TagKey resource. UpdateTagKey(context.Context, *UpdateTagKeyRequest) (*longrunningpb.Operation, error) // Deletes a TagKey. The TagKey cannot be deleted if it has any child // TagValues. DeleteTagKey(context.Context, *DeleteTagKeyRequest) (*longrunningpb.Operation, error) // Gets the access control policy for a TagKey. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the TagKey's resource name. For example, "tagKeys/1234". // The caller must have // `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on // the specified TagKey. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the access control policy on a TagKey, replacing any existing // policy. The `resource` field should be the TagKey's resource name. // For example, "tagKeys/1234". // The caller must have `resourcemanager.tagKeys.setIamPolicy` permission // on the identified tagValue. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified TagKey. // The `resource` field should be the TagKey's resource name. // For example, "tagKeys/1234". // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // contains filtered or unexported methods }
TagKeysServer is the server API for TagKeys service. All implementations must embed UnimplementedTagKeysServer for forward compatibility
type TagValue ¶
type TagValue struct { // Immutable. Resource name for TagValue in the format `tagValues/456`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Immutable. The resource name of the new TagValue's parent TagKey. // Must be of the form `tagKeys/{tag_key_id}`. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Immutable. User-assigned short name for TagValue. The short name // should be unique for TagValues within the same parent TagKey. // // The short name must be 63 characters or less, beginning and ending with // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), // dots (.), and alphanumerics between. ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` // Output only. The namespaced name of the TagValue. Can be in the form // `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or // `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or // `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. NamespacedName string `protobuf:"bytes,4,opt,name=namespaced_name,json=namespacedName,proto3" json:"namespaced_name,omitempty"` // Optional. User-assigned description of the TagValue. // Must not exceed 256 characters. // // Read-write. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Output only. Creation time. CreateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update time. UpdateTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Entity tag which users can pass to prevent race conditions. This // field is always set in server responses. See UpdateTagValueRequest for // details. Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
A TagValue is a child of a particular TagKey. This is used to group cloud resources for the purpose of controlling them using policies.
func (*TagValue) Descriptor
deprecated
func (*TagValue) GetCreateTime ¶
func (*TagValue) GetDescription ¶
func (*TagValue) GetNamespacedName ¶
func (*TagValue) GetShortName ¶
func (*TagValue) GetUpdateTime ¶
func (*TagValue) ProtoMessage ¶
func (*TagValue) ProtoMessage()
func (*TagValue) ProtoReflect ¶
func (x *TagValue) ProtoReflect() protoreflect.Message
type TagValuesClient ¶
type TagValuesClient interface { // Lists all TagValues for a specific TagKey. ListTagValues(ctx context.Context, in *ListTagValuesRequest, opts ...grpc.CallOption) (*ListTagValuesResponse, error) // Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the // value does not exist or the user does not have permission to view it. GetTagValue(ctx context.Context, in *GetTagValueRequest, opts ...grpc.CallOption) (*TagValue, error) // Retrieves a TagValue by its namespaced name. // This method will return `PERMISSION_DENIED` if the value does not exist // or the user does not have permission to view it. GetNamespacedTagValue(ctx context.Context, in *GetNamespacedTagValueRequest, opts ...grpc.CallOption) (*TagValue, error) // Creates a TagValue as a child of the specified TagKey. If a another // request with the same parameters is sent while the original request is in // process the second request will receive an error. A maximum of 1000 // TagValues can exist under a TagKey at any given time. CreateTagValue(ctx context.Context, in *CreateTagValueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the attributes of the TagValue resource. UpdateTagValue(ctx context.Context, in *UpdateTagValueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a TagValue. The TagValue cannot have any bindings when it is // deleted. DeleteTagValue(ctx context.Context, in *DeleteTagValueRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets the access control policy for a TagValue. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the TagValue's resource name. For example: `tagValues/1234`. // The caller must have the // `cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on // the identified TagValue to get the access control policy. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the access control policy on a TagValue, replacing any existing // policy. The `resource` field should be the TagValue's resource name. // For example: `tagValues/1234`. // The caller must have `resourcemanager.tagValues.setIamPolicy` permission // on the identified tagValue. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified TagValue. // The `resource` field should be the TagValue's resource name. For example: // `tagValues/1234`. // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
TagValuesClient is the client API for TagValues service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTagValuesClient ¶
func NewTagValuesClient(cc grpc.ClientConnInterface) TagValuesClient
type TagValuesServer ¶
type TagValuesServer interface { // Lists all TagValues for a specific TagKey. ListTagValues(context.Context, *ListTagValuesRequest) (*ListTagValuesResponse, error) // Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the // value does not exist or the user does not have permission to view it. GetTagValue(context.Context, *GetTagValueRequest) (*TagValue, error) // Retrieves a TagValue by its namespaced name. // This method will return `PERMISSION_DENIED` if the value does not exist // or the user does not have permission to view it. GetNamespacedTagValue(context.Context, *GetNamespacedTagValueRequest) (*TagValue, error) // Creates a TagValue as a child of the specified TagKey. If a another // request with the same parameters is sent while the original request is in // process the second request will receive an error. A maximum of 1000 // TagValues can exist under a TagKey at any given time. CreateTagValue(context.Context, *CreateTagValueRequest) (*longrunningpb.Operation, error) // Updates the attributes of the TagValue resource. UpdateTagValue(context.Context, *UpdateTagValueRequest) (*longrunningpb.Operation, error) // Deletes a TagValue. The TagValue cannot have any bindings when it is // deleted. DeleteTagValue(context.Context, *DeleteTagValueRequest) (*longrunningpb.Operation, error) // Gets the access control policy for a TagValue. The returned policy may be // empty if no such policy or resource exists. The `resource` field should // be the TagValue's resource name. For example: `tagValues/1234`. // The caller must have the // `cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on // the identified TagValue to get the access control policy. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the access control policy on a TagValue, replacing any existing // policy. The `resource` field should be the TagValue's resource name. // For example: `tagValues/1234`. // The caller must have `resourcemanager.tagValues.setIamPolicy` permission // on the identified tagValue. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified TagValue. // The `resource` field should be the TagValue's resource name. For example: // `tagValues/1234`. // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) // contains filtered or unexported methods }
TagValuesServer is the server API for TagValues service. All implementations must embed UnimplementedTagValuesServer for forward compatibility
type UndeleteFolderMetadata ¶
type UndeleteFolderMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the `Operation` returned by `UndeleteFolder`.
func (*UndeleteFolderMetadata) Descriptor
deprecated
func (*UndeleteFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteFolderMetadata.ProtoReflect.Descriptor instead.
func (*UndeleteFolderMetadata) ProtoMessage ¶
func (*UndeleteFolderMetadata) ProtoMessage()
func (*UndeleteFolderMetadata) ProtoReflect ¶
func (x *UndeleteFolderMetadata) ProtoReflect() protoreflect.Message
func (*UndeleteFolderMetadata) Reset ¶
func (x *UndeleteFolderMetadata) Reset()
func (*UndeleteFolderMetadata) String ¶
func (x *UndeleteFolderMetadata) String() string
type UndeleteFolderRequest ¶
type UndeleteFolderRequest struct { // Required. The resource name of the folder to undelete. // Must be of the form `folders/{folder_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The UndeleteFolder request message.
func (*UndeleteFolderRequest) Descriptor
deprecated
func (*UndeleteFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteFolderRequest.ProtoReflect.Descriptor instead.
func (*UndeleteFolderRequest) GetName ¶
func (x *UndeleteFolderRequest) GetName() string
func (*UndeleteFolderRequest) ProtoMessage ¶
func (*UndeleteFolderRequest) ProtoMessage()
func (*UndeleteFolderRequest) ProtoReflect ¶
func (x *UndeleteFolderRequest) ProtoReflect() protoreflect.Message
func (*UndeleteFolderRequest) Reset ¶
func (x *UndeleteFolderRequest) Reset()
func (*UndeleteFolderRequest) String ¶
func (x *UndeleteFolderRequest) String() string
type UndeleteOrganizationMetadata ¶
type UndeleteOrganizationMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by UndeleteOrganization.
func (*UndeleteOrganizationMetadata) Descriptor
deprecated
func (*UndeleteOrganizationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteOrganizationMetadata.ProtoReflect.Descriptor instead.
func (*UndeleteOrganizationMetadata) ProtoMessage ¶
func (*UndeleteOrganizationMetadata) ProtoMessage()
func (*UndeleteOrganizationMetadata) ProtoReflect ¶
func (x *UndeleteOrganizationMetadata) ProtoReflect() protoreflect.Message
func (*UndeleteOrganizationMetadata) Reset ¶
func (x *UndeleteOrganizationMetadata) Reset()
func (*UndeleteOrganizationMetadata) String ¶
func (x *UndeleteOrganizationMetadata) String() string
type UndeleteProjectMetadata ¶
type UndeleteProjectMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by `UndeleteProject`.
func (*UndeleteProjectMetadata) Descriptor
deprecated
func (*UndeleteProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteProjectMetadata.ProtoReflect.Descriptor instead.
func (*UndeleteProjectMetadata) ProtoMessage ¶
func (*UndeleteProjectMetadata) ProtoMessage()
func (*UndeleteProjectMetadata) ProtoReflect ¶
func (x *UndeleteProjectMetadata) ProtoReflect() protoreflect.Message
func (*UndeleteProjectMetadata) Reset ¶
func (x *UndeleteProjectMetadata) Reset()
func (*UndeleteProjectMetadata) String ¶
func (x *UndeleteProjectMetadata) String() string
type UndeleteProjectRequest ¶
type UndeleteProjectRequest struct { // Required. The name of the project (for example, `projects/415104041262`). // // Required. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request sent to the [UndeleteProject] [mockgcp.cloud.resourcemanager.v3.Projects.UndeleteProject] method.
func (*UndeleteProjectRequest) Descriptor
deprecated
func (*UndeleteProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeleteProjectRequest.ProtoReflect.Descriptor instead.
func (*UndeleteProjectRequest) GetName ¶
func (x *UndeleteProjectRequest) GetName() string
func (*UndeleteProjectRequest) ProtoMessage ¶
func (*UndeleteProjectRequest) ProtoMessage()
func (*UndeleteProjectRequest) ProtoReflect ¶
func (x *UndeleteProjectRequest) ProtoReflect() protoreflect.Message
func (*UndeleteProjectRequest) Reset ¶
func (x *UndeleteProjectRequest) Reset()
func (*UndeleteProjectRequest) String ¶
func (x *UndeleteProjectRequest) String() string
type UnimplementedFoldersServer ¶
type UnimplementedFoldersServer struct { }
UnimplementedFoldersServer must be embedded to have forward compatible implementations.
func (UnimplementedFoldersServer) CreateFolder ¶
func (UnimplementedFoldersServer) CreateFolder(context.Context, *CreateFolderRequest) (*longrunningpb.Operation, error)
func (UnimplementedFoldersServer) DeleteFolder ¶
func (UnimplementedFoldersServer) DeleteFolder(context.Context, *DeleteFolderRequest) (*longrunningpb.Operation, error)
func (UnimplementedFoldersServer) GetFolder ¶
func (UnimplementedFoldersServer) GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
func (UnimplementedFoldersServer) GetIamPolicy ¶
func (UnimplementedFoldersServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedFoldersServer) ListFolders ¶
func (UnimplementedFoldersServer) ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
func (UnimplementedFoldersServer) MoveFolder ¶
func (UnimplementedFoldersServer) MoveFolder(context.Context, *MoveFolderRequest) (*longrunningpb.Operation, error)
func (UnimplementedFoldersServer) SearchFolders ¶
func (UnimplementedFoldersServer) SearchFolders(context.Context, *SearchFoldersRequest) (*SearchFoldersResponse, error)
func (UnimplementedFoldersServer) SetIamPolicy ¶
func (UnimplementedFoldersServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedFoldersServer) TestIamPermissions ¶
func (UnimplementedFoldersServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (UnimplementedFoldersServer) UndeleteFolder ¶
func (UnimplementedFoldersServer) UndeleteFolder(context.Context, *UndeleteFolderRequest) (*longrunningpb.Operation, error)
func (UnimplementedFoldersServer) UpdateFolder ¶
func (UnimplementedFoldersServer) UpdateFolder(context.Context, *UpdateFolderRequest) (*longrunningpb.Operation, error)
type UnimplementedOrganizationsServer ¶
type UnimplementedOrganizationsServer struct { }
UnimplementedOrganizationsServer must be embedded to have forward compatible implementations.
func (UnimplementedOrganizationsServer) GetIamPolicy ¶
func (UnimplementedOrganizationsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedOrganizationsServer) GetOrganization ¶
func (UnimplementedOrganizationsServer) GetOrganization(context.Context, *GetOrganizationRequest) (*Organization, error)
func (UnimplementedOrganizationsServer) SearchOrganizations ¶
func (UnimplementedOrganizationsServer) SearchOrganizations(context.Context, *SearchOrganizationsRequest) (*SearchOrganizationsResponse, error)
func (UnimplementedOrganizationsServer) SetIamPolicy ¶
func (UnimplementedOrganizationsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedOrganizationsServer) TestIamPermissions ¶
func (UnimplementedOrganizationsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
type UnimplementedProjectsServer ¶
type UnimplementedProjectsServer struct { }
UnimplementedProjectsServer must be embedded to have forward compatible implementations.
func (UnimplementedProjectsServer) CreateProject ¶
func (UnimplementedProjectsServer) CreateProject(context.Context, *CreateProjectRequest) (*longrunningpb.Operation, error)
func (UnimplementedProjectsServer) DeleteProject ¶
func (UnimplementedProjectsServer) DeleteProject(context.Context, *DeleteProjectRequest) (*longrunningpb.Operation, error)
func (UnimplementedProjectsServer) GetIamPolicy ¶
func (UnimplementedProjectsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedProjectsServer) GetProject ¶
func (UnimplementedProjectsServer) GetProject(context.Context, *GetProjectRequest) (*Project, error)
func (UnimplementedProjectsServer) ListProjects ¶
func (UnimplementedProjectsServer) ListProjects(context.Context, *ListProjectsRequest) (*ListProjectsResponse, error)
func (UnimplementedProjectsServer) MoveProject ¶
func (UnimplementedProjectsServer) MoveProject(context.Context, *MoveProjectRequest) (*longrunningpb.Operation, error)
func (UnimplementedProjectsServer) SearchProjects ¶
func (UnimplementedProjectsServer) SearchProjects(context.Context, *SearchProjectsRequest) (*SearchProjectsResponse, error)
func (UnimplementedProjectsServer) SetIamPolicy ¶
func (UnimplementedProjectsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedProjectsServer) TestIamPermissions ¶
func (UnimplementedProjectsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (UnimplementedProjectsServer) UndeleteProject ¶
func (UnimplementedProjectsServer) UndeleteProject(context.Context, *UndeleteProjectRequest) (*longrunningpb.Operation, error)
func (UnimplementedProjectsServer) UpdateProject ¶
func (UnimplementedProjectsServer) UpdateProject(context.Context, *UpdateProjectRequest) (*longrunningpb.Operation, error)
type UnimplementedTagBindingsServer ¶
type UnimplementedTagBindingsServer struct { }
UnimplementedTagBindingsServer must be embedded to have forward compatible implementations.
func (UnimplementedTagBindingsServer) CreateTagBinding ¶
func (UnimplementedTagBindingsServer) CreateTagBinding(context.Context, *CreateTagBindingRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagBindingsServer) DeleteTagBinding ¶
func (UnimplementedTagBindingsServer) DeleteTagBinding(context.Context, *DeleteTagBindingRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagBindingsServer) ListEffectiveTags ¶
func (UnimplementedTagBindingsServer) ListEffectiveTags(context.Context, *ListEffectiveTagsRequest) (*ListEffectiveTagsResponse, error)
func (UnimplementedTagBindingsServer) ListTagBindings ¶
func (UnimplementedTagBindingsServer) ListTagBindings(context.Context, *ListTagBindingsRequest) (*ListTagBindingsResponse, error)
type UnimplementedTagHoldsServer ¶
type UnimplementedTagHoldsServer struct { }
UnimplementedTagHoldsServer must be embedded to have forward compatible implementations.
func (UnimplementedTagHoldsServer) CreateTagHold ¶
func (UnimplementedTagHoldsServer) CreateTagHold(context.Context, *CreateTagHoldRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagHoldsServer) DeleteTagHold ¶
func (UnimplementedTagHoldsServer) DeleteTagHold(context.Context, *DeleteTagHoldRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagHoldsServer) ListTagHolds ¶
func (UnimplementedTagHoldsServer) ListTagHolds(context.Context, *ListTagHoldsRequest) (*ListTagHoldsResponse, error)
type UnimplementedTagKeysServer ¶
type UnimplementedTagKeysServer struct { }
UnimplementedTagKeysServer must be embedded to have forward compatible implementations.
func (UnimplementedTagKeysServer) CreateTagKey ¶
func (UnimplementedTagKeysServer) CreateTagKey(context.Context, *CreateTagKeyRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagKeysServer) DeleteTagKey ¶
func (UnimplementedTagKeysServer) DeleteTagKey(context.Context, *DeleteTagKeyRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagKeysServer) GetIamPolicy ¶
func (UnimplementedTagKeysServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedTagKeysServer) GetNamespacedTagKey ¶
func (UnimplementedTagKeysServer) GetNamespacedTagKey(context.Context, *GetNamespacedTagKeyRequest) (*TagKey, error)
func (UnimplementedTagKeysServer) GetTagKey ¶
func (UnimplementedTagKeysServer) GetTagKey(context.Context, *GetTagKeyRequest) (*TagKey, error)
func (UnimplementedTagKeysServer) ListTagKeys ¶
func (UnimplementedTagKeysServer) ListTagKeys(context.Context, *ListTagKeysRequest) (*ListTagKeysResponse, error)
func (UnimplementedTagKeysServer) SetIamPolicy ¶
func (UnimplementedTagKeysServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedTagKeysServer) TestIamPermissions ¶
func (UnimplementedTagKeysServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (UnimplementedTagKeysServer) UpdateTagKey ¶
func (UnimplementedTagKeysServer) UpdateTagKey(context.Context, *UpdateTagKeyRequest) (*longrunningpb.Operation, error)
type UnimplementedTagValuesServer ¶
type UnimplementedTagValuesServer struct { }
UnimplementedTagValuesServer must be embedded to have forward compatible implementations.
func (UnimplementedTagValuesServer) CreateTagValue ¶
func (UnimplementedTagValuesServer) CreateTagValue(context.Context, *CreateTagValueRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagValuesServer) DeleteTagValue ¶
func (UnimplementedTagValuesServer) DeleteTagValue(context.Context, *DeleteTagValueRequest) (*longrunningpb.Operation, error)
func (UnimplementedTagValuesServer) GetIamPolicy ¶
func (UnimplementedTagValuesServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedTagValuesServer) GetNamespacedTagValue ¶
func (UnimplementedTagValuesServer) GetNamespacedTagValue(context.Context, *GetNamespacedTagValueRequest) (*TagValue, error)
func (UnimplementedTagValuesServer) GetTagValue ¶
func (UnimplementedTagValuesServer) GetTagValue(context.Context, *GetTagValueRequest) (*TagValue, error)
func (UnimplementedTagValuesServer) ListTagValues ¶
func (UnimplementedTagValuesServer) ListTagValues(context.Context, *ListTagValuesRequest) (*ListTagValuesResponse, error)
func (UnimplementedTagValuesServer) SetIamPolicy ¶
func (UnimplementedTagValuesServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (UnimplementedTagValuesServer) TestIamPermissions ¶
func (UnimplementedTagValuesServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (UnimplementedTagValuesServer) UpdateTagValue ¶
func (UnimplementedTagValuesServer) UpdateTagValue(context.Context, *UpdateTagValueRequest) (*longrunningpb.Operation, error)
type UnsafeFoldersServer ¶
type UnsafeFoldersServer interface {
// contains filtered or unexported methods
}
UnsafeFoldersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FoldersServer will result in compilation errors.
type UnsafeOrganizationsServer ¶
type UnsafeOrganizationsServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationsServer will result in compilation errors.
type UnsafeProjectsServer ¶
type UnsafeProjectsServer interface {
// contains filtered or unexported methods
}
UnsafeProjectsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectsServer will result in compilation errors.
type UnsafeTagBindingsServer ¶
type UnsafeTagBindingsServer interface {
// contains filtered or unexported methods
}
UnsafeTagBindingsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagBindingsServer will result in compilation errors.
type UnsafeTagHoldsServer ¶
type UnsafeTagHoldsServer interface {
// contains filtered or unexported methods
}
UnsafeTagHoldsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagHoldsServer will result in compilation errors.
type UnsafeTagKeysServer ¶
type UnsafeTagKeysServer interface {
// contains filtered or unexported methods
}
UnsafeTagKeysServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagKeysServer will result in compilation errors.
type UnsafeTagValuesServer ¶
type UnsafeTagValuesServer interface {
// contains filtered or unexported methods
}
UnsafeTagValuesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TagValuesServer will result in compilation errors.
type UpdateFolderMetadata ¶
type UpdateFolderMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by UpdateFolder.
func (*UpdateFolderMetadata) Descriptor
deprecated
func (*UpdateFolderMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFolderMetadata.ProtoReflect.Descriptor instead.
func (*UpdateFolderMetadata) ProtoMessage ¶
func (*UpdateFolderMetadata) ProtoMessage()
func (*UpdateFolderMetadata) ProtoReflect ¶
func (x *UpdateFolderMetadata) ProtoReflect() protoreflect.Message
func (*UpdateFolderMetadata) Reset ¶
func (x *UpdateFolderMetadata) Reset()
func (*UpdateFolderMetadata) String ¶
func (x *UpdateFolderMetadata) String() string
type UpdateFolderRequest ¶
type UpdateFolderRequest struct { // Required. The new definition of the Folder. It must include the `name` // field, which cannot be changed. Folder *Folder `protobuf:"bytes,1,opt,name=folder,proto3" json:"folder,omitempty"` // Required. Fields to be updated. // Only the `display_name` can be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request sent to the [UpdateFolder][mockgcp.cloud.resourcemanager.v3.Folder.UpdateFolder] method.
Only the `display_name` field can be changed. All other fields will be ignored. Use the [MoveFolder][mockgcp.cloud.resourcemanager.v3.Folders.MoveFolder] method to change the `parent` field.
func (*UpdateFolderRequest) Descriptor
deprecated
func (*UpdateFolderRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFolderRequest.ProtoReflect.Descriptor instead.
func (*UpdateFolderRequest) GetFolder ¶
func (x *UpdateFolderRequest) GetFolder() *Folder
func (*UpdateFolderRequest) GetUpdateMask ¶
func (x *UpdateFolderRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateFolderRequest) ProtoMessage ¶
func (*UpdateFolderRequest) ProtoMessage()
func (*UpdateFolderRequest) ProtoReflect ¶
func (x *UpdateFolderRequest) ProtoReflect() protoreflect.Message
func (*UpdateFolderRequest) Reset ¶
func (x *UpdateFolderRequest) Reset()
func (*UpdateFolderRequest) String ¶
func (x *UpdateFolderRequest) String() string
type UpdateProjectMetadata ¶
type UpdateProjectMetadata struct {
// contains filtered or unexported fields
}
A status object which is used as the `metadata` field for the Operation returned by UpdateProject.
func (*UpdateProjectMetadata) Descriptor
deprecated
func (*UpdateProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectMetadata.ProtoReflect.Descriptor instead.
func (*UpdateProjectMetadata) ProtoMessage ¶
func (*UpdateProjectMetadata) ProtoMessage()
func (*UpdateProjectMetadata) ProtoReflect ¶
func (x *UpdateProjectMetadata) ProtoReflect() protoreflect.Message
func (*UpdateProjectMetadata) Reset ¶
func (x *UpdateProjectMetadata) Reset()
func (*UpdateProjectMetadata) String ¶
func (x *UpdateProjectMetadata) String() string
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { // Required. The new definition of the project. Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Optional. An update mask to selectively update fields. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request sent to the [UpdateProject][mockgcp.cloud.resourcemanager.v3.Projects.UpdateProject] method.
Only the `display_name` and `labels` fields can be change. Use the [MoveProject][mockgcp.cloud.resourcemanager.v3.Projects.MoveProject] method to change the `parent` field.
func (*UpdateProjectRequest) Descriptor
deprecated
func (*UpdateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateProjectRequest) GetProject ¶
func (x *UpdateProjectRequest) GetProject() *Project
func (*UpdateProjectRequest) GetUpdateMask ¶
func (x *UpdateProjectRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateProjectRequest) ProtoMessage ¶
func (*UpdateProjectRequest) ProtoMessage()
func (*UpdateProjectRequest) ProtoReflect ¶
func (x *UpdateProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateProjectRequest) Reset ¶
func (x *UpdateProjectRequest) Reset()
func (*UpdateProjectRequest) String ¶
func (x *UpdateProjectRequest) String() string
type UpdateTagKeyMetadata ¶
type UpdateTagKeyMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for updating a TagKey.
func (*UpdateTagKeyMetadata) Descriptor
deprecated
func (*UpdateTagKeyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagKeyMetadata.ProtoReflect.Descriptor instead.
func (*UpdateTagKeyMetadata) ProtoMessage ¶
func (*UpdateTagKeyMetadata) ProtoMessage()
func (*UpdateTagKeyMetadata) ProtoReflect ¶
func (x *UpdateTagKeyMetadata) ProtoReflect() protoreflect.Message
func (*UpdateTagKeyMetadata) Reset ¶
func (x *UpdateTagKeyMetadata) Reset()
func (*UpdateTagKeyMetadata) String ¶
func (x *UpdateTagKeyMetadata) String() string
type UpdateTagKeyRequest ¶
type UpdateTagKeyRequest struct { // Required. The new definition of the TagKey. Only the `description` and // `etag` fields can be updated by this request. If the `etag` field is not // empty, it must match the `etag` field of the existing tag key. Otherwise, // `ABORTED` will be returned. TagKey *TagKey `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3" json:"tag_key,omitempty"` // Fields to be updated. The mask may only contain `description` or // `etag`. If omitted entirely, both `description` and `etag` are assumed to // be significant. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Set as true to perform validations necessary for updating the resource, but // not actually perform the action. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message for updating a TagKey.
func (*UpdateTagKeyRequest) Descriptor
deprecated
func (*UpdateTagKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagKeyRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagKeyRequest) GetTagKey ¶
func (x *UpdateTagKeyRequest) GetTagKey() *TagKey
func (*UpdateTagKeyRequest) GetUpdateMask ¶
func (x *UpdateTagKeyRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateTagKeyRequest) GetValidateOnly ¶
func (x *UpdateTagKeyRequest) GetValidateOnly() bool
func (*UpdateTagKeyRequest) ProtoMessage ¶
func (*UpdateTagKeyRequest) ProtoMessage()
func (*UpdateTagKeyRequest) ProtoReflect ¶
func (x *UpdateTagKeyRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagKeyRequest) Reset ¶
func (x *UpdateTagKeyRequest) Reset()
func (*UpdateTagKeyRequest) String ¶
func (x *UpdateTagKeyRequest) String() string
type UpdateTagValueMetadata ¶
type UpdateTagValueMetadata struct {
// contains filtered or unexported fields
}
Runtime operation information for updating a TagValue.
func (*UpdateTagValueMetadata) Descriptor
deprecated
func (*UpdateTagValueMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagValueMetadata.ProtoReflect.Descriptor instead.
func (*UpdateTagValueMetadata) ProtoMessage ¶
func (*UpdateTagValueMetadata) ProtoMessage()
func (*UpdateTagValueMetadata) ProtoReflect ¶
func (x *UpdateTagValueMetadata) ProtoReflect() protoreflect.Message
func (*UpdateTagValueMetadata) Reset ¶
func (x *UpdateTagValueMetadata) Reset()
func (*UpdateTagValueMetadata) String ¶
func (x *UpdateTagValueMetadata) String() string
type UpdateTagValueRequest ¶
type UpdateTagValueRequest struct { // Required. The new definition of the TagValue. Only fields `description` and // `etag` fields can be updated by this request. If the `etag` field is // nonempty, it must match the `etag` field of the existing ControlGroup. // Otherwise, `ABORTED` will be returned. TagValue *TagValue `protobuf:"bytes,1,opt,name=tag_value,json=tagValue,proto3" json:"tag_value,omitempty"` // Optional. Fields to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. True to perform validations necessary for updating the resource, // but not actually perform the action. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
The request message for updating a TagValue.
func (*UpdateTagValueRequest) Descriptor
deprecated
func (*UpdateTagValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagValueRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagValueRequest) GetTagValue ¶
func (x *UpdateTagValueRequest) GetTagValue() *TagValue
func (*UpdateTagValueRequest) GetUpdateMask ¶
func (x *UpdateTagValueRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateTagValueRequest) GetValidateOnly ¶
func (x *UpdateTagValueRequest) GetValidateOnly() bool
func (*UpdateTagValueRequest) ProtoMessage ¶
func (*UpdateTagValueRequest) ProtoMessage()
func (*UpdateTagValueRequest) ProtoReflect ¶
func (x *UpdateTagValueRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagValueRequest) Reset ¶
func (x *UpdateTagValueRequest) Reset()
func (*UpdateTagValueRequest) String ¶
func (x *UpdateTagValueRequest) String() string
Source Files
¶
- folders.pb.go
- folders.pb.gw.go
- folders_grpc.pb.go
- organizations.pb.go
- organizations.pb.gw.go
- organizations_grpc.pb.go
- projects.pb.go
- projects.pb.gw.go
- projects_grpc.pb.go
- tag_bindings.pb.go
- tag_bindings.pb.gw.go
- tag_bindings_grpc.pb.go
- tag_holds.pb.go
- tag_holds.pb.gw.go
- tag_holds_grpc.pb.go
- tag_keys.pb.go
- tag_keys.pb.gw.go
- tag_keys_grpc.pb.go
- tag_values.pb.go
- tag_values.pb.gw.go
- tag_values_grpc.pb.go