Skip to content

Commit

Permalink
Autogenerated update (2018-11-16)
Browse files Browse the repository at this point in the history
Update:
- androidpublisher_v3
- dataproc_v1beta2
- youtube_partner_v1
  • Loading branch information
googleapis-publisher committed Nov 16, 2018
1 parent fbf1113 commit afcac05
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 3 deletions.
8 changes: 8 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidpublisher_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
8 changes: 8 additions & 0 deletions generated/google/apis/androidpublisher_v3/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,13 @@ class SubscriptionPurchase
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
Expand Down Expand Up @@ -1547,6 +1554,7 @@ def initialize(**args)
# 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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ class SubscriptionPurchase
# @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

Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dataproc_v1beta2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
44 changes: 44 additions & 0 deletions generated/google/apis/dataproc_v1beta2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,37 @@ def update!(**args)
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
Expand Down Expand Up @@ -653,6 +684,11 @@ def update!(**args)
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
Expand Down Expand Up @@ -743,6 +779,7 @@ def initialize(**args)

# 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)
Expand Down Expand Up @@ -1133,6 +1170,12 @@ class Job
# @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.
Expand Down Expand Up @@ -1162,6 +1205,7 @@ def update!(**args)
@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
Expand Down
18 changes: 18 additions & 0 deletions generated/google/apis/dataproc_v1beta2/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
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

Expand Down Expand Up @@ -402,6 +408,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
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
Expand Down Expand Up @@ -568,6 +583,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
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'
Expand Down Expand Up @@ -672,6 +689,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/youtube_partner_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down

0 comments on commit afcac05

Please sign in to comment.