google-apis-assuredworkloads_v1 0.2.0 → 0.7.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: a3fae77c84b5124aa90b9a752654523b3cd2108535996953e3f10a428f268040
4
- data.tar.gz: 04d76ccfaa6db4c232f0f56ca493f9c87bb2e76c941f185bbdf1f885665756b6
3
+ metadata.gz: bdc722bb71a82353e5db80a44e727ad305d12611319faa15399dbb411af2377f
4
+ data.tar.gz: 8206d0a54c4648e27dbc4fe584051f1ab9f9ce455642f9b952a34de89caae994
5
5
  SHA512:
6
- metadata.gz: b07bf32edc2adedb657e15ab1748d13433b9342050b02abe027451d4ed3ffcfa297d264c146054598b815b59f9bd6eb33893c568c06015a694cf0ada5ad5b836
7
- data.tar.gz: 07c0dfa30725bdd0a00d778ddc3d8e559e6cd02ad579ef22094da0d034bb63fdb43dfa09b710b75cbbe7d22eb26d81d5e7529de3acfe292871bb290361f57143
6
+ metadata.gz: b170e75c73518ae189251fedae0c3e31840fb4ea91455c2f2e90f91f2a6cdfb19571d9a965f7e7316b05b9cb86a0ae383ac3dfad63e974c9d32721618ff1c66d
7
+ data.tar.gz: dae676ef8cf261eca39b975deb7992a10b34b46c23748285ff4131af5c23db2944bde436c524622e11bcd7de296d70385b3f1a844aa255644f6ddaddc44649d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.7.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.6.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.5.0 (2021-05-11)
12
+
13
+ * Regenerated from discovery document revision 20210506
14
+
15
+ ### v0.4.0 (2021-03-31)
16
+
17
+ * Regenerated from discovery document revision 20210325
18
+
19
+ ### v0.3.0 (2021-03-16)
20
+
21
+ * Regenerated from discovery document revision 20210312
22
+ * Regenerated using generator version 0.2.0
23
+
3
24
  ### v0.2.0 (2021-03-04)
4
25
 
5
26
  * Regenerated from discovery document revision 20210113
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210113"
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,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.2.0
4
+ version: 0.7.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-08 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.3'
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.3'
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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.7.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