Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84884,6 +84884,8 @@
"/cloudbuild:v1/BuildOptions/machineType": machine_type
"/cloudbuild:v1/BuildOptions/pool": pool
"/cloudbuild:v1/BuildOptions/pubsubTopic": pubsub_topic
"/cloudbuild:v1/BuildOptions/rankedMachineSeries": ranked_machine_series
"/cloudbuild:v1/BuildOptions/rankedMachineSeries/ranked_machine_series": ranked_machine_series
"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option
"/cloudbuild:v1/BuildOptions/resolvedWorkerRelease": resolved_worker_release
"/cloudbuild:v1/BuildOptions/secretEnv": secret_env
Expand Down Expand Up @@ -85497,6 +85499,8 @@
"/cloudbuild:v1/WorkerConfig/diskSizeGb": disk_size_gb
"/cloudbuild:v1/WorkerConfig/enableNestedVirtualization": enable_nested_virtualization
"/cloudbuild:v1/WorkerConfig/machineType": machine_type
"/cloudbuild:v1/WorkerConfig/rankedMachineSeries": ranked_machine_series
"/cloudbuild:v1/WorkerConfig/rankedMachineSeries/ranked_machine_series": ranked_machine_series
"/cloudbuild:v1/WorkerConfig/workerRelease": worker_release
"/cloudbuild:v1/WorkerPool": worker_pool
"/cloudbuild:v1/WorkerPool/annotations": annotations
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-cloudbuild_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-cloudbuild_v1

### v0.85.0 (2026-11-01)

* Regenerated from discovery document revision 20261025

### v0.84.0 (2026-10-21)

* Regenerated from discovery document revision 20261010
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-cloudbuild_v1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
google-apis-cloudbuild_v1 (0.84.0)
google-apis-cloudbuild_v1 (0.85.0)
google-apis-core (>= 0.15.0, < 2.a)

GEM
Expand Down Expand Up @@ -105,7 +105,7 @@ CHECKSUMS
faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588
google-apis-cloudbuild_v1 (0.84.0)
google-apis-cloudbuild_v1 (0.85.0)
google-apis-core (1.2.1) sha256=3739030455277e3be90f2d07321ad4d0bf0d6b1ed820b2d092916d6cdef05337
google-cloud-env (2.3.1) sha256=0faac01eb27be78c2591d64433663b1a114f8f7af55a4f819755426cac9178e7
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,15 @@ class BuildOptions
# @return [String]
attr_accessor :pubsub_topic

# Optional. Ranked list (earlier items have higher priority) of Machine Series
# to consider when provisioning Worker VMs. A concrete machine type will be
# selected based on machine availability in the given region. This field must be
# empty for the Build to be eligible to be paired with a pre-provisioned worker
# VM.
# Corresponds to the JSON property `rankedMachineSeries`
# @return [Array<String>]
attr_accessor :ranked_machine_series

# Requested verifiability options.
# Corresponds to the JSON property `requestedVerifyOption`
# @return [String]
Expand Down Expand Up @@ -1082,6 +1091,7 @@ def update!(**args)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@pool = args[:pool] if args.key?(:pool)
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
@ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
@resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
@secret_env = args[:secret_env] if args.key?(:secret_env)
Expand Down Expand Up @@ -4596,6 +4606,13 @@ class WorkerConfig
# @return [String]
attr_accessor :machine_type

# Optional. Ranked list (earlier items have higher priority) of Machine Series
# to consider when provisioning Worker VMs. A concrete machine type will be
# selected based on machine availability in the given region.
# Corresponds to the JSON property `rankedMachineSeries`
# @return [Array<String>]
attr_accessor :ranked_machine_series

# Optional. Option to specify which release or release channel (rapid|regular|
# stable) to use to run this build.
# Corresponds to the JSON property `workerRelease`
Expand All @@ -4611,6 +4628,7 @@ def update!(**args)
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
@worker_release = args[:worker_release] if args.key?(:worker_release)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module CloudbuildV1
# Version of the google-apis-cloudbuild_v1 gem
GEM_VERSION = "0.84.0"
GEM_VERSION = "0.85.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.19.1"

# Revision of the discovery document this client was generated from
REVISION = "20261010"
REVISION = "20261025"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :pool, as: 'pool', class: Google::Apis::CloudbuildV1::PoolOption, decorator: Google::Apis::CloudbuildV1::PoolOption::Representation

property :pubsub_topic, as: 'pubsubTopic'
collection :ranked_machine_series, as: 'rankedMachineSeries'
property :requested_verify_option, as: 'requestedVerifyOption'
property :resolved_worker_release, as: 'resolvedWorkerRelease'
collection :secret_env, as: 'secretEnv'
Expand Down Expand Up @@ -1850,6 +1851,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
property :machine_type, as: 'machineType'
collection :ranked_machine_series, as: 'rankedMachineSeries'
property :worker_release, as: 'workerRelease'
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)

# Approves or rejects a pending build. If approved, the returned long-running
# operation (LRO) will be analogous to the LRO returned from a CreateBuild call.
# If rejected, the returned LRO will be immediately done.
# If rejected, the returned LRO will be immediately done. Note: This method only
# approves or rejects builds in the "global" region when using the legacy
# resource path projects/`project_id`/builds/`id`:approve. For all regions, use
# the regional resource path: `projects/`project_id`/locations/`location`/builds/
# `id`:approve`.
# @param [String] name
# Required. Name of the target build. For example: "projects/`$project_id`/
# builds/`$build_id`"
Expand Down Expand Up @@ -979,7 +983,11 @@ def list_project_location_bitbucket_server_config_repos(parent, page_size: nil,

# Approves or rejects a pending build. If approved, the returned long-running
# operation (LRO) will be analogous to the LRO returned from a CreateBuild call.
# If rejected, the returned LRO will be immediately done.
# If rejected, the returned LRO will be immediately done. Note: This method only
# approves or rejects builds in the "global" region when using the legacy
# resource path projects/`project_id`/builds/`id`:approve. For all regions, use
# the regional resource path: `projects/`project_id`/locations/`location`/builds/
# `id`:approve`.
# @param [String] name
# Required. Name of the target build. For example: "projects/`$project_id`/
# builds/`$build_id`"
Expand Down Expand Up @@ -1502,7 +1510,10 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
execute_or_queue_command(command, &block)
end

# Creates a new `BuildTrigger`.
# Creates a new `BuildTrigger`. Note: This method only creates triggers in the "
# global" region when using the legacy resource path projects/`project_id`/
# triggers. For all regions, use the regional resource path: `projects/`
# project_id`/locations/`location`/triggers`.
# @param [String] parent
# The parent resource where this trigger will be created. Format: `projects/`
# project`/locations/`location``
Expand Down Expand Up @@ -1539,7 +1550,11 @@ def create_project_location_trigger(parent, build_trigger_object = nil, project_
execute_or_queue_command(command, &block)
end

# Deletes a `BuildTrigger` by its project ID and trigger ID.
# Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method
# only deletes triggers in the "global" region when using the legacy resource
# path projects/`project_id`/triggers/`trigger_id`. For all regions, use the
# regional resource path: `projects/`project_id`/locations/`location`/triggers/`
# trigger_id``.
# @param [String] name
# The name of the `Trigger` to delete. Format: `projects/`project`/locations/`
# location`/triggers/`trigger``
Expand Down Expand Up @@ -1576,7 +1591,10 @@ def delete_project_location_trigger(name, project_id: nil, trigger_id: nil, fiel
execute_or_queue_command(command, &block)
end

# Returns information about a `BuildTrigger`.
# Returns information about a `BuildTrigger`. Note: This method only gets
# triggers in the "global" region when using the legacy resource path projects/`
# project_id`/triggers/`trigger_id`. For all regions, use the regional resource
# path: `projects/`project_id`/locations/`location`/triggers/`trigger_id``.
# @param [String] name
# The name of the `Trigger` to retrieve. Format: `projects/`project`/locations/`
# location`/triggers/`trigger``
Expand Down Expand Up @@ -1613,7 +1631,10 @@ def get_project_location_trigger(name, project_id: nil, trigger_id: nil, fields:
execute_or_queue_command(command, &block)
end

# Lists existing `BuildTrigger`s.
# Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "
# global" region when using the legacy resource path projects/`project_id`/
# triggers. For all regions, use the regional resource path: `projects/`
# project_id`/locations/`location`/triggers`.
# @param [String] parent
# The parent of the collection of `Triggers`. Format: `projects/`project`/
# locations/`location``
Expand Down Expand Up @@ -1653,7 +1674,11 @@ def list_project_location_triggers(parent, page_size: nil, page_token: nil, proj
execute_or_queue_command(command, &block)
end

# Updates a `BuildTrigger` by its project ID and trigger ID.
# Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method
# only updates triggers in the "global" region when using the legacy resource
# path projects/`project_id`/triggers/`trigger_id`. For all regions, use the
# regional resource path: `projects/`project_id`/locations/`location`/triggers/`
# trigger_id``.
# @param [String] resource_name
# The `Trigger` name with format: `projects/`project`/locations/`location`/
# triggers/`trigger``, where `trigger` is a unique identifier generated by the
Expand Down Expand Up @@ -1980,7 +2005,10 @@ def patch_project_location_worker_pool(name, worker_pool_object = nil, update_ma
execute_or_queue_command(command, &block)
end

# Creates a new `BuildTrigger`.
# Creates a new `BuildTrigger`. Note: This method only creates triggers in the "
# global" region when using the legacy resource path projects/`project_id`/
# triggers. For all regions, use the regional resource path: `projects/`
# project_id`/locations/`location`/triggers`.
# @param [String] project_id
# Required. ID of the project for which to configure automatic builds.
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
Expand Down Expand Up @@ -2017,7 +2045,11 @@ def create_project_trigger(project_id, build_trigger_object = nil, parent: nil,
execute_or_queue_command(command, &block)
end

# Deletes a `BuildTrigger` by its project ID and trigger ID.
# Deletes a `BuildTrigger` by its project ID and trigger ID. Note: This method
# only deletes triggers in the "global" region when using the legacy resource
# path projects/`project_id`/triggers/`trigger_id`. For all regions, use the
# regional resource path: `projects/`project_id`/locations/`location`/triggers/`
# trigger_id``.
# @param [String] project_id
# Required. ID of the project that owns the trigger.
# @param [String] trigger_id
Expand Down Expand Up @@ -2054,7 +2086,10 @@ def delete_project_trigger(project_id, trigger_id, name: nil, fields: nil, quota
execute_or_queue_command(command, &block)
end

# Returns information about a `BuildTrigger`.
# Returns information about a `BuildTrigger`. Note: This method only gets
# triggers in the "global" region when using the legacy resource path projects/`
# project_id`/triggers/`trigger_id`. For all regions, use the regional resource
# path: `projects/`project_id`/locations/`location`/triggers/`trigger_id``.
# @param [String] project_id
# Required. ID of the project that owns the trigger.
# @param [String] trigger_id
Expand Down Expand Up @@ -2091,7 +2126,10 @@ def get_project_trigger(project_id, trigger_id, name: nil, fields: nil, quota_us
execute_or_queue_command(command, &block)
end

# Lists existing `BuildTrigger`s.
# Lists existing `BuildTrigger`s. Note: This method only lists triggers in the "
# global" region when using the legacy resource path projects/`project_id`/
# triggers. For all regions, use the regional resource path: `projects/`
# project_id`/locations/`location`/triggers`.
# @param [String] project_id
# Required. ID of the project for which to list BuildTriggers.
# @param [Fixnum] page_size
Expand Down Expand Up @@ -2131,7 +2169,11 @@ def list_project_triggers(project_id, page_size: nil, page_token: nil, parent: n
execute_or_queue_command(command, &block)
end

# Updates a `BuildTrigger` by its project ID and trigger ID.
# Updates a `BuildTrigger` by its project ID and trigger ID. Note: This method
# only updates triggers in the "global" region when using the legacy resource
# path projects/`project_id`/triggers/`trigger_id`. For all regions, use the
# regional resource path: `projects/`project_id`/locations/`location`/triggers/`
# trigger_id``.
# @param [String] project_id
# Required. ID of the project that owns the trigger.
# @param [String] trigger_id
Expand Down
Loading