google-apis-assuredworkloads_v1 0.3.0 → 0.8.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: bb82ca7b0a398ed879267a8eb9e521dd7d70790a848147237c57c267500926eb
4
- data.tar.gz: 4cb706a4d0262841e4ed23dbf78f72a15792f2bbd2e22c819479e4090b52bc93
3
+ metadata.gz: c83b60238f7924c621783183ed0ba662c4adf97fc562c7e1ea13af8e4bb39f0e
4
+ data.tar.gz: 8c56a5f522d31f850480a619a983ecd782b0f52f7fc4815ae5ee95d90cf29127
5
5
  SHA512:
6
- metadata.gz: 87565166d808871b1a9a0989a0c0088c91142da146af7ecb8a6ffaf194d3b214df876ddbeea872991d9f1f18a03634831fd250e8eb41f96dfc3772300ac6856d
7
- data.tar.gz: 7ee8d5b803fe167405cb59bbef9d45f440435adfd0d0a0bdbf299224d1546a75bd13521943467a7abb31a0c3f46e50a93c959d6556cee87e0b908e7b97c1ce33
6
+ metadata.gz: acb39bb31e39c503b74de626e0491e64bd872d311a8e05e624c45019e612f6325ebbb627d9af1022fef0f6feddceed557e6d61edaf501332f3efa67c24a98253
7
+ data.tar.gz: f8af54bb0b575dc223a276578df6a3328c216619eaadb519cb57f66e42b4d8632dfdd9669434bcc8972b4f4a988e918d3cd3cea4264f198705c6c1e773fe6a28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.8.0 (2021-06-29)
4
+
5
+ * Regenerated from discovery document revision 20210625
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.7.0 (2021-06-24)
9
+
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.6.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.5.0 (2021-05-11)
17
+
18
+ * Regenerated from discovery document revision 20210506
19
+
20
+ ### v0.4.0 (2021-03-31)
21
+
22
+ * Regenerated from discovery document revision 20210325
23
+
3
24
  ### v0.3.0 (2021-03-16)
4
25
 
5
26
  * Regenerated from discovery document revision 20210312
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -147,6 +147,13 @@ module Google
147
147
  # @return [String]
148
148
  attr_accessor :provisioned_resources_parent
149
149
 
150
+ # Input only. Resource properties that are used to customize workload resources.
151
+ # These properties (such as custom project id) will be used to create workload
152
+ # resources if possible. This field is optional.
153
+ # Corresponds to the JSON property `resourceSettings`
154
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings>]
155
+ attr_accessor :resource_settings
156
+
150
157
  # Output only. The resources associated with this workload. These resources will
151
158
  # be created when creating the workload. If any of the projects already exist,
152
159
  # the workload creation will fail. Always read only.
@@ -169,6 +176,7 @@ module Google
169
176
  @labels = args[:labels] if args.key?(:labels)
170
177
  @name = args[:name] if args.key?(:name)
171
178
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
179
+ @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
172
180
  @resources = args[:resources] if args.key?(:resources)
173
181
  end
174
182
  end
@@ -227,6 +235,40 @@ module Google
227
235
  end
228
236
  end
229
237
 
238
+ # Represent the custom settings for the resources to be created.
239
+ class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
240
+ include Google::Apis::Core::Hashable
241
+
242
+ # User-assigned resource display name. If not empty it will be used to create a
243
+ # resource with the specified name.
244
+ # Corresponds to the JSON property `displayName`
245
+ # @return [String]
246
+ attr_accessor :display_name
247
+
248
+ # Resource identifier. For a project this represents project_id. If the project
249
+ # is already taken, the workload creation will fail.
250
+ # Corresponds to the JSON property `resourceId`
251
+ # @return [String]
252
+ attr_accessor :resource_id
253
+
254
+ # Indicates the type of resource. This field should be specified to correspond
255
+ # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
256
+ # Corresponds to the JSON property `resourceType`
257
+ # @return [String]
258
+ attr_accessor :resource_type
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @display_name = args[:display_name] if args.key?(:display_name)
267
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
268
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
269
+ end
270
+ end
271
+
230
272
  # Operation metadata to give request details of CreateWorkload.
231
273
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
232
274
  include Google::Apis::Core::Hashable
@@ -252,6 +294,12 @@ module Google
252
294
  # @return [String]
253
295
  attr_accessor :parent
254
296
 
297
+ # Optional. Resource properties in the input that are used for creating/
298
+ # customizing workload resources.
299
+ # Corresponds to the JSON property `resourceSettings`
300
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
301
+ attr_accessor :resource_settings
302
+
255
303
  def initialize(**args)
256
304
  update!(**args)
257
305
  end
@@ -262,6 +310,7 @@ module Google
262
310
  @create_time = args[:create_time] if args.key?(:create_time)
263
311
  @display_name = args[:display_name] if args.key?(:display_name)
264
312
  @parent = args[:parent] if args.key?(:parent)
313
+ @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
265
314
  end
266
315
  end
267
316
 
@@ -269,10 +318,10 @@ module Google
269
318
  class GoogleCloudAssuredworkloadsV1beta1Workload
270
319
  include Google::Apis::Core::Hashable
271
320
 
272
- # Required. Input only. The billing account used for the resources which are
273
- # direct children of workload. This billing account is initially associated with
274
- # the resources created as part of Workload creation. After the initial creation
275
- # of these resources, the customer can change the assigned billing account. The
321
+ # Input only. The billing account used for the resources which are direct
322
+ # children of workload. This billing account is initially associated with the
323
+ # resources created as part of Workload creation. After the initial creation of
324
+ # these resources, the customer can change the assigned billing account. The
276
325
  # resource name has the form `billingAccounts/`billing_account_id``. For example,
277
326
  # `billingAccounts/012345-567890-ABCDEF`.
278
327
  # Corresponds to the JSON property `billingAccount`
@@ -519,6 +568,12 @@ module Google
519
568
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
520
569
  include Google::Apis::Core::Hashable
521
570
 
571
+ # User-assigned resource display name. If not empty it will be used to create a
572
+ # resource with the specified name.
573
+ # Corresponds to the JSON property `displayName`
574
+ # @return [String]
575
+ attr_accessor :display_name
576
+
522
577
  # Resource identifier. For a project this represents project_id. If the project
523
578
  # is already taken, the workload creation will fail.
524
579
  # Corresponds to the JSON property `resourceId`
@@ -537,6 +592,7 @@ module Google
537
592
 
538
593
  # Update properties of this object
539
594
  def update!(**args)
595
+ @display_name = args[:display_name] if args.key?(:display_name)
540
596
  @resource_id = args[:resource_id] if args.key?(:resource_id)
541
597
  @resource_type = args[:resource_type] if args.key?(:resource_type)
542
598
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1
18
18
  # Version of the google-apis-assuredworkloads_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210312"
25
+ REVISION = "20210625"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -162,6 +168,8 @@ module Google
162
168
  hash :labels, as: 'labels'
163
169
  property :name, as: 'name'
164
170
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
171
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceSettings::Representation
172
+
165
173
  collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::Representation
166
174
 
167
175
  end
@@ -183,6 +191,15 @@ module Google
183
191
  end
184
192
  end
185
193
 
194
+ class GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
195
+ # @private
196
+ class Representation < Google::Apis::Core::JsonRepresentation
197
+ property :display_name, as: 'displayName'
198
+ property :resource_id, as: 'resourceId'
199
+ property :resource_type, as: 'resourceType'
200
+ end
201
+ end
202
+
186
203
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
187
204
  # @private
188
205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -190,6 +207,8 @@ module Google
190
207
  property :create_time, as: 'createTime'
191
208
  property :display_name, as: 'displayName'
192
209
  property :parent, as: 'parent'
210
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
211
+
193
212
  end
194
213
  end
195
214
 
@@ -272,6 +291,7 @@ module Google
272
291
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
273
292
  # @private
274
293
  class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :display_name, as: 'displayName'
275
295
  property :resource_id, as: 'resourceId'
276
296
  property :resource_type, as: 'resourceType'
277
297
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.8.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: 2021-03-22 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Assured Workloads API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-assuredworkloads_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.8.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-assuredworkloads_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Assured Workloads API V1