google-apis-assuredworkloads_v1beta1 0.18.0 → 0.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d43057f5154f95b4f37137f32fa04782cf8a2aa89a395e867aee95c7ffcbbb46
4
- data.tar.gz: c9d2305e4ac221b6eb684384723f1b10178e6d405dac49c55e0ab987f3606a03
3
+ metadata.gz: d278bd0c18996008edbb2402721db10155a331e9d1344e014f843d5d730a2c0c
4
+ data.tar.gz: 2502055885f0973b89709acd40bf3cb4ee08be28832c0d1ee211e6ef386736dd
5
5
  SHA512:
6
- metadata.gz: 97f6f6dc1d2e675341ae669052c5336bdbc181411d7d0446f014d808c5628f58578dce5a84c9380f52c7d5e77b97fa3c82fb8d6a6ecf359aed86265a4a455cd9
7
- data.tar.gz: 825e2dfc1d86edc8b757b5bf1684b252273d064e55174415f53a2b8de8bc54e191a2ecb6dce3f7323fe7cb48f5f8cad1256a82f77777195320f7ecc2c514bf8b
6
+ metadata.gz: 14760af7a1a63360deb52c8b371c7b55a2e3cf0e597c796bf63361f8225f43207421752ea08f1085886cf3a7587b2e2af512a6528c61b05a679c1370f382b854
7
+ data.tar.gz: 13e8018065a547a6dd8b44ba364087801f7d864dc924c92ab08e3c1f0c80ec3558fa0387820768c1a71aa154efff8f22a9cf41fc4c619e1ce864216232dc440c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.19.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
3
7
  ### v0.18.0 (2023-08-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20230818
@@ -80,13 +80,6 @@ module Google
80
80
  # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis>]
81
81
  attr_accessor :asset_move_analyses
82
82
 
83
- # A list of blockers that should be addressed before moving the source project
84
- # or project-based workload to the destination folder-based workload. This field
85
- # is now deprecated.
86
- # Corresponds to the JSON property `blockers`
87
- # @return [Array<String>]
88
- attr_accessor :blockers
89
-
90
83
  # The next page token. Is empty if the last page is reached.
91
84
  # Corresponds to the JSON property `nextPageToken`
92
85
  # @return [String]
@@ -99,7 +92,6 @@ module Google
99
92
  # Update properties of this object
100
93
  def update!(**args)
101
94
  @asset_move_analyses = args[:asset_move_analyses] if args.key?(:asset_move_analyses)
102
- @blockers = args[:blockers] if args.key?(:blockers)
103
95
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
104
96
  end
105
97
  end
@@ -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.18.0"
19
+ GEM_VERSION = "0.19.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 = "20230818"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -252,7 +252,6 @@ module Google
252
252
  class Representation < Google::Apis::Core::JsonRepresentation
253
253
  collection :asset_move_analyses, as: 'assetMoveAnalyses', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis::Representation
254
254
 
255
- collection :blockers, as: 'blockers'
256
255
  property :next_page_token, as: 'nextPageToken'
257
256
  end
258
257
  end
@@ -120,8 +120,9 @@ 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.
123
+ # Analyzes a hypothetical move of a source resource to a target workload to
124
+ # surface compliance risks. The analysis is best effort and is not guaranteed to
125
+ # be exhaustive.
125
126
  # @param [String] target
126
127
  # Required. The resource ID of the folder-based destination workload. This
127
128
  # workload is where the source resource will hypothetically be moved to. Specify
@@ -129,10 +130,10 @@ module Google
129
130
  # ORGANIZATION_ID`/locations/`LOCATION_ID`/workloads/`WORKLOAD_ID`" For example:
130
131
  # "organizations/123/locations/us-east1/workloads/assured-workload-2"
131
132
  # @param [Array<String>, String] asset_types
132
- # Optional. List of asset types to be analyzed,including and under the source
133
+ # Optional. List of asset types to be analyzed, including and under the source
133
134
  # resource. If empty, all assets are analyzed. The complete list of asset types
134
135
  # is available [here](https://cloud.google.com/asset-inventory/docs/supported-
135
- # asset-types#searchable_asset_types)
136
+ # asset-types#searchable_asset_types).
136
137
  # @param [Fixnum] page_size
137
138
  # Optional. Page size. If a value is not specified, the default value of 10 is
138
139
  # used.
@@ -145,11 +146,6 @@ module Google
145
146
  # PROJECT_NUMBER`" or "projects/`PROJECT_ID`" For example: "projects/
146
147
  # 951040570662" when specifying a project number, or "projects/my-project-123"
147
148
  # 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
149
  # @param [String] fields
154
150
  # Selector specifying which fields to include in a partial response.
155
151
  # @param [String] quota_user
@@ -167,7 +163,7 @@ module Google
167
163
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
164
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
165
  # @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)
166
+ def analyze_organization_location_workload_workload_move(target, asset_types: nil, page_size: nil, page_token: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block)
171
167
  command = make_simple_command(:get, 'v1beta1/{+target}:analyzeWorkloadMove', options)
172
168
  command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse::Representation
173
169
  command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse
@@ -176,7 +172,6 @@ module Google
176
172
  command.query['pageSize'] = page_size unless page_size.nil?
177
173
  command.query['pageToken'] = page_token unless page_token.nil?
178
174
  command.query['project'] = project unless project.nil?
179
- command.query['source'] = source unless source.nil?
180
175
  command.query['fields'] = fields unless fields.nil?
181
176
  command.query['quotaUser'] = quota_user unless quota_user.nil?
182
177
  execute_or_queue_command(command, &block)
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.18.0
4
+ version: 0.19.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-27 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.19.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: []