Autogenerated update (2018-04-15)

Update:
- compute_alpha
- compute_beta
- container_v1
- container_v1beta1
This commit is contained in:
Google APIs committed 2018-04-15 00:36:03 +00:00
1 parent 0db21b119a
commit e3dc13958b
17 files changed
+3610 -1555

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20180323'
REVISION = '20180329'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
File diff suppressed because it is too large. Load diff
@@ -532,12 +532,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DailyMaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeprecationStatus
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1048,12 +1042,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class HourlyMaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HttpHealthCheck
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1522,18 +1510,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InstancesAddMaintenancePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesRemoveMaintenancePoliciesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class InstancesResumeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -1882,72 +1858,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePoliciesList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePoliciesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePolicyAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenanceWindow
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ManagedInstance
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -2182,6 +2092,216 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroup
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupNode
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupsAddNodesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupsDeleteNodesRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupsScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeGroupsSetNodeTemplateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTemplate
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTemplateAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTemplateList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTemplateNodeTypeFlexibility
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTemplatesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeType
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTypeAggregatedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTypeList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class NodeTypesScopedList
class Representation < Google::Apis::Core::JsonRepresentation; end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -3568,12 +3688,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VmMaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpnTunnel
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -4636,15 +4750,6 @@ module Google
end
end
class DailyMaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :days_in_cycle, as: 'daysInCycle'
property :duration, as: 'duration'
property :start_time, as: 'startTime'
end
end
class DeprecationStatus
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5606,15 +5711,6 @@ module Google
end
end
class HourlyMaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :hours_in_cycle, as: 'hoursInCycle'
property :start_time, as: 'startTime'
end
end
class HttpHealthCheck
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5819,7 +5915,6 @@ module Google
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
hash :labels, as: 'labels'
property :machine_type, as: 'machineType'
collection :maintenance_policies, as: 'maintenancePolicies'
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
property :min_cpu_platform, as: 'minCpuPlatform'
@@ -6537,20 +6632,6 @@ module Google
end
end
class InstancesAddMaintenancePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :maintenance_policies, as: 'maintenancePolicies'
end
end
class InstancesRemoveMaintenancePoliciesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :maintenance_policies, as: 'maintenancePolicies'
end
end
class InstancesResumeRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -7198,123 +7279,6 @@ module Google
end
end
class MaintenancePoliciesList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::MaintenancePolicy, decorator: Google::Apis::ComputeAlpha::MaintenancePolicy::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class MaintenancePoliciesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ComputeAlpha::MaintenancePolicy, decorator: Google::Apis::ComputeAlpha::MaintenancePolicy::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class MaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::VmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::VmMaintenancePolicy::Representation
end
end
class MaintenancePolicyAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList, decorator: Google::Apis::ComputeAlpha::MaintenancePoliciesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::MaintenancePolicyAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class MaintenanceWindow
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ComputeAlpha::DailyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::DailyMaintenanceWindow::Representation
property :hourly_maintenance_window, as: 'hourlyMaintenanceWindow', class: Google::Apis::ComputeAlpha::HourlyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::HourlyMaintenanceWindow::Representation
end
end
class ManagedInstance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -7716,6 +7680,376 @@ module Google
end
end
class NodeGroup
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :node_template, as: 'nodeTemplate'
collection :nodes, as: 'nodes', class: Google::Apis::ComputeAlpha::NodeGroupNode, decorator: Google::Apis::ComputeAlpha::NodeGroupNode::Representation
property :self_link, as: 'selfLink'
property :status, as: 'status'
property :zone, as: 'zone'
end
end
class NodeGroupAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeGroupList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeGroup, decorator: Google::Apis::ComputeAlpha::NodeGroup::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeGroupNode
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :index, as: 'index'
collection :instances, as: 'instances'
property :node_type, as: 'nodeType'
end
end
class NodeGroupsAddNodesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :additional_node_count, as: 'additionalNodeCount'
end
end
class NodeGroupsDeleteNodesRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :node_indexes, as: 'nodeIndexes'
end
end
class NodeGroupsScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :node_groups, as: 'nodeGroups', class: Google::Apis::ComputeAlpha::NodeGroup, decorator: Google::Apis::ComputeAlpha::NodeGroup::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeGroupsScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeGroupsSetNodeTemplateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :node_template, as: 'nodeTemplate'
end
end
class NodeTemplate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
hash :node_affinity_labels, as: 'nodeAffinityLabels'
property :node_type, as: 'nodeType'
property :node_type_flexibility, as: 'nodeTypeFlexibility', class: Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility, decorator: Google::Apis::ComputeAlpha::NodeTemplateNodeTypeFlexibility::Representation
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :status, as: 'status'
property :status_message, as: 'statusMessage'
end
end
class NodeTemplateAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeTemplateList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTemplate, decorator: Google::Apis::ComputeAlpha::NodeTemplate::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplateList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplateList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplateList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplateList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeTemplateNodeTypeFlexibility
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cpus, as: 'cpus'
property :local_ssd, as: 'localSsd'
property :memory, as: 'memory'
end
end
class NodeTemplatesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :node_templates, as: 'nodeTemplates', class: Google::Apis::ComputeAlpha::NodeTemplate, decorator: Google::Apis::ComputeAlpha::NodeTemplate::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTemplatesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cpu_platform, as: 'cpuPlatform'
property :creation_timestamp, as: 'creationTimestamp'
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeAlpha::DeprecationStatus, decorator: Google::Apis::ComputeAlpha::DeprecationStatus::Representation
property :description, as: 'description'
property :guest_cpus, as: 'guestCpus'
property :id, :numeric_string => true, as: 'id'
property :kind, as: 'kind'
property :local_ssd_gb, as: 'localSsdGb'
property :memory_mb, as: 'memoryMb'
property :name, as: 'name'
property :self_link, as: 'selfLink'
property :zone, as: 'zone'
end
end
class NodeTypeAggregatedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
hash :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeTypesScopedList, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeTypeList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::NodeType, decorator: Google::Apis::ComputeAlpha::NodeType::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypeList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypeList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypeList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypeList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class NodeTypesScopedList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :node_types, as: 'nodeTypes', class: Google::Apis::ComputeAlpha::NodeType, decorator: Google::Apis::ComputeAlpha::NodeType::Representation
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning::Representation
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -10139,14 +10473,6 @@ module Google
end
end
class VmMaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeAlpha::MaintenanceWindow, decorator: Google::Apis::ComputeAlpha::MaintenanceWindow::Representation
end
end
class VpnTunnel
# @private
class Representation < Google::Apis::Core::JsonRepresentation
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20180323'
REVISION = '20180329'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+42 -34
View File
@@ -362,7 +362,7 @@ module Google
class AcceleratorTypesScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of accelerator types contained in this scope.
# [Output Only] A list of accelerator types contained in this scope.
# Corresponds to the JSON property `acceleratorTypes`
# @return [Array<Google::Apis::ComputeBeta::AcceleratorType>]
attr_accessor :accelerator_types
@@ -899,7 +899,7 @@ module Google
class AddressesScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of addresses contained in this scope.
# [Output Only] A list of addresses contained in this scope.
# Corresponds to the JSON property `addresses`
# @return [Array<Google::Apis::ComputeBeta::Address>]
attr_accessor :addresses
@@ -1690,7 +1690,7 @@ module Google
class AutoscalersScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of autoscalers contained in this scope.
# [Output Only] A list of autoscalers contained in this scope.
# Corresponds to the JSON property `autoscalers`
# @return [Array<Google::Apis::ComputeBeta::Autoscaler>]
attr_accessor :autoscalers
@@ -2831,7 +2831,7 @@ module Google
class BackendServicesScopedList
include Google::Apis::Core::Hashable
# List of BackendServices contained in this scope.
# A list of BackendServices contained in this scope.
# Corresponds to the JSON property `backendServices`
# @return [Array<Google::Apis::ComputeBeta::BackendService>]
attr_accessor :backend_services
@@ -3109,8 +3109,8 @@ module Google
# @return [String]
attr_accessor :region
# List of commitment amounts for particular resources. Note that VCPU and MEMORY
# resource commitments must occur together.
# A list of commitment amounts for particular resources. Note that VCPU and
# MEMORY resource commitments must occur together.
# Corresponds to the JSON property `resources`
# @return [Array<Google::Apis::ComputeBeta::ResourceCommitment>]
attr_accessor :resources
@@ -3399,7 +3399,7 @@ module Google
class CommitmentsScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of commitments contained in this scope.
# [Output Only] A list of commitments contained in this scope.
# Corresponds to the JSON property `commitments`
# @return [Array<Google::Apis::ComputeBeta::Commitment>]
attr_accessor :commitments
@@ -3560,6 +3560,11 @@ module Google
class CustomerEncryptionKey
include Google::Apis::Core::Hashable
# The name of the encryption key that is stored in Google Cloud KMS.
# Corresponds to the JSON property `kmsKeyName`
# @return [String]
attr_accessor :kms_key_name
# Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648
# base64 to either encrypt or decrypt this resource.
# Corresponds to the JSON property `rawKey`
@@ -3572,7 +3577,7 @@ module Google
# Compute Engine:
# - The key is wrapped using a RSA public key certificate provided by Google.
# - After being wrapped, the key must be encoded in RFC 4648 base64 encoding.
# Get the RSA public key certificate provided by Google at:
# Gets the RSA public key certificate provided by Google at:
# https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem
# Corresponds to the JSON property `rsaEncryptedKey`
# @return [String]
@@ -3590,6 +3595,7 @@ module Google
# Update properties of this object
def update!(**args)
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
@raw_key = args[:raw_key] if args.key?(:raw_key)
@rsa_encrypted_key = args[:rsa_encrypted_key] if args.key?(:rsa_encrypted_key)
@sha256 = args[:sha256] if args.key?(:sha256)
@@ -4558,7 +4564,7 @@ module Google
class DiskTypesScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of disk types contained in this scope.
# [Output Only] A list of disk types contained in this scope.
# Corresponds to the JSON property `diskTypes`
# @return [Array<Google::Apis::ComputeBeta::DiskType>]
attr_accessor :disk_types
@@ -4668,7 +4674,7 @@ module Google
class DisksScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of disks contained in this scope.
# [Output Only] A list of disks contained in this scope.
# Corresponds to the JSON property `disks`
# @return [Array<Google::Apis::ComputeBeta::Disk>]
attr_accessor :disks
@@ -5725,7 +5731,7 @@ module Google
class ForwardingRulesScopedList
include Google::Apis::Core::Hashable
# List of forwarding rules contained in this scope.
# A list of forwarding rules contained in this scope.
# Corresponds to the JSON property `forwardingRules`
# @return [Array<Google::Apis::ComputeBeta::ForwardingRule>]
attr_accessor :forwarding_rules
@@ -7183,7 +7189,7 @@ module Google
# @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
attr_accessor :disks
# List of the type and count of accelerator cards attached to the instance.
# A list of the type and count of accelerator cards attached to the instance.
# Corresponds to the JSON property `guestAccelerators`
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
attr_accessor :guest_accelerators
@@ -7522,8 +7528,8 @@ module Google
# @return [String]
attr_accessor :network
# The URL of the region where the instance group is located (for regional
# resources).
# [Output Only] The URL of the region where the instance group is located (for
# regional resources).
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region
@@ -7538,7 +7544,8 @@ module Google
# @return [Fixnum]
attr_accessor :size
# The URL of the subnetwork to which all instances in the instance group belong.
# [Output Only] The URL of the subnetwork to which all instances in the instance
# group belong.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
@@ -9693,7 +9700,7 @@ module Google
class InstancesScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of instances contained in this scope.
# [Output Only] A list of instances contained in this scope.
# Corresponds to the JSON property `instances`
# @return [Array<Google::Apis::ComputeBeta::Instance>]
attr_accessor :instances
@@ -9812,7 +9819,7 @@ module Google
class InstancesSetMachineResourcesRequest
include Google::Apis::Core::Hashable
# List of the type and count of accelerator cards attached to the instance.
# A list of the type and count of accelerator cards attached to the instance.
# Corresponds to the JSON property `guestAccelerators`
# @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
attr_accessor :guest_accelerators
@@ -9932,7 +9939,7 @@ module Google
attr_accessor :admin_enabled
alias_method :admin_enabled?, :admin_enabled
# [Output Only] List of CircuitInfo objects, that describe the individual
# [Output Only] A list of CircuitInfo objects, that describe the individual
# circuits in this LAG.
# Corresponds to the JSON property `circuitInfos`
# @return [Array<Google::Apis::ComputeBeta::InterconnectCircuitInfo>]
@@ -9955,7 +9962,7 @@ module Google
# @return [String]
attr_accessor :description
# [Output Only] List of outages expected for this Interconnect.
# [Output Only] A list of outages expected for this Interconnect.
# Corresponds to the JSON property `expectedOutages`
# @return [Array<Google::Apis::ComputeBeta::InterconnectOutageNotification>]
attr_accessor :expected_outages
@@ -10636,7 +10643,7 @@ module Google
class InterconnectAttachmentsScopedList
include Google::Apis::Core::Hashable
# List of interconnect attachments contained in this scope.
# A list of interconnect attachments contained in this scope.
# Corresponds to the JSON property `interconnectAttachments`
# @return [Array<Google::Apis::ComputeBeta::InterconnectAttachment>]
attr_accessor :interconnect_attachments
@@ -11983,7 +11990,7 @@ module Google
class MachineTypesScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of machine types contained in this scope.
# [Output Only] A list of machine types contained in this scope.
# Corresponds to the JSON property `machineTypes`
# @return [Array<Google::Apis::ComputeBeta::MachineType>]
attr_accessor :machine_types
@@ -12395,7 +12402,7 @@ module Google
# @return [String]
attr_accessor :name
# [Output Only] List of network peerings for the resource.
# [Output Only] A list of network peerings for the resource.
# Corresponds to the JSON property `peerings`
# @return [Array<Google::Apis::ComputeBeta::NetworkPeering>]
attr_accessor :peerings
@@ -13320,7 +13327,7 @@ module Google
class OperationsScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of operations contained in this scope.
# [Output Only] A list of operations contained in this scope.
# Corresponds to the JSON property `operations`
# @return [Array<Google::Apis::ComputeBeta::Operation>]
attr_accessor :operations
@@ -14455,7 +14462,7 @@ module Google
class RegionInstanceGroupManagersListInstancesResponse
include Google::Apis::Core::Hashable
# List of managed instances.
# A list of managed instances.
# Corresponds to the JSON property `managedInstances`
# @return [Array<Google::Apis::ComputeBeta::ManagedInstance>]
attr_accessor :managed_instances
@@ -15947,7 +15954,7 @@ module Google
class RoutersScopedList
include Google::Apis::Core::Hashable
# List of routers contained in this scope.
# A list of routers contained in this scope.
# Corresponds to the JSON property `routers`
# @return [Array<Google::Apis::ComputeBeta::Router>]
attr_accessor :routers
@@ -16238,9 +16245,10 @@ module Google
# @return [String]
attr_accessor :name
# List of rules that belong to this policy. There must always be a default rule (
# rule with priority 2147483647 and match "*"). If no rules are provided when
# creating a security policy, a default rule with action "allow" will be added.
# A list of rules that belong to this policy. There must always be a default
# rule (rule with priority 2147483647 and match "*"). If no rules are provided
# when creating a security policy, a default rule with action "allow" will be
# added.
# Corresponds to the JSON property `rules`
# @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
attr_accessor :rules
@@ -17251,7 +17259,7 @@ module Google
# @return [String]
attr_accessor :creation_timestamp
# List of features enabled when the selected profile is CUSTOM. The
# A list of features enabled when the selected profile is CUSTOM. The
# - method returns the set of features that can be specified in this list. This
# field must be empty if the profile is not CUSTOM.
# Corresponds to the JSON property `customFeatures`
@@ -17864,7 +17872,7 @@ module Google
class SubnetworksScopedList
include Google::Apis::Core::Hashable
# List of subnetworks contained in this scope.
# A list of subnetworks contained in this scope.
# Corresponds to the JSON property `subnetworks`
# @return [Array<Google::Apis::ComputeBeta::Subnetwork>]
attr_accessor :subnetworks
@@ -18816,7 +18824,7 @@ module Google
class TargetInstancesScopedList
include Google::Apis::Core::Hashable
# List of target instances contained in this scope.
# A list of target instances contained in this scope.
# Corresponds to the JSON property `targetInstances`
# @return [Array<Google::Apis::ComputeBeta::TargetInstance>]
attr_accessor :target_instances
@@ -19379,7 +19387,7 @@ module Google
class TargetPoolsScopedList
include Google::Apis::Core::Hashable
# List of target pools contained in this scope.
# A list of target pools contained in this scope.
# Corresponds to the JSON property `targetPools`
# @return [Array<Google::Apis::ComputeBeta::TargetPool>]
attr_accessor :target_pools
@@ -20329,7 +20337,7 @@ module Google
class TargetVpnGatewaysScopedList
include Google::Apis::Core::Hashable
# [Output Only] List of target vpn gateways contained in this scope.
# [Output Only] A list of target vpn gateways contained in this scope.
# Corresponds to the JSON property `targetVpnGateways`
# @return [Array<Google::Apis::ComputeBeta::TargetVpnGateway>]
attr_accessor :target_vpn_gateways
@@ -21455,7 +21463,7 @@ module Google
class VpnTunnelsScopedList
include Google::Apis::Core::Hashable
# List of vpn tunnels contained in this scope.
# A list of vpn tunnels contained in this scope.
# Corresponds to the JSON property `vpnTunnels`
# @return [Array<Google::Apis::ComputeBeta::VpnTunnel>]
attr_accessor :vpn_tunnels
@@ -3870,6 +3870,7 @@ module Google
class CustomerEncryptionKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key_name, as: 'kmsKeyName'
property :raw_key, as: 'rawKey'
property :rsa_encrypted_key, as: 'rsaEncryptedKey'
property :sha256, as: 'sha256'
@@ -6323,7 +6323,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns all of the details about the specified managed instance group. Get a
# Returns all of the details about the specified managed instance group. Gets a
# list of available managed instance groups by making a list() request.
# @param [String] project
# Project ID for this request.
@@ -7747,7 +7747,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the specified instance template. Get a list of available instance
# Returns the specified instance template. Gets a list of available instance
# templates by making a list() request.
# @param [String] project
# Project ID for this request.
@@ -10874,7 +10874,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns the specified machine type. Get a list of available machine types by
# Returns the specified machine type. Gets a list of available machine types by
# making a list() request.
# @param [String] project
# Project ID for this request.
@@ -11687,8 +11687,8 @@ module Google
execute_or_queue_command(command, &block)
end
# Get the shared VPC host project that this project links to. May be empty if no
# link exists.
# Gets the shared VPC host project that this project links to. May be empty if
# no link exists.
# @param [String] project
# Project ID for this request.
# @param [String] fields
@@ -11723,7 +11723,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Get service resources (a.k.a service project) associated with this host
# Gets service resources (a.k.a service project) associated with this host
# project.
# @param [String] project
# Project ID for this request.
@@ -11767,7 +11767,7 @@ module Google
execute_or_queue_command(command, &block)
end
# List all shared VPC host projects visible to the user in an organization.
# Lists all shared VPC host projects visible to the user in an organization.
# @param [String] project
# Project ID for this request.
# @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object
@@ -16966,7 +16966,7 @@ module Google
execute_or_queue_command(command, &block)
end
# List all of the ordered rules present in a single specified policy.
# Lists all of the ordered rules present in a single specified policy.
# @param [String] project
# Project ID for this request.
# @param [String] ssl_policy
@@ -17056,7 +17056,7 @@ module Google
execute_or_queue_command(command, &block)
end
# List all the SSL policies that have been configured for the specified project.
# Lists all the SSL policies that have been configured for the specified project.
# @param [String] project
# Project ID for this request.
# @param [String] filter
+2 -2
View File
@@ -18,7 +18,7 @@ require 'google/apis/container_v1/representations.rb'
module Google
module Apis
# Google Kubernetes Engine API
# Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1
VERSION = 'V1'
REVISION = '20180308'
REVISION = '20180412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
+20 -12
View File
@@ -628,8 +628,7 @@ module Google
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to complete IP
# rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -725,8 +724,9 @@ module Google
# @return [Google::Apis::ContainerV1::NodePool]
attr_accessor :node_pool
# The parent (project, location, cluster id) where the node pool will be created.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The parent (project, location, cluster id) where the node pool will be
# created. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
@@ -1354,8 +1354,9 @@ module Google
# friendly names of CPU platforms, such as
# <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
# <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
# information, read [how to specify min CPU platform](https://cloud.google.com/
# compute/docs/instances/specify-min-cpu-platform)
# information, read [how to specify min CPU
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
# platform)
# Corresponds to the JSON property `minCpuPlatform`
# @return [String]
attr_accessor :min_cpu_platform
@@ -2208,8 +2209,7 @@ module Google
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to set networking
# policy.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2438,8 +2438,8 @@ module Google
# @return [String]
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to start IP rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2451,6 +2451,12 @@ module Google
# @return [String]
attr_accessor :project_id
# Whether to rotate credentials during IP rotation.
# Corresponds to the JSON property `rotateCredentials`
# @return [Boolean]
attr_accessor :rotate_credentials
alias_method :rotate_credentials?, :rotate_credentials
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
@@ -2468,6 +2474,7 @@ module Google
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@rotate_credentials = args[:rotate_credentials] if args.key?(:rotate_credentials)
@zone = args[:zone] if args.key?(:zone)
end
end
@@ -2596,8 +2603,9 @@ module Google
# @return [String]
attr_accessor :image_type
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool) of the node pool to
# update. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -862,6 +862,7 @@ module Google
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :rotate_credentials, as: 'rotateCredentials'
property :zone, as: 'zone'
end
end
+33 -31
View File
@@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module ContainerV1
# Google Kubernetes Engine API
# Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
@@ -92,8 +92,7 @@ module Google
# Completes master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to complete IP
# rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -553,8 +552,7 @@ module Google
# Enables/Disables Network Policy for a cluster.
# @param [String] name
# The name (project, location, cluster id) of the cluster to set networking
# policy.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -621,8 +619,8 @@ module Google
# Start master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to start IP rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -723,8 +721,9 @@ module Google
# Creates a node pool for a cluster.
# @param [String] parent
# The parent (project, location, cluster id) where the node pool will be created.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The parent (project, location, cluster id) where the node pool will be
# created. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -757,8 +756,9 @@ module Google
# Deletes a node pool from a cluster.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to delete.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# delete. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field.
@@ -807,8 +807,9 @@ module Google
# Retrieves the node pool requested.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to get.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field.
@@ -857,8 +858,8 @@ module Google
# Lists the node pools for a cluster.
# @param [String] parent
# The parent (project, location, cluster id) where the node pools will be listed.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The parent (project, location, cluster id) where the node pools will be
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field.
@@ -1044,8 +1045,9 @@ module Google
# Updates the version and/or image type of a specific node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool) of the node pool to
# update. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1166,10 +1168,9 @@ module Google
# number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field.
# @param [String] zone
# Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
# available)
# to return operations for, or `-` for all zones.
# This field has been deprecated and replaced by the parent field.
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2127,8 +2128,9 @@ module Google
# Deprecated. The name of the node pool to delete.
# This field has been deprecated and replaced by the name field.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to delete.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# delete. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2177,8 +2179,9 @@ module Google
# Deprecated. The name of the node pool.
# This field has been deprecated and replaced by the name field.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to get.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2224,8 +2227,8 @@ module Google
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field.
# @param [String] parent
# The parent (project, location, cluster id) where the node pools will be listed.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The parent (project, location, cluster id) where the node pools will be
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2549,10 +2552,9 @@ module Google
# number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field.
# @param [String] zone
# Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
# available)
# to return operations for, or `-` for all zones.
# This field has been deprecated and replaced by the parent field.
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field.
# @param [String] parent
# The parent (project and location) where the operations will be listed.
# Specified in the format 'projects/*/locations/*'.
+2 -2
View File
@@ -18,7 +18,7 @@ require 'google/apis/container_v1beta1/representations.rb'
module Google
module Apis
# Google Kubernetes Engine API
# Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
@@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/
module ContainerV1beta1
VERSION = 'V1beta1'
REVISION = '20180319'
REVISION = '20180412'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -406,6 +406,11 @@ module Google
# @return [String]
attr_accessor :network
# NetworkConfig reports the relative names of network & subnetwork.
# Corresponds to the JSON property `networkConfig`
# @return [Google::Apis::ContainerV1beta1::NetworkConfig]
attr_accessor :network_config
# Configuration options for the NetworkPolicy feature.
# https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
# Corresponds to the JSON property `networkPolicy`
@@ -444,8 +449,8 @@ module Google
attr_accessor :private_cluster
alias_method :private_cluster?, :private_cluster
# The resource labels for the cluster to use to annotate any related GCE
# resources.
# The resource labels for the cluster to use to annotate any related
# Google Compute Engine resources.
# Corresponds to the JSON property `resourceLabels`
# @return [Hash<String,String>]
attr_accessor :resource_labels
@@ -523,6 +528,7 @@ module Google
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
@name = args[:name] if args.key?(:name)
@network = args[:network] if args.key?(:network)
@network_config = args[:network_config] if args.key?(:network_config)
@network_policy = args[:network_policy] if args.key?(:network_policy)
@node_config = args[:node_config] if args.key?(:node_config)
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
@@ -658,8 +664,7 @@ module Google
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to complete IP
# rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -755,8 +760,9 @@ module Google
# @return [Google::Apis::ContainerV1beta1::NodePool]
attr_accessor :node_pool
# The parent (project, location, cluster id) where the node pool will be created.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The parent (project, location, cluster id) where the node pool will be
# created. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
@@ -1139,6 +1145,35 @@ module Google
end
end
# ListUsableSubnetworksResponse is the response of
# ListUsableSubnetworksRequest.
class ListUsableSubnetworksResponse
include Google::Apis::Core::Hashable
# This token allows you to get the next page of results for list requests.
# If the number of results is larger than `page_size`, use the
# `next_page_token` as a value for the query parameter `page_token` in the
# next request. The value will become empty when there are no more pages.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of usable subnetworks in the specified network project.
# Corresponds to the JSON property `subnetworks`
# @return [Array<Google::Apis::ContainerV1beta1::UsableSubnetwork>]
attr_accessor :subnetworks
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
end
end
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
class MaintenancePolicy
include Google::Apis::Core::Hashable
@@ -1266,6 +1301,35 @@ module Google
end
end
# NetworkConfig reports the relative names of network & subnetwork.
class NetworkConfig
include Google::Apis::Core::Hashable
# Output only. The name of the Google Compute Engine
# network(/compute/docs/networks-and-firewalls#networks).
# Example: projects/my-project/global/networks/my-network
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Output only. The name of the Google Compute Engine
# [subnetwork](/compute/docs/vpc).
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@network = args[:network] if args.key?(:network)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# Configuration options for the NetworkPolicy feature.
# https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
class NetworkPolicy
@@ -1397,8 +1461,9 @@ module Google
# friendly names of CPU platforms, such as
# <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
# <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
# information, read [how to specify min CPU platform](https://cloud.google.com/
# compute/docs/instances/specify-min-cpu-platform)
# information, read [how to specify min CPU
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
# platform)
# Corresponds to the JSON property `minCpuPlatform`
# @return [String]
attr_accessor :min_cpu_platform
@@ -2316,8 +2381,7 @@ module Google
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to set networking
# policy.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2546,8 +2610,8 @@ module Google
# @return [String]
attr_accessor :cluster_id
# The name (project, location, cluster id) of the cluster to start IP rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2559,6 +2623,12 @@ module Google
# @return [String]
attr_accessor :project_id
# Whether to rotate credentials during IP rotation.
# Corresponds to the JSON property `rotateCredentials`
# @return [Boolean]
attr_accessor :rotate_credentials
alias_method :rotate_credentials?, :rotate_credentials
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster
# resides.
@@ -2576,6 +2646,7 @@ module Google
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
@name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@rotate_credentials = args[:rotate_credentials] if args.key?(:rotate_credentials)
@zone = args[:zone] if args.key?(:zone)
end
end
@@ -2704,8 +2775,9 @@ module Google
# @return [String]
attr_accessor :image_type
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool) of the node pool to
# update. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2760,6 +2832,40 @@ module Google
end
end
# UsableSubnetwork resource returns the subnetwork name, its associated network
# and the primary CIDR range.
class UsableSubnetwork
include Google::Apis::Core::Hashable
# The range of internal addresses that are owned by this subnetwork.
# Corresponds to the JSON property `ipCidrRange`
# @return [String]
attr_accessor :ip_cidr_range
# Network Name.
# Example: projects/my-project/global/networks/my-network
# Corresponds to the JSON property `network`
# @return [String]
attr_accessor :network
# Subnetwork Name.
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
@network = args[:network] if args.key?(:network)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# WorkloadMetadataConfig defines the metadata configuration to expose to
# workloads on the node pool.
class WorkloadMetadataConfig
@@ -148,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListUsableSubnetworksResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MaintenancePolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -172,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NetworkConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class NetworkPolicy
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -334,6 +346,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class UsableSubnetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class WorkloadMetadataConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -430,6 +448,8 @@ module Google
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
property :network, as: 'network'
property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1beta1::NetworkConfig, decorator: Google::Apis::ContainerV1beta1::NetworkConfig::Representation
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1beta1::NetworkPolicy, decorator: Google::Apis::ContainerV1beta1::NetworkPolicy::Representation
property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
@@ -589,6 +609,15 @@ module Google
end
end
class ListUsableSubnetworksResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ContainerV1beta1::UsableSubnetwork, decorator: Google::Apis::ContainerV1beta1::UsableSubnetwork::Representation
end
end
class MaintenancePolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -627,6 +656,14 @@ module Google
end
end
class NetworkConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :network, as: 'network'
property :subnetwork, as: 'subnetwork'
end
end
class NetworkPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -907,6 +944,7 @@ module Google
property :cluster_id, as: 'clusterId'
property :name, as: 'name'
property :project_id, as: 'projectId'
property :rotate_credentials, as: 'rotateCredentials'
property :zone, as: 'zone'
end
end
@@ -947,6 +985,15 @@ module Google
end
end
class UsableSubnetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_cidr_range, as: 'ipCidrRange'
property :network, as: 'network'
property :subnetwork, as: 'subnetwork'
end
end
class WorkloadMetadataConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module ContainerV1beta1
# Google Kubernetes Engine API
# Kubernetes Engine API
#
# The Google Kubernetes Engine API is used for building and managing container
# based applications, powered by the open source Kubernetes technology.
@@ -48,6 +48,53 @@ module Google
@batch_path = 'batch'
end
# Lists subnetworks that are usable for creating clusters in a project.
# @param [String] parent
# The parent project where subnetworks are usable.
# Specified in the format 'projects/*'.
# @param [String] filter
# Filtering currently only supports equality on the networkProjectId and must
# be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
# is the project which owns the listed subnetworks. This defaults to the
# parent project ID.
# @param [Fixnum] page_size
# The max number of results per page that should be returned. If the number
# of available results is larger than `page_size`, a `next_page_token` is
# returned which can be used to get the next page of results in subsequent
# requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
# @param [String] page_token
# Specifies a page token to use. Set this to the nextPageToken returned by
# previous list requests to get the next page of results.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_aggregated_usable_subnetworks(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/aggregated/usableSubnetworks', options)
command.response_representation = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse::Representation
command.response_class = Google::Apis::ContainerV1beta1::ListUsableSubnetworksResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns configuration info about the Kubernetes Engine service.
# @param [String] name
# The name (project and location) of the server config to get
@@ -92,8 +139,7 @@ module Google
# Completes master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to complete IP
# rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::CompleteIpRotationRequest] complete_ip_rotation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -554,8 +600,7 @@ module Google
# Enables/Disables Network Policy for a cluster.
# @param [String] name
# The name (project, location, cluster id) of the cluster to set networking
# policy.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# policy. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest] set_network_policy_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -622,8 +667,8 @@ module Google
# Start master IP rotation.
# @param [String] name
# The name (project, location, cluster id) of the cluster to start IP rotation.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The name (project, location, cluster id) of the cluster to start IP
# rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [Google::Apis::ContainerV1beta1::StartIpRotationRequest] start_ip_rotation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -724,8 +769,9 @@ module Google
# Creates a node pool for a cluster.
# @param [String] parent
# The parent (project, location, cluster id) where the node pool will be created.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The parent (project, location, cluster id) where the node pool will be
# created. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -758,8 +804,9 @@ module Google
# Deletes a node pool from a cluster.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to delete.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# delete. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field.
@@ -808,8 +855,9 @@ module Google
# Retrieves the node pool requested.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to get.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field.
@@ -858,8 +906,8 @@ module Google
# Lists the node pools for a cluster.
# @param [String] parent
# The parent (project, location, cluster id) where the node pools will be listed.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The parent (project, location, cluster id) where the node pools will be
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] cluster_id
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field.
@@ -1045,8 +1093,9 @@ module Google
# Updates the version and/or image type of a specific node pool.
# @param [String] name
# The name (project, location, cluster, node pool) of the node pool to update.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool) of the node pool to
# update. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -1167,10 +1216,9 @@ module Google
# number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field.
# @param [String] zone
# Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
# available)
# to return operations for, or `-` for all zones.
# This field has been deprecated and replaced by the parent field.
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2129,8 +2177,9 @@ module Google
# Deprecated. The name of the node pool to delete.
# This field has been deprecated and replaced by the name field.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to delete.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# delete. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2179,8 +2228,9 @@ module Google
# Deprecated. The name of the node pool.
# This field has been deprecated and replaced by the name field.
# @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to get.
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
# The name (project, location, cluster, node pool id) of the node pool to
# get. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2226,8 +2276,8 @@ module Google
# Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field.
# @param [String] parent
# The parent (project, location, cluster id) where the node pools will be listed.
# Specified in the format 'projects/*/locations/*/clusters/*'.
# The parent (project, location, cluster id) where the node pools will be
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -2551,10 +2601,9 @@ module Google
# number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field.
# @param [String] zone
# Deprecated. The name of the Google Compute Engine [zone](/compute/docs/zones#
# available)
# to return operations for, or `-` for all zones.
# This field has been deprecated and replaced by the parent field.
# Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field.
# @param [String] parent
# The parent (project and location) where the operations will be listed.
# Specified in the format 'projects/*/locations/*'.