Skip to content

Commit 79f3765

Browse files
feat: Automated regeneration of compute beta client (googleapis#24693)
Auto-created at 2025-10-19 10:48:26 +0000 using the toys pull request generator.
1 parent 00353b3 commit 79f3765

File tree

6 files changed

+429
-3
lines changed

6 files changed

+429
-3
lines changed

api_names_out.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111327,6 +111327,11 @@
111327111327
"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint
111328111328
"/compute:beta/ZoneSetLabelsRequest/labels": labels
111329111329
"/compute:beta/ZoneSetLabelsRequest/labels/label": label
111330+
"/compute:beta/ZoneSetNestedPolicyRequest": zone_set_nested_policy_request
111331+
"/compute:beta/ZoneSetNestedPolicyRequest/bindings": bindings
111332+
"/compute:beta/ZoneSetNestedPolicyRequest/bindings/binding": binding
111333+
"/compute:beta/ZoneSetNestedPolicyRequest/etag": etag
111334+
"/compute:beta/ZoneSetNestedPolicyRequest/policy": policy
111330111335
"/compute:beta/ZoneSetPolicyRequest": zone_set_policy_request
111331111336
"/compute:beta/ZoneSetPolicyRequest/bindings": bindings
111332111337
"/compute:beta/ZoneSetPolicyRequest/bindings/binding": binding
@@ -115241,6 +115246,12 @@
115241115246
"/compute:beta/compute.reservationBlocks.get/reservationBlock": reservation_block
115242115247
"/compute:beta/compute.reservationBlocks.get/view": view
115243115248
"/compute:beta/compute.reservationBlocks.get/zone": zone
115249+
"/compute:beta/compute.reservationBlocks.getIamPolicy": get_reservation_block_iam_policy
115250+
"/compute:beta/compute.reservationBlocks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
115251+
"/compute:beta/compute.reservationBlocks.getIamPolicy/parentResource": parent_resource
115252+
"/compute:beta/compute.reservationBlocks.getIamPolicy/project": project
115253+
"/compute:beta/compute.reservationBlocks.getIamPolicy/resource": resource
115254+
"/compute:beta/compute.reservationBlocks.getIamPolicy/zone": zone
115244115255
"/compute:beta/compute.reservationBlocks.list": list_reservation_blocks
115245115256
"/compute:beta/compute.reservationBlocks.list/filter": filter
115246115257
"/compute:beta/compute.reservationBlocks.list/maxResults": max_results
@@ -115256,11 +115267,27 @@
115256115267
"/compute:beta/compute.reservationBlocks.performMaintenance/reservation": reservation
115257115268
"/compute:beta/compute.reservationBlocks.performMaintenance/reservationBlock": reservation_block
115258115269
"/compute:beta/compute.reservationBlocks.performMaintenance/zone": zone
115270+
"/compute:beta/compute.reservationBlocks.setIamPolicy": set_reservation_block_iam_policy
115271+
"/compute:beta/compute.reservationBlocks.setIamPolicy/parentResource": parent_resource
115272+
"/compute:beta/compute.reservationBlocks.setIamPolicy/project": project
115273+
"/compute:beta/compute.reservationBlocks.setIamPolicy/resource": resource
115274+
"/compute:beta/compute.reservationBlocks.setIamPolicy/zone": zone
115275+
"/compute:beta/compute.reservationBlocks.testIamPermissions": test_reservation_block_iam_permissions
115276+
"/compute:beta/compute.reservationBlocks.testIamPermissions/parentResource": parent_resource
115277+
"/compute:beta/compute.reservationBlocks.testIamPermissions/project": project
115278+
"/compute:beta/compute.reservationBlocks.testIamPermissions/resource": resource
115279+
"/compute:beta/compute.reservationBlocks.testIamPermissions/zone": zone
115259115280
"/compute:beta/compute.reservationSubBlocks.get": get_reservation_sub_block
115260115281
"/compute:beta/compute.reservationSubBlocks.get/parentName": parent_name
115261115282
"/compute:beta/compute.reservationSubBlocks.get/project": project
115262115283
"/compute:beta/compute.reservationSubBlocks.get/reservationSubBlock": reservation_sub_block
115263115284
"/compute:beta/compute.reservationSubBlocks.get/zone": zone
115285+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy": get_reservation_sub_block_iam_policy
115286+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy/optionsRequestedPolicyVersion": options_requested_policy_version
115287+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy/parentResource": parent_resource
115288+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy/project": project
115289+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy/resource": resource
115290+
"/compute:beta/compute.reservationSubBlocks.getIamPolicy/zone": zone
115264115291
"/compute:beta/compute.reservationSubBlocks.list": list_reservation_sub_blocks
115265115292
"/compute:beta/compute.reservationSubBlocks.list/filter": filter
115266115293
"/compute:beta/compute.reservationSubBlocks.list/maxResults": max_results
@@ -115282,6 +115309,16 @@
115282115309
"/compute:beta/compute.reservationSubBlocks.reportFaulty/requestId": request_id
115283115310
"/compute:beta/compute.reservationSubBlocks.reportFaulty/reservationSubBlock": reservation_sub_block
115284115311
"/compute:beta/compute.reservationSubBlocks.reportFaulty/zone": zone
115312+
"/compute:beta/compute.reservationSubBlocks.setIamPolicy": set_reservation_sub_block_iam_policy
115313+
"/compute:beta/compute.reservationSubBlocks.setIamPolicy/parentResource": parent_resource
115314+
"/compute:beta/compute.reservationSubBlocks.setIamPolicy/project": project
115315+
"/compute:beta/compute.reservationSubBlocks.setIamPolicy/resource": resource
115316+
"/compute:beta/compute.reservationSubBlocks.setIamPolicy/zone": zone
115317+
"/compute:beta/compute.reservationSubBlocks.testIamPermissions": test_reservation_sub_block_iam_permissions
115318+
"/compute:beta/compute.reservationSubBlocks.testIamPermissions/parentResource": parent_resource
115319+
"/compute:beta/compute.reservationSubBlocks.testIamPermissions/project": project
115320+
"/compute:beta/compute.reservationSubBlocks.testIamPermissions/resource": resource
115321+
"/compute:beta/compute.reservationSubBlocks.testIamPermissions/zone": zone
115285115322
"/compute:beta/compute.reservations.aggregatedList": aggregated_reservation_list
115286115323
"/compute:beta/compute.reservations.aggregatedList/filter": filter
115287115324
"/compute:beta/compute.reservations.aggregatedList/includeAllScopes": include_all_scopes

generated/google-apis-compute_beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-compute_beta
22

3-
### v0.125.0 (2025-10-12)
3+
### v0.125.0 (2025-10-19)
44

5-
* Regenerated from discovery document revision 20250930
5+
* Regenerated from discovery document revision 20251015
66

77
### v0.124.0 (2025-09-28)
88

generated/google-apis-compute_beta/lib/google/apis/compute_beta/classes.rb

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67883,6 +67883,104 @@ def update!(**args)
6788367883
end
6788467884
end
6788567885

67886+
#
67887+
class ZoneSetNestedPolicyRequest
67888+
include Google::Apis::Core::Hashable
67889+
67890+
# Flatten Policy to create a backwacd compatible wire-format.
67891+
# Deprecated. Use 'policy' to specify bindings.
67892+
# Corresponds to the JSON property `bindings`
67893+
# @return [Array<Google::Apis::ComputeBeta::Binding>]
67894+
attr_accessor :bindings
67895+
67896+
# Flatten Policy to create a backward compatible wire-format.
67897+
# Deprecated. Use 'policy' to specify the etag.
67898+
# Corresponds to the JSON property `etag`
67899+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
67900+
# @return [String]
67901+
attr_accessor :etag
67902+
67903+
# An Identity and Access Management (IAM) policy, which specifies access
67904+
# controls for Google Cloud resources.
67905+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
67906+
# `members`, or principals, to a single `role`. Principals can be user
67907+
# accounts, service accounts, Google groups, and domains (such as G Suite). A
67908+
# `role` is a named list of permissions; each `role` can be an IAM predefined
67909+
# role or a user-created custom role.
67910+
# For some types of Google Cloud resources, a `binding` can also specify a
67911+
# `condition`, which is a logical expression that allows access to a resource
67912+
# only if the expression evaluates to `true`. A condition can add constraints
67913+
# based on attributes of the request, the resource, or both. To learn which
67914+
# resources support conditions in their IAM policies, see the
67915+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
67916+
# policies).
67917+
# **JSON example:**
67918+
# ```
67919+
# `
67920+
# "bindings": [
67921+
# `
67922+
# "role": "roles/resourcemanager.organizationAdmin",
67923+
# "members": [
67924+
67925+
# "group:[email protected]",
67926+
# "domain:google.com",
67927+
# "serviceAccount:[email protected]"
67928+
# ]
67929+
# `,
67930+
# `
67931+
# "role": "roles/resourcemanager.organizationViewer",
67932+
# "members": [
67933+
67934+
# ],
67935+
# "condition": `
67936+
# "title": "expirable access",
67937+
# "description": "Does not grant access after Sep 2020",
67938+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
67939+
# ",
67940+
# `
67941+
# `
67942+
# ],
67943+
# "etag": "BwWWja0YfJA=",
67944+
# "version": 3
67945+
# `
67946+
# ```
67947+
# **YAML example:**
67948+
# ```
67949+
# bindings:
67950+
# - members:
67951+
67952+
67953+
# - domain:google.com
67954+
# - serviceAccount:[email protected]
67955+
# role: roles/resourcemanager.organizationAdmin
67956+
# - members:
67957+
67958+
# role: roles/resourcemanager.organizationViewer
67959+
# condition:
67960+
# title: expirable access
67961+
# description: Does not grant access after Sep 2020
67962+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
67963+
# etag: BwWWja0YfJA=
67964+
# version: 3
67965+
# ```
67966+
# For a description of IAM and its features, see the
67967+
# [IAM documentation](https://cloud.google.com/iam/docs/).
67968+
# Corresponds to the JSON property `policy`
67969+
# @return [Google::Apis::ComputeBeta::Policy]
67970+
attr_accessor :policy
67971+
67972+
def initialize(**args)
67973+
update!(**args)
67974+
end
67975+
67976+
# Update properties of this object
67977+
def update!(**args)
67978+
@bindings = args[:bindings] if args.key?(:bindings)
67979+
@etag = args[:etag] if args.key?(:etag)
67980+
@policy = args[:policy] if args.key?(:policy)
67981+
end
67982+
end
67983+
6788667984
#
6788767985
class ZoneSetPolicyRequest
6788867986
include Google::Apis::Core::Hashable

generated/google-apis-compute_beta/lib/google/apis/compute_beta/gem_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module ComputeBeta
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250930"
25+
REVISION = "20251015"
2626
end
2727
end
2828
end

generated/google-apis-compute_beta/lib/google/apis/compute_beta/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8458,6 +8458,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
84588458
include Google::Apis::Core::JsonObjectSupport
84598459
end
84608460

8461+
class ZoneSetNestedPolicyRequest
8462+
class Representation < Google::Apis::Core::JsonRepresentation; end
8463+
8464+
include Google::Apis::Core::JsonObjectSupport
8465+
end
8466+
84618467
class ZoneSetPolicyRequest
84628468
class Representation < Google::Apis::Core::JsonRepresentation; end
84638469

@@ -24194,6 +24200,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
2419424200
end
2419524201
end
2419624202

24203+
class ZoneSetNestedPolicyRequest
24204+
# @private
24205+
class Representation < Google::Apis::Core::JsonRepresentation
24206+
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
24207+
24208+
property :etag, :base64 => true, as: 'etag'
24209+
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
24210+
24211+
end
24212+
end
24213+
2419724214
class ZoneSetPolicyRequest
2419824215
# @private
2419924216
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)