generated/google/apis/remotebuildexecution_v1/classes.rb in google-api-client-0.50.0 vs generated/google/apis/remotebuildexecution_v1/classes.rb in google-api-client-0.51.0
- old
+ new
@@ -2042,35 +2042,10 @@
def update!(**args)
@worker_pools = args[:worker_pools] if args.key?(:worker_pools)
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
# Instance conceptually encapsulates all Remote Build Execution resources for
@@ -2212,14 +2187,14 @@
# Corresponds to the JSON property `reserved`
# @return [Boolean]
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`
# @return [String]
attr_accessor :vm_image
@@ -2237,10 +2212,10 @@
@machine_type = args[:machine_type] if args.key?(:machine_type)
@max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
@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
# A worker pool resource in the Remote Build Execution API.