google-apis-assuredworkloads_v1 0.2.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb82ca7b0a398ed879267a8eb9e521dd7d70790a848147237c57c267500926eb
|
4
|
+
data.tar.gz: 4cb706a4d0262841e4ed23dbf78f72a15792f2bbd2e22c819479e4090b52bc93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87565166d808871b1a9a0989a0c0088c91142da146af7ecb8a6ffaf194d3b214df876ddbeea872991d9f1f18a03634831fd250e8eb41f96dfc3772300ac6856d
|
7
|
+
data.tar.gz: 7ee8d5b803fe167405cb59bbef9d45f440435adfd0d0a0bdbf299224d1546a75bd13521943467a7abb31a0c3f46e50a93c959d6556cee87e0b908e7b97c1ce33
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-assuredworkloads_v1
|
2
2
|
|
3
|
+
### v0.3.0 (2021-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210312
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
3
8
|
### v0.2.0 (2021-03-04)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210113
|
@@ -347,6 +347,13 @@ module Google
|
|
347
347
|
# @return [String]
|
348
348
|
attr_accessor :provisioned_resources_parent
|
349
349
|
|
350
|
+
# Input only. Resource properties that are used to customize workload resources.
|
351
|
+
# These properties (such as custom project id) will be used to create workload
|
352
|
+
# resources if possible. This field is optional.
|
353
|
+
# Corresponds to the JSON property `resourceSettings`
|
354
|
+
# @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
|
355
|
+
attr_accessor :resource_settings
|
356
|
+
|
350
357
|
# Output only. The resources associated with this workload. These resources will
|
351
358
|
# be created when creating the workload. If any of the projects already exist,
|
352
359
|
# the workload creation will fail. Always read only.
|
@@ -373,6 +380,7 @@ module Google
|
|
373
380
|
@labels = args[:labels] if args.key?(:labels)
|
374
381
|
@name = args[:name] if args.key?(:name)
|
375
382
|
@provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
|
383
|
+
@resource_settings = args[:resource_settings] if args.key?(:resource_settings)
|
376
384
|
@resources = args[:resources] if args.key?(:resources)
|
377
385
|
end
|
378
386
|
end
|
@@ -507,6 +515,33 @@ module Google
|
|
507
515
|
end
|
508
516
|
end
|
509
517
|
|
518
|
+
# Represent the custom settings for the resources to be created.
|
519
|
+
class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
|
520
|
+
include Google::Apis::Core::Hashable
|
521
|
+
|
522
|
+
# Resource identifier. For a project this represents project_id. If the project
|
523
|
+
# is already taken, the workload creation will fail.
|
524
|
+
# Corresponds to the JSON property `resourceId`
|
525
|
+
# @return [String]
|
526
|
+
attr_accessor :resource_id
|
527
|
+
|
528
|
+
# Indicates the type of resource. This field should be specified to correspond
|
529
|
+
# the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
|
530
|
+
# Corresponds to the JSON property `resourceType`
|
531
|
+
# @return [String]
|
532
|
+
attr_accessor :resource_type
|
533
|
+
|
534
|
+
def initialize(**args)
|
535
|
+
update!(**args)
|
536
|
+
end
|
537
|
+
|
538
|
+
# Update properties of this object
|
539
|
+
def update!(**args)
|
540
|
+
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
541
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
542
|
+
end
|
543
|
+
end
|
544
|
+
|
510
545
|
# The response message for Operations.ListOperations.
|
511
546
|
class GoogleLongrunningListOperationsResponse
|
512
547
|
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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class GoogleLongrunningListOperationsResponse
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -208,6 +214,8 @@ module Google
|
|
208
214
|
hash :labels, as: 'labels'
|
209
215
|
property :name, as: 'name'
|
210
216
|
property :provisioned_resources_parent, as: 'provisionedResourcesParent'
|
217
|
+
collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
|
218
|
+
|
211
219
|
collection :resources, as: 'resources', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo::Representation
|
212
220
|
|
213
221
|
end
|
@@ -261,6 +269,14 @@ module Google
|
|
261
269
|
end
|
262
270
|
end
|
263
271
|
|
272
|
+
class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings
|
273
|
+
# @private
|
274
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
275
|
+
property :resource_id, as: 'resourceId'
|
276
|
+
property :resource_type, as: 'resourceType'
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
264
280
|
class GoogleLongrunningListOperationsResponse
|
265
281
|
# @private
|
266
282
|
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.
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2021-03-22 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.3.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: []
|