google-apis-compute_alpha 0.44.0 → 0.45.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: 156f52f5930287e0eaff0364223177ae710366dea03e04e6da58dbc965020195
4
- data.tar.gz: 7c3131f79b531c3e963f239564315f24a9af5cd6392c65115bb067e2c328d086
3
+ metadata.gz: 478d2aa46654fbcd2722a71372dd4dfe05cd8406be4b6d59df4fb6daed319a00
4
+ data.tar.gz: 6b7ca553a1ff825d858a1df3b6d3782ebc060d5aab750c4d6e7ebc3f4e457584
5
5
  SHA512:
6
- metadata.gz: bdd1301ddef91ce5ab5315f7d438219b79fa9aa913944bcda12f7d640dce119cc8263c94967ec97277096e2bcc5396436ad6d4d076eb4331bb13015f64d5f321
7
- data.tar.gz: 746c7667377f8c5e6b9e9f6cbf0f05eaf0944353d105430b137e19754a92411426a849d5e669b0f48c32ae3a0d50443a255e7281847132c64d2721f05d07b077
6
+ metadata.gz: 2fbdae738b194f0b85379ebe02358dfd5868340f75b8d4c3ae6d670d6fa51bbc947ca1d0314d08c9b1f984fa09b4ccdd9a4a5d0238ba43571a836b3419f57c78
7
+ data.tar.gz: 654fd44720b65a41b87fd7920cc68aff36fab14caebe3a21c5b9638917e250f98da91527faf92680e2bec1aa1a8b7e066c2eb2f465ebbf962782d3b9c9d03386
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.45.0 (2022-08-07)
4
+
5
+ * Regenerated from discovery document revision 20220726
6
+
3
7
  ### v0.44.0 (2022-07-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20220720
@@ -1176,6 +1176,44 @@ module Google
1176
1176
  end
1177
1177
  end
1178
1178
 
1179
+ # [Output Only] Contains output only fields.
1180
+ class AllocationResourceStatus
1181
+ include Google::Apis::Core::Hashable
1182
+
1183
+ # Contains Properties set for the reservation.
1184
+ # Corresponds to the JSON property `specificSkuAllocation`
1185
+ # @return [Google::Apis::ComputeAlpha::AllocationResourceStatusSpecificSkuAllocation]
1186
+ attr_accessor :specific_sku_allocation
1187
+
1188
+ def initialize(**args)
1189
+ update!(**args)
1190
+ end
1191
+
1192
+ # Update properties of this object
1193
+ def update!(**args)
1194
+ @specific_sku_allocation = args[:specific_sku_allocation] if args.key?(:specific_sku_allocation)
1195
+ end
1196
+ end
1197
+
1198
+ # Contains Properties set for the reservation.
1199
+ class AllocationResourceStatusSpecificSkuAllocation
1200
+ include Google::Apis::Core::Hashable
1201
+
1202
+ # ID of the instance template used to populate reservation properties.
1203
+ # Corresponds to the JSON property `sourceInstanceTemplateId`
1204
+ # @return [String]
1205
+ attr_accessor :source_instance_template_id
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
1214
+ end
1215
+ end
1216
+
1179
1217
  #
1180
1218
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
1181
1219
  include Google::Apis::Core::Hashable
@@ -1289,6 +1327,11 @@ module Google
1289
1327
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
1290
1328
  attr_accessor :instance_properties
1291
1329
 
1330
+ # Specific URL of the instance template used in the reservation
1331
+ # Corresponds to the JSON property `sourceInstanceTemplate`
1332
+ # @return [String]
1333
+ attr_accessor :source_instance_template
1334
+
1292
1335
  def initialize(**args)
1293
1336
  update!(**args)
1294
1337
  end
@@ -1299,6 +1342,7 @@ module Google
1299
1342
  @count = args[:count] if args.key?(:count)
1300
1343
  @in_use_count = args[:in_use_count] if args.key?(:in_use_count)
1301
1344
  @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1345
+ @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
1302
1346
  end
1303
1347
  end
1304
1348
 
@@ -9329,7 +9373,7 @@ module Google
9329
9373
  # A fully-qualified URL of a SecurityProfile resource instance. Example: https://
9330
9374
  # networksecurity.googleapis.com/v1/projects/`project`/locations/`location`/
9331
9375
  # securityProfileGroups/my-security-profile-group Must be specified if action = '
9332
- # apply_profile_group' and cannot be specified for other actions.
9376
+ # apply_security_profile_group' and cannot be specified for other actions.
9333
9377
  # Corresponds to the JSON property `securityProfileGroup`
9334
9378
  # @return [String]
9335
9379
  attr_accessor :security_profile_group
@@ -10367,6 +10411,11 @@ module Google
10367
10411
  # @return [String]
10368
10412
  attr_accessor :name_prefix
10369
10413
 
10414
+ # Planning state before being submitted for evaluation
10415
+ # Corresponds to the JSON property `planningStatus`
10416
+ # @return [String]
10417
+ attr_accessor :planning_status
10418
+
10370
10419
  # [Output Only] Server-defined fully-qualified URL for this resource.
10371
10420
  # Corresponds to the JSON property `selfLink`
10372
10421
  # @return [String]
@@ -10415,6 +10464,7 @@ module Google
10415
10464
  @kind = args[:kind] if args.key?(:kind)
10416
10465
  @name = args[:name] if args.key?(:name)
10417
10466
  @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
10467
+ @planning_status = args[:planning_status] if args.key?(:planning_status)
10418
10468
  @self_link = args[:self_link] if args.key?(:self_link)
10419
10469
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
10420
10470
  @share_settings = args[:share_settings] if args.key?(:share_settings)
@@ -10434,6 +10484,12 @@ module Google
10434
10484
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
10435
10485
  attr_accessor :instance_properties
10436
10486
 
10487
+ # The instance template that will be used to populate the
10488
+ # ReservedInstanceProperties of the future reservation
10489
+ # Corresponds to the JSON property `sourceInstanceTemplate`
10490
+ # @return [String]
10491
+ attr_accessor :source_instance_template
10492
+
10437
10493
  # Total number of instances for which capacity assurance is requested at a
10438
10494
  # future time period.
10439
10495
  # Corresponds to the JSON property `totalCount`
@@ -10447,6 +10503,7 @@ module Google
10447
10503
  # Update properties of this object
10448
10504
  def update!(**args)
10449
10505
  @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
10506
+ @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template)
10450
10507
  @total_count = args[:total_count] if args.key?(:total_count)
10451
10508
  end
10452
10509
  end
@@ -10480,6 +10537,11 @@ module Google
10480
10537
  # @return [String]
10481
10538
  attr_accessor :procurement_status
10482
10539
 
10540
+ # Properties to be set for the Future Reservation.
10541
+ # Corresponds to the JSON property `specificSkuProperties`
10542
+ # @return [Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties]
10543
+ attr_accessor :specific_sku_properties
10544
+
10483
10545
  def initialize(**args)
10484
10546
  update!(**args)
10485
10547
  end
@@ -10490,6 +10552,26 @@ module Google
10490
10552
  @fulfilled_count = args[:fulfilled_count] if args.key?(:fulfilled_count)
10491
10553
  @lock_time = args[:lock_time] if args.key?(:lock_time)
10492
10554
  @procurement_status = args[:procurement_status] if args.key?(:procurement_status)
10555
+ @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
10556
+ end
10557
+ end
10558
+
10559
+ # Properties to be set for the Future Reservation.
10560
+ class FutureReservationStatusSpecificSkuProperties
10561
+ include Google::Apis::Core::Hashable
10562
+
10563
+ # ID of the instance template used to populate the Future Reservation properties.
10564
+ # Corresponds to the JSON property `sourceInstanceTemplateId`
10565
+ # @return [String]
10566
+ attr_accessor :source_instance_template_id
10567
+
10568
+ def initialize(**args)
10569
+ update!(**args)
10570
+ end
10571
+
10572
+ # Update properties of this object
10573
+ def update!(**args)
10574
+ @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id)
10493
10575
  end
10494
10576
  end
10495
10577
 
@@ -34463,6 +34545,11 @@ module Google
34463
34545
  # @return [Hash<String,String>]
34464
34546
  attr_accessor :resource_policies
34465
34547
 
34548
+ # [Output Only] Contains output only fields.
34549
+ # Corresponds to the JSON property `resourceStatus`
34550
+ # @return [Google::Apis::ComputeAlpha::AllocationResourceStatus]
34551
+ attr_accessor :resource_status
34552
+
34466
34553
  # [Output Only] Reserved for future use.
34467
34554
  # Corresponds to the JSON property `satisfiesPzs`
34468
34555
  # @return [Boolean]
@@ -34522,6 +34609,7 @@ module Google
34522
34609
  @kind = args[:kind] if args.key?(:kind)
34523
34610
  @name = args[:name] if args.key?(:name)
34524
34611
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
34612
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
34525
34613
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
34526
34614
  @self_link = args[:self_link] if args.key?(:self_link)
34527
34615
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
@@ -39120,6 +39208,12 @@ module Google
39120
39208
  class SecurityPolicyAdvancedOptionsConfig
39121
39209
  include Google::Apis::Core::Hashable
39122
39210
 
39211
+ # Custom configuration to apply the JSON parsing. Only applicable when
39212
+ # json_parsing is set to STANDARD.
39213
+ # Corresponds to the JSON property `jsonCustomConfig`
39214
+ # @return [Google::Apis::ComputeAlpha::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig]
39215
+ attr_accessor :json_custom_config
39216
+
39123
39217
  #
39124
39218
  # Corresponds to the JSON property `jsonParsing`
39125
39219
  # @return [String]
@@ -39136,11 +39230,35 @@ module Google
39136
39230
 
39137
39231
  # Update properties of this object
39138
39232
  def update!(**args)
39233
+ @json_custom_config = args[:json_custom_config] if args.key?(:json_custom_config)
39139
39234
  @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
39140
39235
  @log_level = args[:log_level] if args.key?(:log_level)
39141
39236
  end
39142
39237
  end
39143
39238
 
39239
+ #
39240
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
39241
+ include Google::Apis::Core::Hashable
39242
+
39243
+ # A list of custom Content-Type header values to apply the JSON parsing. As per
39244
+ # RFC 1341, a Content-Type header value has the following format: Content-Type :=
39245
+ # type "/" subtype *[";" parameter] When configuring a custom Content-Type
39246
+ # header value, only the type/subtype needs to be specified, and the parameters
39247
+ # should be excluded.
39248
+ # Corresponds to the JSON property `contentTypes`
39249
+ # @return [Array<String>]
39250
+ attr_accessor :content_types
39251
+
39252
+ def initialize(**args)
39253
+ update!(**args)
39254
+ end
39255
+
39256
+ # Update properties of this object
39257
+ def update!(**args)
39258
+ @content_types = args[:content_types] if args.key?(:content_types)
39259
+ end
39260
+ end
39261
+
39144
39262
  #
39145
39263
  class SecurityPolicyAssociation
39146
39264
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.44.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220720"
25
+ REVISION = "20220726"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,18 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class AllocationResourceStatus
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class AllocationResourceStatusSpecificSkuAllocation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -1216,6 +1228,12 @@ module Google
1216
1228
  include Google::Apis::Core::JsonObjectSupport
1217
1229
  end
1218
1230
 
1231
+ class FutureReservationStatusSpecificSkuProperties
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1219
1237
  class FutureReservationTimeWindow
1220
1238
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1239
 
@@ -5098,6 +5116,12 @@ module Google
5098
5116
  include Google::Apis::Core::JsonObjectSupport
5099
5117
  end
5100
5118
 
5119
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
5120
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5121
+
5122
+ include Google::Apis::Core::JsonObjectSupport
5123
+ end
5124
+
5101
5125
  class SecurityPolicyAssociation
5102
5126
  class Representation < Google::Apis::Core::JsonRepresentation; end
5103
5127
 
@@ -6920,6 +6944,21 @@ module Google
6920
6944
  end
6921
6945
  end
6922
6946
 
6947
+ class AllocationResourceStatus
6948
+ # @private
6949
+ class Representation < Google::Apis::Core::JsonRepresentation
6950
+ property :specific_sku_allocation, as: 'specificSkuAllocation', class: Google::Apis::ComputeAlpha::AllocationResourceStatusSpecificSkuAllocation, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatusSpecificSkuAllocation::Representation
6951
+
6952
+ end
6953
+ end
6954
+
6955
+ class AllocationResourceStatusSpecificSkuAllocation
6956
+ # @private
6957
+ class Representation < Google::Apis::Core::JsonRepresentation
6958
+ property :source_instance_template_id, as: 'sourceInstanceTemplateId'
6959
+ end
6960
+ end
6961
+
6923
6962
  class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
6924
6963
  # @private
6925
6964
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6951,6 +6990,7 @@ module Google
6951
6990
  property :in_use_count, :numeric_string => true, as: 'inUseCount'
6952
6991
  property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
6953
6992
 
6993
+ property :source_instance_template, as: 'sourceInstanceTemplate'
6954
6994
  end
6955
6995
  end
6956
6996
 
@@ -8968,6 +9008,7 @@ module Google
8968
9008
  property :kind, as: 'kind'
8969
9009
  property :name, as: 'name'
8970
9010
  property :name_prefix, as: 'namePrefix'
9011
+ property :planning_status, as: 'planningStatus'
8971
9012
  property :self_link, as: 'selfLink'
8972
9013
  property :self_link_with_id, as: 'selfLinkWithId'
8973
9014
  property :share_settings, as: 'shareSettings', class: Google::Apis::ComputeAlpha::ShareSettings, decorator: Google::Apis::ComputeAlpha::ShareSettings::Representation
@@ -8987,6 +9028,7 @@ module Google
8987
9028
  class Representation < Google::Apis::Core::JsonRepresentation
8988
9029
  property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
8989
9030
 
9031
+ property :source_instance_template, as: 'sourceInstanceTemplate'
8990
9032
  property :total_count, :numeric_string => true, as: 'totalCount'
8991
9033
  end
8992
9034
  end
@@ -8998,6 +9040,15 @@ module Google
8998
9040
  property :fulfilled_count, :numeric_string => true, as: 'fulfilledCount'
8999
9041
  property :lock_time, as: 'lockTime'
9000
9042
  property :procurement_status, as: 'procurementStatus'
9043
+ property :specific_sku_properties, as: 'specificSkuProperties', class: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties, decorator: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties::Representation
9044
+
9045
+ end
9046
+ end
9047
+
9048
+ class FutureReservationStatusSpecificSkuProperties
9049
+ # @private
9050
+ class Representation < Google::Apis::Core::JsonRepresentation
9051
+ property :source_instance_template_id, as: 'sourceInstanceTemplateId'
9001
9052
  end
9002
9053
  end
9003
9054
 
@@ -15084,6 +15135,8 @@ module Google
15084
15135
  property :kind, as: 'kind'
15085
15136
  property :name, as: 'name'
15086
15137
  hash :resource_policies, as: 'resourcePolicies'
15138
+ property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::AllocationResourceStatus, decorator: Google::Apis::ComputeAlpha::AllocationResourceStatus::Representation
15139
+
15087
15140
  property :satisfies_pzs, as: 'satisfiesPzs'
15088
15141
  property :self_link, as: 'selfLink'
15089
15142
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -16240,11 +16293,20 @@ module Google
16240
16293
  class SecurityPolicyAdvancedOptionsConfig
16241
16294
  # @private
16242
16295
  class Representation < Google::Apis::Core::JsonRepresentation
16296
+ property :json_custom_config, as: 'jsonCustomConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdvancedOptionsConfigJsonCustomConfig::Representation
16297
+
16243
16298
  property :json_parsing, as: 'jsonParsing'
16244
16299
  property :log_level, as: 'logLevel'
16245
16300
  end
16246
16301
  end
16247
16302
 
16303
+ class SecurityPolicyAdvancedOptionsConfigJsonCustomConfig
16304
+ # @private
16305
+ class Representation < Google::Apis::Core::JsonRepresentation
16306
+ collection :content_types, as: 'contentTypes'
16307
+ end
16308
+ end
16309
+
16248
16310
  class SecurityPolicyAssociation
16249
16311
  # @private
16250
16312
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.45.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: 2022-08-01 00:00:00.000000000 Z
11
+ date: 2022-08-08 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-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.45.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []