Autogenerated update (2018-11-16)
Update: - androidpublisher_v3 - dataproc_v1beta2 - youtube_partner_v1
This commit is contained in:
1 parent
fbf1113798
commit
afcac054bf
8 files changed
+82
-3
No files matched your search
@@ -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'
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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<String>]
|
||||
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<Google::Apis::DataprocV1beta2::JobStatus>]
|
||||
attr_accessor :status_history
|
||||
|
||||
# Output only. The email address of the user submitting the job. For jobs
|
||||
# submitted on the cluster, the address is <code>username@hostname</code>.
|
||||
# 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user