feat: updated google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsService service
Clients can now specify the 'provisioned_resources_parent' for the provisioned projects. The per compliance regime 'kms_settings' are being deprecated and should now be specified as a top level field of the workload. PiperOrigin-RevId: 342580339
This commit is contained in:
parent
be0bdf86cd
commit
8d245ac97e
|
|
@ -131,9 +131,9 @@ go_gapic_library(
|
|||
service_yaml = "assuredworkloads_v1beta1.yaml",
|
||||
deps = [
|
||||
":assuredworkloads_go_proto",
|
||||
"@com_google_cloud_go//longrunning/autogen:go_default_library",
|
||||
"//google/longrunning:longrunning_go_proto",
|
||||
"@com_google_cloud_go//longrunning:go_default_library",
|
||||
"@com_google_cloud_go//longrunning/autogen:go_default_library",
|
||||
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
|
||||
],
|
||||
)
|
||||
|
|
@ -158,18 +158,54 @@ go_gapic_assembly_pkg(
|
|||
##############################################################################
|
||||
# Python
|
||||
##############################################################################
|
||||
# This library is using Python microgenerator.
|
||||
# DO NOT OVERRIDE this Python section with autogenerated rules.
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
|
||||
py_gapic_library = "py_gapic_library2",
|
||||
"moved_proto_library",
|
||||
"py_gapic_assembly_pkg",
|
||||
"py_gapic_library",
|
||||
"py_grpc_library",
|
||||
"py_proto_library",
|
||||
)
|
||||
|
||||
moved_proto_library(
|
||||
name = "assuredworkloads_moved_proto",
|
||||
srcs = [":assuredworkloads_proto"],
|
||||
deps = [
|
||||
"//google/api:annotations_proto",
|
||||
"//google/api:client_proto",
|
||||
"//google/api:field_behavior_proto",
|
||||
"//google/api:resource_proto",
|
||||
"//google/longrunning:operations_proto",
|
||||
"@com_google_protobuf//:duration_proto",
|
||||
"@com_google_protobuf//:empty_proto",
|
||||
"@com_google_protobuf//:field_mask_proto",
|
||||
"@com_google_protobuf//:timestamp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
py_proto_library(
|
||||
name = "assuredworkloads_py_proto",
|
||||
plugin = "@protoc_docs_plugin//:docs_plugin",
|
||||
deps = [":assuredworkloads_moved_proto"],
|
||||
)
|
||||
|
||||
py_grpc_library(
|
||||
name = "assuredworkloads_py_grpc",
|
||||
srcs = [":assuredworkloads_moved_proto"],
|
||||
deps = [":assuredworkloads_py_proto"],
|
||||
)
|
||||
|
||||
py_gapic_library(
|
||||
name = "assuredworkloads_py_gapic",
|
||||
srcs = [":assuredworkloads_proto"],
|
||||
src = ":assuredworkloads_proto_with_info",
|
||||
gapic_yaml = "assuredworkloads_gapic.yaml",
|
||||
grpc_service_config = "assuredworkloads_grpc_service_config.json",
|
||||
package = "google.cloud.assuredworkloads.v1beta1",
|
||||
service_yaml = "assuredworkloads_v1beta1.yaml",
|
||||
deps = [
|
||||
":assuredworkloads_py_grpc",
|
||||
":assuredworkloads_py_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
|
|
@ -177,6 +213,8 @@ py_gapic_assembly_pkg(
|
|||
name = "assuredworkloads-v1beta1-py",
|
||||
deps = [
|
||||
":assuredworkloads_py_gapic",
|
||||
":assuredworkloads_py_grpc",
|
||||
":assuredworkloads_py_proto",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
@ -236,10 +274,10 @@ load(
|
|||
|
||||
nodejs_gapic_library(
|
||||
name = "assuredworkloads_nodejs_gapic",
|
||||
package_name = "@google-cloud/assured-workloads",
|
||||
src = ":assuredworkloads_proto_with_info",
|
||||
grpc_service_config = "assuredworkloads_grpc_service_config.json",
|
||||
package = "google.cloud.assuredworkloads.v1beta1",
|
||||
package_name = "@google-cloud/assured-workloads",
|
||||
service_yaml = "assuredworkloads_v1beta1.yaml",
|
||||
deps = [],
|
||||
)
|
||||
|
|
@ -322,8 +360,8 @@ csharp_grpc_library(
|
|||
csharp_gapic_library(
|
||||
name = "assuredworkloads_csharp_gapic",
|
||||
srcs = [":assuredworkloads_proto_with_info"],
|
||||
grpc_service_config = "assuredworkloads_grpc_service_config.json",
|
||||
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
|
||||
grpc_service_config = "assuredworkloads_grpc_service_config.json",
|
||||
deps = [
|
||||
":assuredworkloads_csharp_grpc",
|
||||
":assuredworkloads_csharp_proto",
|
||||
|
|
|
|||
|
|
@ -245,6 +245,8 @@ message Workload {
|
|||
|
||||
// Settings specific to resources needed for IL4.
|
||||
message IL4Settings {
|
||||
option deprecated = true;
|
||||
|
||||
// Required. Input only. Immutable. Settings used to create a CMEK crypto key.
|
||||
KMSSettings kms_settings = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
|
|
@ -255,6 +257,8 @@ message Workload {
|
|||
|
||||
// Settings specific to resources needed for CJIS.
|
||||
message CJISSettings {
|
||||
option deprecated = true;
|
||||
|
||||
// Required. Input only. Immutable. Settings used to create a CMEK crypto key.
|
||||
KMSSettings kms_settings = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
|
|
@ -265,6 +269,8 @@ message Workload {
|
|||
|
||||
// Settings specific to resources needed for FedRAMP High.
|
||||
message FedrampHighSettings {
|
||||
option deprecated = true;
|
||||
|
||||
// Required. Input only. Immutable. Settings used to create a CMEK crypto key.
|
||||
KMSSettings kms_settings = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
|
|
@ -275,6 +281,8 @@ message Workload {
|
|||
|
||||
// Settings specific to resources needed for FedRAMP Moderate.
|
||||
message FedrampModerateSettings {
|
||||
option deprecated = true;
|
||||
|
||||
// Required. Input only. Immutable. Settings used to create a CMEK crypto key.
|
||||
KMSSettings kms_settings = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
|
|
@ -311,7 +319,7 @@ message Workload {
|
|||
// 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, single-quote, double-quote, space, and exclamation point.
|
||||
// hyphen, and spaces.
|
||||
//
|
||||
// Example: My Workload
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
|
@ -351,6 +359,7 @@ message Workload {
|
|||
oneof compliance_regime_settings {
|
||||
// Required. Input only. Immutable. Settings specific to resources needed for IL4.
|
||||
IL4Settings il4_settings = 7 [
|
||||
deprecated = true,
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.field_behavior) = INPUT_ONLY,
|
||||
(google.api.field_behavior) = IMMUTABLE
|
||||
|
|
@ -358,6 +367,7 @@ message Workload {
|
|||
|
||||
// Required. Input only. Immutable. Settings specific to resources needed for CJIS.
|
||||
CJISSettings cjis_settings = 8 [
|
||||
deprecated = true,
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.field_behavior) = INPUT_ONLY,
|
||||
(google.api.field_behavior) = IMMUTABLE
|
||||
|
|
@ -365,6 +375,7 @@ message Workload {
|
|||
|
||||
// Required. Input only. Immutable. Settings specific to resources needed for FedRAMP High.
|
||||
FedrampHighSettings fedramp_high_settings = 11 [
|
||||
deprecated = true,
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.field_behavior) = INPUT_ONLY,
|
||||
(google.api.field_behavior) = IMMUTABLE
|
||||
|
|
@ -372,6 +383,7 @@ message Workload {
|
|||
|
||||
// Required. Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
|
||||
FedrampModerateSettings fedramp_moderate_settings = 12 [
|
||||
deprecated = true,
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.field_behavior) = INPUT_ONLY,
|
||||
(google.api.field_behavior) = IMMUTABLE
|
||||
|
|
@ -384,6 +396,20 @@ message Workload {
|
|||
|
||||
// Optional. Labels applied to the workload.
|
||||
map<string, string> labels = 10 [(google.api.field_behavior) = OPTIONAL];
|
||||
|
||||
// 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}
|
||||
string provisioned_resources_parent = 13 [(google.api.field_behavior) = INPUT_ONLY];
|
||||
|
||||
// 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 kms_settings = 14 [(google.api.field_behavior) = INPUT_ONLY];
|
||||
}
|
||||
|
||||
// Operation metadata to give request details of CreateWorkload.
|
||||
|
|
|
|||
Loading…
Reference in New Issue