Skip to content

Commit

Permalink
🦉 Updates from OwlBot
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Dec 8, 2021
1 parent 6cab69b commit f5b774a
Show file tree
Hide file tree
Showing 47 changed files with 139 additions and 5,719 deletions.
Expand Up @@ -199,8 +199,8 @@ def initialize
# @param workload [::Google::Cloud::AssuredWorkloads::V1beta1::Workload, ::Hash]
# Required. Assured Workload to create
# @param external_id [::String]
# Optional. A identifier associated with the workload and underlying projects which
# allows for the break down of billing costs for a workload. The value
# 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.
#
Expand Down Expand Up @@ -480,8 +480,8 @@ def delete_workload request, options = nil
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param name [::String]
# Required. The resource name of the Workload to fetch. This is the workloads's
# relative path in the API, formatted as
# 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".
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -31,8 +31,8 @@ module V1beta1
# Required. Assured Workload to create
# @!attribute [rw] external_id
# @return [::String]
# Optional. A identifier associated with the workload and underlying projects which
# allows for the break down of billing costs for a workload. The value
# 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.
class CreateWorkloadRequest
Expand Down Expand Up @@ -73,8 +73,8 @@ class DeleteWorkloadRequest
# Request for fetching a workload.
# @!attribute [rw] name
# @return [::String]
# Required. The resource name of the Workload to fetch. This is the workloads's
# relative path in the API, formatted as
# 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".
Expand Down Expand Up @@ -158,16 +158,20 @@ class ListWorkloadsResponse
# `billingAccounts/012345-567890-ABCDEF`.
# @!attribute [rw] il4_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::IL4Settings]
# Required. Input only. Immutable. Settings specific to resources needed for IL4.
# Required. Input only. Immutable. Settings specific to resources needed
# for IL4.
# @!attribute [rw] cjis_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::CJISSettings]
# Required. Input only. Immutable. Settings specific to resources needed for CJIS.
# Required. Input only. Immutable. Settings specific to resources needed
# for CJIS.
# @!attribute [rw] fedramp_high_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::FedrampHighSettings]
# Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.
# Required. Input only. Immutable. Settings specific to resources needed
# for FedRAMP High.
# @!attribute [rw] fedramp_moderate_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::FedrampModerateSettings]
# Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
# Required. Input only. Immutable. Settings specific to resources needed
# for FedRAMP Moderate.
# @!attribute [rw] etag
# @return [::String]
# Optional. ETag of the workload, it is calculated on the basis
Expand All @@ -177,22 +181,34 @@ class ListWorkloadsResponse
# Optional. Labels applied to the workload.
# @!attribute [rw] provisioned_resources_parent
# @return [::String]
# Input only. The parent resource for the resources managed by this Assured Workload. May
# be either empty or a folder resource which is a child of the
# Input only. The parent resource for the resources managed by this Assured
# Workload. May be either empty or a folder resource which is a child of the
# Workload parent. If not specified all resources are created under the
# parent organization.
# Format:
# folders/\\{folder_id}
# @!attribute [rw] kms_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
# 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.
# 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.
# @!attribute [rw] resource_settings
# @return [::Array<::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings>]
# Input only. Resource properties that are used to customize workload resources.
# These properties (such as custom project id) will be used to create
# workload resources if possible. This field is optional.
# Input only. Resource properties that are used to customize workload
# resources. These properties (such as custom project id) will be used to
# create workload resources if possible. This field is optional.
# @!attribute [r] kaj_enrollment_state
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KajEnrollmentState]
# Output only. Represents the KAJ enrollment state of the given workload.
# @!attribute [rw] enable_sovereign_controls
# @return [::Boolean]
# Optional. Indicates the sovereignty status of the given workload.
# Currently meant to be used by Europe/Canada customers.
# @!attribute [r] saa_enrollment_response
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::SaaEnrollmentResponse]
# Output only. Represents the SAA enrollment response of the given workload.
# SAA enrollment response is queried during GetWorkload call.
# In failure cases, user friendly error message is shown in SAA details page.
class Workload
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down Expand Up @@ -232,13 +248,14 @@ module ResourceType
# Settings specific to the Key Management Service.
# @!attribute [rw] next_rotation_time
# @return [::Google::Protobuf::Timestamp]
# 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.
# 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.
# @!attribute [rw] rotation_period
# @return [::Google::Protobuf::Duration]
# 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.
# 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.
class KMSSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -247,7 +264,8 @@ class KMSSettings
# Settings specific to resources needed for IL4.
# @!attribute [rw] kms_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
# Required. Input only. Immutable. Settings used to create a CMEK crypto key.
# Required. Input only. Immutable. Settings used to create a CMEK crypto
# key.
class IL4Settings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -256,7 +274,8 @@ class IL4Settings
# Settings specific to resources needed for CJIS.
# @!attribute [rw] kms_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
# Required. Input only. Immutable. Settings used to create a CMEK crypto key.
# Required. Input only. Immutable. Settings used to create a CMEK crypto
# key.
class CJISSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -265,7 +284,8 @@ class CJISSettings
# Settings specific to resources needed for FedRAMP High.
# @!attribute [rw] kms_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
# Required. Input only. Immutable. Settings used to create a CMEK crypto key.
# Required. Input only. Immutable. Settings used to create a CMEK crypto
# key.
class FedrampHighSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -274,7 +294,8 @@ class FedrampHighSettings
# Settings specific to resources needed for FedRAMP Moderate.
# @!attribute [rw] kms_settings
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::KMSSettings]
# Required. Input only. Immutable. Settings used to create a CMEK crypto key.
# Required. Input only. Immutable. Settings used to create a CMEK crypto
# key.
class FedrampModerateSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand All @@ -301,6 +322,51 @@ class ResourceSettings
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Signed Access Approvals (SAA) enrollment response.
# @!attribute [rw] setup_status
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::SaaEnrollmentResponse::SetupState]
# Indicates SAA enrollment status of a given workload.
# @!attribute [rw] setup_errors
# @return [::Array<::Google::Cloud::AssuredWorkloads::V1beta1::Workload::SaaEnrollmentResponse::SetupError>]
# Indicates SAA enrollment setup error if any.
class SaaEnrollmentResponse
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods

# Setup state of SAA enrollment.
module SetupState
# Unspecified.
SETUP_STATE_UNSPECIFIED = 0

# SAA enrollment pending.
STATUS_PENDING = 1

# SAA enrollment comopleted.
STATUS_COMPLETE = 2
end

# Setup error of SAA enrollment.
module SetupError
# Unspecified.
SETUP_ERROR_UNSPECIFIED = 0

# Invalid states for all customers, to be redirected to AA UI for
# additional details.
ERROR_INVALID_BASE_SETUP = 1

# Returned when there is not an EKM key configured.
ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2

# Returned when there are no enrolled services or the customer is
# enrolled in CAA only for a subset of services.
ERROR_NOT_ALL_SERVICES_ENROLLED = 3

# Returned when exception was encountered during evaluation of other
# criteria.
ERROR_SETUP_CHECK_FAILED = 4
end
end

# @!attribute [rw] key
# @return [::String]
# @!attribute [rw] value
Expand Down Expand Up @@ -342,6 +408,18 @@ module ComplianceRegime
# Assured Workloads For Canada Regions and Support controls
CA_REGIONS_AND_SUPPORT = 9
end

# Key Access Justifications(KAJ) Enrollment State.
module KajEnrollmentState
# Default State for KAJ Enrollment.
KAJ_ENROLLMENT_STATE_UNSPECIFIED = 0

# Pending State for KAJ Enrollment.
KAJ_ENROLLMENT_STATE_PENDING = 1

# Complete State for KAJ Enrollment.
KAJ_ENROLLMENT_STATE_COMPLETE = 2
end
end

# Operation metadata to give request details of CreateWorkload.
Expand All @@ -356,12 +434,12 @@ module ComplianceRegime
# Optional. The parent of the workload.
# @!attribute [rw] compliance_regime
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ComplianceRegime]
# Optional. Compliance controls that should be applied to the resources managed by
# the workload.
# Optional. Compliance controls that should be applied to the resources
# managed by the workload.
# @!attribute [rw] resource_settings
# @return [::Array<::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings>]
# Optional. Resource properties in the input that are used for creating/customizing
# workload resources.
# Optional. Resource properties in the input that are used for
# creating/customizing workload resources.
class CreateWorkloadOperationMetadata
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down
22 changes: 0 additions & 22 deletions owl-bot-staging/google-cloud-assured_workloads-v1beta1/.gitignore

This file was deleted.

0 comments on commit f5b774a

Please sign in to comment.