google-apis-assuredworkloads_v1beta1 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68a646a365a9467a0e72dbeaae4e533d53875cd338cfeb3ce734c49931ee468d
4
- data.tar.gz: e958206a3d226467e555671c22ab1167e14430a22a3e6b800f754def45a24686
3
+ metadata.gz: d43057f5154f95b4f37137f32fa04782cf8a2aa89a395e867aee95c7ffcbbb46
4
+ data.tar.gz: c9d2305e4ac221b6eb684384723f1b10178e6d405dac49c55e0ab987f3606a03
5
5
  SHA512:
6
- metadata.gz: 022216a70acafb5ea3127e66a73674988e4c995c8d60f59f5590ac75f0418a48a5fb4a25f042944e8dbfc75859a6e77276fa6b806598177642b082a0a55bc3b7
7
- data.tar.gz: b33f6ec2c278cf89c7d8835e0ef7cecb073e0d3b04367ca7fcf050c30534db870c55589b167e056fb3ef6e6ba67041924ccc046cdf4d67aa5dcdf2ec29c8ef0b
6
+ metadata.gz: 97f6f6dc1d2e675341ae669052c5336bdbc181411d7d0446f014d808c5628f58578dce5a84c9380f52c7d5e77b97fa3c82fb8d6a6ecf359aed86265a4a455cd9
7
+ data.tar.gz: 825e2dfc1d86edc8b757b5bf1684b252273d064e55174415f53a2b8de8bc54e191a2ecb6dce3f7323fe7cb48f5f8cad1256a82f77777195320f7ecc2c514bf8b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.18.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230818
6
+
3
7
  ### v0.17.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230804
@@ -363,7 +363,7 @@ module Google
363
363
  end
364
364
  end
365
365
 
366
- # Workload monitoring Violation. Next Id: 27
366
+ # Workload monitoring Violation. Next Id: 28
367
367
  class GoogleCloudAssuredworkloadsV1beta1Violation
368
368
  include Google::Apis::Core::Hashable
369
369
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1beta1
18
18
  # Version of the google-apis-assuredworkloads_v1beta1 gem
19
- GEM_VERSION = "0.17.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230804"
25
+ REVISION = "20230818"
26
26
  end
27
27
  end
28
28
  end
@@ -120,6 +120,68 @@ module Google
120
120
  execute_or_queue_command(command, &block)
121
121
  end
122
122
 
123
+ # Analyzes a hypothetical move of a source resource to a target(destination)
124
+ # folder-based workload to surface compliance risks.
125
+ # @param [String] target
126
+ # Required. The resource ID of the folder-based destination workload. This
127
+ # workload is where the source resource will hypothetically be moved to. Specify
128
+ # the workload's relative resource name, formatted as: "organizations/`
129
+ # ORGANIZATION_ID`/locations/`LOCATION_ID`/workloads/`WORKLOAD_ID`" For example:
130
+ # "organizations/123/locations/us-east1/workloads/assured-workload-2"
131
+ # @param [Array<String>, String] asset_types
132
+ # Optional. List of asset types to be analyzed,including and under the source
133
+ # resource. If empty, all assets are analyzed. The complete list of asset types
134
+ # is available [here](https://cloud.google.com/asset-inventory/docs/supported-
135
+ # asset-types#searchable_asset_types)
136
+ # @param [Fixnum] page_size
137
+ # Optional. Page size. If a value is not specified, the default value of 10 is
138
+ # used.
139
+ # @param [String] page_token
140
+ # Optional. The page token from the previous response. It needs to be passed in
141
+ # the second and following requests.
142
+ # @param [String] project
143
+ # The source type is a project. Specify the project's relative resource name,
144
+ # formatted as either a project number or a project ID: "projects/`
145
+ # PROJECT_NUMBER`" or "projects/`PROJECT_ID`" For example: "projects/
146
+ # 951040570662" when specifying a project number, or "projects/my-project-123"
147
+ # when specifying a project ID.
148
+ # @param [String] source
149
+ # The source type is a project-based workload. Specify the workloads's relative
150
+ # resource name, formatted as: "organizations/`ORGANIZATION_ID`/locations/`
151
+ # LOCATION_ID`/workloads/`WORKLOAD_ID`" For example: "organizations/123/
152
+ # locations/us-east1/workloads/assured-workload-1" This option is now deprecated.
153
+ # @param [String] fields
154
+ # Selector specifying which fields to include in a partial response.
155
+ # @param [String] quota_user
156
+ # Available to use for quota purposes for server-side applications. Can be any
157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
158
+ # @param [Google::Apis::RequestOptions] options
159
+ # Request-specific options
160
+ #
161
+ # @yield [result, err] Result & error if block supplied
162
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse] parsed result object
163
+ # @yieldparam err [StandardError] error object if request failed
164
+ #
165
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse]
166
+ #
167
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
170
+ def analyze_organization_location_workload_workload_move(target, asset_types: nil, page_size: nil, page_token: nil, project: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
171
+ command = make_simple_command(:get, 'v1beta1/{+target}:analyzeWorkloadMove', options)
172
+ command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse::Representation
173
+ command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse
174
+ command.params['target'] = target unless target.nil?
175
+ command.query['assetTypes'] = asset_types unless asset_types.nil?
176
+ command.query['pageSize'] = page_size unless page_size.nil?
177
+ command.query['pageToken'] = page_token unless page_token.nil?
178
+ command.query['project'] = project unless project.nil?
179
+ command.query['source'] = source unless source.nil?
180
+ command.query['fields'] = fields unless fields.nil?
181
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
182
+ execute_or_queue_command(command, &block)
183
+ end
184
+
123
185
  # Creates Assured Workload.
124
186
  # @param [String] parent
125
187
  # Required. The resource name of the new Workload's parent. Must be of the form `
@@ -504,66 +566,6 @@ module Google
504
566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
505
567
  execute_or_queue_command(command, &block)
506
568
  end
507
-
508
- # Analyzes a hypothetical move of a source resource to a target(destination)
509
- # folder-based workload to surface compliance risks.
510
- # @param [String] project
511
- # The source type is a project. Specify the project's relative resource name,
512
- # formatted as either a project number or a project ID: "projects/`
513
- # PROJECT_NUMBER`" or "projects/`PROJECT_ID`" For example: "projects/
514
- # 951040570662" when specifying a project number, or "projects/my-project-123"
515
- # when specifying a project ID.
516
- # @param [String] target
517
- # Required. The resource ID of the folder-based destination workload. This
518
- # workload is where the source resource will hypothetically be moved to. Specify
519
- # the workload's relative resource name, formatted as: "organizations/`
520
- # ORGANIZATION_ID`/locations/`LOCATION_ID`/workloads/`WORKLOAD_ID`" For example:
521
- # "organizations/123/locations/us-east1/workloads/assured-workload-2"
522
- # @param [Boolean] analyze_child_assets
523
- # Optional. Indicates if all child assets of the source resource should also be
524
- # analyzed in addition to the source.
525
- # @param [Fixnum] page_size
526
- # Optional. Page size. If a value is not specified, the default value of 10 is
527
- # used.
528
- # @param [String] page_token
529
- # Optional. The page token from the previous response. It needs to be passed in
530
- # the second and following requests.
531
- # @param [String] source
532
- # The source type is a project-based workload. Specify the workloads's relative
533
- # resource name, formatted as: "organizations/`ORGANIZATION_ID`/locations/`
534
- # LOCATION_ID`/workloads/`WORKLOAD_ID`" For example: "organizations/123/
535
- # locations/us-east1/workloads/assured-workload-1" This option is now deprecated.
536
- # @param [String] fields
537
- # Selector specifying which fields to include in a partial response.
538
- # @param [String] quota_user
539
- # Available to use for quota purposes for server-side applications. Can be any
540
- # arbitrary string assigned to a user, but should not exceed 40 characters.
541
- # @param [Google::Apis::RequestOptions] options
542
- # Request-specific options
543
- #
544
- # @yield [result, err] Result & error if block supplied
545
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse] parsed result object
546
- # @yieldparam err [StandardError] error object if request failed
547
- #
548
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse]
549
- #
550
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
551
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
552
- # @raise [Google::Apis::AuthorizationError] Authorization is required
553
- def analyze_project_organization_location_workload_workload_move(project, target, analyze_child_assets: nil, page_size: nil, page_token: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
554
- command = make_simple_command(:get, 'v1beta1/{+project}/{+target}:analyzeWorkloadMove', options)
555
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse::Representation
556
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse
557
- command.params['project'] = project unless project.nil?
558
- command.params['target'] = target unless target.nil?
559
- command.query['analyzeChildAssets'] = analyze_child_assets unless analyze_child_assets.nil?
560
- command.query['pageSize'] = page_size unless page_size.nil?
561
- command.query['pageToken'] = page_token unless page_token.nil?
562
- command.query['source'] = source unless source.nil?
563
- command.query['fields'] = fields unless fields.nil?
564
- command.query['quotaUser'] = quota_user unless quota_user.nil?
565
- execute_or_queue_command(command, &block)
566
- end
567
569
 
568
570
  protected
569
571
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.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: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Assured Workloads API V1beta1