genproto: google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1 Index | Files

package assuredworkloads

import "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1"

Index

Package Files

assuredworkloads_v1beta1.pb.go

Variables

var (
    Workload_ComplianceRegime_name = map[int32]string{
        0:  "COMPLIANCE_REGIME_UNSPECIFIED",
        1:  "IL4",
        2:  "CJIS",
        3:  "FEDRAMP_HIGH",
        4:  "FEDRAMP_MODERATE",
        5:  "US_REGIONAL_ACCESS",
    }
    Workload_ComplianceRegime_value = map[string]int32{
        "COMPLIANCE_REGIME_UNSPECIFIED": 0,
        "IL4":                           1,
        "CJIS":                          2,
        "FEDRAMP_HIGH":                  3,
        "FEDRAMP_MODERATE":              4,
        "US_REGIONAL_ACCESS":            5,
    }
)

Enum value maps for Workload_ComplianceRegime.

var (
    Workload_ResourceInfo_ResourceType_name = map[int32]string{
        0:  "RESOURCE_TYPE_UNSPECIFIED",
        1:  "CONSUMER_PROJECT",
        2:  "ENCRYPTION_KEYS_PROJECT",
    }
    Workload_ResourceInfo_ResourceType_value = map[string]int32{
        "RESOURCE_TYPE_UNSPECIFIED": 0,
        "CONSUMER_PROJECT":          1,
        "ENCRYPTION_KEYS_PROJECT":   2,
    }
)

Enum value maps for Workload_ResourceInfo_ResourceType.

var File_google_cloud_assuredworkloads_v1beta1_assuredworkloads_v1beta1_proto protoreflect.FileDescriptor

func RegisterAssuredWorkloadsServiceServer Uses

func RegisterAssuredWorkloadsServiceServer(s *grpc.Server, srv AssuredWorkloadsServiceServer)

type AssuredWorkloadsServiceClient Uses

type AssuredWorkloadsServiceClient interface {
    // Creates Assured Workload.
    CreateWorkload(ctx context.Context, in *CreateWorkloadRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Updates an existing workload.
    // Currently allows updating of workload display_name and labels.
    // For force updates don't set etag field in the Workload.
    // Only one update operation per workload can be in progress.
    UpdateWorkload(ctx context.Context, in *UpdateWorkloadRequest, opts ...grpc.CallOption) (*Workload, error)
    // Deletes the workload. Make sure that workload's direct children are already
    // in a deleted state, otherwise the request will fail with a
    // FAILED_PRECONDITION error.
    DeleteWorkload(ctx context.Context, in *DeleteWorkloadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Gets Assured Workload associated with a CRM Node
    GetWorkload(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error)
    // Lists Assured Workloads under a CRM Node.
    ListWorkloads(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (*ListWorkloadsResponse, error)
}

AssuredWorkloadsServiceClient is the client API for AssuredWorkloadsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAssuredWorkloadsServiceClient Uses

func NewAssuredWorkloadsServiceClient(cc grpc.ClientConnInterface) AssuredWorkloadsServiceClient

type AssuredWorkloadsServiceServer Uses

type AssuredWorkloadsServiceServer interface {
    // Creates Assured Workload.
    CreateWorkload(context.Context, *CreateWorkloadRequest) (*longrunning.Operation, error)
    // Updates an existing workload.
    // Currently allows updating of workload display_name and labels.
    // For force updates don't set etag field in the Workload.
    // Only one update operation per workload can be in progress.
    UpdateWorkload(context.Context, *UpdateWorkloadRequest) (*Workload, error)
    // Deletes the workload. Make sure that workload's direct children are already
    // in a deleted state, otherwise the request will fail with a
    // FAILED_PRECONDITION error.
    DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*emptypb.Empty, error)
    // Gets Assured Workload associated with a CRM Node
    GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error)
    // Lists Assured Workloads under a CRM Node.
    ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error)
}

AssuredWorkloadsServiceServer is the server API for AssuredWorkloadsService service.

type CreateWorkloadOperationMetadata Uses

type CreateWorkloadOperationMetadata struct {

    // Optional. Time when the operation was created.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Optional. The display name of the workload.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Optional. The parent of the workload.
    Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. Compliance controls that should be applied to the resources managed by
    // the workload.
    ComplianceRegime Workload_ComplianceRegime `protobuf:"varint,4,opt,name=compliance_regime,json=complianceRegime,proto3,enum=google.cloud.assuredworkloads.v1beta1.Workload_ComplianceRegime" json:"compliance_regime,omitempty"`
    // contains filtered or unexported fields
}

Operation metadata to give request details of CreateWorkload.

func (*CreateWorkloadOperationMetadata) Descriptor Uses

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

Deprecated: Use CreateWorkloadOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateWorkloadOperationMetadata) GetComplianceRegime Uses

func (x *CreateWorkloadOperationMetadata) GetComplianceRegime() Workload_ComplianceRegime

func (*CreateWorkloadOperationMetadata) GetCreateTime Uses

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

func (*CreateWorkloadOperationMetadata) GetDisplayName Uses

func (x *CreateWorkloadOperationMetadata) GetDisplayName() string

func (*CreateWorkloadOperationMetadata) GetParent Uses

func (x *CreateWorkloadOperationMetadata) GetParent() string

func (*CreateWorkloadOperationMetadata) ProtoMessage Uses

func (*CreateWorkloadOperationMetadata) ProtoMessage()

func (*CreateWorkloadOperationMetadata) ProtoReflect Uses

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

func (*CreateWorkloadOperationMetadata) Reset Uses

func (x *CreateWorkloadOperationMetadata) Reset()

func (*CreateWorkloadOperationMetadata) String Uses

func (x *CreateWorkloadOperationMetadata) String() string

type CreateWorkloadRequest Uses

type CreateWorkloadRequest struct {

    // Required. The resource name of the new Workload's parent.
    // Must be of the form `organizations/{org_id}/locations/{location_id}`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Assured Workload to create
    Workload *Workload `protobuf:"bytes,2,opt,name=workload,proto3" json:"workload,omitempty"`
    // Optional. A identifier associated with the workload and underlying projects which
    // allows for the break down of billing costs for a workload. The value
    // provided for the identifier will add a label to the workload and contained
    // projects with the identifier as the value.
    ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
    // contains filtered or unexported fields
}

Request for creating a workload.

func (*CreateWorkloadRequest) Descriptor Uses

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

Deprecated: Use CreateWorkloadRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkloadRequest) GetExternalId Uses

func (x *CreateWorkloadRequest) GetExternalId() string

func (*CreateWorkloadRequest) GetParent Uses

func (x *CreateWorkloadRequest) GetParent() string

func (*CreateWorkloadRequest) GetWorkload Uses

func (x *CreateWorkloadRequest) GetWorkload() *Workload

func (*CreateWorkloadRequest) ProtoMessage Uses

func (*CreateWorkloadRequest) ProtoMessage()

func (*CreateWorkloadRequest) ProtoReflect Uses

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

func (*CreateWorkloadRequest) Reset Uses

func (x *CreateWorkloadRequest) Reset()

func (*CreateWorkloadRequest) String Uses

func (x *CreateWorkloadRequest) String() string

type DeleteWorkloadRequest Uses

type DeleteWorkloadRequest struct {

    // Required. The `name` field is used to identify the workload.
    // Format:
    // organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The etag of the workload.
    // If this is provided, it must match the server's etag.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // contains filtered or unexported fields
}

Request for deleting a Workload.

func (*DeleteWorkloadRequest) Descriptor Uses

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

Deprecated: Use DeleteWorkloadRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkloadRequest) GetEtag Uses

func (x *DeleteWorkloadRequest) GetEtag() string

func (*DeleteWorkloadRequest) GetName Uses

func (x *DeleteWorkloadRequest) GetName() string

func (*DeleteWorkloadRequest) ProtoMessage Uses

func (*DeleteWorkloadRequest) ProtoMessage()

func (*DeleteWorkloadRequest) ProtoReflect Uses

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

func (*DeleteWorkloadRequest) Reset Uses

func (x *DeleteWorkloadRequest) Reset()

func (*DeleteWorkloadRequest) String Uses

func (x *DeleteWorkloadRequest) String() string

type GetWorkloadRequest Uses

type GetWorkloadRequest struct {

    // Required. The resource name of the Workload to fetch. This is the workloads's
    // relative path in the API, formatted as
    // "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
    // For example,
    // "organizations/123/locations/us-east1/workloads/assured-workload-1".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for fetching a workload.

func (*GetWorkloadRequest) Descriptor Uses

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

Deprecated: Use GetWorkloadRequest.ProtoReflect.Descriptor instead.

func (*GetWorkloadRequest) GetName Uses

func (x *GetWorkloadRequest) GetName() string

func (*GetWorkloadRequest) ProtoMessage Uses

func (*GetWorkloadRequest) ProtoMessage()

func (*GetWorkloadRequest) ProtoReflect Uses

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

func (*GetWorkloadRequest) Reset Uses

func (x *GetWorkloadRequest) Reset()

func (*GetWorkloadRequest) String Uses

func (x *GetWorkloadRequest) String() string

type ListWorkloadsRequest Uses

type ListWorkloadsRequest struct {

    // Required. Parent Resource to list workloads from.
    // Must be of the form `organizations/{org_id}/locations/{location}`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Page size.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token returned from previous request. Page token contains context from
    // previous request. Page token needs to be passed in the second and following
    // requests.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // A custom filter for filtering by properties of a workload. At this time,
    // only filtering by labels is supported.
    Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
    // contains filtered or unexported fields
}

Request for fetching workloads in an organization.

func (*ListWorkloadsRequest) Descriptor Uses

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

Deprecated: Use ListWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkloadsRequest) GetFilter Uses

func (x *ListWorkloadsRequest) GetFilter() string

func (*ListWorkloadsRequest) GetPageSize Uses

func (x *ListWorkloadsRequest) GetPageSize() int32

func (*ListWorkloadsRequest) GetPageToken Uses

func (x *ListWorkloadsRequest) GetPageToken() string

func (*ListWorkloadsRequest) GetParent Uses

func (x *ListWorkloadsRequest) GetParent() string

func (*ListWorkloadsRequest) ProtoMessage Uses

func (*ListWorkloadsRequest) ProtoMessage()

func (*ListWorkloadsRequest) ProtoReflect Uses

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

func (*ListWorkloadsRequest) Reset Uses

func (x *ListWorkloadsRequest) Reset()

func (*ListWorkloadsRequest) String Uses

func (x *ListWorkloadsRequest) String() string

type ListWorkloadsResponse Uses

type ListWorkloadsResponse struct {

    // List of Workloads under a given parent.
    Workloads []*Workload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty"`
    // The next page token. Return empty if reached the last page.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response of ListWorkloads endpoint.

func (*ListWorkloadsResponse) Descriptor Uses

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

Deprecated: Use ListWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkloadsResponse) GetNextPageToken Uses

func (x *ListWorkloadsResponse) GetNextPageToken() string

func (*ListWorkloadsResponse) GetWorkloads Uses

func (x *ListWorkloadsResponse) GetWorkloads() []*Workload

func (*ListWorkloadsResponse) ProtoMessage Uses

func (*ListWorkloadsResponse) ProtoMessage()

func (*ListWorkloadsResponse) ProtoReflect Uses

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

func (*ListWorkloadsResponse) Reset Uses

func (x *ListWorkloadsResponse) Reset()

func (*ListWorkloadsResponse) String Uses

func (x *ListWorkloadsResponse) String() string

type UnimplementedAssuredWorkloadsServiceServer Uses

type UnimplementedAssuredWorkloadsServiceServer struct {
}

UnimplementedAssuredWorkloadsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAssuredWorkloadsServiceServer) CreateWorkload Uses

func (*UnimplementedAssuredWorkloadsServiceServer) CreateWorkload(context.Context, *CreateWorkloadRequest) (*longrunning.Operation, error)

func (*UnimplementedAssuredWorkloadsServiceServer) DeleteWorkload Uses

func (*UnimplementedAssuredWorkloadsServiceServer) DeleteWorkload(context.Context, *DeleteWorkloadRequest) (*emptypb.Empty, error)

func (*UnimplementedAssuredWorkloadsServiceServer) GetWorkload Uses

func (*UnimplementedAssuredWorkloadsServiceServer) GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error)

func (*UnimplementedAssuredWorkloadsServiceServer) ListWorkloads Uses

func (*UnimplementedAssuredWorkloadsServiceServer) ListWorkloads(context.Context, *ListWorkloadsRequest) (*ListWorkloadsResponse, error)

func (*UnimplementedAssuredWorkloadsServiceServer) UpdateWorkload Uses

func (*UnimplementedAssuredWorkloadsServiceServer) UpdateWorkload(context.Context, *UpdateWorkloadRequest) (*Workload, error)

type UpdateWorkloadRequest Uses

type UpdateWorkloadRequest struct {

    // Required. The workload to update.
    // The workload’s `name` field is used to identify the workload to be updated.
    // Format:
    // organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
    Workload *Workload `protobuf:"bytes,1,opt,name=workload,proto3" json:"workload,omitempty"`
    // Required. The list of fields to be updated.
    UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request for Updating a workload.

func (*UpdateWorkloadRequest) Descriptor Uses

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

Deprecated: Use UpdateWorkloadRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkloadRequest) GetUpdateMask Uses

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

func (*UpdateWorkloadRequest) GetWorkload Uses

func (x *UpdateWorkloadRequest) GetWorkload() *Workload

func (*UpdateWorkloadRequest) ProtoMessage Uses

func (*UpdateWorkloadRequest) ProtoMessage()

func (*UpdateWorkloadRequest) ProtoReflect Uses

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

func (*UpdateWorkloadRequest) Reset Uses

func (x *UpdateWorkloadRequest) Reset()

func (*UpdateWorkloadRequest) String Uses

func (x *UpdateWorkloadRequest) String() string

type Workload Uses

type Workload struct {

    // Optional. The resource name of the workload.
    // Format:
    // organizations/{organization}/locations/{location}/workloads/{workload}
    //
    // Read-only.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The user-assigned display name of the Workload.
    // When present it must be between 4 to 30 characters.
    // Allowed characters are: lowercase and uppercase letters, numbers,
    // hyphen, and spaces.
    //
    // Example: My Workload
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Output only. The resources associated with this workload.
    // These resources will be created when creating the workload.
    // If any of the projects already exist, the workload creation will fail.
    // Always read only.
    Resources []*Workload_ResourceInfo `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
    // Required. Immutable. Compliance Regime associated with this workload.
    ComplianceRegime Workload_ComplianceRegime `protobuf:"varint,4,opt,name=compliance_regime,json=complianceRegime,proto3,enum=google.cloud.assuredworkloads.v1beta1.Workload_ComplianceRegime" json:"compliance_regime,omitempty"`
    // Output only. Immutable. The Workload creation timestamp.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Required. Input only. The billing account used for the resources which are
    // direct children of workload. This billing account is initially associated
    // with the resources created as part of Workload creation.
    // After the initial creation of these resources, the customer can change
    // the assigned billing account.
    // The resource name has the form
    // `billingAccounts/{billing_account_id}`. For example,
    // `billingAccounts/012345-567890-ABCDEF`.
    BillingAccount string `protobuf:"bytes,6,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"`
    // Settings specific to the selected [compliance_regime]
    //
    // Types that are assignable to ComplianceRegimeSettings:
    //	*Workload_Il4Settings
    //	*Workload_CjisSettings
    //	*Workload_FedrampHighSettings_
    //	*Workload_FedrampModerateSettings_
    ComplianceRegimeSettings isWorkload_ComplianceRegimeSettings `protobuf_oneof:"compliance_regime_settings"`
    // Optional. ETag of the workload, it is calculated on the basis
    // of the Workload contents. It will be used in Update & Delete operations.
    Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`
    // Optional. Labels applied to the workload.
    Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Input only. The parent resource for the resources managed by this Assured Workload. May
    // be either an organization or a folder. Must be the same or a child of the
    // Workload parent. If not specified all resources are created under the
    // Workload parent.
    // Formats:
    // folders/{folder_id}
    // organizations/{organization_id}
    ProvisionedResourcesParent string `protobuf:"bytes,13,opt,name=provisioned_resources_parent,json=provisionedResourcesParent,proto3" json:"provisioned_resources_parent,omitempty"`
    // Input only. Settings used to create a CMEK crypto key. When set a project with a KMS
    // CMEK key is provisioned. This field is mandatory for a subset of Compliance
    // Regimes.
    KmsSettings *Workload_KMSSettings `protobuf:"bytes,14,opt,name=kms_settings,json=kmsSettings,proto3" json:"kms_settings,omitempty"`
    // contains filtered or unexported fields
}

An Workload object for managing highly regulated workloads of cloud customers.

func (*Workload) Descriptor Uses

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

Deprecated: Use Workload.ProtoReflect.Descriptor instead.

func (*Workload) GetBillingAccount Uses

func (x *Workload) GetBillingAccount() string

func (*Workload) GetCjisSettings Uses

func (x *Workload) GetCjisSettings() *Workload_CJISSettings

Deprecated: Do not use.

func (*Workload) GetComplianceRegime Uses

func (x *Workload) GetComplianceRegime() Workload_ComplianceRegime

func (*Workload) GetComplianceRegimeSettings Uses

func (m *Workload) GetComplianceRegimeSettings() isWorkload_ComplianceRegimeSettings

func (*Workload) GetCreateTime Uses

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

func (*Workload) GetDisplayName Uses

func (x *Workload) GetDisplayName() string

func (*Workload) GetEtag Uses

func (x *Workload) GetEtag() string

func (*Workload) GetFedrampHighSettings Uses

func (x *Workload) GetFedrampHighSettings() *Workload_FedrampHighSettings

Deprecated: Do not use.

func (*Workload) GetFedrampModerateSettings Uses

func (x *Workload) GetFedrampModerateSettings() *Workload_FedrampModerateSettings

Deprecated: Do not use.

func (*Workload) GetIl4Settings Uses

func (x *Workload) GetIl4Settings() *Workload_IL4Settings

Deprecated: Do not use.

func (*Workload) GetKmsSettings Uses

func (x *Workload) GetKmsSettings() *Workload_KMSSettings

func (*Workload) GetLabels Uses

func (x *Workload) GetLabels() map[string]string

func (*Workload) GetName Uses

func (x *Workload) GetName() string

func (*Workload) GetProvisionedResourcesParent Uses

func (x *Workload) GetProvisionedResourcesParent() string

func (*Workload) GetResources Uses

func (x *Workload) GetResources() []*Workload_ResourceInfo

func (*Workload) ProtoMessage Uses

func (*Workload) ProtoMessage()

func (*Workload) ProtoReflect Uses

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

func (*Workload) Reset Uses

func (x *Workload) Reset()

func (*Workload) String Uses

func (x *Workload) String() string

type Workload_CJISSettings Uses

type Workload_CJISSettings struct {

    // Required. Input only. Immutable. Settings used to create a CMEK crypto key.
    KmsSettings *Workload_KMSSettings `protobuf:"bytes,1,opt,name=kms_settings,json=kmsSettings,proto3" json:"kms_settings,omitempty"`
    // contains filtered or unexported fields
}

Settings specific to resources needed for CJIS.

Deprecated: Do not use.

func (*Workload_CJISSettings) Descriptor Uses

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

Deprecated: Use Workload_CJISSettings.ProtoReflect.Descriptor instead.

func (*Workload_CJISSettings) GetKmsSettings Uses

func (x *Workload_CJISSettings) GetKmsSettings() *Workload_KMSSettings

func (*Workload_CJISSettings) ProtoMessage Uses

func (*Workload_CJISSettings) ProtoMessage()

func (*Workload_CJISSettings) ProtoReflect Uses

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

func (*Workload_CJISSettings) Reset Uses

func (x *Workload_CJISSettings) Reset()

func (*Workload_CJISSettings) String Uses

func (x *Workload_CJISSettings) String() string

type Workload_CjisSettings Uses

type Workload_CjisSettings struct {
    // Required. Input only. Immutable. Settings specific to resources needed for CJIS.
    //
    // Deprecated: Do not use.
    CjisSettings *Workload_CJISSettings `protobuf:"bytes,8,opt,name=cjis_settings,json=cjisSettings,proto3,oneof"`
}

type Workload_ComplianceRegime Uses

type Workload_ComplianceRegime int32

Supported Compliance Regimes.

const (
    // Unknown compliance regime.
    Workload_COMPLIANCE_REGIME_UNSPECIFIED Workload_ComplianceRegime = 0
    // Information protection as per DoD IL4 requirements.
    Workload_IL4 Workload_ComplianceRegime = 1
    // Criminal Justice Information Services (CJIS) Security policies.
    Workload_CJIS Workload_ComplianceRegime = 2
    // FedRAMP High data protection controls
    Workload_FEDRAMP_HIGH Workload_ComplianceRegime = 3
    // FedRAMP Moderate data protection controls
    Workload_FEDRAMP_MODERATE Workload_ComplianceRegime = 4
    // Assured Workloads For US Regions data protection controls
    Workload_US_REGIONAL_ACCESS Workload_ComplianceRegime = 5
)

func (Workload_ComplianceRegime) Descriptor Uses

func (Workload_ComplianceRegime) Descriptor() protoreflect.EnumDescriptor

func (Workload_ComplianceRegime) Enum Uses

func (x Workload_ComplianceRegime) Enum() *Workload_ComplianceRegime

func (Workload_ComplianceRegime) EnumDescriptor Uses

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

Deprecated: Use Workload_ComplianceRegime.Descriptor instead.

func (Workload_ComplianceRegime) Number Uses

func (x Workload_ComplianceRegime) Number() protoreflect.EnumNumber

func (Workload_ComplianceRegime) String Uses

func (x Workload_ComplianceRegime) String() string

func (Workload_ComplianceRegime) Type Uses

func (Workload_ComplianceRegime) Type() protoreflect.EnumType

type Workload_FedrampHighSettings Uses

type Workload_FedrampHighSettings struct {

    // Required. Input only. Immutable. Settings used to create a CMEK crypto key.
    KmsSettings *Workload_KMSSettings `protobuf:"bytes,1,opt,name=kms_settings,json=kmsSettings,proto3" json:"kms_settings,omitempty"`
    // contains filtered or unexported fields
}

Settings specific to resources needed for FedRAMP High.

Deprecated: Do not use.

func (*Workload_FedrampHighSettings) Descriptor Uses

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

Deprecated: Use Workload_FedrampHighSettings.ProtoReflect.Descriptor instead.

func (*Workload_FedrampHighSettings) GetKmsSettings Uses

func (x *Workload_FedrampHighSettings) GetKmsSettings() *Workload_KMSSettings

func (*Workload_FedrampHighSettings) ProtoMessage Uses

func (*Workload_FedrampHighSettings) ProtoMessage()

func (*Workload_FedrampHighSettings) ProtoReflect Uses

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

func (*Workload_FedrampHighSettings) Reset Uses

func (x *Workload_FedrampHighSettings) Reset()

func (*Workload_FedrampHighSettings) String Uses

func (x *Workload_FedrampHighSettings) String() string

type Workload_FedrampHighSettings_ Uses

type Workload_FedrampHighSettings_ struct {
    // Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.
    //
    // Deprecated: Do not use.
    FedrampHighSettings *Workload_FedrampHighSettings `protobuf:"bytes,11,opt,name=fedramp_high_settings,json=fedrampHighSettings,proto3,oneof"`
}

type Workload_FedrampModerateSettings Uses

type Workload_FedrampModerateSettings struct {

    // Required. Input only. Immutable. Settings used to create a CMEK crypto key.
    KmsSettings *Workload_KMSSettings `protobuf:"bytes,1,opt,name=kms_settings,json=kmsSettings,proto3" json:"kms_settings,omitempty"`
    // contains filtered or unexported fields
}

Settings specific to resources needed for FedRAMP Moderate.

Deprecated: Do not use.

func (*Workload_FedrampModerateSettings) Descriptor Uses

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

Deprecated: Use Workload_FedrampModerateSettings.ProtoReflect.Descriptor instead.

func (*Workload_FedrampModerateSettings) GetKmsSettings Uses

func (x *Workload_FedrampModerateSettings) GetKmsSettings() *Workload_KMSSettings

func (*Workload_FedrampModerateSettings) ProtoMessage Uses

func (*Workload_FedrampModerateSettings) ProtoMessage()

func (*Workload_FedrampModerateSettings) ProtoReflect Uses

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

func (*Workload_FedrampModerateSettings) Reset Uses

func (x *Workload_FedrampModerateSettings) Reset()

func (*Workload_FedrampModerateSettings) String Uses

func (x *Workload_FedrampModerateSettings) String() string

type Workload_FedrampModerateSettings_ Uses

type Workload_FedrampModerateSettings_ struct {
    // Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
    //
    // Deprecated: Do not use.
    FedrampModerateSettings *Workload_FedrampModerateSettings `protobuf:"bytes,12,opt,name=fedramp_moderate_settings,json=fedrampModerateSettings,proto3,oneof"`
}

type Workload_IL4Settings Uses

type Workload_IL4Settings struct {

    // Required. Input only. Immutable. Settings used to create a CMEK crypto key.
    KmsSettings *Workload_KMSSettings `protobuf:"bytes,1,opt,name=kms_settings,json=kmsSettings,proto3" json:"kms_settings,omitempty"`
    // contains filtered or unexported fields
}

Settings specific to resources needed for IL4.

Deprecated: Do not use.

func (*Workload_IL4Settings) Descriptor Uses

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

Deprecated: Use Workload_IL4Settings.ProtoReflect.Descriptor instead.

func (*Workload_IL4Settings) GetKmsSettings Uses

func (x *Workload_IL4Settings) GetKmsSettings() *Workload_KMSSettings

func (*Workload_IL4Settings) ProtoMessage Uses

func (*Workload_IL4Settings) ProtoMessage()

func (*Workload_IL4Settings) ProtoReflect Uses

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

func (*Workload_IL4Settings) Reset Uses

func (x *Workload_IL4Settings) Reset()

func (*Workload_IL4Settings) String Uses

func (x *Workload_IL4Settings) String() string

type Workload_Il4Settings Uses

type Workload_Il4Settings struct {
    // Required. Input only. Immutable. Settings specific to resources needed for IL4.
    //
    // Deprecated: Do not use.
    Il4Settings *Workload_IL4Settings `protobuf:"bytes,7,opt,name=il4_settings,json=il4Settings,proto3,oneof"`
}

type Workload_KMSSettings Uses

type Workload_KMSSettings struct {

    // Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
    // new version of the crypto key and mark it as the primary.
    NextRotationTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=next_rotation_time,json=nextRotationTime,proto3" json:"next_rotation_time,omitempty"`
    // Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
    // Management Service automatically rotates a key. Must be at least 24 hours
    // and at most 876,000 hours.
    RotationPeriod *durationpb.Duration `protobuf:"bytes,2,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"`
    // contains filtered or unexported fields
}

Settings specific to the Key Management Service.

func (*Workload_KMSSettings) Descriptor Uses

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

Deprecated: Use Workload_KMSSettings.ProtoReflect.Descriptor instead.

func (*Workload_KMSSettings) GetNextRotationTime Uses

func (x *Workload_KMSSettings) GetNextRotationTime() *timestamppb.Timestamp

func (*Workload_KMSSettings) GetRotationPeriod Uses

func (x *Workload_KMSSettings) GetRotationPeriod() *durationpb.Duration

func (*Workload_KMSSettings) ProtoMessage Uses

func (*Workload_KMSSettings) ProtoMessage()

func (*Workload_KMSSettings) ProtoReflect Uses

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

func (*Workload_KMSSettings) Reset Uses

func (x *Workload_KMSSettings) Reset()

func (*Workload_KMSSettings) String Uses

func (x *Workload_KMSSettings) String() string

type Workload_ResourceInfo Uses

type Workload_ResourceInfo struct {

    // Resource identifier.
    // For a project this represents project_number.
    ResourceId int64 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
    // Indicates the type of resource.
    ResourceType Workload_ResourceInfo_ResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=google.cloud.assuredworkloads.v1beta1.Workload_ResourceInfo_ResourceType" json:"resource_type,omitempty"`
    // contains filtered or unexported fields
}

Represent the resources that are children of this Workload.

func (*Workload_ResourceInfo) Descriptor Uses

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

Deprecated: Use Workload_ResourceInfo.ProtoReflect.Descriptor instead.

func (*Workload_ResourceInfo) GetResourceId Uses

func (x *Workload_ResourceInfo) GetResourceId() int64

func (*Workload_ResourceInfo) GetResourceType Uses

func (x *Workload_ResourceInfo) GetResourceType() Workload_ResourceInfo_ResourceType

func (*Workload_ResourceInfo) ProtoMessage Uses

func (*Workload_ResourceInfo) ProtoMessage()

func (*Workload_ResourceInfo) ProtoReflect Uses

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

func (*Workload_ResourceInfo) Reset Uses

func (x *Workload_ResourceInfo) Reset()

func (*Workload_ResourceInfo) String Uses

func (x *Workload_ResourceInfo) String() string

type Workload_ResourceInfo_ResourceType Uses

type Workload_ResourceInfo_ResourceType int32

The type of resource.

const (
    // Unknown resource type.
    Workload_ResourceInfo_RESOURCE_TYPE_UNSPECIFIED Workload_ResourceInfo_ResourceType = 0
    // Consumer project.
    Workload_ResourceInfo_CONSUMER_PROJECT Workload_ResourceInfo_ResourceType = 1
    // Consumer project containing encryption keys.
    Workload_ResourceInfo_ENCRYPTION_KEYS_PROJECT Workload_ResourceInfo_ResourceType = 2
)

func (Workload_ResourceInfo_ResourceType) Descriptor Uses

func (Workload_ResourceInfo_ResourceType) Descriptor() protoreflect.EnumDescriptor

func (Workload_ResourceInfo_ResourceType) Enum Uses

func (x Workload_ResourceInfo_ResourceType) Enum() *Workload_ResourceInfo_ResourceType

func (Workload_ResourceInfo_ResourceType) EnumDescriptor Uses

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

Deprecated: Use Workload_ResourceInfo_ResourceType.Descriptor instead.

func (Workload_ResourceInfo_ResourceType) Number Uses

func (x Workload_ResourceInfo_ResourceType) Number() protoreflect.EnumNumber

func (Workload_ResourceInfo_ResourceType) String Uses

func (x Workload_ResourceInfo_ResourceType) String() string

func (Workload_ResourceInfo_ResourceType) Type Uses

func (Workload_ResourceInfo_ResourceType) Type() protoreflect.EnumType

Package assuredworkloads imports 15 packages (graph). Updated 2021-01-23. Refresh now. Tools for package owners.