From f5aa491d78cb65aa560eb68ab9c9e34fe245a7d1 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 3 Mar 2020 00:37:31 +0000 Subject: [PATCH] Autogenerated update (2020-03-03) Update: - billingbudgets_v1beta1 - clouderrorreporting_v1beta1 - cloudtrace_v1 - cloudtrace_v2 - cloudtrace_v2beta1 - dataproc_v1 - displayvideo_v1 - lifesciences_v2beta - pagespeedonline_v5 - securitycenter_v1 - securitycenter_v1p1beta1 - sheets_v4 --- .../google/apis/billingbudgets_v1beta1.rb | 2 +- .../apis/billingbudgets_v1beta1/service.rb | 11 ++ .../apis/clouderrorreporting_v1beta1.rb | 4 +- .../clouderrorreporting_v1beta1/service.rb | 2 +- generated/google/apis/cloudtrace_v1.rb | 8 +- .../google/apis/cloudtrace_v1/service.rb | 6 +- generated/google/apis/cloudtrace_v2.rb | 8 +- .../google/apis/cloudtrace_v2/service.rb | 6 +- generated/google/apis/cloudtrace_v2beta1.rb | 8 +- .../google/apis/cloudtrace_v2beta1/service.rb | 6 +- generated/google/apis/container_v1/classes.rb | 162 +++++++++++++++++- .../apis/container_v1/representations.rb | 70 ++++++++ generated/google/apis/dataproc_v1.rb | 2 +- generated/google/apis/dataproc_v1/classes.rb | 15 ++ .../apis/dataproc_v1/representations.rb | 2 + generated/google/apis/displayvideo_v1.rb | 2 +- generated/google/apis/lifesciences_v2beta.rb | 2 +- generated/google/apis/pagespeedonline_v5.rb | 2 +- generated/google/apis/securitycenter_v1.rb | 2 +- .../google/apis/securitycenter_v1/classes.rb | 18 +- .../google/apis/securitycenter_v1/service.rb | 18 +- .../google/apis/securitycenter_v1p1beta1.rb | 2 +- .../apis/securitycenter_v1p1beta1/classes.rb | 18 +- .../apis/securitycenter_v1p1beta1/service.rb | 18 +- generated/google/apis/sheets_v4.rb | 2 +- 25 files changed, 338 insertions(+), 58 deletions(-) diff --git a/generated/google/apis/billingbudgets_v1beta1.rb b/generated/google/apis/billingbudgets_v1beta1.rb index 7e9e1b4b8..0a3a2c9f6 100644 --- a/generated/google/apis/billingbudgets_v1beta1.rb +++ b/generated/google/apis/billingbudgets_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview module BillingbudgetsV1beta1 VERSION = 'V1beta1' - REVISION = '20200215' + REVISION = '20200229' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/billingbudgets_v1beta1/service.rb b/generated/google/apis/billingbudgets_v1beta1/service.rb index f329c19aa..c100b0651 100644 --- a/generated/google/apis/billingbudgets_v1beta1/service.rb +++ b/generated/google/apis/billingbudgets_v1beta1/service.rb @@ -116,6 +116,10 @@ module Google end # Returns a budget. + # WARNING: There are some fields exposed on the Google Cloud Console that + # aren’t available on this API. When reading from the API, you will not + # see these fields in the return value, though they may have been set + # in the cloud console. # @param [String] name # Required. Name of budget to get. Values are of the form # `billingAccounts/`billingAccountId`/budgets/`budgetId``. @@ -147,6 +151,10 @@ module Google end # Returns a list of budgets for a billing account. + # WARNING: There are some fields exposed on the Google Cloud Console that + # aren’t available on this API. When reading from the API, you will not + # see these fields in the return value, though they may have been set + # in the cloud console. # @param [String] parent # Required. Name of billing account to list budgets under. Values # are of the form `billingAccounts/`billingAccountId``. @@ -187,6 +195,9 @@ module Google end # Updates a budget and returns the updated budget. + # WARNING: There are some fields exposed on the Google Cloud Console that + # aren’t available on this API. Budget fields that are not exposed in + # this API will not be changed by this method. # @param [String] name # Output only. Resource name of the budget. # The resource name implies the scope of a budget. Values are of the form diff --git a/generated/google/apis/clouderrorreporting_v1beta1.rb b/generated/google/apis/clouderrorreporting_v1beta1.rb index 57044e434..cf5183ebc 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1.rb @@ -18,7 +18,7 @@ require 'google/apis/clouderrorreporting_v1beta1/representations.rb' module Google module Apis - # Stackdriver Error Reporting API + # Error Reporting API # # Groups and counts similar errors from cloud services and applications, reports # new errors, and provides access to error groups and their associated errors. @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/error-reporting/ module ClouderrorreportingV1beta1 VERSION = 'V1beta1' - REVISION = '20200122' + REVISION = '20200226' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/clouderrorreporting_v1beta1/service.rb b/generated/google/apis/clouderrorreporting_v1beta1/service.rb index ef460554d..05e6f17dc 100644 --- a/generated/google/apis/clouderrorreporting_v1beta1/service.rb +++ b/generated/google/apis/clouderrorreporting_v1beta1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module ClouderrorreportingV1beta1 - # Stackdriver Error Reporting API + # Error Reporting API # # Groups and counts similar errors from cloud services and applications, reports # new errors, and provides access to error groups and their associated errors. diff --git a/generated/google/apis/cloudtrace_v1.rb b/generated/google/apis/cloudtrace_v1.rb index 771fa526d..2057191d3 100644 --- a/generated/google/apis/cloudtrace_v1.rb +++ b/generated/google/apis/cloudtrace_v1.rb @@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v1/representations.rb' module Google module Apis - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @see https://cloud.google.com/trace module CloudtraceV1 VERSION = 'V1' - REVISION = '20200218' + REVISION = '20200225' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtrace_v1/service.rb b/generated/google/apis/cloudtrace_v1/service.rb index a89fc3b5b..9e76237e6 100644 --- a/generated/google/apis/cloudtrace_v1/service.rb +++ b/generated/google/apis/cloudtrace_v1/service.rb @@ -20,13 +20,13 @@ require 'google/apis/errors' module Google module Apis module CloudtraceV1 - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @example # require 'google/apis/cloudtrace_v1' diff --git a/generated/google/apis/cloudtrace_v2.rb b/generated/google/apis/cloudtrace_v2.rb index f408bd432..3f4a38717 100644 --- a/generated/google/apis/cloudtrace_v2.rb +++ b/generated/google/apis/cloudtrace_v2.rb @@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v2/representations.rb' module Google module Apis - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @see https://cloud.google.com/trace module CloudtraceV2 VERSION = 'V2' - REVISION = '20200218' + REVISION = '20200225' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtrace_v2/service.rb b/generated/google/apis/cloudtrace_v2/service.rb index b67a302b7..46345fd95 100644 --- a/generated/google/apis/cloudtrace_v2/service.rb +++ b/generated/google/apis/cloudtrace_v2/service.rb @@ -20,13 +20,13 @@ require 'google/apis/errors' module Google module Apis module CloudtraceV2 - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @example # require 'google/apis/cloudtrace_v2' diff --git a/generated/google/apis/cloudtrace_v2beta1.rb b/generated/google/apis/cloudtrace_v2beta1.rb index 5ed360412..a07e9c9ff 100644 --- a/generated/google/apis/cloudtrace_v2beta1.rb +++ b/generated/google/apis/cloudtrace_v2beta1.rb @@ -18,18 +18,18 @@ require 'google/apis/cloudtrace_v2beta1/representations.rb' module Google module Apis - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @see https://cloud.google.com/trace module CloudtraceV2beta1 VERSION = 'V2beta1' - REVISION = '20200218' + REVISION = '20200225' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtrace_v2beta1/service.rb b/generated/google/apis/cloudtrace_v2beta1/service.rb index 63203c8ec..490876e83 100644 --- a/generated/google/apis/cloudtrace_v2beta1/service.rb +++ b/generated/google/apis/cloudtrace_v2beta1/service.rb @@ -20,13 +20,13 @@ require 'google/apis/errors' module Google module Apis module CloudtraceV2beta1 - # Stackdriver Trace API + # Cloud Trace API # - # Sends application trace data to Stackdriver Trace for viewing. Trace data is + # Sends application trace data to Cloud Trace for viewing. Trace data is # collected for all App Engine applications by default. Trace data from other # applications can be provided using this API. This library is used to interact # with the Trace API directly. If you are looking to instrument your application - # for Stackdriver Trace, we recommend using OpenCensus. + # for Cloud Trace, we recommend using OpenCensus. # # @example # require 'google/apis/cloudtrace_v2beta1' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 9128233d7..65a7beaf9 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -695,6 +695,12 @@ module Google # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling] attr_accessor :vertical_pod_autoscaling + # Configuration for the use of Kubernetes Service Accounts in GCP IAM + # policies. + # Corresponds to the JSON property `workloadIdentityConfig` + # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig] + attr_accessor :workload_identity_config + # [Output only] The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. @@ -757,6 +763,7 @@ module Google @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block) @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling) + @workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config) @zone = args[:zone] if args.key?(:zone) end end @@ -941,6 +948,12 @@ module Google # @return [Google::Apis::ContainerV1::VerticalPodAutoscaling] attr_accessor :desired_vertical_pod_autoscaling + # Configuration for the use of Kubernetes Service Accounts in GCP IAM + # policies. + # Corresponds to the JSON property `desiredWorkloadIdentityConfig` + # @return [Google::Apis::ContainerV1::WorkloadIdentityConfig] + attr_accessor :desired_workload_identity_config + def initialize(**args) update!(**args) end @@ -964,6 +977,7 @@ module Google @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_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling) + @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config) end end @@ -1914,6 +1928,43 @@ module Google end end + # Progress metric is (string, int|float|string) pair. + class Metric + include Google::Apis::Core::Hashable + + # For metrics with floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # For metrics with integer value. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Required. Metric name, e.g., "nodes total", "percent done". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # For metrics with custom values (ratios, visual progress, etc.). + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @double_value = args[:double_value] if args.key?(:double_value) + @int_value = args[:int_value] if args.key?(:int_value) + @name = args[:name] if args.key?(:name) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + # NetworkConfig reports the relative names of network & subnetwork. class NetworkConfig include Google::Apis::Core::Hashable @@ -2168,6 +2219,12 @@ module Google # @return [Array] attr_accessor :taints + # WorkloadMetadataConfig defines the metadata configuration to expose to + # workloads on the node pool. + # Corresponds to the JSON property `workloadMetadataConfig` + # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig] + attr_accessor :workload_metadata_config + def initialize(**args) update!(**args) end @@ -2191,6 +2248,7 @@ module Google @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config) @tags = args[:tags] if args.key?(:tags) @taints = args[:taints] if args.key?(:taints) + @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config) end end @@ -2488,6 +2546,11 @@ module Google # @return [String] attr_accessor :operation_type + # Information about operation (or operation stage) progress. + # Corresponds to the JSON property `progress` + # @return [Google::Apis::ContainerV1::OperationProgress] + attr_accessor :progress + # Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -2504,7 +2567,7 @@ module Google # @return [String] attr_accessor :status - # If an error has occurred, a textual description of the error. + # Output only. If an error has occurred, a textual description of the error. # Corresponds to the JSON property `statusMessage` # @return [String] attr_accessor :status_message @@ -2535,6 +2598,7 @@ module Google @name = args[:name] if args.key?(:name) @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions) @operation_type = args[:operation_type] if args.key?(:operation_type) + @progress = args[:progress] if args.key?(:progress) @self_link = args[:self_link] if args.key?(:self_link) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) @@ -2544,6 +2608,50 @@ module Google end end + # Information about operation (or operation stage) progress. + class OperationProgress + include Google::Apis::Core::Hashable + + # Progress metric bundle, for example: + # metrics: [`name: "nodes done", int_value: 15`, + # `name: "nodes total", int_value: 32`] + # or + # metrics: [`name: "progress", double_value: 0.56`, + # `name: "progress scale", double_value: 1.0`] + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # A non-parameterized string describing an operation stage. + # Unset for single-stage operations. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Substages of an operation or a stage. + # Corresponds to the JSON property `stages` + # @return [Array] + attr_accessor :stages + + # Status of an operation stage. + # Unset for single-stage operations. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metrics = args[:metrics] if args.key?(:metrics) + @name = args[:name] if args.key?(:name) + @stages = args[:stages] if args.key?(:stages) + @status = args[:status] if args.key?(:status) + end + end + # Configuration options for private clusters. class PrivateClusterConfig include Google::Apis::Core::Hashable @@ -2661,7 +2769,9 @@ module Google # @return [String] attr_accessor :consume_reservation_type - # Corresponds to the label key of reservation resource. + # Corresponds to the label key of a reservation resource. To target a + # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as + # the key and specify the name of your reservation as its value. # Corresponds to the JSON property `key` # @return [String] attr_accessor :key @@ -3874,6 +3984,12 @@ module Google # @return [Google::Apis::ContainerV1::UpgradeSettings] attr_accessor :upgrade_settings + # WorkloadMetadataConfig defines the metadata configuration to expose to + # workloads on the node pool. + # Corresponds to the JSON property `workloadMetadataConfig` + # @return [Google::Apis::ContainerV1::WorkloadMetadataConfig] + attr_accessor :workload_metadata_config + # Required. Deprecated. The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. @@ -3896,6 +4012,7 @@ module Google @node_version = args[:node_version] if args.key?(:node_version) @project_id = args[:project_id] if args.key?(:project_id) @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings) + @workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config) @zone = args[:zone] if args.key?(:zone) end end @@ -4047,6 +4164,47 @@ module Google @enabled = args[:enabled] if args.key?(:enabled) end end + + # Configuration for the use of Kubernetes Service Accounts in GCP IAM + # policies. + class WorkloadIdentityConfig + include Google::Apis::Core::Hashable + + # The workload pool to attach all Kubernetes service accounts to. + # Corresponds to the JSON property `workloadPool` + # @return [String] + attr_accessor :workload_pool + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @workload_pool = args[:workload_pool] if args.key?(:workload_pool) + end + end + + # WorkloadMetadataConfig defines the metadata configuration to expose to + # workloads on the node pool. + class WorkloadMetadataConfig + include Google::Apis::Core::Hashable + + # Mode is the configuration for how to expose metadata to workloads running + # on the node pool. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mode = args[:mode] if args.key?(:mode) + end + end end end end diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index a532fa493..638f3262d 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -262,6 +262,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Metric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -316,6 +322,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OperationProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PrivateClusterConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -508,6 +520,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class WorkloadIdentityConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkloadMetadataConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AcceleratorConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -677,6 +701,8 @@ module Google property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock' property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation + property :workload_identity_config, as: 'workloadIdentityConfig', class: Google::Apis::ContainerV1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1::WorkloadIdentityConfig::Representation + property :zone, as: 'zone' end end @@ -723,6 +749,8 @@ module Google property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1::VerticalPodAutoscaling::Representation + property :desired_workload_identity_config, as: 'desiredWorkloadIdentityConfig', class: Google::Apis::ContainerV1::WorkloadIdentityConfig, decorator: Google::Apis::ContainerV1::WorkloadIdentityConfig::Representation + end end @@ -975,6 +1003,16 @@ module Google end end + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :double_value, as: 'doubleValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :name, as: 'name' + property :string_value, as: 'stringValue' + end + end + class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1024,6 +1062,8 @@ module Google collection :tags, as: 'tags' collection :taints, as: 'taints', class: Google::Apis::ContainerV1::NodeTaint, decorator: Google::Apis::ContainerV1::NodeTaint::Representation + property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1::WorkloadMetadataConfig::Representation + end end @@ -1095,6 +1135,8 @@ module Google collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation property :operation_type, as: 'operationType' + property :progress, as: 'progress', class: Google::Apis::ContainerV1::OperationProgress, decorator: Google::Apis::ContainerV1::OperationProgress::Representation + property :self_link, as: 'selfLink' property :start_time, as: 'startTime' property :status, as: 'status' @@ -1104,6 +1146,18 @@ module Google end end + class OperationProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metrics, as: 'metrics', class: Google::Apis::ContainerV1::Metric, decorator: Google::Apis::ContainerV1::Metric::Representation + + property :name, as: 'name' + collection :stages, as: 'stages', class: Google::Apis::ContainerV1::OperationProgress, decorator: Google::Apis::ContainerV1::OperationProgress::Representation + + property :status, as: 'status' + end + end + class PrivateClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1403,6 +1457,8 @@ module Google property :project_id, as: 'projectId' property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1::UpgradeSettings, decorator: Google::Apis::ContainerV1::UpgradeSettings::Representation + property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1::WorkloadMetadataConfig::Representation + property :zone, as: 'zone' end end @@ -1442,6 +1498,20 @@ module Google property :enabled, as: 'enabled' end end + + class WorkloadIdentityConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :workload_pool, as: 'workloadPool' + end + end + + class WorkloadMetadataConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mode, as: 'mode' + end + end end end end diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index dd2dfaa85..928d2bc9f 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20200213' + REVISION = '20200220' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index a694a9e12..3091cbde7 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -1274,6 +1274,11 @@ module Google # @return [Fixnum] attr_accessor :num_instances + # Optional. Specifies the preemptibility of the instance group. + # Corresponds to the JSON property `preemptibility` + # @return [String] + attr_accessor :preemptibility + def initialize(**args) update!(**args) end @@ -1289,6 +1294,7 @@ module Google @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @num_instances = args[:num_instances] if args.key?(:num_instances) + @preemptibility = args[:preemptibility] if args.key?(:preemptibility) end end @@ -1336,6 +1342,14 @@ module Google class Job include Google::Apis::Core::Hashable + # Output only. Indicates whether the job is completed. If the value is false, + # the job is still in progress. If true, the job is completed, and status.state + # field will indicate if it was successful, failed, or cancelled. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + # Output only. If present, the location of miscellaneous control files which may # be used as part of job setup and handling. If not present, control files may # be placed in the same location as driver_output_uri. @@ -1452,6 +1466,7 @@ module Google # Update properties of this object def update!(**args) + @done = args[:done] if args.key?(:done) @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index fb51dcfad..114a5897a 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -759,6 +759,7 @@ module Google property :min_cpu_platform, as: 'minCpuPlatform' property :num_instances, as: 'numInstances' + property :preemptibility, as: 'preemptibility' end end @@ -774,6 +775,7 @@ module Google class Job # @private class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' property :driver_control_files_uri, as: 'driverControlFilesUri' property :driver_output_resource_uri, as: 'driverOutputResourceUri' property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation diff --git a/generated/google/apis/displayvideo_v1.rb b/generated/google/apis/displayvideo_v1.rb index d44bbacbf..fe832e47e 100644 --- a/generated/google/apis/displayvideo_v1.rb +++ b/generated/google/apis/displayvideo_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/display-video/ module DisplayvideoV1 VERSION = 'V1' - REVISION = '20200226' + REVISION = '20200302' # Create, see, edit, and permanently delete your Display & Video 360 entities and reports AUTH_DISPLAY_VIDEO = 'https://www.googleapis.com/auth/display-video' diff --git a/generated/google/apis/lifesciences_v2beta.rb b/generated/google/apis/lifesciences_v2beta.rb index 1f9996e00..dfea71841 100644 --- a/generated/google/apis/lifesciences_v2beta.rb +++ b/generated/google/apis/lifesciences_v2beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/life-sciences module LifesciencesV2beta VERSION = 'V2beta' - REVISION = '20191030' + REVISION = '20200220' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pagespeedonline_v5.rb b/generated/google/apis/pagespeedonline_v5.rb index 3adf77aca..0f85572fd 100644 --- a/generated/google/apis/pagespeedonline_v5.rb +++ b/generated/google/apis/pagespeedonline_v5.rb @@ -28,7 +28,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v5/about module PagespeedonlineV5 VERSION = 'V5' - REVISION = '20200117' + REVISION = '20200227' # Associate you with your personal info on Google PENID = 'openid' diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index 59be5ebd0..8ca02c484 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20200224' + REVISION = '20200228' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 35fa81f94..2a8299b4e 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -1173,12 +1173,18 @@ module Google # two times don't affect the result. For example, the results aren't affected # if the finding is made inactive and then active again. # Possible "state_change" values when compare_duration is specified: - # * "CHANGED": indicates that the finding was present at the start of - # compare_duration, but changed its state at read_time. - # * "UNCHANGED": indicates that the finding was present at the start of - # compare_duration and did not change state at read_time. - # * "ADDED": indicates that the finding was not present at the start - # of compare_duration, but was present at read_time. + # * "CHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration, but changed its + # state at read_time. + # * "UNCHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration and did not change + # state at read_time. + # * "ADDED": indicates that the finding did not match the given filter or + # was not present at the start of compare_duration, but was + # present at read_time. + # * "REMOVED": indicates that the finding was present and matched the + # filter at the start of compare_duration, but did not match + # the filter at read_time. # If compare_duration is not specified, then the only possible state_change # is "UNUSED", which will be the state_change set for all findings present # at read_time. diff --git a/generated/google/apis/securitycenter_v1/service.rb b/generated/google/apis/securitycenter_v1/service.rb index 5cec8dde2..4415633e1 100644 --- a/generated/google/apis/securitycenter_v1/service.rb +++ b/generated/google/apis/securitycenter_v1/service.rb @@ -880,12 +880,18 @@ module Google # two times don't affect the result. For example, the results aren't affected # if the finding is made inactive and then active again. # Possible "state_change" values when compare_duration is specified: - # * "CHANGED": indicates that the finding was present at the start of - # compare_duration, but changed its state at read_time. - # * "UNCHANGED": indicates that the finding was present at the start of - # compare_duration and did not change state at read_time. - # * "ADDED": indicates that the finding was not present at the start - # of compare_duration, but was present at read_time. + # * "CHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration, but changed its + # state at read_time. + # * "UNCHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration and did not change + # state at read_time. + # * "ADDED": indicates that the finding did not match the given filter or + # was not present at the start of compare_duration, but was + # present at read_time. + # * "REMOVED": indicates that the finding was present and matched the + # filter at the start of compare_duration, but did not match + # the filter at read_time. # If compare_duration is not specified, then the only possible state_change # is "UNUSED", which will be the state_change set for all findings present at # read_time. diff --git a/generated/google/apis/securitycenter_v1p1beta1.rb b/generated/google/apis/securitycenter_v1p1beta1.rb index 813fc440d..1b0e5da2c 100644 --- a/generated/google/apis/securitycenter_v1p1beta1.rb +++ b/generated/google/apis/securitycenter_v1p1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20200224' + REVISION = '20200228' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/securitycenter_v1p1beta1/classes.rb b/generated/google/apis/securitycenter_v1p1beta1/classes.rb index 4c9e51764..ca5393864 100644 --- a/generated/google/apis/securitycenter_v1p1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1p1beta1/classes.rb @@ -1001,12 +1001,18 @@ module Google # two times don't affect the result. For example, the results aren't affected # if the finding is made inactive and then active again. # Possible "state_change" values when compare_duration is specified: - # * "CHANGED": indicates that the finding was present at the start of - # compare_duration, but changed its state at read_time. - # * "UNCHANGED": indicates that the finding was present at the start of - # compare_duration and did not change state at read_time. - # * "ADDED": indicates that the finding was not present at the start - # of compare_duration, but was present at read_time. + # * "CHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration, but changed its + # state at read_time. + # * "UNCHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration and did not change + # state at read_time. + # * "ADDED": indicates that the finding did not match the given filter or + # was not present at the start of compare_duration, but was + # present at read_time. + # * "REMOVED": indicates that the finding was present and matched the + # filter at the start of compare_duration, but did not match + # the filter at read_time. # If compare_duration is not specified, then the only possible state_change # is "UNUSED", which will be the state_change set for all findings present # at read_time. diff --git a/generated/google/apis/securitycenter_v1p1beta1/service.rb b/generated/google/apis/securitycenter_v1p1beta1/service.rb index d63f84440..3e7e61891 100644 --- a/generated/google/apis/securitycenter_v1p1beta1/service.rb +++ b/generated/google/apis/securitycenter_v1p1beta1/service.rb @@ -1063,12 +1063,18 @@ module Google # two times don't affect the result. For example, the results aren't affected # if the finding is made inactive and then active again. # Possible "state_change" values when compare_duration is specified: - # * "CHANGED": indicates that the finding was present at the start of - # compare_duration, but changed its state at read_time. - # * "UNCHANGED": indicates that the finding was present at the start of - # compare_duration and did not change state at read_time. - # * "ADDED": indicates that the finding was not present at the start - # of compare_duration, but was present at read_time. + # * "CHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration, but changed its + # state at read_time. + # * "UNCHANGED": indicates that the finding was present and matched the given + # filter at the start of compare_duration and did not change + # state at read_time. + # * "ADDED": indicates that the finding did not match the given filter or + # was not present at the start of compare_duration, but was + # present at read_time. + # * "REMOVED": indicates that the finding was present and matched the + # filter at the start of compare_duration, but did not match + # the filter at read_time. # If compare_duration is not specified, then the only possible state_change # is "UNUSED", which will be the state_change set for all findings present at # read_time. diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index 11248d95e..1a8ca68f3 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20200211' + REVISION = '20200225' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'