Autogenerated update (2020-03-08)
Update: - bigqueryconnection_v1beta1 - container_v1 - content_v2 - content_v2_1 - file_v1
This commit is contained in:
parent
6938a0de02
commit
5680a8e605
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryconnectionV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200123'
|
||||
REVISION = '20200303'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200214'
|
||||
REVISION = '20200228'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -262,20 +262,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The server-assigned `name` of the operation.
|
||||
# Deprecated. The server-assigned `name` of the operation.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `operationId`
|
||||
# @return [String]
|
||||
attr_accessor :operation_id
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the operation resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `zone`
|
||||
|
@ -985,7 +985,7 @@ module Google
|
|||
class CompleteIpRotationRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -997,14 +997,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -1062,14 +1062,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -1094,7 +1094,7 @@ module Google
|
|||
class CreateNodePoolRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -1117,14 +1117,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -2864,7 +2864,7 @@ module Google
|
|||
class RollbackNodePoolUpgradeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to rollback.
|
||||
# Deprecated. The name of the cluster to rollback.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -2877,20 +2877,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The name of the node pool to rollback.
|
||||
# Deprecated. The name of the node pool to rollback.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `nodePoolId`
|
||||
# @return [String]
|
||||
attr_accessor :node_pool_id
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -2984,7 +2984,7 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::AddonsConfig]
|
||||
attr_accessor :addons_config
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -2996,14 +2996,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3031,7 +3031,7 @@ module Google
|
|||
class SetLabelsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3053,7 +3053,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
|
@ -3065,7 +3065,7 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :resource_labels
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3093,7 +3093,7 @@ module Google
|
|||
class SetLegacyAbacRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3111,14 +3111,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3144,7 +3144,7 @@ module Google
|
|||
class SetLocationsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3166,14 +3166,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3199,7 +3199,7 @@ module Google
|
|||
class SetLoggingServiceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3219,14 +3219,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3305,7 +3305,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :action
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3317,7 +3317,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
|
@ -3331,7 +3331,7 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::MasterAuth]
|
||||
attr_accessor :update
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3358,7 +3358,7 @@ module Google
|
|||
class SetMonitoringServiceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3380,14 +3380,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3413,7 +3413,7 @@ module Google
|
|||
class SetNetworkPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3431,14 +3431,14 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
||||
attr_accessor :network_policy
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3470,7 +3470,7 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
||||
attr_accessor :autoscaling
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3483,20 +3483,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The name of the node pool to upgrade.
|
||||
# Deprecated. The name of the node pool to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `nodePoolId`
|
||||
# @return [String]
|
||||
attr_accessor :node_pool_id
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3524,7 +3524,7 @@ module Google
|
|||
class SetNodePoolManagementRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3543,20 +3543,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The name of the node pool to update.
|
||||
# Deprecated. The name of the node pool to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `nodePoolId`
|
||||
# @return [String]
|
||||
attr_accessor :node_pool_id
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3584,7 +3584,7 @@ module Google
|
|||
class SetNodePoolSizeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3602,20 +3602,20 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :node_count
|
||||
|
||||
# Required. Deprecated. The name of the node pool to update.
|
||||
# Deprecated. The name of the node pool to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `nodePoolId`
|
||||
# @return [String]
|
||||
attr_accessor :node_pool_id
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3697,7 +3697,7 @@ module Google
|
|||
class StartIpRotationRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3709,7 +3709,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
|
@ -3722,7 +3722,7 @@ module Google
|
|||
attr_accessor :rotate_credentials
|
||||
alias_method :rotate_credentials?, :rotate_credentials
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3800,7 +3800,7 @@ module Google
|
|||
class UpdateClusterRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3812,7 +3812,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
|
@ -3826,7 +3826,7 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
||||
attr_accessor :update
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3852,7 +3852,7 @@ module Google
|
|||
class UpdateMasterRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3876,14 +3876,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -3909,7 +3909,7 @@ module Google
|
|||
class UpdateNodePoolRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
|
@ -3936,7 +3936,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Required. Deprecated. The name of the node pool to upgrade.
|
||||
# Deprecated. The name of the node pool to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `nodePoolId`
|
||||
# @return [String]
|
||||
|
@ -3955,7 +3955,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :node_version
|
||||
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# Corresponds to the JSON property `projectId`
|
||||
|
@ -3990,7 +3990,7 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
||||
attr_accessor :workload_metadata_config
|
||||
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
|
|
@ -100,11 +100,11 @@ module Google
|
|||
# The name (project and location) of the server config to get,
|
||||
# specified in the format 'projects/*/locations/*'.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) to return operations for.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] fields
|
||||
|
@ -224,14 +224,14 @@ module Google
|
|||
# The name (project, location, cluster) of the cluster to delete.
|
||||
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to delete.
|
||||
# Deprecated. The name of the cluster to delete.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -270,14 +270,14 @@ module Google
|
|||
# The name (project, location, cluster) of the cluster to retrieve.
|
||||
# Specified in the format 'projects/*/locations/*/clusters/*'.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to retrieve.
|
||||
# Deprecated. The name of the cluster to retrieve.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -352,11 +352,11 @@ module Google
|
|||
# Specified in the format 'projects/*/locations/*'.
|
||||
# Location "-" matches all zones and all regions.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides, or "-" for all zones.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -845,17 +845,17 @@ module Google
|
|||
# delete. Specified in the format
|
||||
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to delete.
|
||||
# Deprecated. The name of the node pool to delete.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -896,17 +896,17 @@ module Google
|
|||
# get. Specified in the format
|
||||
# 'projects/*/locations/*/clusters/*/nodePools/*'.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool.
|
||||
# Deprecated. The name of the node pool.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -946,14 +946,14 @@ module Google
|
|||
# The parent (project, location, cluster id) where the node pools will be
|
||||
# listed. Specified in the format 'projects/*/locations/*/clusters/*'.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -1239,14 +1239,14 @@ module Google
|
|||
# The name (project, location, operation id) of the operation to get.
|
||||
# Specified in the format 'projects/*/locations/*/operations/*'.
|
||||
# @param [String] operation_id
|
||||
# Required. Deprecated. The server-assigned `name` of the operation.
|
||||
# Deprecated. The server-assigned `name` of the operation.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
|
@ -1286,11 +1286,11 @@ module Google
|
|||
# Specified in the format 'projects/*/locations/*'.
|
||||
# Location "-" matches all zones and all regions.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# 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
|
||||
|
@ -1324,11 +1324,11 @@ module Google
|
|||
|
||||
# Returns configuration info about the Google Kubernetes Engine service.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) to return operations for.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] name
|
||||
|
@ -1365,16 +1365,16 @@ module Google
|
|||
|
||||
# Sets the addons for a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetAddonsConfigRequest] set_addons_config_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1410,16 +1410,16 @@ module Google
|
|||
|
||||
# Completes master IP rotation.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::CompleteIpRotationRequest] complete_ip_rotation_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1464,11 +1464,11 @@ module Google
|
|||
# Finally, an entry is added to the project's global metadata indicating
|
||||
# which CIDR range the cluster is using.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -1511,16 +1511,16 @@ module Google
|
|||
# such as load balancer resources, are not deleted if they weren't present
|
||||
# when the cluster was initially created.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to delete.
|
||||
# Deprecated. The name of the cluster to delete.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] name
|
||||
# The name (project, location, cluster) of the cluster to delete.
|
||||
|
@ -1557,16 +1557,16 @@ module Google
|
|||
|
||||
# Gets the details of a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to retrieve.
|
||||
# Deprecated. The name of the cluster to retrieve.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] name
|
||||
# The name (project, location, cluster) of the cluster to retrieve.
|
||||
|
@ -1603,16 +1603,16 @@ module Google
|
|||
|
||||
# Enables or disables the ABAC authorization mechanism on a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetLegacyAbacRequest] set_legacy_abac_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1649,11 +1649,11 @@ module Google
|
|||
# Lists all clusters owned by a project in either the specified zone or all
|
||||
# zones.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides, or "-" for all zones.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
|
@ -1696,16 +1696,16 @@ module Google
|
|||
# projects.locations.clusters.update)
|
||||
# instead.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetLocationsRequest] set_locations_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1741,16 +1741,16 @@ module Google
|
|||
|
||||
# Sets the logging service for a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetLoggingServiceRequest] set_logging_service_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1786,16 +1786,16 @@ module Google
|
|||
|
||||
# Updates the master for a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::UpdateMasterRequest] update_master_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1831,16 +1831,16 @@ module Google
|
|||
|
||||
# Sets the monitoring service for a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetMonitoringServiceRequest] set_monitoring_service_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1876,16 +1876,16 @@ module Google
|
|||
|
||||
# Sets labels on a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetLabelsRequest] set_labels_request_object
|
||||
# @param [String] fields
|
||||
|
@ -1965,16 +1965,16 @@ module Google
|
|||
# or a specific cluster, either via password generation or explicitly setting
|
||||
# the password.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetMasterAuthRequest] set_master_auth_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2010,16 +2010,16 @@ module Google
|
|||
|
||||
# Enables or disables Network Policy for a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetNetworkPolicyRequest] set_network_policy_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2055,16 +2055,16 @@ module Google
|
|||
|
||||
# Starts master IP rotation.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::StartIpRotationRequest] start_ip_rotation_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2100,16 +2100,16 @@ module Google
|
|||
|
||||
# Updates the settings of a specific cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::UpdateClusterRequest] update_cluster_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2145,19 +2145,19 @@ module Google
|
|||
|
||||
# Sets the autoscaling settings for the specified node pool.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to upgrade.
|
||||
# Deprecated. The name of the node pool to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2194,16 +2194,16 @@ module Google
|
|||
|
||||
# Creates a node pool for a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [Google::Apis::ContainerV1::CreateNodePoolRequest] create_node_pool_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2239,19 +2239,19 @@ module Google
|
|||
|
||||
# Deletes a node pool from a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to delete.
|
||||
# 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
|
||||
|
@ -2290,19 +2290,19 @@ module Google
|
|||
|
||||
# Retrieves the requested node pool.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# Deprecated. The name of the cluster.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool.
|
||||
# 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
|
||||
|
@ -2341,16 +2341,16 @@ module Google
|
|||
|
||||
# Lists the node pools for a cluster.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://developers.google.com/console/help/new/#projectnumber).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster.
|
||||
# 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
|
||||
|
@ -2388,19 +2388,19 @@ module Google
|
|||
# Rolls back a previously Aborted or Failed NodePool upgrade.
|
||||
# This makes no changes if the last upgrade successfully completed.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to rollback.
|
||||
# Deprecated. The name of the cluster to rollback.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to rollback.
|
||||
# Deprecated. The name of the node pool to rollback.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2437,19 +2437,19 @@ module Google
|
|||
|
||||
# Sets the NodeManagement options for a node pool.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to update.
|
||||
# Deprecated. The name of the node pool to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetNodePoolManagementRequest] set_node_pool_management_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2486,19 +2486,19 @@ module Google
|
|||
|
||||
# Sets the size for a specific node pool.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to update.
|
||||
# Deprecated. The name of the cluster to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to update.
|
||||
# Deprecated. The name of the node pool to update.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::SetNodePoolSizeRequest] set_node_pool_size_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2535,19 +2535,19 @@ module Google
|
|||
|
||||
# Updates the version and/or image type for the specified node pool.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] cluster_id
|
||||
# Required. Deprecated. The name of the cluster to upgrade.
|
||||
# Deprecated. The name of the cluster to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] node_pool_id
|
||||
# Required. Deprecated. The name of the node pool to upgrade.
|
||||
# Deprecated. The name of the node pool to upgrade.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::UpdateNodePoolRequest] update_node_pool_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2584,15 +2584,15 @@ module Google
|
|||
|
||||
# Cancels the specified operation.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the operation resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] operation_id
|
||||
# Required. Deprecated. The server-assigned `name` of the operation.
|
||||
# Deprecated. The server-assigned `name` of the operation.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_request_object
|
||||
# @param [String] fields
|
||||
|
@ -2628,16 +2628,16 @@ module Google
|
|||
|
||||
# Gets the specified operation.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# Deprecated. The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] operation_id
|
||||
# Required. Deprecated. The server-assigned `name` of the operation.
|
||||
# Deprecated. The server-assigned `name` of the operation.
|
||||
# This field has been deprecated and replaced by the name field.
|
||||
# @param [String] name
|
||||
# The name (project, location, operation id) of the operation to get.
|
||||
|
@ -2674,11 +2674,11 @@ module Google
|
|||
|
||||
# Lists all operations in a project in a specific zone or all zones.
|
||||
# @param [String] project_id
|
||||
# Required. Deprecated. The Google Developers Console [project ID or project
|
||||
# Deprecated. The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# This field has been deprecated and replaced by the parent field.
|
||||
# @param [String] zone
|
||||
# Required. Deprecated. The name of the Google Compute Engine
|
||||
# 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
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200219'
|
||||
REVISION = '20200226'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -4119,8 +4119,24 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :placed_date
|
||||
|
||||
# The details of the merchant provided promotions applied to the order. More
|
||||
# details about the program are here.
|
||||
# The details of the merchant provided promotions applied to the order.
|
||||
# To determine which promotions apply to which products, check the Promotions[].
|
||||
# Benefits[].OfferIds field against the LineItems[].Product.OfferId field for
|
||||
# each promotion. If a promotion is applied to more than 1 offerId, divide the
|
||||
# discount value by the number of affected offers to determine how much discount
|
||||
# to apply to each offerId.
|
||||
# Examples:
|
||||
# - To calculate the line item level discount for a single specific item: For
|
||||
# each promotion, subtract the Promotions[].Benefits[].Discount.value amount
|
||||
# from the LineItems[].Price.value.
|
||||
# - To calculate the line item level discount for multiple quantity of a
|
||||
# specific item: For each promotion, divide the Promotions[].Benefits[].Discount.
|
||||
# value by the quantity of products and substract it from LineItems[].Product.
|
||||
# Price.value for each quantity item.
|
||||
# Only 1 promotion can be applied to an offerId in a given order. To refund an
|
||||
# item which had a promotion applied to it, make sure to refund the amount after
|
||||
# first subtracting the promotion discount from the item price.
|
||||
# More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderLegacyPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
|
|
@ -3201,7 +3201,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the products in your Merchant Center account.
|
||||
# Lists the products in your Merchant Center account. The response might contain
|
||||
# fewer items than specified by maxResults. Rely on nextPageToken to determine
|
||||
# if there are more items to be requested.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that contains the products. This account cannot be a
|
||||
# multi-client account.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2_1
|
||||
VERSION = 'V2_1'
|
||||
REVISION = '20200219'
|
||||
REVISION = '20200226'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -3592,6 +3592,24 @@ module Google
|
|||
attr_accessor :placed_date
|
||||
|
||||
# Promotions associated with the order.
|
||||
# To determine which promotions apply to which products, check the Promotions[].
|
||||
# appliedItems[].lineItemId field against the LineItems[].id field for each
|
||||
# promotion. If a promotion is applied to more than 1 offerId, divide the
|
||||
# discount value by the number of affected offers to determine how much discount
|
||||
# to apply to each offerId.
|
||||
# Examples:
|
||||
# - To calculate price paid by the customer for a single line item including the
|
||||
# discount: For each promotion, subtract the LineItems[].adjustments[].
|
||||
# priceAdjustment.value amount from the LineItems[].Price.value.
|
||||
# - To calculate price paid by the customer for a single line item including the
|
||||
# discount in case of multiple quantity: For each promotion, divide the
|
||||
# LineItems[].adjustments[].priceAdjustment.value by the quantity of products
|
||||
# then subtract the resulting value from the LineItems[].Product.Price.value for
|
||||
# each quantity item.
|
||||
# Only 1 promotion can be applied to an offerId in a given order. To refund an
|
||||
# item which had a promotion applied to it, make sure to refund the amount after
|
||||
# first subtracting the promotion discount from the item price.
|
||||
# More details about the program are here.
|
||||
# Corresponds to the JSON property `promotions`
|
||||
# @return [Array<Google::Apis::ContentV2_1::OrderPromotion>]
|
||||
attr_accessor :promotions
|
||||
|
@ -8303,6 +8321,39 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Settings for Pub/Sub notifications, all methods require that the caller is a
|
||||
# direct user of the merchant center account.
|
||||
class PubsubNotificationSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Cloud pub/sub topic to which notifications are sent (read-only).
|
||||
# Corresponds to the JSON property `cloudTopicName`
|
||||
# @return [String]
|
||||
attr_accessor :cloud_topic_name
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# pubsubNotificationSettings".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# List of event types. Supported event types: orderPendingShipment.
|
||||
# Corresponds to the JSON property `registeredEvents`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :registered_events
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cloud_topic_name = args[:cloud_topic_name] if args.key?(:cloud_topic_name)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@registered_events = args[:registered_events] if args.key?(:registered_events)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RateGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -1252,6 +1252,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PubsubNotificationSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RateGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3839,6 +3845,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PubsubNotificationSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cloud_topic_name, as: 'cloudTopicName'
|
||||
property :kind, as: 'kind'
|
||||
collection :registered_events, as: 'registeredEvents'
|
||||
end
|
||||
end
|
||||
|
||||
class RateGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -2968,7 +2968,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the products in your Merchant Center account.
|
||||
# Lists the products in your Merchant Center account. The response might contain
|
||||
# fewer items than specified by maxResults. Rely on nextPageToken to determine
|
||||
# if there are more items to be requested.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account that contains the products. This account cannot be a
|
||||
# multi-client account.
|
||||
|
@ -3127,6 +3129,76 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves a Merchant Center account's pubsub notification settings.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account for which to get pubsub notification settings.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2_1::PubsubNotificationSettings] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2_1::PubsubNotificationSettings]
|
||||
#
|
||||
# @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 get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
|
||||
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
||||
command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Register a Merchant Center account for pubsub notifications. Note that cloud
|
||||
# topic name should not be provided as part of the request.
|
||||
# @param [Fixnum] merchant_id
|
||||
# The ID of the account.
|
||||
# @param [Google::Apis::ContentV2_1::PubsubNotificationSettings] pubsub_notification_settings_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContentV2_1::PubsubNotificationSettings] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContentV2_1::PubsubNotificationSettings]
|
||||
#
|
||||
# @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 update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
|
||||
command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
||||
command.request_object = pubsub_notification_settings_object
|
||||
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
||||
command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
|
||||
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates regional inventory for multiple products or regions in a single
|
||||
# request.
|
||||
# @param [Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest] regionalinventory_custom_batch_request_object
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/filestore/
|
||||
module FileV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200219'
|
||||
REVISION = '20200305'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -80,66 +80,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Instance represents the interface for SLM services to actuate the state
|
||||
# of control plane resources.
|
||||
# Example Instance in JSON, where
|
||||
# consumer-project=snapchat,
|
||||
# producer-project=cloud-sql:
|
||||
# ```json
|
||||
# Instance:
|
||||
# `
|
||||
# "name":
|
||||
# "projects/snapchat/locations/us-east1/instances/prod-instance",
|
||||
# "create_time": `
|
||||
# "seconds": 1526406431,
|
||||
# `,
|
||||
# "labels": `
|
||||
# "env": "prod",
|
||||
# "foo": "bar"
|
||||
# `,
|
||||
# "state": READY,
|
||||
# "software_versions": `
|
||||
# "software_update": "cloud-sql-09-28-2018",
|
||||
# `,
|
||||
# "maintenance_policy_names": `
|
||||
# "UpdatePolicy":
|
||||
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
|
||||
# policy",
|
||||
# `
|
||||
# "tenant_project_id": "cloud-sql-test-tenant",
|
||||
# "producer_metadata": `
|
||||
# "cloud-sql-tier": "basic",
|
||||
# "cloud-sql-instance-size": "1G",
|
||||
# `,
|
||||
# "provisioned_resources": [
|
||||
# `
|
||||
# "resource-type": "compute-instance",
|
||||
# "resource-url":
|
||||
# "https://www.googleapis.com/compute/v1/projects/cloud-sql/zones/us-east1-
|
||||
# b/instances/vm-1",
|
||||
# `
|
||||
# ],
|
||||
# "maintenance_schedules": `
|
||||
# "csa_rollout": `
|
||||
# "start_time": `
|
||||
# "seconds": 1526406431,
|
||||
# `,
|
||||
# "end_time": `
|
||||
# "seconds": 1535406431,
|
||||
# `,
|
||||
# `,
|
||||
# "ncsa_rollout": `
|
||||
# "start_time": `
|
||||
# "seconds": 1526406431,
|
||||
# `,
|
||||
# "end_time": `
|
||||
# "seconds": 1535406431,
|
||||
# `,
|
||||
# `
|
||||
# `,
|
||||
# "consumer_defined_name": "my-sql-instance1",
|
||||
# `
|
||||
# ```
|
||||
#
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -198,16 +139,6 @@ module Google
|
|||
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource>]
|
||||
attr_accessor :provisioned_resources
|
||||
|
||||
# The map between RolloutType and the corresponding RolloutMetadata.
|
||||
# This is only mutated by rollout service. For actuation implementation,
|
||||
# this information is pass-through for Rollout management. Producer shall
|
||||
# not modify by itself.
|
||||
# For update of a single entry in this map, the update field mask shall
|
||||
# follow this sementics: go/advanced-field-masks
|
||||
# Corresponds to the JSON property `rolloutMetadata`
|
||||
# @return [Hash<String,Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata>]
|
||||
attr_accessor :rollout_metadata
|
||||
|
||||
# Link to the SLM instance template. Only populated when updating SLM
|
||||
# instances via SSA's Actuation service adaptor.
|
||||
# Service producers with custom control plane (e.g. Cloud SQL) doesn't
|
||||
|
@ -259,7 +190,6 @@ module Google
|
|||
@name = args[:name] if args.key?(:name)
|
||||
@producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
|
||||
@provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
|
||||
@rollout_metadata = args[:rollout_metadata] if args.key?(:rollout_metadata)
|
||||
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
||||
@slo_metadata = args[:slo_metadata] if args.key?(:slo_metadata)
|
||||
@software_versions = args[:software_versions] if args.key?(:software_versions)
|
||||
|
@ -351,47 +281,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the instance update has been rescheduled.
|
||||
# Corresponds to the JSON property `rescheduled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :rescheduled
|
||||
alias_method :rescheduled?, :rescheduled
|
||||
|
||||
# The scheduled end time for the maintenance window during which update
|
||||
# can be performed on the instance.
|
||||
# Corresponds to the JSON property `scheduledEndTime`
|
||||
# @return [String]
|
||||
attr_accessor :scheduled_end_time
|
||||
|
||||
# The scheduled start time for the maintenance window during which
|
||||
# update can be performed on the instance.
|
||||
# Corresponds to the JSON property `scheduledStartTime`
|
||||
# @return [String]
|
||||
attr_accessor :scheduled_start_time
|
||||
|
||||
# The target release to be applied to the instance.
|
||||
# Corresponds to the JSON property `targetRelease`
|
||||
# @return [String]
|
||||
attr_accessor :target_release
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@rescheduled = args[:rescheduled] if args.key?(:rescheduled)
|
||||
@scheduled_end_time = args[:scheduled_end_time] if args.key?(:scheduled_end_time)
|
||||
@scheduled_start_time = args[:scheduled_start_time] if args.key?(:scheduled_start_time)
|
||||
@target_release = args[:target_release] if args.key?(:target_release)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes provisioned dataplane resources.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -423,39 +312,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# RolloutMetadata for an actuation instance. It maps to a single RolloutType.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
# Corresponds to the JSON property `notification`
|
||||
# @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
|
||||
attr_accessor :notification
|
||||
|
||||
# The last Release that has been applied to the instance.
|
||||
# Corresponds to the JSON property `releaseName`
|
||||
# @return [String]
|
||||
attr_accessor :release_name
|
||||
|
||||
# The last rollout that has been applied to the instance.
|
||||
# Corresponds to the JSON property `rolloutName`
|
||||
# @return [String]
|
||||
attr_accessor :rollout_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@notification = args[:notification] if args.key?(:notification)
|
||||
@release_name = args[:release_name] if args.key?(:release_name)
|
||||
@rollout_name = args[:rollout_name] if args.key?(:rollout_name)
|
||||
end
|
||||
end
|
||||
|
||||
# SloEligibility is a tuple containing eligibility value: true if an instance
|
||||
# is eligible for SLO calculation or false if it should be excluded from all
|
||||
# SLO-related calculations along with a user-defined reason.
|
||||
|
|
|
@ -58,24 +58,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -181,8 +169,6 @@ module Google
|
|||
hash :producer_metadata, as: 'producerMetadata'
|
||||
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
||||
|
||||
hash :rollout_metadata, as: 'rolloutMetadata', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata::Representation
|
||||
|
||||
property :slm_instance_template, as: 'slmInstanceTemplate'
|
||||
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
||||
|
||||
|
@ -213,16 +199,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :rescheduled, as: 'rescheduled'
|
||||
property :scheduled_end_time, as: 'scheduledEndTime'
|
||||
property :scheduled_start_time, as: 'scheduledStartTime'
|
||||
property :target_release, as: 'targetRelease'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -231,16 +207,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :notification, as: 'notification', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata::Representation
|
||||
|
||||
property :release_name, as: 'releaseName'
|
||||
property :rollout_name, as: 'rolloutName'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
Loading…
Reference in New Issue