google-apis-compute_alpha 0.55.0 → 0.56.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: ee137e8d2b6f0318092bcea338879c98701b77d91efc8798073dfdee7de8ce63
4
- data.tar.gz: 668117ce96c4472a4293f38da3920fa0e901117cdd52e20fbfa7ecf87eaef38e
3
+ metadata.gz: 78e53b717fe47447b0a1013ef1cfe4a41b3260fb836ff5d40b0055df0ed7bdaf
4
+ data.tar.gz: 01fa905b9cfb9a76e8dec478706874c206f01e9449431a945dad926c09a132a1
5
5
  SHA512:
6
- metadata.gz: 3ab5b282bc82a10af243ce208639c6fb4f78a299ae4cbbba6a2be5f38699a44052c904eae4d69cd96c800a8126c6620547af9576213293e85d9509ba226fc9c7
7
- data.tar.gz: ee6e73957027131db28f3ce41968ccaafa52ae1544001046614497a829f0775b728f2e41e3c068466527f3c80ce23f43a5098cf70b6feac34848e2530f0c71ac
6
+ metadata.gz: 68bfd43799f144155b283f1a6e87a364bcc5a6d6a6d19244e8e6eeb889c19f6756ce2375bf4b98039d6d03307a5ec8fedaa2f218c8fe396537589cc3d8f8e9f8
7
+ data.tar.gz: 2818b9ee2e4a85e2c9390a550e2f574138abc4dd706725525138be6b4e8577b70b45b73485b789a3fadbed51e2adc345d2057580698a572ca1add99793ef7842
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.56.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20221224
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.55.0 (2022-12-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20221206
@@ -1235,6 +1235,85 @@ module Google
1235
1235
  end
1236
1236
  end
1237
1237
 
1238
+ # This reservation type is specified by total resource amounts (e.g. total count
1239
+ # of CPUs) and can account for multiple instance SKUs. In other words, one can
1240
+ # create instances of varying shapes against this reservation.
1241
+ class AllocationAggregateReservation
1242
+ include Google::Apis::Core::Hashable
1243
+
1244
+ # [Output only] List of resources currently in use.
1245
+ # Corresponds to the JSON property `inUseResources`
1246
+ # @return [Array<Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo>]
1247
+ attr_accessor :in_use_resources
1248
+
1249
+ # List of reserved resources (CPUs, memory, accelerators).
1250
+ # Corresponds to the JSON property `reservedResources`
1251
+ # @return [Array<Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo>]
1252
+ attr_accessor :reserved_resources
1253
+
1254
+ # The VM family that all instances scheduled against this reservation must
1255
+ # belong to.
1256
+ # Corresponds to the JSON property `vmFamily`
1257
+ # @return [String]
1258
+ attr_accessor :vm_family
1259
+
1260
+ def initialize(**args)
1261
+ update!(**args)
1262
+ end
1263
+
1264
+ # Update properties of this object
1265
+ def update!(**args)
1266
+ @in_use_resources = args[:in_use_resources] if args.key?(:in_use_resources)
1267
+ @reserved_resources = args[:reserved_resources] if args.key?(:reserved_resources)
1268
+ @vm_family = args[:vm_family] if args.key?(:vm_family)
1269
+ end
1270
+ end
1271
+
1272
+ #
1273
+ class AllocationAggregateReservationReservedResourceInfo
1274
+ include Google::Apis::Core::Hashable
1275
+
1276
+ # Properties of accelerator resources in this reservation.
1277
+ # Corresponds to the JSON property `accelerator`
1278
+ # @return [Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfoAccelerator]
1279
+ attr_accessor :accelerator
1280
+
1281
+ def initialize(**args)
1282
+ update!(**args)
1283
+ end
1284
+
1285
+ # Update properties of this object
1286
+ def update!(**args)
1287
+ @accelerator = args[:accelerator] if args.key?(:accelerator)
1288
+ end
1289
+ end
1290
+
1291
+ #
1292
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
1293
+ include Google::Apis::Core::Hashable
1294
+
1295
+ # Number of accelerators of specified type.
1296
+ # Corresponds to the JSON property `acceleratorCount`
1297
+ # @return [Fixnum]
1298
+ attr_accessor :accelerator_count
1299
+
1300
+ # Full or partial URL to accelerator type. e.g. "projects/`PROJECT`/zones/`ZONE`/
1301
+ # acceleratorTypes/ct4l"
1302
+ # Corresponds to the JSON property `acceleratorType`
1303
+ # @return [String]
1304
+ attr_accessor :accelerator_type
1305
+
1306
+ def initialize(**args)
1307
+ update!(**args)
1308
+ end
1309
+
1310
+ # Update properties of this object
1311
+ def update!(**args)
1312
+ @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
1313
+ @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
1314
+ end
1315
+ end
1316
+
1238
1317
  # [Output Only] Contains output only fields.
1239
1318
  class AllocationResourceStatus
1240
1319
  include Google::Apis::Core::Hashable
@@ -1386,7 +1465,12 @@ module Google
1386
1465
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties]
1387
1466
  attr_accessor :instance_properties
1388
1467
 
1389
- # Specific URL of the instance template used in the reservation
1468
+ # Specifies the instance template to create the reservation. If you use this
1469
+ # field, you must exclude the instanceProperties field. This field is optional,
1470
+ # and it can be a full or partial URL. For example, the following are all valid
1471
+ # URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/
1472
+ # project /global/instanceTemplates/instanceTemplate - projects/project/global/
1473
+ # instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
1390
1474
  # Corresponds to the JSON property `sourceInstanceTemplate`
1391
1475
  # @return [String]
1392
1476
  attr_accessor :source_instance_template
@@ -9466,9 +9550,8 @@ module Google
9466
9550
  class FirewallPolicyRule
9467
9551
  include Google::Apis::Core::Hashable
9468
9552
 
9469
- # The Action to perform when the client connection triggers the rule. Can
9470
- # currently be either "allow" or "deny()" where valid values for status are 403,
9471
- # 404, and 502.
9553
+ # The Action to perform when the client connection triggers the rule. Valid
9554
+ # actions are "allow", "deny" and "goto_next".
9472
9555
  # Corresponds to the JSON property `action`
9473
9556
  # @return [String]
9474
9557
  attr_accessor :action
@@ -11977,6 +12060,20 @@ module Google
11977
12060
  # @return [String]
11978
12061
  attr_accessor :self_link_with_id
11979
12062
 
12063
+ # The list of cloud regions from which health checks are performed. If any
12064
+ # regions are specified, then exactly 3 regions should be specified. The region
12065
+ # names must be valid names of GCP regions. This can only be set for global
12066
+ # health check. If this list is non-empty, then there are restrictions on what
12067
+ # other health check fields are supported and what other resources can use this
12068
+ # health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP
12069
+ # request field is not supported. - The proxyHeader field for HTTP, HTTPS, and
12070
+ # TCP is not supported. - The checkIntervalSec field must be at least 30. - The
12071
+ # health check cannot be used with BackendService nor with managed instance
12072
+ # group auto-healing.
12073
+ # Corresponds to the JSON property `sourceRegions`
12074
+ # @return [Array<String>]
12075
+ attr_accessor :source_regions
12076
+
11980
12077
  #
11981
12078
  # Corresponds to the JSON property `sslHealthCheck`
11982
12079
  # @return [Google::Apis::ComputeAlpha::SslHealthCheck]
@@ -12033,6 +12130,7 @@ module Google
12033
12130
  @region = args[:region] if args.key?(:region)
12034
12131
  @self_link = args[:self_link] if args.key?(:self_link)
12035
12132
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
12133
+ @source_regions = args[:source_regions] if args.key?(:source_regions)
12036
12134
  @ssl_health_check = args[:ssl_health_check] if args.key?(:ssl_health_check)
12037
12135
  @tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
12038
12136
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
@@ -15150,6 +15248,12 @@ module Google
15150
15248
  # @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
15151
15249
  attr_accessor :service_accounts
15152
15250
 
15251
+ # Mapping of user-defined keys to specifications for service integrations.
15252
+ # Currently only a single key-value pair is supported.
15253
+ # Corresponds to the JSON property `serviceIntegrationSpecs`
15254
+ # @return [Hash<String,Google::Apis::ComputeAlpha::ServiceIntegrationSpec>]
15255
+ attr_accessor :service_integration_specs
15256
+
15153
15257
  # A set of Shielded Instance options.
15154
15258
  # Corresponds to the JSON property `shieldedInstanceConfig`
15155
15259
  # @return [Google::Apis::ComputeAlpha::ShieldedInstanceConfig]
@@ -15269,6 +15373,7 @@ module Google
15269
15373
  @self_link = args[:self_link] if args.key?(:self_link)
15270
15374
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
15271
15375
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
15376
+ @service_integration_specs = args[:service_integration_specs] if args.key?(:service_integration_specs)
15272
15377
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
15273
15378
  @shielded_instance_integrity_policy = args[:shielded_instance_integrity_policy] if args.key?(:shielded_instance_integrity_policy)
15274
15379
  @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
@@ -18768,6 +18873,11 @@ module Google
18768
18873
  # @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
18769
18874
  attr_accessor :service_accounts
18770
18875
 
18876
+ # Mapping of user defined keys to ServiceIntegrationSpec.
18877
+ # Corresponds to the JSON property `serviceIntegrationSpecs`
18878
+ # @return [Hash<String,Google::Apis::ComputeAlpha::ServiceIntegrationSpec>]
18879
+ attr_accessor :service_integration_specs
18880
+
18771
18881
  # A set of Shielded Instance options.
18772
18882
  # Corresponds to the JSON property `shieldedInstanceConfig`
18773
18883
  # @return [Google::Apis::ComputeAlpha::ShieldedInstanceConfig]
@@ -18811,6 +18921,7 @@ module Google
18811
18921
  @scheduling = args[:scheduling] if args.key?(:scheduling)
18812
18922
  @secure_tags = args[:secure_tags] if args.key?(:secure_tags)
18813
18923
  @service_accounts = args[:service_accounts] if args.key?(:service_accounts)
18924
+ @service_integration_specs = args[:service_integration_specs] if args.key?(:service_integration_specs)
18814
18925
  @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
18815
18926
  @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
18816
18927
  @tags = args[:tags] if args.key?(:tags)
@@ -18958,6 +19069,123 @@ module Google
18958
19069
  end
18959
19070
  end
18960
19071
 
19072
+ # Contains a list of InstanceTemplatesScopedList.
19073
+ class InstanceTemplateAggregatedList
19074
+ include Google::Apis::Core::Hashable
19075
+
19076
+ # [Output Only] Unique identifier for the resource; defined by the server.
19077
+ # Corresponds to the JSON property `id`
19078
+ # @return [String]
19079
+ attr_accessor :id
19080
+
19081
+ # A list of InstanceTemplatesScopedList resources.
19082
+ # Corresponds to the JSON property `items`
19083
+ # @return [Hash<String,Google::Apis::ComputeAlpha::InstanceTemplatesScopedList>]
19084
+ attr_accessor :items
19085
+
19086
+ # Type of resource.
19087
+ # Corresponds to the JSON property `kind`
19088
+ # @return [String]
19089
+ attr_accessor :kind
19090
+
19091
+ # [Output Only] This token allows you to get the next page of results for list
19092
+ # requests. If the number of results is larger than maxResults, use the
19093
+ # nextPageToken as a value for the query parameter pageToken in the next list
19094
+ # request. Subsequent list requests will have their own nextPageToken to
19095
+ # continue paging through the results.
19096
+ # Corresponds to the JSON property `nextPageToken`
19097
+ # @return [String]
19098
+ attr_accessor :next_page_token
19099
+
19100
+ # [Output Only] Server-defined URL for this resource.
19101
+ # Corresponds to the JSON property `selfLink`
19102
+ # @return [String]
19103
+ attr_accessor :self_link
19104
+
19105
+ # [Output Only] Informational warning message.
19106
+ # Corresponds to the JSON property `warning`
19107
+ # @return [Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning]
19108
+ attr_accessor :warning
19109
+
19110
+ def initialize(**args)
19111
+ update!(**args)
19112
+ end
19113
+
19114
+ # Update properties of this object
19115
+ def update!(**args)
19116
+ @id = args[:id] if args.key?(:id)
19117
+ @items = args[:items] if args.key?(:items)
19118
+ @kind = args[:kind] if args.key?(:kind)
19119
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19120
+ @self_link = args[:self_link] if args.key?(:self_link)
19121
+ @warning = args[:warning] if args.key?(:warning)
19122
+ end
19123
+
19124
+ # [Output Only] Informational warning message.
19125
+ class Warning
19126
+ include Google::Apis::Core::Hashable
19127
+
19128
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19129
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19130
+ # Corresponds to the JSON property `code`
19131
+ # @return [String]
19132
+ attr_accessor :code
19133
+
19134
+ # [Output Only] Metadata about this warning in key: value format. For example: "
19135
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19136
+ # Corresponds to the JSON property `data`
19137
+ # @return [Array<Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning::Datum>]
19138
+ attr_accessor :data
19139
+
19140
+ # [Output Only] A human-readable description of the warning code.
19141
+ # Corresponds to the JSON property `message`
19142
+ # @return [String]
19143
+ attr_accessor :message
19144
+
19145
+ def initialize(**args)
19146
+ update!(**args)
19147
+ end
19148
+
19149
+ # Update properties of this object
19150
+ def update!(**args)
19151
+ @code = args[:code] if args.key?(:code)
19152
+ @data = args[:data] if args.key?(:data)
19153
+ @message = args[:message] if args.key?(:message)
19154
+ end
19155
+
19156
+ #
19157
+ class Datum
19158
+ include Google::Apis::Core::Hashable
19159
+
19160
+ # [Output Only] A key that provides more detail on the warning being returned.
19161
+ # For example, for warnings where there are no results in a list request for a
19162
+ # particular zone, this key might be scope and the key value might be the zone
19163
+ # name. Other examples might be a key indicating a deprecated resource and a
19164
+ # suggested replacement, or a warning about invalid network settings (for
19165
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19166
+ # for IP forwarding).
19167
+ # Corresponds to the JSON property `key`
19168
+ # @return [String]
19169
+ attr_accessor :key
19170
+
19171
+ # [Output Only] A warning data value corresponding to the key.
19172
+ # Corresponds to the JSON property `value`
19173
+ # @return [String]
19174
+ attr_accessor :value
19175
+
19176
+ def initialize(**args)
19177
+ update!(**args)
19178
+ end
19179
+
19180
+ # Update properties of this object
19181
+ def update!(**args)
19182
+ @key = args[:key] if args.key?(:key)
19183
+ @value = args[:value] if args.key?(:value)
19184
+ end
19185
+ end
19186
+ end
19187
+ end
19188
+
18961
19189
  # A list of instance templates.
18962
19190
  class InstanceTemplateList
18963
19191
  include Google::Apis::Core::Hashable
@@ -19076,6 +19304,98 @@ module Google
19076
19304
  end
19077
19305
  end
19078
19306
 
19307
+ #
19308
+ class InstanceTemplatesScopedList
19309
+ include Google::Apis::Core::Hashable
19310
+
19311
+ # [Output Only] A list of instance templates that are contained within the
19312
+ # specified project and zone.
19313
+ # Corresponds to the JSON property `instanceTemplates`
19314
+ # @return [Array<Google::Apis::ComputeAlpha::InstanceTemplate>]
19315
+ attr_accessor :instance_templates
19316
+
19317
+ # [Output Only] An informational warning that replaces the list of instance
19318
+ # templates when the list is empty.
19319
+ # Corresponds to the JSON property `warning`
19320
+ # @return [Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning]
19321
+ attr_accessor :warning
19322
+
19323
+ def initialize(**args)
19324
+ update!(**args)
19325
+ end
19326
+
19327
+ # Update properties of this object
19328
+ def update!(**args)
19329
+ @instance_templates = args[:instance_templates] if args.key?(:instance_templates)
19330
+ @warning = args[:warning] if args.key?(:warning)
19331
+ end
19332
+
19333
+ # [Output Only] An informational warning that replaces the list of instance
19334
+ # templates when the list is empty.
19335
+ class Warning
19336
+ include Google::Apis::Core::Hashable
19337
+
19338
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
19339
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
19340
+ # Corresponds to the JSON property `code`
19341
+ # @return [String]
19342
+ attr_accessor :code
19343
+
19344
+ # [Output Only] Metadata about this warning in key: value format. For example: "
19345
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
19346
+ # Corresponds to the JSON property `data`
19347
+ # @return [Array<Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning::Datum>]
19348
+ attr_accessor :data
19349
+
19350
+ # [Output Only] A human-readable description of the warning code.
19351
+ # Corresponds to the JSON property `message`
19352
+ # @return [String]
19353
+ attr_accessor :message
19354
+
19355
+ def initialize(**args)
19356
+ update!(**args)
19357
+ end
19358
+
19359
+ # Update properties of this object
19360
+ def update!(**args)
19361
+ @code = args[:code] if args.key?(:code)
19362
+ @data = args[:data] if args.key?(:data)
19363
+ @message = args[:message] if args.key?(:message)
19364
+ end
19365
+
19366
+ #
19367
+ class Datum
19368
+ include Google::Apis::Core::Hashable
19369
+
19370
+ # [Output Only] A key that provides more detail on the warning being returned.
19371
+ # For example, for warnings where there are no results in a list request for a
19372
+ # particular zone, this key might be scope and the key value might be the zone
19373
+ # name. Other examples might be a key indicating a deprecated resource and a
19374
+ # suggested replacement, or a warning about invalid network settings (for
19375
+ # example, if an instance attempts to perform IP forwarding but is not enabled
19376
+ # for IP forwarding).
19377
+ # Corresponds to the JSON property `key`
19378
+ # @return [String]
19379
+ attr_accessor :key
19380
+
19381
+ # [Output Only] A warning data value corresponding to the key.
19382
+ # Corresponds to the JSON property `value`
19383
+ # @return [String]
19384
+ attr_accessor :value
19385
+
19386
+ def initialize(**args)
19387
+ update!(**args)
19388
+ end
19389
+
19390
+ # Update properties of this object
19391
+ def update!(**args)
19392
+ @key = args[:key] if args.key?(:key)
19393
+ @value = args[:value] if args.key?(:value)
19394
+ end
19395
+ end
19396
+ end
19397
+ end
19398
+
19079
19399
  #
19080
19400
  class InstanceWithNamedPorts
19081
19401
  include Google::Apis::Core::Hashable
@@ -35636,6 +35956,13 @@ module Google
35636
35956
  class Reservation
35637
35957
  include Google::Apis::Core::Hashable
35638
35958
 
35959
+ # This reservation type is specified by total resource amounts (e.g. total count
35960
+ # of CPUs) and can account for multiple instance SKUs. In other words, one can
35961
+ # create instances of varying shapes against this reservation.
35962
+ # Corresponds to the JSON property `aggregateReservation`
35963
+ # @return [Google::Apis::ComputeAlpha::AllocationAggregateReservation]
35964
+ attr_accessor :aggregate_reservation
35965
+
35639
35966
  # [Output Only] Full or partial URL to a parent commitment. This field displays
35640
35967
  # for reservations that are tied to a commitment.
35641
35968
  # Corresponds to the JSON property `commitment`
@@ -35740,6 +36067,7 @@ module Google
35740
36067
 
35741
36068
  # Update properties of this object
35742
36069
  def update!(**args)
36070
+ @aggregate_reservation = args[:aggregate_reservation] if args.key?(:aggregate_reservation)
35743
36071
  @commitment = args[:commitment] if args.key?(:commitment)
35744
36072
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
35745
36073
  @description = args[:description] if args.key?(:description)
@@ -37213,6 +37541,12 @@ module Google
37213
37541
  # @return [Google::Apis::ComputeAlpha::ResourceStatusScheduling]
37214
37542
  attr_accessor :scheduling
37215
37543
 
37544
+ # [Output Only] Represents the status of the service integration specs defined
37545
+ # by the user in instance.serviceIntegrationSpecs.
37546
+ # Corresponds to the JSON property `serviceIntegrationStatuses`
37547
+ # @return [Hash<String,Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus>]
37548
+ attr_accessor :service_integration_statuses
37549
+
37216
37550
  #
37217
37551
  # Corresponds to the JSON property `upcomingMaintenance`
37218
37552
  # @return [Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance]
@@ -37226,6 +37560,7 @@ module Google
37226
37560
  def update!(**args)
37227
37561
  @physical_host = args[:physical_host] if args.key?(:physical_host)
37228
37562
  @scheduling = args[:scheduling] if args.key?(:scheduling)
37563
+ @service_integration_statuses = args[:service_integration_statuses] if args.key?(:service_integration_statuses)
37229
37564
  @upcoming_maintenance = args[:upcoming_maintenance] if args.key?(:upcoming_maintenance)
37230
37565
  end
37231
37566
  end
@@ -37259,6 +37594,57 @@ module Google
37259
37594
  end
37260
37595
  end
37261
37596
 
37597
+ # Represents the status of integration between instance and another service. See
37598
+ # go/gce-backupdr-design for more details.
37599
+ class ResourceStatusServiceIntegrationStatus
37600
+ include Google::Apis::Core::Hashable
37601
+
37602
+ # Message defining compute perspective of the result of integration with Backup
37603
+ # and DR. FAILED status indicates that the operation specified did not complete
37604
+ # correctly and should be retried with the same value.
37605
+ # Corresponds to the JSON property `backupDr`
37606
+ # @return [Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatusBackupDrStatus]
37607
+ attr_accessor :backup_dr
37608
+
37609
+ def initialize(**args)
37610
+ update!(**args)
37611
+ end
37612
+
37613
+ # Update properties of this object
37614
+ def update!(**args)
37615
+ @backup_dr = args[:backup_dr] if args.key?(:backup_dr)
37616
+ end
37617
+ end
37618
+
37619
+ # Message defining compute perspective of the result of integration with Backup
37620
+ # and DR. FAILED status indicates that the operation specified did not complete
37621
+ # correctly and should be retried with the same value.
37622
+ class ResourceStatusServiceIntegrationStatusBackupDrStatus
37623
+ include Google::Apis::Core::Hashable
37624
+
37625
+ # The PlanReference object created by Backup and DR to maintain the actual
37626
+ # status of backups. May still be present if removing the backup plan fails.
37627
+ # Corresponds to the JSON property `integrationDetails`
37628
+ # @return [String]
37629
+ attr_accessor :integration_details
37630
+
37631
+ # Enum representing the registration state of a Backup and DR backup plan for
37632
+ # the instance.
37633
+ # Corresponds to the JSON property `state`
37634
+ # @return [String]
37635
+ attr_accessor :state
37636
+
37637
+ def initialize(**args)
37638
+ update!(**args)
37639
+ end
37640
+
37641
+ # Update properties of this object
37642
+ def update!(**args)
37643
+ @integration_details = args[:integration_details] if args.key?(:integration_details)
37644
+ @state = args[:state] if args.key?(:state)
37645
+ end
37646
+ end
37647
+
37262
37648
  #
37263
37649
  class ResourceStatusUpcomingMaintenance
37264
37650
  include Google::Apis::Core::Hashable
@@ -40785,7 +41171,8 @@ module Google
40785
41171
  # @return [String]
40786
41172
  attr_accessor :redirect_target
40787
41173
 
40788
- # [Output Only] The minimum managed protection tier required for this rule.
41174
+ # [Output Only] The minimum managed protection tier required for this rule. [
41175
+ # Deprecated] Use requiredManagedProtectionTiers instead.
40789
41176
  # Corresponds to the JSON property `ruleManagedProtectionTier`
40790
41177
  # @return [String]
40791
41178
  attr_accessor :rule_managed_protection_tier
@@ -42276,6 +42663,48 @@ module Google
42276
42663
  end
42277
42664
  end
42278
42665
 
42666
+ # Specifies the parameters to configure an integration with instances.
42667
+ class ServiceIntegrationSpec
42668
+ include Google::Apis::Core::Hashable
42669
+
42670
+ # Specifies parameters to Backup and DR to attach a BackupPlan to a compute
42671
+ # instance for managed VM backup.
42672
+ # Corresponds to the JSON property `backupDr`
42673
+ # @return [Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec]
42674
+ attr_accessor :backup_dr
42675
+
42676
+ def initialize(**args)
42677
+ update!(**args)
42678
+ end
42679
+
42680
+ # Update properties of this object
42681
+ def update!(**args)
42682
+ @backup_dr = args[:backup_dr] if args.key?(:backup_dr)
42683
+ end
42684
+ end
42685
+
42686
+ # Specifies parameters to Backup and DR to attach a BackupPlan to a compute
42687
+ # instance for managed VM backup.
42688
+ class ServiceIntegrationSpecBackupDrSpec
42689
+ include Google::Apis::Core::Hashable
42690
+
42691
+ # The BackupPlan resource to attach to the instance. Specified as a resource
42692
+ # reference in instances, and regional instance templates, and as just the plan
42693
+ # name in global instance templates
42694
+ # Corresponds to the JSON property `plan`
42695
+ # @return [String]
42696
+ attr_accessor :plan
42697
+
42698
+ def initialize(**args)
42699
+ update!(**args)
42700
+ end
42701
+
42702
+ # Update properties of this object
42703
+ def update!(**args)
42704
+ @plan = args[:plan] if args.key?(:plan)
42705
+ end
42706
+ end
42707
+
42279
42708
  # The share setting for reservations and sole tenancy node groups.
42280
42709
  class ShareSettings
42281
42710
  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.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221206"
25
+ REVISION = "20221224"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,24 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class AllocationAggregateReservation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class AllocationAggregateReservationReservedResourceInfo
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class AllocationResourceStatus
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -2290,6 +2308,24 @@ module Google
2290
2308
  include Google::Apis::Core::JsonObjectSupport
2291
2309
  end
2292
2310
 
2311
+ class InstanceTemplateAggregatedList
2312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2313
+
2314
+ class Warning
2315
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2316
+
2317
+ class Datum
2318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2319
+
2320
+ include Google::Apis::Core::JsonObjectSupport
2321
+ end
2322
+
2323
+ include Google::Apis::Core::JsonObjectSupport
2324
+ end
2325
+
2326
+ include Google::Apis::Core::JsonObjectSupport
2327
+ end
2328
+
2293
2329
  class InstanceTemplateList
2294
2330
  class Representation < Google::Apis::Core::JsonRepresentation; end
2295
2331
 
@@ -2308,6 +2344,24 @@ module Google
2308
2344
  include Google::Apis::Core::JsonObjectSupport
2309
2345
  end
2310
2346
 
2347
+ class InstanceTemplatesScopedList
2348
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2349
+
2350
+ class Warning
2351
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2352
+
2353
+ class Datum
2354
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2355
+
2356
+ include Google::Apis::Core::JsonObjectSupport
2357
+ end
2358
+
2359
+ include Google::Apis::Core::JsonObjectSupport
2360
+ end
2361
+
2362
+ include Google::Apis::Core::JsonObjectSupport
2363
+ end
2364
+
2311
2365
  class InstanceWithNamedPorts
2312
2366
  class Representation < Google::Apis::Core::JsonRepresentation; end
2313
2367
 
@@ -4912,6 +4966,18 @@ module Google
4912
4966
  include Google::Apis::Core::JsonObjectSupport
4913
4967
  end
4914
4968
 
4969
+ class ResourceStatusServiceIntegrationStatus
4970
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4971
+
4972
+ include Google::Apis::Core::JsonObjectSupport
4973
+ end
4974
+
4975
+ class ResourceStatusServiceIntegrationStatusBackupDrStatus
4976
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4977
+
4978
+ include Google::Apis::Core::JsonObjectSupport
4979
+ end
4980
+
4915
4981
  class ResourceStatusUpcomingMaintenance
4916
4982
  class Representation < Google::Apis::Core::JsonRepresentation; end
4917
4983
 
@@ -5524,6 +5590,18 @@ module Google
5524
5590
  include Google::Apis::Core::JsonObjectSupport
5525
5591
  end
5526
5592
 
5593
+ class ServiceIntegrationSpec
5594
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5595
+
5596
+ include Google::Apis::Core::JsonObjectSupport
5597
+ end
5598
+
5599
+ class ServiceIntegrationSpecBackupDrSpec
5600
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5601
+
5602
+ include Google::Apis::Core::JsonObjectSupport
5603
+ end
5604
+
5527
5605
  class ShareSettings
5528
5606
  class Representation < Google::Apis::Core::JsonRepresentation; end
5529
5607
 
@@ -7178,6 +7256,33 @@ module Google
7178
7256
  end
7179
7257
  end
7180
7258
 
7259
+ class AllocationAggregateReservation
7260
+ # @private
7261
+ class Representation < Google::Apis::Core::JsonRepresentation
7262
+ collection :in_use_resources, as: 'inUseResources', class: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo::Representation
7263
+
7264
+ collection :reserved_resources, as: 'reservedResources', class: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfo::Representation
7265
+
7266
+ property :vm_family, as: 'vmFamily'
7267
+ end
7268
+ end
7269
+
7270
+ class AllocationAggregateReservationReservedResourceInfo
7271
+ # @private
7272
+ class Representation < Google::Apis::Core::JsonRepresentation
7273
+ property :accelerator, as: 'accelerator', class: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfoAccelerator, decorator: Google::Apis::ComputeAlpha::AllocationAggregateReservationReservedResourceInfoAccelerator::Representation
7274
+
7275
+ end
7276
+ end
7277
+
7278
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
7279
+ # @private
7280
+ class Representation < Google::Apis::Core::JsonRepresentation
7281
+ property :accelerator_count, as: 'acceleratorCount'
7282
+ property :accelerator_type, as: 'acceleratorType'
7283
+ end
7284
+ end
7285
+
7181
7286
  class AllocationResourceStatus
7182
7287
  # @private
7183
7288
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9597,6 +9702,7 @@ module Google
9597
9702
  property :region, as: 'region'
9598
9703
  property :self_link, as: 'selfLink'
9599
9704
  property :self_link_with_id, as: 'selfLinkWithId'
9705
+ collection :source_regions, as: 'sourceRegions'
9600
9706
  property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeAlpha::SslHealthCheck, decorator: Google::Apis::ComputeAlpha::SslHealthCheck::Representation
9601
9707
 
9602
9708
  property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeAlpha::TcpHealthCheck, decorator: Google::Apis::ComputeAlpha::TcpHealthCheck::Representation
@@ -10333,6 +10439,8 @@ module Google
10333
10439
  property :self_link_with_id, as: 'selfLinkWithId'
10334
10440
  collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
10335
10441
 
10442
+ hash :service_integration_specs, as: 'serviceIntegrationSpecs', class: Google::Apis::ComputeAlpha::ServiceIntegrationSpec, decorator: Google::Apis::ComputeAlpha::ServiceIntegrationSpec::Representation
10443
+
10336
10444
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeAlpha::ShieldedInstanceConfig, decorator: Google::Apis::ComputeAlpha::ShieldedInstanceConfig::Representation
10337
10445
 
10338
10446
  property :shielded_instance_integrity_policy, as: 'shieldedInstanceIntegrityPolicy', class: Google::Apis::ComputeAlpha::ShieldedInstanceIntegrityPolicy, decorator: Google::Apis::ComputeAlpha::ShieldedInstanceIntegrityPolicy::Representation
@@ -11282,6 +11390,8 @@ module Google
11282
11390
  collection :secure_tags, as: 'secureTags'
11283
11391
  collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
11284
11392
 
11393
+ hash :service_integration_specs, as: 'serviceIntegrationSpecs', class: Google::Apis::ComputeAlpha::ServiceIntegrationSpec, decorator: Google::Apis::ComputeAlpha::ServiceIntegrationSpec::Representation
11394
+
11285
11395
  property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ComputeAlpha::ShieldedInstanceConfig, decorator: Google::Apis::ComputeAlpha::ShieldedInstanceConfig::Representation
11286
11396
 
11287
11397
  property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
@@ -11325,6 +11435,38 @@ module Google
11325
11435
  end
11326
11436
  end
11327
11437
 
11438
+ class InstanceTemplateAggregatedList
11439
+ # @private
11440
+ class Representation < Google::Apis::Core::JsonRepresentation
11441
+ property :id, as: 'id'
11442
+ hash :items, as: 'items', class: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList, decorator: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Representation
11443
+
11444
+ property :kind, as: 'kind'
11445
+ property :next_page_token, as: 'nextPageToken'
11446
+ property :self_link, as: 'selfLink'
11447
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning::Representation
11448
+
11449
+ end
11450
+
11451
+ class Warning
11452
+ # @private
11453
+ class Representation < Google::Apis::Core::JsonRepresentation
11454
+ property :code, as: 'code'
11455
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Warning::Datum::Representation
11456
+
11457
+ property :message, as: 'message'
11458
+ end
11459
+
11460
+ class Datum
11461
+ # @private
11462
+ class Representation < Google::Apis::Core::JsonRepresentation
11463
+ property :key, as: 'key'
11464
+ property :value, as: 'value'
11465
+ end
11466
+ end
11467
+ end
11468
+ end
11469
+
11328
11470
  class InstanceTemplateList
11329
11471
  # @private
11330
11472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11357,6 +11499,34 @@ module Google
11357
11499
  end
11358
11500
  end
11359
11501
 
11502
+ class InstanceTemplatesScopedList
11503
+ # @private
11504
+ class Representation < Google::Apis::Core::JsonRepresentation
11505
+ collection :instance_templates, as: 'instanceTemplates', class: Google::Apis::ComputeAlpha::InstanceTemplate, decorator: Google::Apis::ComputeAlpha::InstanceTemplate::Representation
11506
+
11507
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning::Representation
11508
+
11509
+ end
11510
+
11511
+ class Warning
11512
+ # @private
11513
+ class Representation < Google::Apis::Core::JsonRepresentation
11514
+ property :code, as: 'code'
11515
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InstanceTemplatesScopedList::Warning::Datum::Representation
11516
+
11517
+ property :message, as: 'message'
11518
+ end
11519
+
11520
+ class Datum
11521
+ # @private
11522
+ class Representation < Google::Apis::Core::JsonRepresentation
11523
+ property :key, as: 'key'
11524
+ property :value, as: 'value'
11525
+ end
11526
+ end
11527
+ end
11528
+ end
11529
+
11360
11530
  class InstanceWithNamedPorts
11361
11531
  # @private
11362
11532
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15620,6 +15790,8 @@ module Google
15620
15790
  class Reservation
15621
15791
  # @private
15622
15792
  class Representation < Google::Apis::Core::JsonRepresentation
15793
+ property :aggregate_reservation, as: 'aggregateReservation', class: Google::Apis::ComputeAlpha::AllocationAggregateReservation, decorator: Google::Apis::ComputeAlpha::AllocationAggregateReservation::Representation
15794
+
15623
15795
  property :commitment, as: 'commitment'
15624
15796
  property :creation_timestamp, as: 'creationTimestamp'
15625
15797
  property :description, as: 'description'
@@ -16054,6 +16226,8 @@ module Google
16054
16226
  property :physical_host, as: 'physicalHost'
16055
16227
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::ResourceStatusScheduling, decorator: Google::Apis::ComputeAlpha::ResourceStatusScheduling::Representation
16056
16228
 
16229
+ hash :service_integration_statuses, as: 'serviceIntegrationStatuses', class: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus::Representation
16230
+
16057
16231
  property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::ResourceStatusUpcomingMaintenance::Representation
16058
16232
 
16059
16233
  end
@@ -16067,6 +16241,22 @@ module Google
16067
16241
  end
16068
16242
  end
16069
16243
 
16244
+ class ResourceStatusServiceIntegrationStatus
16245
+ # @private
16246
+ class Representation < Google::Apis::Core::JsonRepresentation
16247
+ property :backup_dr, as: 'backupDr', class: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatusBackupDrStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatusBackupDrStatus::Representation
16248
+
16249
+ end
16250
+ end
16251
+
16252
+ class ResourceStatusServiceIntegrationStatusBackupDrStatus
16253
+ # @private
16254
+ class Representation < Google::Apis::Core::JsonRepresentation
16255
+ property :integration_details, as: 'integrationDetails'
16256
+ property :state, as: 'state'
16257
+ end
16258
+ end
16259
+
16070
16260
  class ResourceStatusUpcomingMaintenance
16071
16261
  # @private
16072
16262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17271,6 +17461,21 @@ module Google
17271
17461
  end
17272
17462
  end
17273
17463
 
17464
+ class ServiceIntegrationSpec
17465
+ # @private
17466
+ class Representation < Google::Apis::Core::JsonRepresentation
17467
+ property :backup_dr, as: 'backupDr', class: Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec, decorator: Google::Apis::ComputeAlpha::ServiceIntegrationSpecBackupDrSpec::Representation
17468
+
17469
+ end
17470
+ end
17471
+
17472
+ class ServiceIntegrationSpecBackupDrSpec
17473
+ # @private
17474
+ class Representation < Google::Apis::Core::JsonRepresentation
17475
+ property :plan, as: 'plan'
17476
+ end
17477
+ end
17478
+
17274
17479
  class ShareSettings
17275
17480
  # @private
17276
17481
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12690,6 +12690,103 @@ module Google
12690
12690
  execute_or_queue_command(command, &block)
12691
12691
  end
12692
12692
 
12693
+ # Retrieves the list of all InstanceTemplates resources, regional and global,
12694
+ # available to the specified project.
12695
+ # @param [String] project
12696
+ # Name of the project scoping this request.
12697
+ # @param [String] filter
12698
+ # A filter expression that filters resources listed in the response. Most
12699
+ # Compute resources support two types of filter expressions: expressions that
12700
+ # support regular expressions and expressions that follow API improvement
12701
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
12702
+ # field name, an operator, and the value that you want to use for filtering. The
12703
+ # value must be a string, a number, or a boolean. The operator must be either `=`
12704
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
12705
+ # Engine instances, you can exclude instances named `example-instance` by
12706
+ # specifying `name != example-instance`. The `:` operator can be used with
12707
+ # string fields to match substrings. For non-string fields it is equivalent to
12708
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
12709
+ # been defined. For example, to find all objects with `owner` label use: ```
12710
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
12711
+ # specify `scheduling.automaticRestart = false` to include instances only if
12712
+ # they are not scheduled for automatic restarts. You can use filtering on nested
12713
+ # fields to filter based on resource labels. To filter on multiple expressions,
12714
+ # provide each separate expression within parentheses. For example: ``` (
12715
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
12716
+ # default, each expression is an `AND` expression. However, you can include `AND`
12717
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
12718
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
12719
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
12720
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
12721
+ # expression with or without quotes or against multiple parenthesized
12722
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
12723
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
12724
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
12725
+ # regular expression using Google RE2 library syntax. The literal value must
12726
+ # match the entire field. For example, to filter for instances that do not end
12727
+ # with name "instance", you would use `name ne .*instance`.
12728
+ # @param [Boolean] include_all_scopes
12729
+ # Indicates whether every visible scope for each scope type (zone, region,
12730
+ # global) should be included in the response. For new resource types added after
12731
+ # this field, the flag has no effect as new resource types will always include
12732
+ # every visible scope for each scope type in response. For resource types which
12733
+ # predate this field, if this flag is omitted or false, only scopes of the scope
12734
+ # types where the resource type is expected to be found will be included.
12735
+ # @param [Fixnum] max_results
12736
+ # The maximum number of results per page that should be returned. If the number
12737
+ # of available results is larger than `maxResults`, Compute Engine returns a `
12738
+ # nextPageToken` that can be used to get the next page of results in subsequent
12739
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
12740
+ # @param [String] order_by
12741
+ # Sorts list results by a certain order. By default, results are returned in
12742
+ # alphanumerical order based on the resource name. You can also sort results in
12743
+ # descending order based on the creation timestamp using `orderBy="
12744
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
12745
+ # field in reverse chronological order (newest result first). Use this to sort
12746
+ # resources like operations so that the newest operation is returned first.
12747
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
12748
+ # @param [String] page_token
12749
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
12750
+ # by a previous list request to get the next page of results.
12751
+ # @param [Boolean] return_partial_success
12752
+ # Opt-in for partial success behavior which provides partial results in case of
12753
+ # failure. The default value is false.
12754
+ # @param [String] fields
12755
+ # Selector specifying which fields to include in a partial response.
12756
+ # @param [String] quota_user
12757
+ # Available to use for quota purposes for server-side applications. Can be any
12758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12759
+ # @param [String] user_ip
12760
+ # Legacy name for parameter that has been superseded by `quotaUser`.
12761
+ # @param [Google::Apis::RequestOptions] options
12762
+ # Request-specific options
12763
+ #
12764
+ # @yield [result, err] Result & error if block supplied
12765
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList] parsed result object
12766
+ # @yieldparam err [StandardError] error object if request failed
12767
+ #
12768
+ # @return [Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList]
12769
+ #
12770
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12771
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12772
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12773
+ def aggregated_instance_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
12774
+ command = make_simple_command(:get, 'projects/{project}/aggregated/instanceTemplates', options)
12775
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList::Representation
12776
+ command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateAggregatedList
12777
+ command.params['project'] = project unless project.nil?
12778
+ command.query['filter'] = filter unless filter.nil?
12779
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
12780
+ command.query['maxResults'] = max_results unless max_results.nil?
12781
+ command.query['orderBy'] = order_by unless order_by.nil?
12782
+ command.query['pageToken'] = page_token unless page_token.nil?
12783
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
12784
+ command.query['fields'] = fields unless fields.nil?
12785
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12786
+ command.query['userIp'] = user_ip unless user_ip.nil?
12787
+ execute_or_queue_command(command, &block)
12788
+ end
12789
+
12693
12790
  # Deletes the specified instance template. Deleting an instance template is
12694
12791
  # permanent and cannot be undone. It is not possible to delete templates that
12695
12792
  # are already in use by a managed instance group.
@@ -37462,6 +37559,7 @@ module Google
37462
37559
  # @param [String] resource_policy
37463
37560
  # Id of the resource policy to patch.
37464
37561
  # @param [Google::Apis::ComputeAlpha::ResourcePolicy] resource_policy_object
37562
+ # @param [Array<String>, String] paths
37465
37563
  # @param [String] request_id
37466
37564
  # An optional request ID to identify requests. Specify a unique request ID so
37467
37565
  # that if you must retry your request, the server will know to ignore the
@@ -37493,7 +37591,7 @@ module Google
37493
37591
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
37494
37592
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
37495
37593
  # @raise [Google::Apis::AuthorizationError] Authorization is required
37496
- def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37594
+ def patch_resource_policy(project, region, resource_policy, resource_policy_object = nil, paths: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
37497
37595
  command = make_simple_command(:patch, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options)
37498
37596
  command.request_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation
37499
37597
  command.request_object = resource_policy_object
@@ -37502,6 +37600,7 @@ module Google
37502
37600
  command.params['project'] = project unless project.nil?
37503
37601
  command.params['region'] = region unless region.nil?
37504
37602
  command.params['resourcePolicy'] = resource_policy unless resource_policy.nil?
37603
+ command.query['paths'] = paths unless paths.nil?
37505
37604
  command.query['requestId'] = request_id unless request_id.nil?
37506
37605
  command.query['updateMask'] = update_mask unless update_mask.nil?
37507
37606
  command.query['fields'] = fields unless fields.nil?
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.55.0
4
+ version: 0.56.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: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 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.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.56.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API Alpha