google-cloud-assured_workloads-v1beta1 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/assured_workloads/v1beta1/assured_workloads_service/client.rb +19 -123
- data/lib/google/cloud/assured_workloads/v1beta1/version.rb +1 -1
- data/lib/google/cloud/assuredworkloads/v1beta1/assuredworkloads_pb.rb +1 -14
- data/lib/google/cloud/assuredworkloads/v1beta1/assuredworkloads_service_services_pb.rb +2 -9
- data/proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb +27 -62
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5a52c3887c6436e24ce7535b92e5d6274891ed1651721c048c7e7bc33bcf51f
|
4
|
+
data.tar.gz: 6f9960e32cfee95043570df17e6834452198965b0419a578007962afe6e71d03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3feda38888728040afda80c6cace5946e43ccc0218434a3296516e5bded4f03c2a87b50792a197b1808244251346ae07b759533d020b08f611984109ad06ce
|
7
|
+
data.tar.gz: 9f9c2640ca0790092fadebe5a7e8a7ed154ae5536c27827287148935e3f9a5d259a3de09901704696507903ef71483a3e5bf7e62f414a14ffa4bd384e8721c92
|
@@ -351,14 +351,6 @@ module Google
|
|
351
351
|
gapic_version: ::Google::Cloud::AssuredWorkloads::V1beta1::VERSION
|
352
352
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
353
353
|
|
354
|
-
header_params = {}
|
355
|
-
if request.workload&.name
|
356
|
-
header_params["workload.name"] = request.workload.name
|
357
|
-
end
|
358
|
-
|
359
|
-
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
360
|
-
metadata[:"x-goog-request-params"] ||= request_params_header
|
361
|
-
|
362
354
|
options.apply_defaults timeout: @config.rpcs.update_workload.timeout,
|
363
355
|
metadata: metadata,
|
364
356
|
retry_policy: @config.rpcs.update_workload.retry_policy
|
@@ -375,94 +367,6 @@ module Google
|
|
375
367
|
raise ::Google::Cloud::Error.from_error(e)
|
376
368
|
end
|
377
369
|
|
378
|
-
##
|
379
|
-
# Restrict the list of services allowed in the Workload environment.
|
380
|
-
# The current list of allowed services can be found at
|
381
|
-
# https://cloud.google.com/assured-workloads/docs/supported-products
|
382
|
-
# In addition to assuredworkloads.workload.update permission, the user should
|
383
|
-
# also have orgpolicy.policy.set permission on the folder resource
|
384
|
-
# to use this functionality.
|
385
|
-
#
|
386
|
-
# @overload restrict_allowed_services(request, options = nil)
|
387
|
-
# Pass arguments to `restrict_allowed_services` via a request object, either of type
|
388
|
-
# {::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest} or an equivalent Hash.
|
389
|
-
#
|
390
|
-
# @param request [::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest, ::Hash]
|
391
|
-
# A request object representing the call parameters. Required. To specify no
|
392
|
-
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
393
|
-
# @param options [::Gapic::CallOptions, ::Hash]
|
394
|
-
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
395
|
-
#
|
396
|
-
# @overload restrict_allowed_services(name: nil, restriction_type: nil)
|
397
|
-
# Pass arguments to `restrict_allowed_services` via keyword arguments. Note that at
|
398
|
-
# least one keyword argument is required. To specify no parameters, or to keep all
|
399
|
-
# the default parameter values, pass an empty Hash as a request object (see above).
|
400
|
-
#
|
401
|
-
# @param name [::String]
|
402
|
-
# Required. The resource name of the Workload. This is the workloads's
|
403
|
-
# relative path in the API, formatted as
|
404
|
-
# "organizations/\\{organization_id}/locations/\\{location_id}/workloads/\\{workload_id}".
|
405
|
-
# For example,
|
406
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1".
|
407
|
-
# @param restriction_type [::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest::RestrictionType]
|
408
|
-
# Required. The type of restriction for using gcp services in the Workload environment.
|
409
|
-
#
|
410
|
-
# @yield [response, operation] Access the result along with the RPC operation
|
411
|
-
# @yieldparam response [::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesResponse]
|
412
|
-
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
413
|
-
#
|
414
|
-
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesResponse]
|
415
|
-
#
|
416
|
-
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
417
|
-
#
|
418
|
-
# @example Basic example
|
419
|
-
# require "google/cloud/assured_workloads/v1beta1"
|
420
|
-
#
|
421
|
-
# # Create a client object. The client can be reused for multiple calls.
|
422
|
-
# client = Google::Cloud::AssuredWorkloads::V1beta1::AssuredWorkloadsService::Client.new
|
423
|
-
#
|
424
|
-
# # Create a request. To set request fields, pass in keyword arguments.
|
425
|
-
# request = Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest.new
|
426
|
-
#
|
427
|
-
# # Call the restrict_allowed_services method.
|
428
|
-
# result = client.restrict_allowed_services request
|
429
|
-
#
|
430
|
-
# # The returned object is of type Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesResponse.
|
431
|
-
# p result
|
432
|
-
#
|
433
|
-
def restrict_allowed_services request, options = nil
|
434
|
-
raise ::ArgumentError, "request must be provided" if request.nil?
|
435
|
-
|
436
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest
|
437
|
-
|
438
|
-
# Converts hash and nil to an options object
|
439
|
-
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
440
|
-
|
441
|
-
# Customize the options with defaults
|
442
|
-
metadata = @config.rpcs.restrict_allowed_services.metadata.to_h
|
443
|
-
|
444
|
-
# Set x-goog-api-client and x-goog-user-project headers
|
445
|
-
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
446
|
-
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
447
|
-
gapic_version: ::Google::Cloud::AssuredWorkloads::V1beta1::VERSION
|
448
|
-
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
|
-
|
450
|
-
options.apply_defaults timeout: @config.rpcs.restrict_allowed_services.timeout,
|
451
|
-
metadata: metadata,
|
452
|
-
retry_policy: @config.rpcs.restrict_allowed_services.retry_policy
|
453
|
-
|
454
|
-
options.apply_defaults timeout: @config.timeout,
|
455
|
-
metadata: @config.metadata,
|
456
|
-
retry_policy: @config.retry_policy
|
457
|
-
|
458
|
-
@assured_workloads_service_stub.call_rpc :restrict_allowed_services, request, options: options do |response, operation|
|
459
|
-
yield response, operation if block_given?
|
460
|
-
return response
|
461
|
-
end
|
462
|
-
rescue ::GRPC::BadStatus => e
|
463
|
-
raise ::Google::Cloud::Error.from_error(e)
|
464
|
-
end
|
465
|
-
|
466
370
|
##
|
467
371
|
# Restrict the list of resources allowed in the Workload environment.
|
468
372
|
# The current list of allowed products can be found at
|
@@ -736,8 +640,8 @@ module Google
|
|
736
640
|
end
|
737
641
|
|
738
642
|
##
|
739
|
-
#
|
740
|
-
#
|
643
|
+
# A request to analyze a hypothetical move of a source project or
|
644
|
+
# project-based workload to a target (destination) folder-based workload.
|
741
645
|
#
|
742
646
|
# @overload analyze_workload_move(request, options = nil)
|
743
647
|
# Pass arguments to `analyze_workload_move` via a request object, either of type
|
@@ -755,26 +659,25 @@ module Google
|
|
755
659
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
756
660
|
#
|
757
661
|
# @param source [::String]
|
758
|
-
# The
|
759
|
-
# relative
|
760
|
-
# "organizations/\\{
|
761
|
-
# For example
|
762
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1"
|
662
|
+
# The source type is a project-based workload. Specify the workloads's
|
663
|
+
# relative resource name, formatted as:
|
664
|
+
# "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
|
665
|
+
# For example:
|
666
|
+
# "organizations/123/locations/us-east1/workloads/assured-workload-1"
|
763
667
|
# @param project [::String]
|
764
|
-
# The
|
765
|
-
#
|
766
|
-
# "
|
767
|
-
#
|
768
|
-
# "
|
769
|
-
# "projects
|
770
|
-
# For example,
|
771
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1".
|
668
|
+
# The source type is a project. Specify the project's relative resource
|
669
|
+
# name, formatted as either a project number or a project ID:
|
670
|
+
# "projects/\\{PROJECT_NUMBER}" or "projects/\\{PROJECT_ID}"
|
671
|
+
# For example:
|
672
|
+
# "projects/951040570662" when specifying a project number, or
|
673
|
+
# "projects/my-project-123" when specifying a project ID.
|
772
674
|
# @param target [::String]
|
773
|
-
# Required. The resource
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
675
|
+
# Required. The resource ID of the folder-based destination workload. This workload is
|
676
|
+
# where the source project will hypothetically be moved to. Specify the
|
677
|
+
# workload's relative resource name, formatted as:
|
678
|
+
# "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
|
679
|
+
# For example:
|
680
|
+
# "organizations/123/locations/us-east1/workloads/assured-workload-2"
|
778
681
|
#
|
779
682
|
# @yield [response, operation] Access the result along with the RPC operation
|
780
683
|
# @yieldparam response [::Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveResponse]
|
@@ -1072,11 +975,6 @@ module Google
|
|
1072
975
|
#
|
1073
976
|
attr_reader :update_workload
|
1074
977
|
##
|
1075
|
-
# RPC-specific configuration for `restrict_allowed_services`
|
1076
|
-
# @return [::Gapic::Config::Method]
|
1077
|
-
#
|
1078
|
-
attr_reader :restrict_allowed_services
|
1079
|
-
##
|
1080
978
|
# RPC-specific configuration for `restrict_allowed_resources`
|
1081
979
|
# @return [::Gapic::Config::Method]
|
1082
980
|
#
|
@@ -1108,8 +1006,6 @@ module Google
|
|
1108
1006
|
@create_workload = ::Gapic::Config::Method.new create_workload_config
|
1109
1007
|
update_workload_config = parent_rpcs.update_workload if parent_rpcs.respond_to? :update_workload
|
1110
1008
|
@update_workload = ::Gapic::Config::Method.new update_workload_config
|
1111
|
-
restrict_allowed_services_config = parent_rpcs.restrict_allowed_services if parent_rpcs.respond_to? :restrict_allowed_services
|
1112
|
-
@restrict_allowed_services = ::Gapic::Config::Method.new restrict_allowed_services_config
|
1113
1009
|
restrict_allowed_resources_config = parent_rpcs.restrict_allowed_resources if parent_rpcs.respond_to? :restrict_allowed_resources
|
1114
1010
|
@restrict_allowed_resources = ::Gapic::Config::Method.new restrict_allowed_resources_config
|
1115
1011
|
delete_workload_config = parent_rpcs.delete_workload if parent_rpcs.respond_to? :delete_workload
|
@@ -20,17 +20,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
20
20
|
optional :workload, :message, 1, "google.cloud.assuredworkloads.v1beta1.Workload"
|
21
21
|
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
22
22
|
end
|
23
|
-
add_message "google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest" do
|
24
|
-
optional :name, :string, 1
|
25
|
-
optional :restriction_type, :enum, 2, "google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest.RestrictionType"
|
26
|
-
end
|
27
|
-
add_enum "google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest.RestrictionType" do
|
28
|
-
value :RESTRICTION_TYPE_UNSPECIFIED, 0
|
29
|
-
value :ALLOW_ALL_GCP_SERVICES, 1
|
30
|
-
value :ALLOW_COMPLIANT_SERVICES, 2
|
31
|
-
end
|
32
|
-
add_message "google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesResponse" do
|
33
|
-
end
|
34
23
|
add_message "google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest" do
|
35
24
|
optional :name, :string, 1
|
36
25
|
optional :restriction_type, :enum, 2, "google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType"
|
@@ -151,6 +140,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
151
140
|
value :EU_REGIONS_AND_SUPPORT, 8
|
152
141
|
value :CA_REGIONS_AND_SUPPORT, 9
|
153
142
|
value :ITAR, 10
|
143
|
+
value :AU_REGIONS_AND_US_SUPPORT, 11
|
154
144
|
end
|
155
145
|
add_enum "google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState" do
|
156
146
|
value :KAJ_ENROLLMENT_STATE_UNSPECIFIED, 0
|
@@ -173,9 +163,6 @@ module Google
|
|
173
163
|
module V1beta1
|
174
164
|
CreateWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.CreateWorkloadRequest").msgclass
|
175
165
|
UpdateWorkloadRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.UpdateWorkloadRequest").msgclass
|
176
|
-
RestrictAllowedServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest").msgclass
|
177
|
-
RestrictAllowedServicesRequest::RestrictionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesRequest.RestrictionType").enummodule
|
178
|
-
RestrictAllowedServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesResponse").msgclass
|
179
166
|
RestrictAllowedResourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest").msgclass
|
180
167
|
RestrictAllowedResourcesRequest::RestrictionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType").enummodule
|
181
168
|
RestrictAllowedResourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesResponse").msgclass
|
@@ -40,13 +40,6 @@ module Google
|
|
40
40
|
# For force updates don't set etag field in the Workload.
|
41
41
|
# Only one update operation per workload can be in progress.
|
42
42
|
rpc :UpdateWorkload, ::Google::Cloud::AssuredWorkloads::V1beta1::UpdateWorkloadRequest, ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
|
43
|
-
# Restrict the list of services allowed in the Workload environment.
|
44
|
-
# The current list of allowed services can be found at
|
45
|
-
# https://cloud.google.com/assured-workloads/docs/supported-products
|
46
|
-
# In addition to assuredworkloads.workload.update permission, the user should
|
47
|
-
# also have orgpolicy.policy.set permission on the folder resource
|
48
|
-
# to use this functionality.
|
49
|
-
rpc :RestrictAllowedServices, ::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest, ::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesResponse
|
50
43
|
# Restrict the list of resources allowed in the Workload environment.
|
51
44
|
# The current list of allowed products can be found at
|
52
45
|
# https://cloud.google.com/assured-workloads/docs/supported-products
|
@@ -63,8 +56,8 @@ module Google
|
|
63
56
|
rpc :DeleteWorkload, ::Google::Cloud::AssuredWorkloads::V1beta1::DeleteWorkloadRequest, ::Google::Protobuf::Empty
|
64
57
|
# Gets Assured Workload associated with a CRM Node
|
65
58
|
rpc :GetWorkload, ::Google::Cloud::AssuredWorkloads::V1beta1::GetWorkloadRequest, ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
|
66
|
-
#
|
67
|
-
#
|
59
|
+
# A request to analyze a hypothetical move of a source project or
|
60
|
+
# project-based workload to a target (destination) folder-based workload.
|
68
61
|
rpc :AnalyzeWorkloadMove, ::Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveRequest, ::Google::Cloud::AssuredWorkloads::V1beta1::AnalyzeWorkloadMoveResponse
|
69
62
|
# Lists Assured Workloads under a CRM Node.
|
70
63
|
rpc :ListWorkloads, ::Google::Cloud::AssuredWorkloads::V1beta1::ListWorkloadsRequest, ::Google::Cloud::AssuredWorkloads::V1beta1::ListWorkloadsResponse
|
@@ -55,43 +55,6 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# Request for restricting list of available services in Workload environment.
|
59
|
-
# @!attribute [rw] name
|
60
|
-
# @return [::String]
|
61
|
-
# Required. The resource name of the Workload. This is the workloads's
|
62
|
-
# relative path in the API, formatted as
|
63
|
-
# "organizations/\\{organization_id}/locations/\\{location_id}/workloads/\\{workload_id}".
|
64
|
-
# For example,
|
65
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1".
|
66
|
-
# @!attribute [rw] restriction_type
|
67
|
-
# @return [::Google::Cloud::AssuredWorkloads::V1beta1::RestrictAllowedServicesRequest::RestrictionType]
|
68
|
-
# Required. The type of restriction for using gcp services in the Workload environment.
|
69
|
-
class RestrictAllowedServicesRequest
|
70
|
-
include ::Google::Protobuf::MessageExts
|
71
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
|
-
|
73
|
-
# The type of restriction.
|
74
|
-
module RestrictionType
|
75
|
-
# Unknown restriction type.
|
76
|
-
RESTRICTION_TYPE_UNSPECIFIED = 0
|
77
|
-
|
78
|
-
# Allow the use all services. This effectively remove all restrictions
|
79
|
-
# placed on the Folder.
|
80
|
-
ALLOW_ALL_GCP_SERVICES = 1
|
81
|
-
|
82
|
-
# Based on Workload's compliance regime, allowed list changes.
|
83
|
-
# See - https://cloud.google.com/assured-workloads/docs/supported-products
|
84
|
-
# for the list of allowed services.
|
85
|
-
ALLOW_COMPLIANT_SERVICES = 2
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
# Response for restricting the list of allowed services.
|
90
|
-
class RestrictAllowedServicesResponse
|
91
|
-
include ::Google::Protobuf::MessageExts
|
92
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
|
-
end
|
94
|
-
|
95
58
|
# Request for restricting list of available resources in Workload environment.
|
96
59
|
# @!attribute [rw] name
|
97
60
|
# @return [::String]
|
@@ -158,42 +121,41 @@ module Google
|
|
158
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
122
|
end
|
160
123
|
|
161
|
-
#
|
124
|
+
# A request to analyze a hypothetical move of a source project or project-based
|
125
|
+
# workload to a target (destination) folder-based workload.
|
162
126
|
# @!attribute [rw] source
|
163
127
|
# @return [::String]
|
164
|
-
# The
|
165
|
-
# relative
|
166
|
-
# "organizations/\\{
|
167
|
-
# For example
|
168
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1"
|
128
|
+
# The source type is a project-based workload. Specify the workloads's
|
129
|
+
# relative resource name, formatted as:
|
130
|
+
# "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
|
131
|
+
# For example:
|
132
|
+
# "organizations/123/locations/us-east1/workloads/assured-workload-1"
|
169
133
|
# @!attribute [rw] project
|
170
134
|
# @return [::String]
|
171
|
-
# The
|
172
|
-
#
|
173
|
-
# "
|
174
|
-
#
|
175
|
-
# "
|
176
|
-
# "projects
|
177
|
-
# For example,
|
178
|
-
# "organizations/123/locations/us-east1/workloads/assured-workload-1".
|
135
|
+
# The source type is a project. Specify the project's relative resource
|
136
|
+
# name, formatted as either a project number or a project ID:
|
137
|
+
# "projects/\\{PROJECT_NUMBER}" or "projects/\\{PROJECT_ID}"
|
138
|
+
# For example:
|
139
|
+
# "projects/951040570662" when specifying a project number, or
|
140
|
+
# "projects/my-project-123" when specifying a project ID.
|
179
141
|
# @!attribute [rw] target
|
180
142
|
# @return [::String]
|
181
|
-
# Required. The resource
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
#
|
143
|
+
# Required. The resource ID of the folder-based destination workload. This workload is
|
144
|
+
# where the source project will hypothetically be moved to. Specify the
|
145
|
+
# workload's relative resource name, formatted as:
|
146
|
+
# "organizations/\\{ORGANIZATION_ID}/locations/\\{LOCATION_ID}/workloads/\\{WORKLOAD_ID}"
|
147
|
+
# For example:
|
148
|
+
# "organizations/123/locations/us-east1/workloads/assured-workload-2"
|
186
149
|
class AnalyzeWorkloadMoveRequest
|
187
150
|
include ::Google::Protobuf::MessageExts
|
188
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
189
152
|
end
|
190
153
|
|
191
|
-
#
|
192
|
-
# workload
|
154
|
+
# A response that includes the analysis of the hypothetical resource move.
|
193
155
|
# @!attribute [rw] blockers
|
194
156
|
# @return [::Array<::String>]
|
195
|
-
#
|
196
|
-
# workload
|
157
|
+
# A list of blockers that should be addressed before moving the source
|
158
|
+
# project or project-based workload to the destination folder-based workload.
|
197
159
|
class AnalyzeWorkloadMoveResponse
|
198
160
|
include ::Google::Protobuf::MessageExts
|
199
161
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -262,9 +224,9 @@ module Google
|
|
262
224
|
# @!attribute [r] create_time
|
263
225
|
# @return [::Google::Protobuf::Timestamp]
|
264
226
|
# Output only. Immutable. The Workload creation timestamp.
|
265
|
-
# @!attribute [
|
227
|
+
# @!attribute [r] billing_account
|
266
228
|
# @return [::String]
|
267
|
-
#
|
229
|
+
# Output only. The billing account used for the resources which are
|
268
230
|
# direct children of workload. This billing account is initially associated
|
269
231
|
# with the resources created as part of Workload creation.
|
270
232
|
# After the initial creation of these resources, the customer can change
|
@@ -521,6 +483,9 @@ module Google
|
|
521
483
|
|
522
484
|
# International Traffic in Arms Regulations
|
523
485
|
ITAR = 10
|
486
|
+
|
487
|
+
# Assured Workloads for Australia Regions and Support controls
|
488
|
+
AU_REGIONS_AND_US_SUPPORT = 11
|
524
489
|
end
|
525
490
|
|
526
491
|
# Key Access Justifications(KAJ) Enrollment State.
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-assured_workloads-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|