Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of remotebuildexecution v1 client #1624

Merged
merged 1 commit into from Dec 3, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions api_names_out.yaml
Expand Up @@ -128849,6 +128849,7 @@
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig/networkAccess": network_access
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig/reserved": reserved
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig/soleTenancy": sole_tenancy
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig/soleTenantNodeType": sole_tenant_node_type
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig/vmImage": vm_image
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool": google_devtools_remotebuildexecution_admin_v1alpha_worker_pool
"/remotebuildexecution:v1/GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool/autoscale": autoscale
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/remotebuildexecution_v1.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1
VERSION = 'V1'
REVISION = '20201006'
REVISION = '20201201'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
35 changes: 5 additions & 30 deletions generated/google/apis/remotebuildexecution_v1/classes.rb
Expand Up @@ -2044,31 +2044,6 @@ def update!(**args)
end
end

# SoleTenancyConfig specifies information required to host a pool on STNs.
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig
include Google::Apis::Core::Hashable

# The sole-tenant node type to host the pool's workers on.
# Corresponds to the JSON property `nodeType`
# @return [String]
attr_accessor :node_type

# Zone in which STNs are reserved.
# Corresponds to the JSON property `nodesZone`
# @return [String]
attr_accessor :nodes_zone

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@node_type = args[:node_type] if args.key?(:node_type)
@nodes_zone = args[:nodes_zone] if args.key?(:nodes_zone)
end
end

# The request used for `UpdateInstance`.
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -2214,10 +2189,10 @@ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
attr_accessor :reserved
alias_method :reserved?, :reserved

# SoleTenancyConfig specifies information required to host a pool on STNs.
# Corresponds to the JSON property `soleTenancy`
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig]
attr_accessor :sole_tenancy
# The node type name to be used for sole-tenant nodes.
# Corresponds to the JSON property `soleTenantNodeType`
# @return [String]
attr_accessor :sole_tenant_node_type

# The name of the image used by each VM.
# Corresponds to the JSON property `vmImage`
Expand All @@ -2239,7 +2214,7 @@ def update!(**args)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@network_access = args[:network_access] if args.key?(:network_access)
@reserved = args[:reserved] if args.key?(:reserved)
@sole_tenancy = args[:sole_tenancy] if args.key?(:sole_tenancy)
@sole_tenant_node_type = args[:sole_tenant_node_type] if args.key?(:sole_tenant_node_type)
@vm_image = args[:vm_image] if args.key?(:vm_image)
end
end
Expand Down
17 changes: 1 addition & 16 deletions generated/google/apis/remotebuildexecution_v1/representations.rb
Expand Up @@ -280,12 +280,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -873,14 +867,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :node_type, as: 'nodeType'
property :nodes_zone, as: 'nodesZone'
end
end

class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -914,8 +900,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :min_cpu_platform, as: 'minCpuPlatform'
property :network_access, as: 'networkAccess'
property :reserved, as: 'reserved'
property :sole_tenancy, as: 'soleTenancy', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaSoleTenancyConfig::Representation

property :sole_tenant_node_type, as: 'soleTenantNodeType'
property :vm_image, as: 'vmImage'
end
end
Expand Down
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "0940da26fa91b8e41483fe7174655b756724ea41"
}
}
]
Expand Down