Autogenerated update (2020-01-09)

Update:
- container_v1beta1
- datacatalog_v1beta1
- dataproc_v1
- dataproc_v1beta2
- iap_v1
- ml_v1
This commit is contained in:
Google APIs 2020-01-09 00:37:48 +00:00
parent 6818aaeb5a
commit 735851fa1d
21 changed files with 1313 additions and 485 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191115' REVISION = '20191211'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -58,6 +58,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::CloudRunConfig] # @return [Google::Apis::ContainerV1beta1::CloudRunConfig]
attr_accessor :cloud_run_config attr_accessor :cloud_run_config
# Configuration for NodeLocal DNSCache
# Corresponds to the JSON property `dnsCacheConfig`
# @return [Google::Apis::ContainerV1beta1::DnsCacheConfig]
attr_accessor :dns_cache_config
# Configuration options for the horizontal pod autoscaling feature, which # Configuration options for the horizontal pod autoscaling feature, which
# increases or decreases the number of replica pods a replication controller # increases or decreases the number of replica pods a replication controller
# has based on the resource usage of the existing pods. # has based on the resource usage of the existing pods.
@ -76,6 +81,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::IstioConfig] # @return [Google::Apis::ContainerV1beta1::IstioConfig]
attr_accessor :istio_config attr_accessor :istio_config
# Configuration options for the KALM addon.
# Corresponds to the JSON property `kalmConfig`
# @return [Google::Apis::ContainerV1beta1::KalmConfig]
attr_accessor :kalm_config
# Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
# Corresponds to the JSON property `kubernetesDashboard` # Corresponds to the JSON property `kubernetesDashboard`
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard] # @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
@ -95,9 +105,11 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config) @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@istio_config = args[:istio_config] if args.key?(:istio_config) @istio_config = args[:istio_config] if args.key?(:istio_config)
@kalm_config = args[:kalm_config] if args.key?(:kalm_config)
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config) @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
end end
@ -294,20 +306,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The server-assigned `name` of the operation. # Required. Deprecated. The server-assigned `name` of the operation.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `operationId` # Corresponds to the JSON property `operationId`
# @return [String] # @return [String]
attr_accessor :operation_id attr_accessor :operation_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the operation resides. # [zone](/compute/docs/zones#available) in which the operation resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
@ -428,6 +440,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :cluster_ipv4_cidr attr_accessor :cluster_ipv4_cidr
# Telemetry integration for the cluster.
# Corresponds to the JSON property `clusterTelemetry`
# @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
attr_accessor :cluster_telemetry
# Which conditions caused the current cluster state. # Which conditions caused the current cluster state.
# Corresponds to the JSON property `conditions` # Corresponds to the JSON property `conditions`
# @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>] # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
@ -792,6 +809,7 @@ module Google
@autoscaling = args[:autoscaling] if args.key?(:autoscaling) @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization) @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr) @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
@conditions = args[:conditions] if args.key?(:conditions) @conditions = args[:conditions] if args.key?(:conditions)
@create_time = args[:create_time] if args.key?(:create_time) @create_time = args[:create_time] if args.key?(:create_time)
@current_master_version = args[:current_master_version] if args.key?(:current_master_version) @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
@ -864,6 +882,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults] # @return [Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults]
attr_accessor :autoprovisioning_node_pool_defaults attr_accessor :autoprovisioning_node_pool_defaults
# Defines autoscaling behaviour.
# Corresponds to the JSON property `autoscalingProfile`
# @return [String]
attr_accessor :autoscaling_profile
# Enables automatic node pool creation and deletion. # Enables automatic node pool creation and deletion.
# Corresponds to the JSON property `enableNodeAutoprovisioning` # Corresponds to the JSON property `enableNodeAutoprovisioning`
# @return [Boolean] # @return [Boolean]
@ -884,11 +907,31 @@ module Google
def update!(**args) def update!(**args)
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations) @autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults) @autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
@autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning) @enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
@resource_limits = args[:resource_limits] if args.key?(:resource_limits) @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
end end
end end
# Telemetry integration for the cluster.
class ClusterTelemetry
include Google::Apis::Core::Hashable
# Type of the integration.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end
# ClusterUpdate describes an update to the cluster. Exactly one update can # ClusterUpdate describes an update to the cluster. Exactly one update can
# be applied to a cluster with each request, so at most one field can be # be applied to a cluster with each request, so at most one field can be
# provided. # provided.
@ -914,6 +957,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling] # @return [Google::Apis::ContainerV1beta1::ClusterAutoscaling]
attr_accessor :desired_cluster_autoscaling attr_accessor :desired_cluster_autoscaling
# Telemetry integration for the cluster.
# Corresponds to the JSON property `desiredClusterTelemetry`
# @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
attr_accessor :desired_cluster_telemetry
# Configuration of etcd encryption. # Configuration of etcd encryption.
# Corresponds to the JSON property `desiredDatabaseEncryption` # Corresponds to the JSON property `desiredDatabaseEncryption`
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption] # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
@ -1019,6 +1067,17 @@ module Google
# @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig] # @return [Google::Apis::ContainerV1beta1::PrivateClusterConfig]
attr_accessor :desired_private_cluster_config attr_accessor :desired_private_cluster_config
# ReleaseChannel indicates which release channel a cluster is
# subscribed to. Release channels are arranged in order of risk and
# frequency of updates.
# When a cluster is subscribed to a release channel, Google maintains
# both the master version and the node version. Node auto-upgrade
# defaults to true and cannot be disabled. Updates to version related
# fields (e.g. current_master_version) return an error.
# Corresponds to the JSON property `desiredReleaseChannel`
# @return [Google::Apis::ContainerV1beta1::ReleaseChannel]
attr_accessor :desired_release_channel
# Configuration for exporting cluster resource usages. # Configuration for exporting cluster resource usages.
# Corresponds to the JSON property `desiredResourceUsageExportConfig` # Corresponds to the JSON property `desiredResourceUsageExportConfig`
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig] # @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
@ -1051,6 +1110,7 @@ module Google
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization) @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling) @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption) @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config) @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@ -1064,6 +1124,7 @@ module Google
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
@desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config) @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config)
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config) @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config) @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes) @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling) @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
@ -1075,7 +1136,7 @@ module Google
class CompleteIpRotationRequest class CompleteIpRotationRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -1087,14 +1148,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -1152,14 +1213,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :parent attr_accessor :parent
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -1184,7 +1245,7 @@ module Google
class CreateNodePoolRequest class CreateNodePoolRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -1207,14 +1268,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :parent attr_accessor :parent
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -1289,6 +1350,26 @@ module Google
end end
end end
# Configuration for NodeLocal DNSCache
class DnsCacheConfig
include Google::Apis::Core::Hashable
# Whether NodeLocal DNSCache is enabled for this cluster.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# A generic empty message that you can re-use to avoid defining duplicated # A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request # empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance: # or the response type of an API method. For instance:
@ -1770,6 +1851,26 @@ module Google
end end
end end
# Configuration options for the KALM addon.
class KalmConfig
include Google::Apis::Core::Hashable
# Whether KALM is enabled for this cluster.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
class KubernetesDashboard class KubernetesDashboard
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2344,6 +2445,7 @@ module Google
# "containerd-configure-sh" # "containerd-configure-sh"
# "enable-oslogin" # "enable-oslogin"
# "gci-ensure-gke-docker" # "gci-ensure-gke-docker"
# "gci-metrics-enabled"
# "gci-update-strategy" # "gci-update-strategy"
# "instance-template" # "instance-template"
# "kube-env" # "kube-env"
@ -2372,6 +2474,7 @@ module Google
# information, read [how to specify min CPU # information, read [how to specify min CPU
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu- # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-
# platform) # platform)
# To unset the min cpu platform field pass "automatic" as field value.
# Corresponds to the JSON property `minCpuPlatform` # Corresponds to the JSON property `minCpuPlatform`
# @return [String] # @return [String]
attr_accessor :min_cpu_platform attr_accessor :min_cpu_platform
@ -2399,6 +2502,13 @@ module Google
attr_accessor :preemptible attr_accessor :preemptible
alias_method :preemptible?, :preemptible alias_method :preemptible?, :preemptible
# [ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is
# the configuration of desired reservation which instances could take
# capacity from.
# Corresponds to the JSON property `reservationAffinity`
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
attr_accessor :reservation_affinity
# SandboxConfig contains configurations of the sandbox to use for the node. # SandboxConfig contains configurations of the sandbox to use for the node.
# Corresponds to the JSON property `sandboxConfig` # Corresponds to the JSON property `sandboxConfig`
# @return [Google::Apis::ContainerV1beta1::SandboxConfig] # @return [Google::Apis::ContainerV1beta1::SandboxConfig]
@ -2453,6 +2563,7 @@ module Google
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
@preemptible = args[:preemptible] if args.key?(:preemptible) @preemptible = args[:preemptible] if args.key?(:preemptible)
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
@sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config) @sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
@service_account = args[:service_account] if args.key?(:service_account) @service_account = args[:service_account] if args.key?(:service_account)
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config) @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@ -3072,6 +3183,39 @@ module Google
end end
end end
# [ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is
# the configuration of desired reservation which instances could take
# capacity from.
class ReservationAffinity
include Google::Apis::Core::Hashable
# Corresponds to the type of reservation consumption.
# Corresponds to the JSON property `consumeReservationType`
# @return [String]
attr_accessor :consume_reservation_type
# Corresponds to the label key of reservation resource.
# Corresponds to the JSON property `key`
# @return [String]
attr_accessor :key
# Corresponds to the label value(s) of reservation resource(s).
# Corresponds to the JSON property `values`
# @return [Array<String>]
attr_accessor :values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
@key = args[:key] if args.key?(:key)
@values = args[:values] if args.key?(:values)
end
end
# Contains information about amount of some resource in the cluster. # Contains information about amount of some resource in the cluster.
# For memory, value should be in GB. # For memory, value should be in GB.
class ResourceLimit class ResourceLimit
@ -3143,7 +3287,7 @@ module Google
class RollbackNodePoolUpgradeRequest class RollbackNodePoolUpgradeRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to rollback. # Required. Deprecated. The name of the cluster to rollback.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3156,20 +3300,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The name of the node pool to rollback. # Required. Deprecated. The name of the node pool to rollback.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `nodePoolId` # Corresponds to the JSON property `nodePoolId`
# @return [String] # @return [String]
attr_accessor :node_pool_id attr_accessor :node_pool_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3275,7 +3419,7 @@ module Google
# @return [Google::Apis::ContainerV1beta1::AddonsConfig] # @return [Google::Apis::ContainerV1beta1::AddonsConfig]
attr_accessor :addons_config attr_accessor :addons_config
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3287,14 +3431,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3322,13 +3466,13 @@ module Google
class SetLabelsRequest class SetLabelsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The fingerprint of the previous set of labels for this resource, # Required. The fingerprint of the previous set of labels for this resource,
# used to detect conflicts. The fingerprint is initially generated by # used to detect conflicts. The fingerprint is initially generated by
# Kubernetes Engine and changes after every request to modify or update # Kubernetes Engine and changes after every request to modify or update
# labels. You must always provide an up-to-date fingerprint hash when # labels. You must always provide an up-to-date fingerprint hash when
@ -3344,19 +3488,19 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# The labels to set for that cluster. # Required. The labels to set for that cluster.
# Corresponds to the JSON property `resourceLabels` # Corresponds to the JSON property `resourceLabels`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :resource_labels attr_accessor :resource_labels
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3384,13 +3528,13 @@ module Google
class SetLegacyAbacRequest class SetLegacyAbacRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# Whether ABAC authorization will be enabled in the cluster. # Required. Whether ABAC authorization will be enabled in the cluster.
# Corresponds to the JSON property `enabled` # Corresponds to the JSON property `enabled`
# @return [Boolean] # @return [Boolean]
attr_accessor :enabled attr_accessor :enabled
@ -3402,14 +3546,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3435,13 +3579,13 @@ module Google
class SetLocationsRequest class SetLocationsRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The desired list of Google Compute Engine # Required. The desired list of Google Compute Engine
# [zones](/compute/docs/zones#available) in which the cluster's nodes # [zones](/compute/docs/zones#available) in which the cluster's nodes
# should be located. Changing the locations a cluster is in will result # should be located. Changing the locations a cluster is in will result
# in nodes being either created or removed from the cluster, depending on # in nodes being either created or removed from the cluster, depending on
@ -3457,14 +3601,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3490,13 +3634,13 @@ module Google
class SetLoggingServiceRequest class SetLoggingServiceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The logging service the cluster should use to write metrics. # Required. The logging service the cluster should use to write metrics.
# Currently available options: # Currently available options:
# * "logging.googleapis.com" - the Google Cloud Logging service # * "logging.googleapis.com" - the Google Cloud Logging service
# * "none" - no metrics will be exported from the cluster # * "none" - no metrics will be exported from the cluster
@ -3510,14 +3654,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3543,7 +3687,7 @@ module Google
class SetMaintenancePolicyRequest class SetMaintenancePolicyRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The name of the cluster to update. # Required. The name of the cluster to update.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
@ -3560,13 +3704,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The Google Developers Console [project ID or project # Required. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# The name of the Google Compute Engine # Required. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# Corresponds to the JSON property `zone` # Corresponds to the JSON property `zone`
@ -3591,12 +3735,12 @@ module Google
class SetMasterAuthRequest class SetMasterAuthRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The exact form of action to be taken on the master auth. # Required. The exact form of action to be taken on the master auth.
# Corresponds to the JSON property `action` # Corresponds to the JSON property `action`
# @return [String] # @return [String]
attr_accessor :action attr_accessor :action
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3608,7 +3752,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
@ -3622,7 +3766,7 @@ module Google
# @return [Google::Apis::ContainerV1beta1::MasterAuth] # @return [Google::Apis::ContainerV1beta1::MasterAuth]
attr_accessor :update attr_accessor :update
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3649,13 +3793,13 @@ module Google
class SetMonitoringServiceRequest class SetMonitoringServiceRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The monitoring service the cluster should use to write metrics. # Required. The monitoring service the cluster should use to write metrics.
# Currently available options: # Currently available options:
# * "monitoring.googleapis.com" - the Google Cloud Monitoring service # * "monitoring.googleapis.com" - the Google Cloud Monitoring service
# * "none" - no metrics will be exported from the cluster # * "none" - no metrics will be exported from the cluster
@ -3669,14 +3813,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3702,7 +3846,7 @@ module Google
class SetNetworkPolicyRequest class SetNetworkPolicyRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3720,14 +3864,14 @@ module Google
# @return [Google::Apis::ContainerV1beta1::NetworkPolicy] # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
attr_accessor :network_policy attr_accessor :network_policy
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3759,7 +3903,7 @@ module Google
# @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling] # @return [Google::Apis::ContainerV1beta1::NodePoolAutoscaling]
attr_accessor :autoscaling attr_accessor :autoscaling
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3772,20 +3916,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The name of the node pool to upgrade. # Required. Deprecated. The name of the node pool to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `nodePoolId` # Corresponds to the JSON property `nodePoolId`
# @return [String] # @return [String]
attr_accessor :node_pool_id attr_accessor :node_pool_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3813,7 +3957,7 @@ module Google
class SetNodePoolManagementRequest class SetNodePoolManagementRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3832,20 +3976,20 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The name of the node pool to update. # Required. Deprecated. The name of the node pool to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `nodePoolId` # Corresponds to the JSON property `nodePoolId`
# @return [String] # @return [String]
attr_accessor :node_pool_id attr_accessor :node_pool_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3873,7 +4017,7 @@ module Google
class SetNodePoolSizeRequest class SetNodePoolSizeRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3886,25 +4030,25 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The desired node count for the pool. # Required. The desired node count for the pool.
# Corresponds to the JSON property `nodeCount` # Corresponds to the JSON property `nodeCount`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :node_count attr_accessor :node_count
# Deprecated. The name of the node pool to update. # Required. Deprecated. The name of the node pool to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `nodePoolId` # Corresponds to the JSON property `nodePoolId`
# @return [String] # @return [String]
attr_accessor :node_pool_id attr_accessor :node_pool_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -3986,7 +4130,7 @@ module Google
class StartIpRotationRequest class StartIpRotationRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -3998,7 +4142,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
@ -4011,7 +4155,7 @@ module Google
attr_accessor :rotate_credentials attr_accessor :rotate_credentials
alias_method :rotate_credentials?, :rotate_credentials alias_method :rotate_credentials?, :rotate_credentials
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -4136,7 +4280,7 @@ module Google
class UpdateClusterRequest class UpdateClusterRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
@ -4148,7 +4292,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
@ -4162,7 +4306,7 @@ module Google
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate] # @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
attr_accessor :update attr_accessor :update
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -4188,13 +4332,13 @@ module Google
class UpdateMasterRequest class UpdateMasterRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The Kubernetes version to change the master to. # Required. The Kubernetes version to change the master to.
# Users may specify either explicit versions offered by # Users may specify either explicit versions offered by
# Kubernetes Engine or version aliases, which have the following behavior: # Kubernetes Engine or version aliases, which have the following behavior:
# - "latest": picks the highest valid Kubernetes version # - "latest": picks the highest valid Kubernetes version
@ -4212,14 +4356,14 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
# @return [String] # @return [String]
attr_accessor :project_id attr_accessor :project_id
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -4245,13 +4389,13 @@ module Google
class UpdateNodePoolRequest class UpdateNodePoolRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `clusterId` # Corresponds to the JSON property `clusterId`
# @return [String] # @return [String]
attr_accessor :cluster_id attr_accessor :cluster_id
# The desired image type for the node pool. # Required. The desired image type for the node pool.
# Corresponds to the JSON property `imageType` # Corresponds to the JSON property `imageType`
# @return [String] # @return [String]
attr_accessor :image_type attr_accessor :image_type
@ -4272,13 +4416,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Deprecated. The name of the node pool to upgrade. # Required. Deprecated. The name of the node pool to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `nodePoolId` # Corresponds to the JSON property `nodePoolId`
# @return [String] # @return [String]
attr_accessor :node_pool_id attr_accessor :node_pool_id
# The Kubernetes version to change the nodes to (typically an # Required. The Kubernetes version to change the nodes to (typically an
# upgrade). # upgrade).
# Users may specify either explicit versions offered by Kubernetes Engine or # Users may specify either explicit versions offered by Kubernetes Engine or
# version aliases, which have the following behavior: # version aliases, which have the following behavior:
@ -4291,7 +4435,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :node_version attr_accessor :node_version
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# Corresponds to the JSON property `projectId` # Corresponds to the JSON property `projectId`
@ -4326,7 +4470,7 @@ module Google
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig] # @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
attr_accessor :workload_metadata_config attr_accessor :workload_metadata_config
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.

View File

@ -106,6 +106,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ClusterTelemetry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ClusterUpdate class ClusterUpdate
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -148,6 +154,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DnsCacheConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -214,6 +226,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class KalmConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class KubernetesDashboard class KubernetesDashboard
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -394,6 +412,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ReservationAffinity
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ResourceLimit class ResourceLimit
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -605,12 +629,16 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1beta1::CloudRunConfig, decorator: Google::Apis::ContainerV1beta1::CloudRunConfig::Representation property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1beta1::CloudRunConfig, decorator: Google::Apis::ContainerV1beta1::CloudRunConfig::Representation
property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1beta1::DnsCacheConfig, decorator: Google::Apis::ContainerV1beta1::DnsCacheConfig::Representation
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling::Representation property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling::Representation
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1beta1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1beta1::HttpLoadBalancing::Representation property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1beta1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1beta1::HttpLoadBalancing::Representation
property :istio_config, as: 'istioConfig', class: Google::Apis::ContainerV1beta1::IstioConfig, decorator: Google::Apis::ContainerV1beta1::IstioConfig::Representation property :istio_config, as: 'istioConfig', class: Google::Apis::ContainerV1beta1::IstioConfig, decorator: Google::Apis::ContainerV1beta1::IstioConfig::Representation
property :kalm_config, as: 'kalmConfig', class: Google::Apis::ContainerV1beta1::KalmConfig, decorator: Google::Apis::ContainerV1beta1::KalmConfig::Representation
property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation
@ -712,6 +740,8 @@ module Google
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1beta1::BinaryAuthorization, decorator: Google::Apis::ContainerV1beta1::BinaryAuthorization::Representation
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr' property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
property :cluster_telemetry, as: 'clusterTelemetry', class: Google::Apis::ContainerV1beta1::ClusterTelemetry, decorator: Google::Apis::ContainerV1beta1::ClusterTelemetry::Representation
collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1beta1::StatusCondition, decorator: Google::Apis::ContainerV1beta1::StatusCondition::Representation
property :create_time, as: 'createTime' property :create_time, as: 'createTime'
@ -791,12 +821,20 @@ module Google
collection :autoprovisioning_locations, as: 'autoprovisioningLocations' collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults::Representation property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults::Representation
property :autoscaling_profile, as: 'autoscalingProfile'
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning' property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1beta1::ResourceLimit, decorator: Google::Apis::ContainerV1beta1::ResourceLimit::Representation collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1beta1::ResourceLimit, decorator: Google::Apis::ContainerV1beta1::ResourceLimit::Representation
end end
end end
class ClusterTelemetry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end
class ClusterUpdate class ClusterUpdate
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -806,6 +844,8 @@ module Google
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1beta1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1beta1::ClusterAutoscaling::Representation
property :desired_cluster_telemetry, as: 'desiredClusterTelemetry', class: Google::Apis::ContainerV1beta1::ClusterTelemetry, decorator: Google::Apis::ContainerV1beta1::ClusterTelemetry::Representation
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
property :desired_image_type, as: 'desiredImageType' property :desired_image_type, as: 'desiredImageType'
@ -825,6 +865,8 @@ module Google
property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1beta1::PrivateClusterConfig::Representation
property :desired_release_channel, as: 'desiredReleaseChannel', class: Google::Apis::ContainerV1beta1::ReleaseChannel, decorator: Google::Apis::ContainerV1beta1::ReleaseChannel::Representation
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation property :desired_shielded_nodes, as: 'desiredShieldedNodes', class: Google::Apis::ContainerV1beta1::ShieldedNodes, decorator: Google::Apis::ContainerV1beta1::ShieldedNodes::Representation
@ -892,6 +934,13 @@ module Google
end end
end end
class DnsCacheConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class Empty class Empty
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1003,6 +1052,13 @@ module Google
end end
end end
class KalmConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class KubernetesDashboard class KubernetesDashboard
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1169,6 +1225,8 @@ module Google
property :min_cpu_platform, as: 'minCpuPlatform' property :min_cpu_platform, as: 'minCpuPlatform'
collection :oauth_scopes, as: 'oauthScopes' collection :oauth_scopes, as: 'oauthScopes'
property :preemptible, as: 'preemptible' property :preemptible, as: 'preemptible'
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1beta1::ReservationAffinity, decorator: Google::Apis::ContainerV1beta1::ReservationAffinity::Representation
property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation property :sandbox_config, as: 'sandboxConfig', class: Google::Apis::ContainerV1beta1::SandboxConfig, decorator: Google::Apis::ContainerV1beta1::SandboxConfig::Representation
property :service_account, as: 'serviceAccount' property :service_account, as: 'serviceAccount'
@ -1329,6 +1387,15 @@ module Google
end end
end end
class ReservationAffinity
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :consume_reservation_type, as: 'consumeReservationType'
property :key, as: 'key'
collection :values, as: 'values'
end
end
class ResourceLimit class ResourceLimit
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -50,7 +50,7 @@ module Google
# Lists subnetworks that can be used for creating clusters in a project. # Lists subnetworks that can be used for creating clusters in a project.
# @param [String] parent # @param [String] parent
# The parent project where subnetworks are usable. # Required. The parent project where subnetworks are usable.
# Specified in the format 'projects/*'. # Specified in the format 'projects/*'.
# @param [String] filter # @param [String] filter
# Filtering currently only supports equality on the networkProjectId and must # Filtering currently only supports equality on the networkProjectId and must
@ -100,11 +100,11 @@ module Google
# The name (project and location) of the server config to get, # The name (project and location) of the server config to get,
# specified in the format 'projects/*/locations/*'. # specified in the format 'projects/*/locations/*'.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for. # [zone](/compute/docs/zones#available) to return operations for.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] fields # @param [String] fields
@ -138,7 +138,7 @@ module Google
# Fetches locations that offer Google Kubernetes Engine. # Fetches locations that offer Google Kubernetes Engine.
# @param [String] parent # @param [String] parent
# Contains the name of the resource requested. # Required. Contains the name of the resource requested.
# Specified in the format 'projects/*'. # Specified in the format 'projects/*'.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -255,14 +255,14 @@ module Google
# The name (project, location, cluster) of the cluster to delete. # The name (project, location, cluster) of the cluster to delete.
# Specified in the format 'projects/*/locations/*/clusters/*'. # Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to delete. # Required. Deprecated. The name of the cluster to delete.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -301,14 +301,14 @@ module Google
# The name (project, location, cluster) of the cluster to retrieve. # The name (project, location, cluster) of the cluster to retrieve.
# Specified in the format 'projects/*/locations/*/clusters/*'. # Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to retrieve. # Required. Deprecated. The name of the cluster to retrieve.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -383,11 +383,11 @@ module Google
# Specified in the format 'projects/*/locations/*'. # Specified in the format 'projects/*/locations/*'.
# Location "-" matches all zones and all regions. # Location "-" matches all zones and all regions.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides, or "-" for all zones. # resides, or "-" for all zones.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -872,17 +872,17 @@ module Google
# delete. Specified in the format # delete. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'. # 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to delete. # Required. Deprecated. The name of the node pool to delete.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -923,17 +923,17 @@ module Google
# get. Specified in the format # get. Specified in the format
# 'projects/*/locations/*/clusters/*/nodePools/*'. # 'projects/*/locations/*/clusters/*/nodePools/*'.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool. # Required. Deprecated. The name of the node pool.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -973,14 +973,14 @@ module Google
# The parent (project, location, cluster id) where the node pools will be # The parent (project, location, cluster id) where the node pools will be
# listed. Specified in the format 'projects/*/locations/*/clusters/*'. # listed. Specified in the format 'projects/*/locations/*/clusters/*'.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -1266,14 +1266,14 @@ module Google
# The name (project, location, operation id) of the operation to get. # The name (project, location, operation id) of the operation to get.
# Specified in the format 'projects/*/locations/*/operations/*'. # Specified in the format 'projects/*/locations/*/operations/*'.
# @param [String] operation_id # @param [String] operation_id
# Deprecated. The server-assigned `name` of the operation. # Required. Deprecated. The server-assigned `name` of the operation.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
@ -1313,11 +1313,11 @@ module Google
# Specified in the format 'projects/*/locations/*'. # Specified in the format 'projects/*/locations/*'.
# Location "-" matches all zones and all regions. # Location "-" matches all zones and all regions.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for # [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field. # all zones. This field has been deprecated and replaced by the parent field.
# @param [String] fields # @param [String] fields
@ -1351,11 +1351,11 @@ module Google
# Returns configuration info about the Google Kubernetes Engine service. # Returns configuration info about the Google Kubernetes Engine service.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for. # [zone](/compute/docs/zones#available) to return operations for.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
@ -1392,16 +1392,16 @@ module Google
# Sets the addons for a specific cluster. # Sets the addons for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object # @param [Google::Apis::ContainerV1beta1::SetAddonsConfigRequest] set_addons_config_request_object
# @param [String] fields # @param [String] fields
@ -1437,16 +1437,16 @@ module Google
# Completes master IP rotation. # Completes master IP rotation.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::CompleteIpRotationRequest] complete_ip_rotation_request_object # @param [Google::Apis::ContainerV1beta1::CompleteIpRotationRequest] complete_ip_rotation_request_object
# @param [String] fields # @param [String] fields
@ -1491,11 +1491,11 @@ module Google
# Finally, an entry is added to the project's global metadata indicating # Finally, an entry is added to the project's global metadata indicating
# which CIDR range the cluster is using. # which CIDR range the cluster is using.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -1538,16 +1538,16 @@ module Google
# such as load balancer resources, are not deleted if they weren't present # such as load balancer resources, are not deleted if they weren't present
# when the cluster was initially created. # when the cluster was initially created.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to delete. # Required. Deprecated. The name of the cluster to delete.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
# The name (project, location, cluster) of the cluster to delete. # The name (project, location, cluster) of the cluster to delete.
@ -1584,16 +1584,16 @@ module Google
# Gets the details for a specific cluster. # Gets the details for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to retrieve. # Required. Deprecated. The name of the cluster to retrieve.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
# The name (project, location, cluster) of the cluster to retrieve. # The name (project, location, cluster) of the cluster to retrieve.
@ -1630,16 +1630,16 @@ module Google
# Enables or disables the ABAC authorization mechanism on a cluster. # Enables or disables the ABAC authorization mechanism on a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetLegacyAbacRequest] set_legacy_abac_request_object # @param [Google::Apis::ContainerV1beta1::SetLegacyAbacRequest] set_legacy_abac_request_object
# @param [String] fields # @param [String] fields
@ -1676,11 +1676,11 @@ module Google
# Lists all clusters owned by a project in either the specified zone or all # Lists all clusters owned by a project in either the specified zone or all
# zones. # zones.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides, or "-" for all zones. # resides, or "-" for all zones.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
@ -1719,16 +1719,16 @@ module Google
# Sets the locations for a specific cluster. # Sets the locations for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object # @param [Google::Apis::ContainerV1beta1::SetLocationsRequest] set_locations_request_object
# @param [String] fields # @param [String] fields
@ -1764,16 +1764,16 @@ module Google
# Sets the logging service for a specific cluster. # Sets the logging service for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetLoggingServiceRequest] set_logging_service_request_object # @param [Google::Apis::ContainerV1beta1::SetLoggingServiceRequest] set_logging_service_request_object
# @param [String] fields # @param [String] fields
@ -1809,16 +1809,16 @@ module Google
# Updates the master for a specific cluster. # Updates the master for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object # @param [Google::Apis::ContainerV1beta1::UpdateMasterRequest] update_master_request_object
# @param [String] fields # @param [String] fields
@ -1854,16 +1854,16 @@ module Google
# Sets the monitoring service for a specific cluster. # Sets the monitoring service for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object # @param [Google::Apis::ContainerV1beta1::SetMonitoringServiceRequest] set_monitoring_service_request_object
# @param [String] fields # @param [String] fields
@ -1899,16 +1899,16 @@ module Google
# Sets labels on a cluster. # Sets labels on a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetLabelsRequest] set_labels_request_object # @param [Google::Apis::ContainerV1beta1::SetLabelsRequest] set_labels_request_object
# @param [String] fields # @param [String] fields
@ -1944,14 +1944,14 @@ module Google
# Sets the maintenance policy for a cluster. # Sets the maintenance policy for a cluster.
# @param [String] project_id # @param [String] project_id
# The Google Developers Console [project ID or project # Required. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# @param [String] zone # @param [String] zone
# The name of the Google Compute Engine # Required. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# @param [String] cluster_id # @param [String] cluster_id
# The name of the cluster to update. # Required. The name of the cluster to update.
# @param [Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object # @param [Google::Apis::ContainerV1beta1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1988,16 +1988,16 @@ module Google
# or a specific cluster, either via password generation or explicitly setting # or a specific cluster, either via password generation or explicitly setting
# the password. # the password.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetMasterAuthRequest] set_master_auth_request_object # @param [Google::Apis::ContainerV1beta1::SetMasterAuthRequest] set_master_auth_request_object
# @param [String] fields # @param [String] fields
@ -2033,16 +2033,16 @@ module Google
# Enables or disables Network Policy for a cluster. # Enables or disables Network Policy for a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest] set_network_policy_request_object # @param [Google::Apis::ContainerV1beta1::SetNetworkPolicyRequest] set_network_policy_request_object
# @param [String] fields # @param [String] fields
@ -2078,16 +2078,16 @@ module Google
# Starts master IP rotation. # Starts master IP rotation.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::StartIpRotationRequest] start_ip_rotation_request_object # @param [Google::Apis::ContainerV1beta1::StartIpRotationRequest] start_ip_rotation_request_object
# @param [String] fields # @param [String] fields
@ -2123,16 +2123,16 @@ module Google
# Updates the settings for a specific cluster. # Updates the settings for a specific cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::UpdateClusterRequest] update_cluster_request_object # @param [Google::Apis::ContainerV1beta1::UpdateClusterRequest] update_cluster_request_object
# @param [String] fields # @param [String] fields
@ -2168,19 +2168,19 @@ module Google
# Sets the autoscaling settings of a specific node pool. # Sets the autoscaling settings of a specific node pool.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to upgrade. # Required. Deprecated. The name of the node pool to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object # @param [Google::Apis::ContainerV1beta1::SetNodePoolAutoscalingRequest] set_node_pool_autoscaling_request_object
# @param [String] fields # @param [String] fields
@ -2217,16 +2217,16 @@ module Google
# Creates a node pool for a cluster. # Creates a node pool for a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object # @param [Google::Apis::ContainerV1beta1::CreateNodePoolRequest] create_node_pool_request_object
# @param [String] fields # @param [String] fields
@ -2262,19 +2262,19 @@ module Google
# Deletes a node pool from a cluster. # Deletes a node pool from a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to delete. # Required. Deprecated. The name of the node pool to delete.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to # The name (project, location, cluster, node pool id) of the node pool to
@ -2313,19 +2313,19 @@ module Google
# Retrieves the requested node pool. # Retrieves the requested node pool.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool. # Required. Deprecated. The name of the node pool.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
# The name (project, location, cluster, node pool id) of the node pool to # The name (project, location, cluster, node pool id) of the node pool to
@ -2364,16 +2364,16 @@ module Google
# Lists the node pools for a cluster. # Lists the node pools for a cluster.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://developers.google.com/console/help/new/#projectnumber). # number](https://developers.google.com/console/help/new/#projectnumber).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster. # Required. Deprecated. The name of the cluster.
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] parent # @param [String] parent
# The parent (project, location, cluster id) where the node pools will be # The parent (project, location, cluster id) where the node pools will be
@ -2411,19 +2411,19 @@ module Google
# Rolls back a previously Aborted or Failed NodePool upgrade. # Rolls back a previously Aborted or Failed NodePool upgrade.
# This makes no changes if the last upgrade successfully completed. # This makes no changes if the last upgrade successfully completed.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to rollback. # Required. Deprecated. The name of the cluster to rollback.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to rollback. # Required. Deprecated. The name of the node pool to rollback.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object # @param [Google::Apis::ContainerV1beta1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object
# @param [String] fields # @param [String] fields
@ -2460,19 +2460,19 @@ module Google
# Sets the NodeManagement options for a node pool. # Sets the NodeManagement options for a node pool.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to update. # Required. Deprecated. The name of the node pool to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetNodePoolManagementRequest] set_node_pool_management_request_object # @param [Google::Apis::ContainerV1beta1::SetNodePoolManagementRequest] set_node_pool_management_request_object
# @param [String] fields # @param [String] fields
@ -2509,19 +2509,19 @@ module Google
# Sets the size for a specific node pool. # Sets the size for a specific node pool.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to update. # Required. Deprecated. The name of the cluster to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to update. # Required. Deprecated. The name of the node pool to update.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest] set_node_pool_size_request_object # @param [Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest] set_node_pool_size_request_object
# @param [String] fields # @param [String] fields
@ -2558,19 +2558,19 @@ module Google
# Updates the version and/or image type of a specific node pool. # Updates the version and/or image type of a specific node pool.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] cluster_id # @param [String] cluster_id
# Deprecated. The name of the cluster to upgrade. # Required. Deprecated. The name of the cluster to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] node_pool_id # @param [String] node_pool_id
# Deprecated. The name of the node pool to upgrade. # Required. Deprecated. The name of the node pool to upgrade.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object # @param [Google::Apis::ContainerV1beta1::UpdateNodePoolRequest] update_node_pool_request_object
# @param [String] fields # @param [String] fields
@ -2607,15 +2607,15 @@ module Google
# Cancels the specified operation. # Cancels the specified operation.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the operation resides. # [zone](/compute/docs/zones#available) in which the operation resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] operation_id # @param [String] operation_id
# Deprecated. The server-assigned `name` of the operation. # Required. Deprecated. The server-assigned `name` of the operation.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [Google::Apis::ContainerV1beta1::CancelOperationRequest] cancel_operation_request_object # @param [Google::Apis::ContainerV1beta1::CancelOperationRequest] cancel_operation_request_object
# @param [String] fields # @param [String] fields
@ -2651,16 +2651,16 @@ module Google
# Gets the specified operation. # Gets the specified operation.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) in which the cluster # [zone](/compute/docs/zones#available) in which the cluster
# resides. # resides.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] operation_id # @param [String] operation_id
# Deprecated. The server-assigned `name` of the operation. # Required. Deprecated. The server-assigned `name` of the operation.
# This field has been deprecated and replaced by the name field. # This field has been deprecated and replaced by the name field.
# @param [String] name # @param [String] name
# The name (project, location, operation id) of the operation to get. # The name (project, location, operation id) of the operation to get.
@ -2697,11 +2697,11 @@ module Google
# Lists all operations in a project in the specified zone or all zones. # Lists all operations in a project in the specified zone or all zones.
# @param [String] project_id # @param [String] project_id
# Deprecated. The Google Developers Console [project ID or project # Required. Deprecated. The Google Developers Console [project ID or project
# number](https://support.google.com/cloud/answer/6158840). # number](https://support.google.com/cloud/answer/6158840).
# This field has been deprecated and replaced by the parent field. # This field has been deprecated and replaced by the parent field.
# @param [String] zone # @param [String] zone
# Deprecated. The name of the Google Compute Engine # Required. Deprecated. The name of the Google Compute Engine
# [zone](/compute/docs/zones#available) to return operations for, or `-` for # [zone](/compute/docs/zones#available) to return operations for, or `-` for
# all zones. This field has been deprecated and replaced by the parent field. # all zones. This field has been deprecated and replaced by the parent field.
# @param [String] parent # @param [String] parent

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/data-catalog/docs/ # @see https://cloud.google.com/data-catalog/docs/
module DatacatalogV1beta1 module DatacatalogV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191217' REVISION = '20191231'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1294,9 +1294,12 @@ module Google
end end
end end
# A tag template defines the schema of the tags used to attach to Data Catalog # A tag template defines a tag, which can have one or more typed fields.
# resources. It defines the mapping of accepted field names and types that can # The template is used to create and attach the tag to GCP resources.
# be used within the tag. The tag template also controls the access to the tag. # [Tag template roles](/iam/docs/understanding-roles#data-catalog-roles)
# provide permissions to create, edit, and use the template (see, for example,
# the [TagTemplate User](/data-catalog/docs/how-to/template-user) role, which
# includes permission to use the tag template to tag resources.
class GoogleCloudDatacatalogV1beta1TagTemplate class GoogleCloudDatacatalogV1beta1TagTemplate
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1 module DataprocV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191210' REVISION = '20191219'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -37,8 +37,8 @@ module Google
# https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/ # https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80 # acceleratorTypes/nvidia-tesla-k80
# projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 # projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
# nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto # nvidia-tesla-k80Auto Zone Exception: If you are using the Dataproc Auto Zone
# Zone Placement feature, you must use the short name of the accelerator type # Placement feature, you must use the short name of the accelerator type
# resource, for example, nvidia-tesla-k80. # resource, for example, nvidia-tesla-k80.
# Corresponds to the JSON property `acceleratorTypeUri` # Corresponds to the JSON property `acceleratorTypeUri`
# @return [String] # @return [String]
@ -64,8 +64,7 @@ module Google
# https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[ # https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id] # dataproc_region]/autoscalingPolicies/[policy_id]
# projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[ # projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
# policy_id]Note that the policy must be in the same project and Cloud Dataproc # policy_id]Note that the policy must be in the same project and Dataproc region.
# region.
# Corresponds to the JSON property `policyUri` # Corresponds to the JSON property `policyUri`
# @return [String] # @return [String]
attr_accessor :policy_uri attr_accessor :policy_uri
@ -311,8 +310,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc # Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates
# generates this value when it creates the cluster. # this value when it creates the cluster.
# Corresponds to the JSON property `clusterUuid` # Corresponds to the JSON property `clusterUuid`
# @return [String] # @return [String]
attr_accessor :cluster_uuid attr_accessor :cluster_uuid
@ -379,12 +378,12 @@ module Google
# @return [Google::Apis::DataprocV1::AutoscalingConfig] # @return [Google::Apis::DataprocV1::AutoscalingConfig]
attr_accessor :autoscaling_config attr_accessor :autoscaling_config
# Optional. A Google Cloud Storage bucket used to stage job dependencies, config # Optional. A Cloud Storage bucket used to stage job dependencies, config files,
# files, and job driver console output. If you do not specify a staging bucket, # and job driver console output. If you do not specify a staging bucket, Cloud
# Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for # Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your
# your cluster's staging bucket according to the Google Compute Engine zone # cluster's staging bucket according to the Compute Engine zone where your
# where your cluster is deployed, and then create and manage this project-level, # cluster is deployed, and then create and manage this project-level, per-
# per-location bucket (see Cloud Dataproc staging bucket). # location bucket (see Dataproc staging bucket).
# Corresponds to the JSON property `configBucket` # Corresponds to the JSON property `configBucket`
# @return [String] # @return [String]
attr_accessor :config_bucket attr_accessor :config_bucket
@ -666,7 +665,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Output only. Time when this state was entered. # Output only. Time when this state was entered (see JSON representation of
# Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `stateStartTime` # Corresponds to the JSON property `stateStartTime`
# @return [String] # @return [String]
attr_accessor :state_start_time attr_accessor :state_start_time
@ -885,13 +885,9 @@ module Google
# @return [Google::Apis::DataprocV1::ReservationAffinity] # @return [Google::Apis::DataprocV1::ReservationAffinity]
attr_accessor :reservation_affinity attr_accessor :reservation_affinity
# Optional. The service account of the instances. Defaults to the default # Optional. The Dataproc service account (also see VM Data Plane identity) used
# Compute Engine service account. Custom service accounts need permissions # by Dataproc cluster VM instances to access Google Cloud Platform services.If
# equivalent to the following IAM roles: # not specified, the Compute Engine default service account is used.
# roles/logging.logWriter
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
# service-accounts#custom_service_accounts for more information). Example: [
# account_id]@[project_id].iam.gserviceaccount.com
# Corresponds to the JSON property `serviceAccount` # Corresponds to the JSON property `serviceAccount`
# @return [String] # @return [String]
attr_accessor :service_account attr_accessor :service_account
@ -928,9 +924,9 @@ module Google
# Optional. The zone where the Compute Engine cluster will be located. On a # Optional. The zone where the Compute Engine cluster will be located. On a
# create request, it is required in the "global" region. If omitted in a non- # create request, it is required in the "global" region. If omitted in a non-
# global Cloud Dataproc region, the service will pick a zone in the # global Dataproc region, the service will pick a zone in the corresponding
# corresponding Compute Engine region. On a get request, zone will always be # Compute Engine region. On a get request, zone will always be present.A full
# present.A full URL, partial URI, or short name are valid. Examples: # URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
# projects/[project_id]/zones/[zone] # projects/[project_id]/zones/[zone]
# us-central1-f # us-central1-f
@ -997,8 +993,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
class HadoopJob class HadoopJob
@ -1051,7 +1047,7 @@ module Google
attr_accessor :main_jar_file_uri attr_accessor :main_jar_file_uri
# Optional. A mapping of property names to values, used to configure Hadoop. # Optional. A mapping of property names to values, used to configure Hadoop.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes
# in user code. # in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -1075,8 +1071,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
class HiveJob class HiveJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1095,7 +1091,7 @@ module Google
attr_accessor :jar_file_uris attr_accessor :jar_file_uris
# Optional. A mapping of property names and values, used to configure Hive. # Optional. A mapping of property names and values, used to configure Hive.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
# hive/conf/hive-site.xml, and classes in user code. # hive/conf/hive-site.xml, and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -1205,7 +1201,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :image_uri attr_accessor :image_uri
# Output only. The list of instance names. Cloud Dataproc derives the names from # Output only. The list of instance names. Dataproc derives the names from
# cluster_name, num_instances, and the instance group. # cluster_name, num_instances, and the instance group.
# Corresponds to the JSON property `instanceNames` # Corresponds to the JSON property `instanceNames`
# @return [Array<String>] # @return [Array<String>]
@ -1222,9 +1218,9 @@ module Google
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
# machineTypes/n1-standard-2 # machineTypes/n1-standard-2
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 # projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
# n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto # n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# Zone Placement feature, you must use the short name of the machine type # Placement feature, you must use the short name of the machine type resource,
# resource, for example, n1-standard-2. # for example, n1-standard-2.
# Corresponds to the JSON property `machineTypeUri` # Corresponds to the JSON property `machineTypeUri`
# @return [String] # @return [String]
attr_accessor :machine_type_uri attr_accessor :machine_type_uri
@ -1234,7 +1230,7 @@ module Google
# @return [Google::Apis::DataprocV1::ManagedGroupConfig] # @return [Google::Apis::DataprocV1::ManagedGroupConfig]
attr_accessor :managed_group_config attr_accessor :managed_group_config
# Optional. Specifies the minimum cpu platform for the Instance Group. See Cloud # Optional. Specifies the minimum cpu platform for the Instance Group. See
# Dataproc&rarr;Minimum CPU Platform. # Dataproc&rarr;Minimum CPU Platform.
# Corresponds to the JSON property `minCpuPlatform` # Corresponds to the JSON property `minCpuPlatform`
# @return [String] # @return [String]
@ -1304,7 +1300,7 @@ module Google
end end
end end
# A Cloud Dataproc job resource. # A Dataproc job resource.
class Job class Job
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1321,16 +1317,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :driver_output_resource_uri attr_accessor :driver_output_resource_uri
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
# Corresponds to the JSON property `hadoopJob` # Corresponds to the JSON property `hadoopJob`
# @return [Google::Apis::DataprocV1::HadoopJob] # @return [Google::Apis::DataprocV1::HadoopJob]
attr_accessor :hadoop_job attr_accessor :hadoop_job
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
# Corresponds to the JSON property `hiveJob` # Corresponds to the JSON property `hiveJob`
# @return [Google::Apis::DataprocV1::HiveJob] # @return [Google::Apis::DataprocV1::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
@ -1351,19 +1347,19 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
# Corresponds to the JSON property `pigJob` # Corresponds to the JSON property `pigJob`
# @return [Google::Apis::DataprocV1::PigJob] # @return [Google::Apis::DataprocV1::PigJob]
attr_accessor :pig_job attr_accessor :pig_job
# Cloud Dataproc job config. # Dataproc job config.
# Corresponds to the JSON property `placement` # Corresponds to the JSON property `placement`
# @return [Google::Apis::DataprocV1::JobPlacement] # @return [Google::Apis::DataprocV1::JobPlacement]
attr_accessor :placement attr_accessor :placement
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
# Corresponds to the JSON property `pysparkJob` # Corresponds to the JSON property `pysparkJob`
# @return [Google::Apis::DataprocV1::PySparkJob] # @return [Google::Apis::DataprocV1::PySparkJob]
attr_accessor :pyspark_job attr_accessor :pyspark_job
@ -1378,25 +1374,25 @@ module Google
# @return [Google::Apis::DataprocV1::JobScheduling] # @return [Google::Apis::DataprocV1::JobScheduling]
attr_accessor :scheduling attr_accessor :scheduling
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. # applications on YARN.
# Corresponds to the JSON property `sparkJob` # Corresponds to the JSON property `sparkJob`
# @return [Google::Apis::DataprocV1::SparkJob] # @return [Google::Apis::DataprocV1::SparkJob]
attr_accessor :spark_job attr_accessor :spark_job
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/ # A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/
# latest/sparkr.html) applications on YARN. # sparkr.html) applications on YARN.
# Corresponds to the JSON property `sparkRJob` # Corresponds to the JSON property `sparkRJob`
# @return [Google::Apis::DataprocV1::SparkRJob] # @return [Google::Apis::DataprocV1::SparkRJob]
attr_accessor :spark_r_job attr_accessor :spark_r_job
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
# Corresponds to the JSON property `sparkSqlJob` # Corresponds to the JSON property `sparkSqlJob`
# @return [Google::Apis::DataprocV1::SparkSqlJob] # @return [Google::Apis::DataprocV1::SparkSqlJob]
attr_accessor :spark_sql_job attr_accessor :spark_sql_job
# Cloud Dataproc job status. # Dataproc job status.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [Google::Apis::DataprocV1::JobStatus] # @return [Google::Apis::DataprocV1::JobStatus]
attr_accessor :status attr_accessor :status
@ -1439,7 +1435,7 @@ module Google
end end
end end
# Cloud Dataproc job config. # Dataproc job config.
class JobPlacement class JobPlacement
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1448,8 +1444,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# Output only. A cluster UUID generated by the Cloud Dataproc service when the # Output only. A cluster UUID generated by the Dataproc service when the job is
# job is submitted. # submitted.
# Corresponds to the JSON property `clusterUuid` # Corresponds to the JSON property `clusterUuid`
# @return [String] # @return [String]
attr_accessor :cluster_uuid attr_accessor :cluster_uuid
@ -1515,7 +1511,7 @@ module Google
end end
end end
# Cloud Dataproc job status. # Dataproc job status.
class JobStatus class JobStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1679,28 +1675,32 @@ module Google
class LifecycleConfig class LifecycleConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The time when cluster will be auto-deleted. # Optional. The time when cluster will be auto-deleted (see JSON representation
# of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))
# .
# Corresponds to the JSON property `autoDeleteTime` # Corresponds to the JSON property `autoDeleteTime`
# @return [String] # @return [String]
attr_accessor :auto_delete_time attr_accessor :auto_delete_time
# Optional. The lifetime duration of cluster. The cluster will be auto-deleted # Optional. The lifetime duration of cluster. The cluster will be auto-deleted
# at the end of this period. Valid range: 10m, 14d.Example: "1d", to delete the # at the end of this period. Minimum value is 10 minutes; maximum value is 14
# cluster 1 day after its creation.. # days (see JSON representation of Duration (https://developers.google.com/
# protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `autoDeleteTtl` # Corresponds to the JSON property `autoDeleteTtl`
# @return [String] # @return [String]
attr_accessor :auto_delete_ttl attr_accessor :auto_delete_ttl
# Optional. The duration to keep the cluster alive while idling. Passing this # Optional. The duration to keep the cluster alive while idling (when no jobs
# threshold will cause the cluster to be deleted. Valid range: 10m, 14d.Example: # are running). Passing this threshold will cause the cluster to be deleted.
# "10m", the minimum value, to delete the cluster when it has had no jobs # Minimum value is 10 minutes; maximum value is 14 days (see JSON representation
# running for 10 minutes. # of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json).
# Corresponds to the JSON property `idleDeleteTtl` # Corresponds to the JSON property `idleDeleteTtl`
# @return [String] # @return [String]
attr_accessor :idle_delete_ttl attr_accessor :idle_delete_ttl
# Output only. The time when cluster became idle (most recent job finished) and # Output only. The time when cluster became idle (most recent job finished) and
# became eligible for deletion due to idleness. # became eligible for deletion due to idleness (see JSON representation of
# Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `idleStartTime` # Corresponds to the JSON property `idleStartTime`
# @return [String] # @return [String]
attr_accessor :idle_start_time attr_accessor :idle_start_time
@ -1945,10 +1945,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :executable_file attr_accessor :executable_file
# Optional. Amount of time executable has to complete. Default is 10 minutes. # Optional. Amount of time executable has to complete. Default is 10 minutes (
# Cluster creation fails with an explanatory error message (the name of the # see JSON representation of Duration (https://developers.google.com/protocol-
# executable that caused the error and the exceeded timeout period) if the # buffers/docs/proto3#json)).Cluster creation fails with an explanatory error
# executable is not completed at end of the timeout period. # message (the name of the executable that caused the error and the exceeded
# timeout period) if the executable is not completed at end of the timeout
# period.
# Corresponds to the JSON property `executionTimeout` # Corresponds to the JSON property `executionTimeout`
# @return [String] # @return [String]
attr_accessor :execution_timeout attr_accessor :execution_timeout
@ -2030,16 +2032,16 @@ module Google
class OrderedJob class OrderedJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
# Corresponds to the JSON property `hadoopJob` # Corresponds to the JSON property `hadoopJob`
# @return [Google::Apis::DataprocV1::HadoopJob] # @return [Google::Apis::DataprocV1::HadoopJob]
attr_accessor :hadoop_job attr_accessor :hadoop_job
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
# Corresponds to the JSON property `hiveJob` # Corresponds to the JSON property `hiveJob`
# @return [Google::Apis::DataprocV1::HiveJob] # @return [Google::Apis::DataprocV1::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
@ -2053,8 +2055,8 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
# Corresponds to the JSON property `pigJob` # Corresponds to the JSON property `pigJob`
# @return [Google::Apis::DataprocV1::PigJob] # @return [Google::Apis::DataprocV1::PigJob]
attr_accessor :pig_job attr_accessor :pig_job
@ -2065,8 +2067,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :prerequisite_step_ids attr_accessor :prerequisite_step_ids
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
# Corresponds to the JSON property `pysparkJob` # Corresponds to the JSON property `pysparkJob`
# @return [Google::Apis::DataprocV1::PySparkJob] # @return [Google::Apis::DataprocV1::PySparkJob]
attr_accessor :pyspark_job attr_accessor :pyspark_job
@ -2076,14 +2078,14 @@ module Google
# @return [Google::Apis::DataprocV1::JobScheduling] # @return [Google::Apis::DataprocV1::JobScheduling]
attr_accessor :scheduling attr_accessor :scheduling
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. # applications on YARN.
# Corresponds to the JSON property `sparkJob` # Corresponds to the JSON property `sparkJob`
# @return [Google::Apis::DataprocV1::SparkJob] # @return [Google::Apis::DataprocV1::SparkJob]
attr_accessor :spark_job attr_accessor :spark_job
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
# Corresponds to the JSON property `sparkSqlJob` # Corresponds to the JSON property `sparkSqlJob`
# @return [Google::Apis::DataprocV1::SparkSqlJob] # @return [Google::Apis::DataprocV1::SparkSqlJob]
attr_accessor :spark_sql_job attr_accessor :spark_sql_job
@ -2142,8 +2144,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
class PigJob class PigJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2167,7 +2169,7 @@ module Google
attr_accessor :logging_config attr_accessor :logging_config
# Optional. A mapping of property names to values, used to configure Pig. # Optional. A mapping of property names to values, used to configure Pig.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
# pig/conf/pig.properties, and classes in user code. # pig/conf/pig.properties, and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2313,8 +2315,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
class PySparkJob class PySparkJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2355,7 +2357,7 @@ module Google
attr_accessor :main_python_file_uri attr_accessor :main_python_file_uri
# Optional. A mapping of property names to values, used to configure PySpark. # Optional. A mapping of property names to values, used to configure PySpark.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2562,9 +2564,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The version of software inside the cluster. It must be one of the # Optional. The version of software inside the cluster. It must be one of the
# supported Cloud Dataproc Versions, such as "1.2" (including a subminor version, # supported Dataproc Versions, such as "1.2" (including a subminor version, such
# such as "1.2.29"), or the "preview" version. If unspecified, it defaults to # as "1.2.29"), or the "preview" version. If unspecified, it defaults to the
# the latest Debian version. # latest Debian version.
# Corresponds to the JSON property `imageVersion` # Corresponds to the JSON property `imageVersion`
# @return [String] # @return [String]
attr_accessor :image_version attr_accessor :image_version
@ -2602,7 +2604,7 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. # applications on YARN.
class SparkJob class SparkJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2650,7 +2652,7 @@ module Google
attr_accessor :main_jar_file_uri attr_accessor :main_jar_file_uri
# Optional. A mapping of property names to values, used to configure Spark. # Optional. A mapping of property names to values, used to configure Spark.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2674,8 +2676,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/ # A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/
# latest/sparkr.html) applications on YARN. # sparkr.html) applications on YARN.
class SparkRJob class SparkRJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2711,7 +2713,7 @@ module Google
attr_accessor :main_r_file_uri attr_accessor :main_r_file_uri
# Optional. A mapping of property names to values, used to configure SparkR. # Optional. A mapping of property names to values, used to configure SparkR.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2733,8 +2735,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
class SparkSqlJob class SparkSqlJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2749,8 +2751,8 @@ module Google
attr_accessor :logging_config attr_accessor :logging_config
# Optional. A mapping of property names to values, used to configure Spark SQL's # Optional. A mapping of property names to values, used to configure Spark SQL's
# SparkConf. Properties that conflict with values set by the Cloud Dataproc API # SparkConf. Properties that conflict with values set by the Dataproc API may be
# may be overwritten. # overwritten.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :properties attr_accessor :properties
@ -2829,7 +2831,7 @@ module Google
class SubmitJobRequest class SubmitJobRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A Cloud Dataproc job resource. # A Dataproc job resource.
# Corresponds to the JSON property `job` # Corresponds to the JSON property `job`
# @return [Google::Apis::DataprocV1::Job] # @return [Google::Apis::DataprocV1::Job]
attr_accessor :job attr_accessor :job
@ -3010,7 +3012,7 @@ module Google
end end
end end
# A Cloud Dataproc workflow template resource. # A Dataproc workflow template resource.
class WorkflowMetadata class WorkflowMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3139,7 +3141,7 @@ module Google
end end
end end
# A Cloud Dataproc workflow template resource. # A Dataproc workflow template resource.
class WorkflowTemplate class WorkflowTemplate
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -1079,7 +1079,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [Google::Apis::DataprocV1::Cluster] cluster_object # @param [Google::Apis::DataprocV1::Cluster] cluster_object
# @param [String] request_id # @param [String] request_id
# Optional. A unique id used to identify the request. If the server receives two # Optional. A unique id used to identify the request. If the server receives two
@ -1126,7 +1126,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [String] cluster_uuid # @param [String] cluster_uuid
@ -1178,7 +1178,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object
@ -1218,7 +1218,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [String] fields # @param [String] fields
@ -1290,7 +1290,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] filter # @param [String] filter
# Optional. A filter constraining the clusters to list. Filters are case- # Optional. A filter constraining the clusters to list. Filters are case-
# sensitive and have the following syntax:field = value AND field = value ... # sensitive and have the following syntax:field = value AND field = value ...
@ -1343,7 +1343,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project the cluster belongs to. # Required. The ID of the Google Cloud Platform project the cluster belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [Google::Apis::DataprocV1::Cluster] cluster_object # @param [Google::Apis::DataprocV1::Cluster] cluster_object
@ -1352,8 +1352,10 @@ module Google
# allows removing nodes from the cluster without interrupting jobs in progress. # allows removing nodes from the cluster without interrupting jobs in progress.
# Timeout specifies how long to wait for jobs in progress to finish before # Timeout specifies how long to wait for jobs in progress to finish before
# forcefully removing nodes (and potentially interrupting jobs). Default timeout # forcefully removing nodes (and potentially interrupting jobs). Default timeout
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. # is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. (
# Only supported on Dataproc image versions 1.2 and higher. # see JSON representation of Duration (https://developers.google.com/protocol-
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
# higher.
# @param [String] request_id # @param [String] request_id
# Optional. A unique id used to identify the request. If the server receives two # Optional. A unique id used to identify the request. If the server receives two
# UpdateClusterRequest requests with the same id, then the second request will # UpdateClusterRequest requests with the same id, then the second request will
@ -1506,7 +1508,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object
@ -1546,7 +1548,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [String] fields # @param [String] fields
@ -1582,7 +1584,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [String] fields # @param [String] fields
@ -1653,7 +1655,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Optional. If set, the returned jobs list includes only jobs that were # Optional. If set, the returned jobs list includes only jobs that were
# submitted to the named cluster. # submitted to the named cluster.
@ -1710,7 +1712,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [Google::Apis::DataprocV1::Job] job_object # @param [Google::Apis::DataprocV1::Job] job_object
@ -1792,7 +1794,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1beta2 module DataprocV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20191210' REVISION = '20191219'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -37,8 +37,8 @@ module Google
# www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/ # www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/ # acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/
# acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If # acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If
# you are using the Cloud Dataproc Auto Zone Placement feature, you must use the # you are using the Dataproc Auto Zone Placement feature, you must use the short
# short name of the accelerator type resource, for example, nvidia-tesla-k80. # name of the accelerator type resource, for example, nvidia-tesla-k80.
# Corresponds to the JSON property `acceleratorTypeUri` # Corresponds to the JSON property `acceleratorTypeUri`
# @return [String] # @return [String]
attr_accessor :accelerator_type_uri attr_accessor :accelerator_type_uri
@ -63,8 +63,7 @@ module Google
# https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[ # https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
# dataproc_region]/autoscalingPolicies/[policy_id] # dataproc_region]/autoscalingPolicies/[policy_id]
# projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[ # projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
# policy_id]Note that the policy must be in the same project and Cloud Dataproc # policy_id]Note that the policy must be in the same project and Dataproc region.
# region.
# Corresponds to the JSON property `policyUri` # Corresponds to the JSON property `policyUri`
# @return [String] # @return [String]
attr_accessor :policy_uri attr_accessor :policy_uri
@ -310,8 +309,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc # Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates
# generates this value when it creates the cluster. # this value when it creates the cluster.
# Corresponds to the JSON property `clusterUuid` # Corresponds to the JSON property `clusterUuid`
# @return [String] # @return [String]
attr_accessor :cluster_uuid attr_accessor :cluster_uuid
@ -378,12 +377,12 @@ module Google
# @return [Google::Apis::DataprocV1beta2::AutoscalingConfig] # @return [Google::Apis::DataprocV1beta2::AutoscalingConfig]
attr_accessor :autoscaling_config attr_accessor :autoscaling_config
# Optional. A Google Cloud Storage bucket used to stage job dependencies, config # Optional. A Cloud Storage bucket used to stage job dependencies, config files,
# files, and job driver console output. If you do not specify a staging bucket, # and job driver console output. If you do not specify a staging bucket, Cloud
# Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for # Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your
# your cluster's staging bucket according to the Google Compute Engine zone # cluster's staging bucket according to the Compute Engine zone where your
# where your cluster is deployed, and then create and manage this project-level, # cluster is deployed, and then create and manage this project-level, per-
# per-location bucket (see Cloud Dataproc staging bucket). # location bucket (see Dataproc staging bucket).
# Corresponds to the JSON property `configBucket` # Corresponds to the JSON property `configBucket`
# @return [String] # @return [String]
attr_accessor :config_bucket attr_accessor :config_bucket
@ -671,7 +670,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Output only. Time when this state was entered. # Output only. Time when this state was entered (see JSON representation of
# Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `stateStartTime` # Corresponds to the JSON property `stateStartTime`
# @return [String] # @return [String]
attr_accessor :state_start_time attr_accessor :state_start_time
@ -918,13 +918,9 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ReservationAffinity] # @return [Google::Apis::DataprocV1beta2::ReservationAffinity]
attr_accessor :reservation_affinity attr_accessor :reservation_affinity
# Optional. The service account of the instances. Defaults to the default # Optional. The Dataproc service account (also see VM Data Plane identity) used
# Compute Engine service account. Custom service accounts need permissions # by Dataproc cluster VM instances to access Google Cloud Platform services.If
# equivalent to the following IAM roles: # not specified, the Compute Engine default service account is used.
# roles/logging.logWriter
# roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/
# service-accounts#custom_service_accounts for more information). Example: [
# account_id]@[project_id].iam.gserviceaccount.com
# Corresponds to the JSON property `serviceAccount` # Corresponds to the JSON property `serviceAccount`
# @return [String] # @return [String]
attr_accessor :service_account attr_accessor :service_account
@ -961,9 +957,9 @@ module Google
# Optional. The zone where the Compute Engine cluster will be located. On a # Optional. The zone where the Compute Engine cluster will be located. On a
# create request, it is required in the "global" region. If omitted in a non- # create request, it is required in the "global" region. If omitted in a non-
# global Cloud Dataproc region, the service will pick a zone in the # global Dataproc region, the service will pick a zone in the corresponding
# corresponding Compute Engine region. On a get request, zone will always be # Compute Engine region. On a get request, zone will always be present.A full
# present.A full URL, partial URI, or short name are valid. Examples: # URL, partial URI, or short name are valid. Examples:
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
# projects/[project_id]/zones/[zone] # projects/[project_id]/zones/[zone]
# us-central1-f # us-central1-f
@ -1030,8 +1026,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
class HadoopJob class HadoopJob
@ -1084,7 +1080,7 @@ module Google
attr_accessor :main_jar_file_uri attr_accessor :main_jar_file_uri
# Optional. A mapping of property names to values, used to configure Hadoop. # Optional. A mapping of property names to values, used to configure Hadoop.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes # overwritten. Can include properties set in /etc/hadoop/conf/*-site and classes
# in user code. # in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -1108,8 +1104,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
class HiveJob class HiveJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1128,7 +1124,7 @@ module Google
attr_accessor :jar_file_uris attr_accessor :jar_file_uris
# Optional. A mapping of property names and values, used to configure Hive. # Optional. A mapping of property names and values, used to configure Hive.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
# hive/conf/hive-site.xml, and classes in user code. # hive/conf/hive-site.xml, and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -1238,7 +1234,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :image_uri attr_accessor :image_uri
# Output only. The list of instance names. Cloud Dataproc derives the names from # Output only. The list of instance names. Dataproc derives the names from
# cluster_name, num_instances, and the instance group. # cluster_name, num_instances, and the instance group.
# Corresponds to the JSON property `instanceNames` # Corresponds to the JSON property `instanceNames`
# @return [Array<String>] # @return [Array<String>]
@ -1255,9 +1251,9 @@ module Google
# https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/ # https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/
# machineTypes/n1-standard-2 # machineTypes/n1-standard-2
# projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 # projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
# n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto # n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone
# Zone Placement feature, you must use the short name of the machine type # Placement feature, you must use the short name of the machine type resource,
# resource, for example, n1-standard-2. # for example, n1-standard-2.
# Corresponds to the JSON property `machineTypeUri` # Corresponds to the JSON property `machineTypeUri`
# @return [String] # @return [String]
attr_accessor :machine_type_uri attr_accessor :machine_type_uri
@ -1267,8 +1263,8 @@ module Google
# @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig] # @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig]
attr_accessor :managed_group_config attr_accessor :managed_group_config
# Specifies the minimum cpu platform for the Instance Group. See Cloud Dataproc& # Specifies the minimum cpu platform for the Instance Group. See Dataproc&rarr;
# rarr;Minimum CPU Platform. # Minimum CPU Platform.
# Corresponds to the JSON property `minCpuPlatform` # Corresponds to the JSON property `minCpuPlatform`
# @return [String] # @return [String]
attr_accessor :min_cpu_platform attr_accessor :min_cpu_platform
@ -1343,7 +1339,7 @@ module Google
end end
end end
# A Cloud Dataproc job resource. # A Dataproc job resource.
class Job class Job
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1360,16 +1356,16 @@ module Google
# @return [String] # @return [String]
attr_accessor :driver_output_resource_uri attr_accessor :driver_output_resource_uri
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
# Corresponds to the JSON property `hadoopJob` # Corresponds to the JSON property `hadoopJob`
# @return [Google::Apis::DataprocV1beta2::HadoopJob] # @return [Google::Apis::DataprocV1beta2::HadoopJob]
attr_accessor :hadoop_job attr_accessor :hadoop_job
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
# Corresponds to the JSON property `hiveJob` # Corresponds to the JSON property `hiveJob`
# @return [Google::Apis::DataprocV1beta2::HiveJob] # @return [Google::Apis::DataprocV1beta2::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
@ -1390,24 +1386,24 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
# Corresponds to the JSON property `pigJob` # Corresponds to the JSON property `pigJob`
# @return [Google::Apis::DataprocV1beta2::PigJob] # @return [Google::Apis::DataprocV1beta2::PigJob]
attr_accessor :pig_job attr_accessor :pig_job
# Cloud Dataproc job config. # Dataproc job config.
# Corresponds to the JSON property `placement` # Corresponds to the JSON property `placement`
# @return [Google::Apis::DataprocV1beta2::JobPlacement] # @return [Google::Apis::DataprocV1beta2::JobPlacement]
attr_accessor :placement attr_accessor :placement
# A Cloud Dataproc job for running Presto (https://prestosql.io/) queries # A Dataproc job for running Presto (https://prestosql.io/) queries
# Corresponds to the JSON property `prestoJob` # Corresponds to the JSON property `prestoJob`
# @return [Google::Apis::DataprocV1beta2::PrestoJob] # @return [Google::Apis::DataprocV1beta2::PrestoJob]
attr_accessor :presto_job attr_accessor :presto_job
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
# Corresponds to the JSON property `pysparkJob` # Corresponds to the JSON property `pysparkJob`
# @return [Google::Apis::DataprocV1beta2::PySparkJob] # @return [Google::Apis::DataprocV1beta2::PySparkJob]
attr_accessor :pyspark_job attr_accessor :pyspark_job
@ -1422,7 +1418,7 @@ module Google
# @return [Google::Apis::DataprocV1beta2::JobScheduling] # @return [Google::Apis::DataprocV1beta2::JobScheduling]
attr_accessor :scheduling attr_accessor :scheduling
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. The specification of the main method to call to drive # applications on YARN. The specification of the main method to call to drive
# the job. Specify either the jar file that contains the main class or the main # the job. Specify either the jar file that contains the main class or the main
# class name. To pass both a main jar and a main class in that jar, add the jar # class name. To pass both a main jar and a main class in that jar, add the jar
@ -1431,19 +1427,19 @@ module Google
# @return [Google::Apis::DataprocV1beta2::SparkJob] # @return [Google::Apis::DataprocV1beta2::SparkJob]
attr_accessor :spark_job attr_accessor :spark_job
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/ # A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/
# latest/sparkr.html) applications on YARN. # sparkr.html) applications on YARN.
# Corresponds to the JSON property `sparkRJob` # Corresponds to the JSON property `sparkRJob`
# @return [Google::Apis::DataprocV1beta2::SparkRJob] # @return [Google::Apis::DataprocV1beta2::SparkRJob]
attr_accessor :spark_r_job attr_accessor :spark_r_job
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
# Corresponds to the JSON property `sparkSqlJob` # Corresponds to the JSON property `sparkSqlJob`
# @return [Google::Apis::DataprocV1beta2::SparkSqlJob] # @return [Google::Apis::DataprocV1beta2::SparkSqlJob]
attr_accessor :spark_sql_job attr_accessor :spark_sql_job
# Cloud Dataproc job status. # Dataproc job status.
# Corresponds to the JSON property `status` # Corresponds to the JSON property `status`
# @return [Google::Apis::DataprocV1beta2::JobStatus] # @return [Google::Apis::DataprocV1beta2::JobStatus]
attr_accessor :status attr_accessor :status
@ -1494,7 +1490,7 @@ module Google
end end
end end
# Cloud Dataproc job config. # Dataproc job config.
class JobPlacement class JobPlacement
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1503,8 +1499,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :cluster_name attr_accessor :cluster_name
# Output only. A cluster UUID generated by the Cloud Dataproc service when the # Output only. A cluster UUID generated by the Dataproc service when the job is
# job is submitted. # submitted.
# Corresponds to the JSON property `clusterUuid` # Corresponds to the JSON property `clusterUuid`
# @return [String] # @return [String]
attr_accessor :cluster_uuid attr_accessor :cluster_uuid
@ -1524,7 +1520,7 @@ module Google
class JobReference class JobReference
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The job ID, which must be unique within the project.The ID must # Optional. The job ID, which must be unique within the project. The ID must
# contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-) # contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or hyphens (-)
# . The maximum length is 100 characters.If not specified by the caller, the job # . The maximum length is 100 characters.If not specified by the caller, the job
# ID will be provided by the server. # ID will be provided by the server.
@ -1570,11 +1566,11 @@ module Google
end end
end end
# Cloud Dataproc job status. # Dataproc job status.
class JobStatus class JobStatus
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. Optional job state details, such as an error description if the # Output only. Optional Job state details, such as an error description if the
# state is <code>ERROR</code>. # state is <code>ERROR</code>.
# Corresponds to the JSON property `details` # Corresponds to the JSON property `details`
# @return [String] # @return [String]
@ -1734,28 +1730,32 @@ module Google
class LifecycleConfig class LifecycleConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The time when cluster will be auto-deleted. # Optional. The time when cluster will be auto-deleted. (see JSON representation
# of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))
# .
# Corresponds to the JSON property `autoDeleteTime` # Corresponds to the JSON property `autoDeleteTime`
# @return [String] # @return [String]
attr_accessor :auto_delete_time attr_accessor :auto_delete_time
# Optional. The lifetime duration of cluster. The cluster will be auto-deleted # Optional. The lifetime duration of cluster. The cluster will be auto-deleted
# at the end of this period. Valid range: 10m, 14d.Example: "1d", to delete the # at the end of this period. Minimum value is 10 minutes; maximum value is 14
# cluster 1 day after its creation.. # days (see JSON representation of Duration (https://developers.google.com/
# protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `autoDeleteTtl` # Corresponds to the JSON property `autoDeleteTtl`
# @return [String] # @return [String]
attr_accessor :auto_delete_ttl attr_accessor :auto_delete_ttl
# Optional. The duration to keep the cluster alive while idling. Passing this # Optional. The duration to keep the cluster alive while idling (when no jobs
# threshold will cause the cluster to be deleted. Valid range: 10m, 14d.Example: # are running). Passing this threshold will cause the cluster to be deleted.
# "10m", the minimum value, to delete the cluster when it has had no jobs # Minimum value is 10 minutes; maximum value is 14 days (see JSON representation
# running for 10 minutes. # of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json).
# Corresponds to the JSON property `idleDeleteTtl` # Corresponds to the JSON property `idleDeleteTtl`
# @return [String] # @return [String]
attr_accessor :idle_delete_ttl attr_accessor :idle_delete_ttl
# Output only. The time when cluster became idle (most recent job finished) and # Output only. The time when cluster became idle (most recent job finished) and
# became eligible for deletion due to idleness. # became eligible for deletion due to idleness (see JSON representation of
# Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
# Corresponds to the JSON property `idleStartTime` # Corresponds to the JSON property `idleStartTime`
# @return [String] # @return [String]
attr_accessor :idle_start_time attr_accessor :idle_start_time
@ -2000,10 +2000,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :executable_file attr_accessor :executable_file
# Optional. Amount of time executable has to complete. Default is 10 minutes. # Optional. Amount of time executable has to complete. Default is 10 minutes (
# Cluster creation fails with an explanatory error message (the name of the # see JSON representation of Duration (https://developers.google.com/protocol-
# executable that caused the error and the exceeded timeout period) if the # buffers/docs/proto3#json)).Cluster creation fails with an explanatory error
# executable is not completed at end of the timeout period. # message (the name of the executable that caused the error and the exceeded
# timeout period) if the executable is not completed at end of the timeout
# period.
# Corresponds to the JSON property `executionTimeout` # Corresponds to the JSON property `executionTimeout`
# @return [String] # @return [String]
attr_accessor :execution_timeout attr_accessor :execution_timeout
@ -2085,16 +2087,16 @@ module Google
class OrderedJob class OrderedJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop. # A Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/
# apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/ # docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/
# MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/ # MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/
# docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html). # docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).
# Corresponds to the JSON property `hadoopJob` # Corresponds to the JSON property `hadoopJob`
# @return [Google::Apis::DataprocV1beta2::HadoopJob] # @return [Google::Apis::DataprocV1beta2::HadoopJob]
attr_accessor :hadoop_job attr_accessor :hadoop_job
# A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) # A Dataproc job for running Apache Hive (https://hive.apache.org/) queries on
# queries on YARN. # YARN.
# Corresponds to the JSON property `hiveJob` # Corresponds to the JSON property `hiveJob`
# @return [Google::Apis::DataprocV1beta2::HiveJob] # @return [Google::Apis::DataprocV1beta2::HiveJob]
attr_accessor :hive_job attr_accessor :hive_job
@ -2108,8 +2110,8 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
# Corresponds to the JSON property `pigJob` # Corresponds to the JSON property `pigJob`
# @return [Google::Apis::DataprocV1beta2::PigJob] # @return [Google::Apis::DataprocV1beta2::PigJob]
attr_accessor :pig_job attr_accessor :pig_job
@ -2120,8 +2122,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :prerequisite_step_ids attr_accessor :prerequisite_step_ids
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
# Corresponds to the JSON property `pysparkJob` # Corresponds to the JSON property `pysparkJob`
# @return [Google::Apis::DataprocV1beta2::PySparkJob] # @return [Google::Apis::DataprocV1beta2::PySparkJob]
attr_accessor :pyspark_job attr_accessor :pyspark_job
@ -2131,7 +2133,7 @@ module Google
# @return [Google::Apis::DataprocV1beta2::JobScheduling] # @return [Google::Apis::DataprocV1beta2::JobScheduling]
attr_accessor :scheduling attr_accessor :scheduling
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. The specification of the main method to call to drive # applications on YARN. The specification of the main method to call to drive
# the job. Specify either the jar file that contains the main class or the main # the job. Specify either the jar file that contains the main class or the main
# class name. To pass both a main jar and a main class in that jar, add the jar # class name. To pass both a main jar and a main class in that jar, add the jar
@ -2140,8 +2142,8 @@ module Google
# @return [Google::Apis::DataprocV1beta2::SparkJob] # @return [Google::Apis::DataprocV1beta2::SparkJob]
attr_accessor :spark_job attr_accessor :spark_job
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
# Corresponds to the JSON property `sparkSqlJob` # Corresponds to the JSON property `sparkSqlJob`
# @return [Google::Apis::DataprocV1beta2::SparkSqlJob] # @return [Google::Apis::DataprocV1beta2::SparkSqlJob]
attr_accessor :spark_sql_job attr_accessor :spark_sql_job
@ -2200,8 +2202,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries # A Dataproc job for running Apache Pig (https://pig.apache.org/) queries on
# on YARN. # YARN.
class PigJob class PigJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2225,7 +2227,7 @@ module Google
attr_accessor :logging_config attr_accessor :logging_config
# Optional. A mapping of property names to values, used to configure Pig. # Optional. A mapping of property names to values, used to configure Pig.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/ # overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, /etc/
# pig/conf/pig.properties, and classes in user code. # pig/conf/pig.properties, and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2371,7 +2373,7 @@ module Google
end end
end end
# A Cloud Dataproc job for running Presto (https://prestosql.io/) queries # A Dataproc job for running Presto (https://prestosql.io/) queries
class PrestoJob class PrestoJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2432,8 +2434,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ # A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/
# 0.9.0/python-programming-guide.html) applications on YARN. # python-programming-guide.html) applications on YARN.
class PySparkJob class PySparkJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2474,7 +2476,7 @@ module Google
attr_accessor :main_python_file_uri attr_accessor :main_python_file_uri
# Optional. A mapping of property names to values, used to configure PySpark. # Optional. A mapping of property names to values, used to configure PySpark.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2681,9 +2683,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Optional. The version of software inside the cluster. It must be one of the # Optional. The version of software inside the cluster. It must be one of the
# supported Cloud Dataproc Versions, such as "1.2" (including a subminor version, # supported Dataproc Versions, such as "1.2" (including a subminor version, such
# such as "1.2.29"), or the "preview" version. If unspecified, it defaults to # as "1.2.29"), or the "preview" version. If unspecified, it defaults to the
# the latest Debian version. # latest Debian version.
# Corresponds to the JSON property `imageVersion` # Corresponds to the JSON property `imageVersion`
# @return [String] # @return [String]
attr_accessor :image_version attr_accessor :image_version
@ -2721,7 +2723,7 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) # A Dataproc job for running Apache Spark (http://spark.apache.org/)
# applications on YARN. The specification of the main method to call to drive # applications on YARN. The specification of the main method to call to drive
# the job. Specify either the jar file that contains the main class or the main # the job. Specify either the jar file that contains the main class or the main
# class name. To pass both a main jar and a main class in that jar, add the jar # class name. To pass both a main jar and a main class in that jar, add the jar
@ -2772,7 +2774,7 @@ module Google
attr_accessor :main_jar_file_uri attr_accessor :main_jar_file_uri
# Optional. A mapping of property names to values, used to configure Spark. # Optional. A mapping of property names to values, used to configure Spark.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2796,8 +2798,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache SparkR (https://spark.apache.org/docs/ # A Dataproc job for running Apache SparkR (https://spark.apache.org/docs/latest/
# latest/sparkr.html) applications on YARN. # sparkr.html) applications on YARN.
class SparkRJob class SparkRJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2833,7 +2835,7 @@ module Google
attr_accessor :main_r_file_uri attr_accessor :main_r_file_uri
# Optional. A mapping of property names to values, used to configure SparkR. # Optional. A mapping of property names to values, used to configure SparkR.
# Properties that conflict with values set by the Cloud Dataproc API may be # Properties that conflict with values set by the Dataproc API may be
# overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf # overwritten. Can include properties set in /etc/spark/conf/spark-defaults.conf
# and classes in user code. # and classes in user code.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2855,8 +2857,8 @@ module Google
end end
end end
# A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ # A Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/)
# ) queries. # queries.
class SparkSqlJob class SparkSqlJob
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2871,8 +2873,8 @@ module Google
attr_accessor :logging_config attr_accessor :logging_config
# Optional. A mapping of property names to values, used to configure Spark SQL's # Optional. A mapping of property names to values, used to configure Spark SQL's
# SparkConf. Properties that conflict with values set by the Cloud Dataproc API # SparkConf. Properties that conflict with values set by the Dataproc API may be
# may be overwritten. # overwritten.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :properties attr_accessor :properties
@ -2951,7 +2953,7 @@ module Google
class SubmitJobRequest class SubmitJobRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A Cloud Dataproc job resource. # A Dataproc job resource.
# Corresponds to the JSON property `job` # Corresponds to the JSON property `job`
# @return [Google::Apis::DataprocV1beta2::Job] # @return [Google::Apis::DataprocV1beta2::Job]
attr_accessor :job attr_accessor :job
@ -3132,7 +3134,7 @@ module Google
end end
end end
# A Cloud Dataproc workflow template resource. # A Dataproc workflow template resource.
class WorkflowMetadata class WorkflowMetadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3261,7 +3263,7 @@ module Google
end end
end end
# A Cloud Dataproc workflow template resource. # A Dataproc workflow template resource.
class WorkflowTemplate class WorkflowTemplate
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -3399,8 +3401,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Optional. Output only. The HTTP URL of the ApplicationMaster, HistoryServer, # Output only. The HTTP URL of the ApplicationMaster, HistoryServer, or
# or TimelineServer that provides application-specific information. The URL uses # TimelineServer that provides application-specific information. The URL uses
# the internal hostname, and requires a proxy server for resolution and, # the internal hostname, and requires a proxy server for resolution and,
# possibly, access. # possibly, access.
# Corresponds to the JSON property `trackingUrl` # Corresponds to the JSON property `trackingUrl`

View File

@ -1091,7 +1091,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object # @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
# @param [String] request_id # @param [String] request_id
# Optional. A unique id used to identify the request. If the server receives two # Optional. A unique id used to identify the request. If the server receives two
@ -1119,7 +1119,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) def create_project_region_cluster(project_id, region, cluster_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options) command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
command.request_object = cluster_object command.request_object = cluster_object
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@ -1138,7 +1138,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [String] cluster_uuid # @param [String] cluster_uuid
@ -1170,7 +1170,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block) def delete_project_region_cluster(project_id, region, cluster_name, cluster_uuid: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options) command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
command.response_class = Google::Apis::DataprocV1beta2::Operation command.response_class = Google::Apis::DataprocV1beta2::Operation
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1190,7 +1190,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [Google::Apis::DataprocV1beta2::DiagnoseClusterRequest] diagnose_cluster_request_object # @param [Google::Apis::DataprocV1beta2::DiagnoseClusterRequest] diagnose_cluster_request_object
@ -1212,7 +1212,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) def diagnose_cluster(project_id, region, cluster_name, diagnose_cluster_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}:diagnose', options) command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose', options)
command.request_representation = Google::Apis::DataprocV1beta2::DiagnoseClusterRequest::Representation command.request_representation = Google::Apis::DataprocV1beta2::DiagnoseClusterRequest::Representation
command.request_object = diagnose_cluster_request_object command.request_object = diagnose_cluster_request_object
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@ -1230,7 +1230,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [String] fields # @param [String] fields
@ -1251,7 +1251,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_region_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) def get_project_region_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options) command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.response_representation = Google::Apis::DataprocV1beta2::Cluster::Representation command.response_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
command.response_class = Google::Apis::DataprocV1beta2::Cluster command.response_class = Google::Apis::DataprocV1beta2::Cluster
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1305,7 +1305,7 @@ module Google
# Required. The ID of the Google Cloud Platform project that the cluster belongs # Required. The ID of the Google Cloud Platform project that the cluster belongs
# to. # to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] filter # @param [String] filter
# Optional. A filter constraining the clusters to list. Filters are case- # Optional. A filter constraining the clusters to list. Filters are case-
# sensitive and have the following syntax:field = value AND field = value ... # sensitive and have the following syntax:field = value AND field = value ...
@ -1340,7 +1340,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_project_region_clusters(project_id, region, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters', options) command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/clusters', options)
command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation command.response_representation = Google::Apis::DataprocV1beta2::ListClustersResponse::Representation
command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse command.response_class = Google::Apis::DataprocV1beta2::ListClustersResponse
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1358,7 +1358,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project the cluster belongs to. # Required. The ID of the Google Cloud Platform project the cluster belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Required. The cluster name. # Required. The cluster name.
# @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object # @param [Google::Apis::DataprocV1beta2::Cluster] cluster_object
@ -1367,8 +1367,10 @@ module Google
# allows removing nodes from the cluster without interrupting jobs in progress. # allows removing nodes from the cluster without interrupting jobs in progress.
# Timeout specifies how long to wait for jobs in progress to finish before # Timeout specifies how long to wait for jobs in progress to finish before
# forcefully removing nodes (and potentially interrupting jobs). Default timeout # forcefully removing nodes (and potentially interrupting jobs). Default timeout
# is 0 (for forceful decommission), and the maximum allowed timeout is 1 day. # is 0 (for forceful decommission), and the maximum allowed timeout is 1 day (
# Only supported on Dataproc image versions 1.2 and higher. # see JSON representation of Duration (https://developers.google.com/protocol-
# buffers/docs/proto3#json)).Only supported on Dataproc image versions 1.2 and
# higher.
# @param [String] request_id # @param [String] request_id
# Optional. A unique id used to identify the request. If the server receives two # Optional. A unique id used to identify the request. If the server receives two
# UpdateClusterRequest requests with the same id, then the second request will # UpdateClusterRequest requests with the same id, then the second request will
@ -1450,7 +1452,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) def patch_project_region_cluster(project_id, region, cluster_name, cluster_object = nil, graceful_decommission_timeout: nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/clusters/{+clusterName}', options) command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation command.request_representation = Google::Apis::DataprocV1beta2::Cluster::Representation
command.request_object = cluster_object command.request_object = cluster_object
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
@ -1545,7 +1547,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [Google::Apis::DataprocV1beta2::CancelJobRequest] cancel_job_request_object # @param [Google::Apis::DataprocV1beta2::CancelJobRequest] cancel_job_request_object
@ -1567,7 +1569,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}:cancel', options) command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options)
command.request_representation = Google::Apis::DataprocV1beta2::CancelJobRequest::Representation command.request_representation = Google::Apis::DataprocV1beta2::CancelJobRequest::Representation
command.request_object = cancel_job_request_object command.request_object = cancel_job_request_object
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@ -1585,7 +1587,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [String] fields # @param [String] fields
@ -1606,7 +1608,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) def delete_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options) command = make_simple_command(:delete, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation command.response_representation = Google::Apis::DataprocV1beta2::Empty::Representation
command.response_class = Google::Apis::DataprocV1beta2::Empty command.response_class = Google::Apis::DataprocV1beta2::Empty
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1621,7 +1623,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [String] fields # @param [String] fields
@ -1642,7 +1644,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def get_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) def get_project_region_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options) command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
command.response_class = Google::Apis::DataprocV1beta2::Job command.response_class = Google::Apis::DataprocV1beta2::Job
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1695,7 +1697,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] cluster_name # @param [String] cluster_name
# Optional. If set, the returned jobs list includes only jobs that were # Optional. If set, the returned jobs list includes only jobs that were
# submitted to the named cluster. # submitted to the named cluster.
@ -1733,7 +1735,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_region_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) def list_project_region_jobs(project_id, region, cluster_name: nil, filter: nil, job_state_matcher: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs', options) command = make_simple_command(:get, 'v1beta2/projects/{projectId}/regions/{region}/jobs', options)
command.response_representation = Google::Apis::DataprocV1beta2::ListJobsResponse::Representation command.response_representation = Google::Apis::DataprocV1beta2::ListJobsResponse::Representation
command.response_class = Google::Apis::DataprocV1beta2::ListJobsResponse command.response_class = Google::Apis::DataprocV1beta2::ListJobsResponse
command.params['projectId'] = project_id unless project_id.nil? command.params['projectId'] = project_id unless project_id.nil?
@ -1752,7 +1754,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [String] job_id # @param [String] job_id
# Required. The job ID. # Required. The job ID.
# @param [Google::Apis::DataprocV1beta2::Job] job_object # @param [Google::Apis::DataprocV1beta2::Job] job_object
@ -1780,7 +1782,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:patch, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs/{+jobId}', options) command = make_simple_command(:patch, 'v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}', options)
command.request_representation = Google::Apis::DataprocV1beta2::Job::Representation command.request_representation = Google::Apis::DataprocV1beta2::Job::Representation
command.request_object = job_object command.request_object = job_object
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation
@ -1834,7 +1836,7 @@ module Google
# @param [String] project_id # @param [String] project_id
# Required. The ID of the Google Cloud Platform project that the job belongs to. # Required. The ID of the Google Cloud Platform project that the job belongs to.
# @param [String] region # @param [String] region
# Required. The Cloud Dataproc region in which to handle the request. # Required. The Dataproc region in which to handle the request.
# @param [Google::Apis::DataprocV1beta2::SubmitJobRequest] submit_job_request_object # @param [Google::Apis::DataprocV1beta2::SubmitJobRequest] submit_job_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -1854,7 +1856,7 @@ module Google
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/projects/{+projectId}/regions/{+region}/jobs:submit', options) command = make_simple_command(:post, 'v1beta2/projects/{projectId}/regions/{region}/jobs:submit', options)
command.request_representation = Google::Apis::DataprocV1beta2::SubmitJobRequest::Representation command.request_representation = Google::Apis::DataprocV1beta2::SubmitJobRequest::Representation
command.request_object = submit_job_request_object command.request_object = submit_job_request_object
command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation command.response_representation = Google::Apis::DataprocV1beta2::Job::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap # @see https://cloud.google.com/iap
module IapV1 module IapV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191206' REVISION = '20200102'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -47,12 +47,13 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Constructs a new OAuth brand for the project if one does not exists. # Constructs a new OAuth brand for the project if one does not exist.
# The created brand is 'internal only', meaning that OAuth clients created # The created brand is "internal only", meaning that OAuth clients created
# under it only accept requests from users who belong to the same GSuites # under it only accept requests from users who belong to the same G Suite
# account as the project. The brand is created in un-reviewed status. # organization as the project. The brand is created in an un-reviewed status.
# NOTE: the 'internal_only' can be manually changed in Pantheon UI. # NOTE: The "internal only" status can be manually changed in the Google
# Requires that brand does not already exists for the project. # Cloud console. Requires that a brand does not already exist for the
# project, and that the specified support email is owned by the caller.
# @param [String] parent # @param [String] parent
# Required. GCP Project number/id under which the brand is to be created. # Required. GCP Project number/id under which the brand is to be created.
# In the following format: projects/`project_number/id`. # In the following format: projects/`project_number/id`.
@ -148,10 +149,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Creates an Identity Aware Proxy (IAP) OAuth client, the client is owned # Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
# by IAP. # by IAP. Requires that the brand for the project exists and that it is
# Requires that the brand for the project exists and that it is set for # set for internal-only use.
# internal only use.
# @param [String] parent # @param [String] parent
# Required. Path to create the client in. # Required. Path to create the client in.
# In the following format: # In the following format:
@ -187,9 +187,9 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deletes an Identity Aware Proxy (IAP) OAuth client. Useful if the secret # Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing
# was compromised. # obsolete clients, managing the number of clients in a given project, and
# Requires that the client is owned by IAP. # cleaning up after tests. Requires that the client is owned by IAP.
# @param [String] name # @param [String] name
# Required. Name of the Identity Aware Proxy client to be deleted. # Required. Name of the Identity Aware Proxy client to be deleted.
# In the following format: # In the following format:
@ -300,10 +300,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful for # Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
# removing obsolete clients, managing the number of clients in a given # secret was compromised. Requires that the client is owned by IAP.
# project, and cleaning up after tests.
# Requires that the client is owned by IAP.
# @param [String] name # @param [String] name
# Required. Name of the Identity Aware Proxy client to that will have its # Required. Name of the Identity Aware Proxy client to that will have its
# secret reset. In the following format: # secret reset. In the following format:

View File

@ -25,10 +25,13 @@ module Google
# @see https://cloud.google.com/ml/ # @see https://cloud.google.com/ml/
module MlV1 module MlV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191206' REVISION = '20200103'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
end end
end end
end end

View File

@ -1392,7 +1392,7 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The number of feature permutations to consider when approximating the # The number of feature permutations to consider when approximating the
# shapley values. # Shapley values.
# Corresponds to the JSON property `numPaths` # Corresponds to the JSON property `numPaths`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :num_paths attr_accessor :num_paths
@ -1543,9 +1543,20 @@ module Google
attr_accessor :python_module attr_accessor :python_module
# Optional. The version of Python used in training. If not set, the default # Optional. The version of Python used in training. If not set, the default
# version is '2.7'. Python '3.5' is available when `runtime_version` is set # version is '2.7'. Starting [January 13,
# to '1.4' and above. Python '2.7' works with all supported # 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# <a href="/ml-engine/docs/runtime-version-list">runtime versions</a>. # required.
# The following Python versions are available:
# * Python '3.7' is available when `runtime_version` is set to '1.15' or
# later.
# * Python '3.5' is available when `runtime_version` is set to a version
# from '1.4' to '1.14'.
# * Python '2.7' is available when `runtime_version` is set to '1.15' or
# earlier. (Runtime versions released [after January 1,
# 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
# Python 2.7.)
# Read more about the Python versions available for [each runtime
# version](/ml-engine/docs/runtime-version-list).
# Corresponds to the JSON property `pythonVersion` # Corresponds to the JSON property `pythonVersion`
# @return [String] # @return [String]
attr_accessor :python_version attr_accessor :python_version
@ -1558,8 +1569,10 @@ module Google
attr_accessor :region attr_accessor :region
# Optional. The AI Platform runtime version to use for training. If not # Optional. The AI Platform runtime version to use for training. If not
# set, AI Platform uses the default stable version, 1.0. For more # set, AI Platform uses the default stable version, 1.0. Starting [January
# information, see the # 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# required.
# For more information, see the
# <a href="/ml-engine/docs/runtime-version-list">runtime version list</a> # <a href="/ml-engine/docs/runtime-version-list">runtime version list</a>
# and # and
# <a href="/ml-engine/docs/versioning">how to manage runtime versions</a>. # <a href="/ml-engine/docs/versioning">how to manage runtime versions</a>.
@ -1917,8 +1930,20 @@ module Google
attr_accessor :prediction_class attr_accessor :prediction_class
# Optional. The version of Python used in prediction. If not set, the default # Optional. The version of Python used in prediction. If not set, the default
# version is '2.7'. Python '3.5' is available when `runtime_version` is set # version is '2.7'. Starting [January 13,
# to '1.4' and above. Python '2.7' works with all supported runtime versions. # 2020](/ml-engine/docs/release-notes#december_10_2019), this field is
# required.
# The following Python versions are available:
# * Python '3.7' is available when `runtime_version` is set to '1.15' or
# later.
# * Python '3.5' is available when `runtime_version` is set to a version
# from '1.4' to '1.14'.
# * Python '2.7' is available when `runtime_version` is set to '1.15' or
# earlier. (Runtime versions released [after January 1,
# 2020](/ml-engine/docs/release-notes#december_10_2019) do not support
# Python 2.7.)
# Read more about the Python versions available for [each runtime
# version](/ml-engine/docs/runtime-version-list).
# Corresponds to the JSON property `pythonVersion` # Corresponds to the JSON property `pythonVersion`
# @return [String] # @return [String]
attr_accessor :python_version attr_accessor :python_version
@ -1939,8 +1964,10 @@ module Google
attr_accessor :request_logging_config attr_accessor :request_logging_config
# Optional. The AI Platform runtime version to use for this deployment. # Optional. The AI Platform runtime version to use for this deployment.
# If not set, AI Platform uses the default stable version, 1.0. For more # If not set, AI Platform uses the default stable version, 1.0. Starting
# information, see the # [January 13, 2020](/ml-engine/docs/release-notes#december_10_2019), this
# field is required.
# For more information, see the
# [runtime version list](/ml-engine/docs/runtime-version-list) and # [runtime version list](/ml-engine/docs/runtime-version-list) and
# [how to manage runtime versions](/ml-engine/docs/versioning). # [how to manage runtime versions](/ml-engine/docs/versioning).
# Corresponds to the JSON property `runtimeVersion` # Corresponds to the JSON property `runtimeVersion`

View File

@ -50,8 +50,6 @@ module Google
# Performs explanation on the data in the request. # Performs explanation on the data in the request.
# AI Platform implements a custom `explain` verb on top of an HTTP POST # AI Platform implements a custom `explain` verb on top of an HTTP POST
# method. # method.
# For details of the request and response format, see the **guide
# to the [explain request format](/ml-engine/docs/v1/explain-request)**.
# @param [String] name # @param [String] name
# Required. The resource name of a model or a version. # Required. The resource name of a model or a version.
# Authorization: requires the `predict` permission on the specified resource. # Authorization: requires the `predict` permission on the specified resource.
@ -118,11 +116,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Performs prediction on the data in the request. # Performs online prediction on the data in the request.
# AI Platform implements a custom `predict` verb on top of an HTTP POST # <div>`% dynamic include "/ai-platform/includes/___predict-request" %`</div>
# method.
# For details of the request and response format, see the **guide
# to the [predict request format](/ml-engine/docs/v1/predict-request)**.
# @param [String] name # @param [String] name
# Required. The resource name of a model or a version. # Required. The resource name of a model or a version.
# Authorization: requires the `predict` permission on the specified resource. # Authorization: requires the `predict` permission on the specified resource.

View File

@ -0,0 +1,35 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/securitycenter_v1p1beta1/service.rb'
require 'google/apis/securitycenter_v1p1beta1/classes.rb'
require 'google/apis/securitycenter_v1p1beta1/representations.rb'
module Google
module Apis
# Cloud Security Command Center API
#
# Cloud Security Command Center API provides access to temporal views of assets
# and findings within an organization.
#
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1p1beta1
VERSION = 'V1p1beta1'
REVISION = '20200102'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
end
end
end

View File

@ -0,0 +1,223 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module SecuritycenterV1p1beta1
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
# service Foo `
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
# `
# The JSON representation for `Empty` is empty JSON object ````.
class Empty
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Response of asset discovery run
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable
# The duration between asset discovery run start and end
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration
# The state of an asset discovery run.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@duration = args[:duration] if args.key?(:duration)
@state = args[:state] if args.key?(:state)
end
end
# Response of asset discovery run
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable
# The duration between asset discovery run start and end
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration
# The state of an asset discovery run.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@duration = args[:duration] if args.key?(:duration)
@state = args[:state] if args.key?(:state)
end
end
# The response message for Operations.ListOperations.
class ListOperationsResponse
include Google::Apis::Core::Hashable
# The standard List next-page token.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# A list of operations that matches the specified filter in the request.
# Corresponds to the JSON property `operations`
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::Operation>]
attr_accessor :operations
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)
@operations = args[:operations] if args.key?(:operations)
end
end
# This resource represents a long-running operation that is the result of a
# network API call.
class Operation
include Google::Apis::Core::Hashable
# If the value is `false`, it means the operation is still in progress.
# If `true`, the operation is completed, and either `error` or `response` is
# available.
# Corresponds to the JSON property `done`
# @return [Boolean]
attr_accessor :done
alias_method :done?, :done
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `error`
# @return [Google::Apis::SecuritycenterV1p1beta1::Status]
attr_accessor :error
# Service-specific metadata associated with the operation. It typically
# contains progress information and common metadata such as create time.
# Some services might not provide such metadata. Any method that returns a
# long-running operation should document the metadata type, if any.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,Object>]
attr_accessor :metadata
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The normal response of the operation in case of success. If the original
# method returns no data on success, such as `Delete`, the response is
# `google.protobuf.Empty`. If the original method is standard
# `Get`/`Create`/`Update`, the response should be the resource. For other
# methods, the response should have the type `XxxResponse`, where `Xxx`
# is the original method name. For example, if the original method name
# is `TakeSnapshot()`, the inferred response type is
# `TakeSnapshotResponse`.
# Corresponds to the JSON property `response`
# @return [Hash<String,Object>]
attr_accessor :response
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@done = args[:done] if args.key?(:done)
@error = args[:error] if args.key?(:error)
@metadata = args[:metadata] if args.key?(:metadata)
@name = args[:name] if args.key?(:name)
@response = args[:response] if args.key?(:response)
end
end
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any
# user-facing error message should be localized and sent in the
# google.rpc.Status.details field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
end
end
end

View File

@ -0,0 +1,114 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module SecuritycenterV1p1beta1
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListOperationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :state, as: 'state'
end
end
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :duration, as: 'duration'
property :state, as: 'state'
end
end
class ListOperationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1p1beta1::Operation, decorator: Google::Apis::SecuritycenterV1p1beta1::Operation::Representation
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::SecuritycenterV1p1beta1::Status, decorator: Google::Apis::SecuritycenterV1p1beta1::Status::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
end
end
end

View File

@ -0,0 +1,211 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module SecuritycenterV1p1beta1
# Cloud Security Command Center API
#
# Cloud Security Command Center API provides access to temporal views of assets
# and findings within an organization.
#
# @example
# require 'google/apis/securitycenter_v1p1beta1'
#
# Securitycenter = Google::Apis::SecuritycenterV1p1beta1 # Alias the module
# service = Securitycenter::SecurityCommandCenterService.new
#
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
class SecurityCommandCenterService < Google::Apis::Core::BaseService
# @return [String]
# API key. Your API key identifies your project and provides you with API access,
# quota, and reports. Required unless you provide an OAuth 2.0 token.
attr_accessor :key
# @return [String]
# 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.
attr_accessor :quota_user
def initialize
super('https://securitycenter.googleapis.com/', '')
@batch_path = 'batch'
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @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::SecuritycenterV1p1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SecuritycenterV1p1beta1::Empty]
#
# @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 cancel_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1p1beta1/{+name}:cancel', options)
command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Empty::Representation
command.response_class = Google::Apis::SecuritycenterV1p1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a long-running operation. This method indicates that the client is
# no longer interested in the operation result. It does not cancel the
# operation. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`.
# @param [String] name
# The name of the operation resource to be deleted.
# @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::SecuritycenterV1p1beta1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SecuritycenterV1p1beta1::Empty]
#
# @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 delete_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Empty::Representation
command.response_class = Google::Apis::SecuritycenterV1p1beta1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# @param [String] name
# The name of the operation resource.
# @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::SecuritycenterV1p1beta1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SecuritycenterV1p1beta1::Operation]
#
# @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_organization_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SecuritycenterV1p1beta1::Operation::Representation
command.response_class = Google::Apis::SecuritycenterV1p1beta1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] name
# The name of the operation's parent resource.
# @param [String] filter
# The standard list filter.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @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::SecuritycenterV1p1beta1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse]
#
# @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_organization_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
command.response_representation = Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse::Representation
command.response_class = Google::Apis::SecuritycenterV1p1beta1::ListOperationsResponse
command.params['name'] = name unless name.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
protected
def apply_command_defaults(command)
command.query['key'] = key unless key.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
end
end
end
end
end