google-apis-assuredworkloads_v1 0.1.0 → 0.6.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: c9f237e17979f7e4be2ba18500ecbc3a2ffa3d650b556490eb62bf852ecefd3a
4
- data.tar.gz: e94e8edd09b300d740843937865ce5a174815fd02e034e209fcc393319c94654
3
+ metadata.gz: 3a6d42c707f48f34f4a7b0af77cefe2675f6de5f0a2a9cbcfa2fff022f5033e8
4
+ data.tar.gz: 1eea9fad9267b8523200243692237e5a03f6993a8cab20be2f167c4c33779ca9
5
5
  SHA512:
6
- metadata.gz: c4c81e4759f572123826692104966dffc8cfd416f15a356f9da8e572fddcc6be2923ea4067f3282d22a3b65b05b940f8057b367f09780517d41ffbdde61e2cad
7
- data.tar.gz: 4d5a8fb355b545df1c7e0535ea25ef83ac4e0ac522365d31aef83e3c73c21abc7f513940914a99a9ea3601ce8d6d24e95242d7d6fc47d15c353f61bf1ad282c6
6
+ metadata.gz: 7121227b450f7325a9fa28ca7abb29427fc449432a21abe9ee9757eca53b781a84ed3a3f164ed1925583e670d62ab832260021c5926a0a2178f168e93e88ff6c
7
+ data.tar.gz: 98f9bba61fdb8af8ca802ed165f751568abc004e9bc9527d8ca1f1b23e74139d04999ec9ead7fc48c9876fc019fbf3d4af08876c91ae74838df0bec36533797e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-05-11)
8
+
9
+ * Regenerated from discovery document revision 20210506
10
+
11
+ ### v0.4.0 (2021-03-31)
12
+
13
+ * Regenerated from discovery document revision 20210325
14
+
15
+ ### v0.3.0 (2021-03-16)
16
+
17
+ * Regenerated from discovery document revision 20210312
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-04)
21
+
22
+ * Regenerated from discovery document revision 20210113
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -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
 
@@ -347,6 +396,13 @@ module Google
347
396
  # @return [String]
348
397
  attr_accessor :provisioned_resources_parent
349
398
 
399
+ # Input only. Resource properties that are used to customize workload resources.
400
+ # These properties (such as custom project id) will be used to create workload
401
+ # resources if possible. This field is optional.
402
+ # Corresponds to the JSON property `resourceSettings`
403
+ # @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
404
+ attr_accessor :resource_settings
405
+
350
406
  # Output only. The resources associated with this workload. These resources will
351
407
  # be created when creating the workload. If any of the projects already exist,
352
408
  # the workload creation will fail. Always read only.
@@ -373,6 +429,7 @@ module Google
373
429
  @labels = args[:labels] if args.key?(:labels)
374
430
  @name = args[:name] if args.key?(:name)
375
431
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
432
+ @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
376
433
  @resources = args[:resources] if args.key?(:resources)
377
434
  end
378
435
  end
@@ -507,6 +564,40 @@ module Google
507
564
  end
508
565
  end
509
566
 
567
+ # Represent the custom settings for the resources to be created.
568
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
569
+ include Google::Apis::Core::Hashable
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
+
577
+ # Resource identifier. For a project this represents project_id. If the project
578
+ # is already taken, the workload creation will fail.
579
+ # Corresponds to the JSON property `resourceId`
580
+ # @return [String]
581
+ attr_accessor :resource_id
582
+
583
+ # Indicates the type of resource. This field should be specified to correspond
584
+ # the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
585
+ # Corresponds to the JSON property `resourceType`
586
+ # @return [String]
587
+ attr_accessor :resource_type
588
+
589
+ def initialize(**args)
590
+ update!(**args)
591
+ end
592
+
593
+ # Update properties of this object
594
+ def update!(**args)
595
+ @display_name = args[:display_name] if args.key?(:display_name)
596
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
597
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
598
+ end
599
+ end
600
+
510
601
  # The response message for Operations.ListOperations.
511
602
  class GoogleLongrunningListOperationsResponse
512
603
  include Google::Apis::Core::Hashable
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201112"
25
+ REVISION = "20210506"
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
 
@@ -100,6 +106,12 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class GoogleLongrunningListOperationsResponse
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -156,6 +168,8 @@ module Google
156
168
  hash :labels, as: 'labels'
157
169
  property :name, as: 'name'
158
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
+
159
173
  collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo::Representation
160
174
 
161
175
  end
@@ -177,6 +191,15 @@ module Google
177
191
  end
178
192
  end
179
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
+
180
203
  class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
181
204
  # @private
182
205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -184,6 +207,8 @@ module Google
184
207
  property :create_time, as: 'createTime'
185
208
  property :display_name, as: 'displayName'
186
209
  property :parent, as: 'parent'
210
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
211
+
187
212
  end
188
213
  end
189
214
 
@@ -208,6 +233,8 @@ module Google
208
233
  hash :labels, as: 'labels'
209
234
  property :name, as: 'name'
210
235
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
236
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
237
+
211
238
  collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo::Representation
212
239
 
213
240
  end
@@ -261,6 +288,15 @@ module Google
261
288
  end
262
289
  end
263
290
 
291
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :display_name, as: 'displayName'
295
+ property :resource_id, as: 'resourceId'
296
+ property :resource_type, as: 'resourceType'
297
+ end
298
+ end
299
+
264
300
  class GoogleLongrunningListOperationsResponse
265
301
  # @private
266
302
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-assuredworkloads_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Assured Workloads API V1