From afcac054bfe7747ada28698173850a11b55c53fc Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 16 Nov 2018 00:36:46 +0000 Subject: [PATCH] Autogenerated update (2018-11-16) Update: - androidpublisher_v3 - dataproc_v1beta2 - youtube_partner_v1 --- api_names_out.yaml | 8 ++++ generated/google/apis/androidpublisher_v3.rb | 2 +- .../apis/androidpublisher_v3/classes.rb | 8 ++++ .../androidpublisher_v3/representations.rb | 1 + generated/google/apis/dataproc_v1beta2.rb | 2 +- .../google/apis/dataproc_v1beta2/classes.rb | 44 +++++++++++++++++++ .../apis/dataproc_v1beta2/representations.rb | 18 ++++++++ generated/google/apis/youtube_partner_v1.rb | 2 +- 8 files changed, 82 insertions(+), 3 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 11e632930..97c329f1a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8076,6 +8076,7 @@ "/androidpublisher:v3/SubscriptionPriceChange/state": state "/androidpublisher:v3/SubscriptionPurchase": subscription_purchase "/androidpublisher:v3/SubscriptionPurchase/autoRenewing": auto_renewing +"/androidpublisher:v3/SubscriptionPurchase/autoResumeTimeMillis": auto_resume_time_millis "/androidpublisher:v3/SubscriptionPurchase/cancelReason": cancel_reason "/androidpublisher:v3/SubscriptionPurchase/cancelSurveyResult": cancel_survey_result "/androidpublisher:v3/SubscriptionPurchase/countryCode": country_code @@ -41704,6 +41705,11 @@ "/dataproc:v1beta2/AcceleratorConfig": accelerator_config "/dataproc:v1beta2/AcceleratorConfig/acceleratorCount": accelerator_count "/dataproc:v1beta2/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri +"/dataproc:v1beta2/AllocationAffinity": allocation_affinity +"/dataproc:v1beta2/AllocationAffinity/consumeAllocationType": consume_allocation_type +"/dataproc:v1beta2/AllocationAffinity/key": key +"/dataproc:v1beta2/AllocationAffinity/values": values +"/dataproc:v1beta2/AllocationAffinity/values/value": value "/dataproc:v1beta2/Binding": binding "/dataproc:v1beta2/Binding/condition": condition "/dataproc:v1beta2/Binding/members": members @@ -41783,6 +41789,7 @@ "/dataproc:v1beta2/Expr/location": location "/dataproc:v1beta2/Expr/title": title "/dataproc:v1beta2/GceClusterConfig": gce_cluster_config +"/dataproc:v1beta2/GceClusterConfig/allocationAffinity": allocation_affinity "/dataproc:v1beta2/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1beta2/GceClusterConfig/metadata": metadata "/dataproc:v1beta2/GceClusterConfig/metadata/metadatum": metadatum @@ -41856,6 +41863,7 @@ "/dataproc:v1beta2/Job/status": status "/dataproc:v1beta2/Job/statusHistory": status_history "/dataproc:v1beta2/Job/statusHistory/status_history": status_history +"/dataproc:v1beta2/Job/submittedBy": submitted_by "/dataproc:v1beta2/Job/yarnApplications": yarn_applications "/dataproc:v1beta2/Job/yarnApplications/yarn_application": yarn_application "/dataproc:v1beta2/JobPlacement": job_placement diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index cc80445c8..dba50560a 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20181009' + REVISION = '20181113' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/classes.rb b/generated/google/apis/androidpublisher_v3/classes.rb index ee292e3f7..e21ef6163 100644 --- a/generated/google/apis/androidpublisher_v3/classes.rb +++ b/generated/google/apis/androidpublisher_v3/classes.rb @@ -1400,6 +1400,13 @@ module Google attr_accessor :auto_renewing alias_method :auto_renewing?, :auto_renewing + # Time at which the subscription will be automatically resumed, in milliseconds + # since the Epoch. Only present if the user has requested to pause the + # subscription. + # Corresponds to the JSON property `autoResumeTimeMillis` + # @return [Fixnum] + attr_accessor :auto_resume_time_millis + # The reason why a subscription was canceled or is not auto-renewing. Possible # values are: # - User canceled the subscription @@ -1547,6 +1554,7 @@ module Google # Update properties of this object def update!(**args) @auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing) + @auto_resume_time_millis = args[:auto_resume_time_millis] if args.key?(:auto_resume_time_millis) @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason) @cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result) @country_code = args[:country_code] if args.key?(:country_code) diff --git a/generated/google/apis/androidpublisher_v3/representations.rb b/generated/google/apis/androidpublisher_v3/representations.rb index 0cea07929..973c6ae3e 100644 --- a/generated/google/apis/androidpublisher_v3/representations.rb +++ b/generated/google/apis/androidpublisher_v3/representations.rb @@ -760,6 +760,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :auto_renewing, as: 'autoRenewing' + property :auto_resume_time_millis, :numeric_string => true, as: 'autoResumeTimeMillis' property :cancel_reason, as: 'cancelReason' property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult::Representation diff --git a/generated/google/apis/dataproc_v1beta2.rb b/generated/google/apis/dataproc_v1beta2.rb index 1411bd0eb..17dded8c0 100644 --- a/generated/google/apis/dataproc_v1beta2.rb +++ b/generated/google/apis/dataproc_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1beta2 VERSION = 'V1beta2' - REVISION = '20181105' + REVISION = '20181114' # 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_v1beta2/classes.rb b/generated/google/apis/dataproc_v1beta2/classes.rb index f9d3a871a..ad9a54b15 100644 --- a/generated/google/apis/dataproc_v1beta2/classes.rb +++ b/generated/google/apis/dataproc_v1beta2/classes.rb @@ -55,6 +55,37 @@ module Google end end + # Allocation Affinity for consuming Zonal allocation. + class AllocationAffinity + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `consumeAllocationType` + # @return [String] + attr_accessor :consume_allocation_type + + # Corresponds to the label key of Allocation resource. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Corresponds to the label values of allocation resource. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consume_allocation_type = args[:consume_allocation_type] if args.key?(:consume_allocation_type) + @key = args[:key] if args.key?(:key) + @values = args[:values] if args.key?(:values) + end + end + # Associates members with a role. class Binding include Google::Apis::Core::Hashable @@ -653,6 +684,11 @@ module Google class GceClusterConfig include Google::Apis::Core::Hashable + # Allocation Affinity for consuming Zonal allocation. + # Corresponds to the JSON property `allocationAffinity` + # @return [Google::Apis::DataprocV1beta2::AllocationAffinity] + attr_accessor :allocation_affinity + # Optional. If true, all instances in the cluster will only have internal IP # addresses. By default, clusters are not restricted to internal IP addresses, # and will have ephemeral external IP addresses assigned to each instance. This @@ -743,6 +779,7 @@ module Google # Update properties of this object def update!(**args) + @allocation_affinity = args[:allocation_affinity] if args.key?(:allocation_affinity) @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) @metadata = args[:metadata] if args.key?(:metadata) @network_uri = args[:network_uri] if args.key?(:network_uri) @@ -1133,6 +1170,12 @@ module Google # @return [Array] attr_accessor :status_history + # Output only. The email address of the user submitting the job. For jobs + # submitted on the cluster, the address is username@hostname. + # Corresponds to the JSON property `submittedBy` + # @return [String] + attr_accessor :submitted_by + # Output only. The collection of YARN applications spun up by this job.Beta # Feature: This report is available for testing purposes only. It may be changed # before final release. @@ -1162,6 +1205,7 @@ module Google @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) @status = args[:status] if args.key?(:status) @status_history = args[:status_history] if args.key?(:status_history) + @submitted_by = args[:submitted_by] if args.key?(:submitted_by) @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) end end diff --git a/generated/google/apis/dataproc_v1beta2/representations.rb b/generated/google/apis/dataproc_v1beta2/representations.rb index 96b7e6cba..5e245743b 100644 --- a/generated/google/apis/dataproc_v1beta2/representations.rb +++ b/generated/google/apis/dataproc_v1beta2/representations.rb @@ -28,6 +28,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AllocationAffinity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Binding class Representation < Google::Apis::Core::JsonRepresentation; end @@ -402,6 +408,15 @@ module Google end end + class AllocationAffinity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consume_allocation_type, as: 'consumeAllocationType' + property :key, as: 'key' + collection :values, as: 'values' + end + end + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -568,6 +583,8 @@ module Google class GceClusterConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::DataprocV1beta2::AllocationAffinity, decorator: Google::Apis::DataprocV1beta2::AllocationAffinity::Representation + property :internal_ip_only, as: 'internalIpOnly' hash :metadata, as: 'metadata' property :network_uri, as: 'networkUri' @@ -672,6 +689,7 @@ module Google collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1beta2::JobStatus, decorator: Google::Apis::DataprocV1beta2::JobStatus::Representation + property :submitted_by, as: 'submittedBy' collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1beta2::YarnApplication, decorator: Google::Apis::DataprocV1beta2::YarnApplication::Representation end diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 3680a1a8d..cab4276ad 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20181105' + REVISION = '20181112' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'