feat: Automated regeneration of localservices v1 client

This commit is contained in:
Yoshi Automation Bot 2020-10-20 09:42:55 -07:00 committed by GitHub
parent cc6d984945
commit bb6236f9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 2 deletions

View File

@ -111671,6 +111671,7 @@
"/lifesciences:v2beta/quotaUser": quota_user "/lifesciences:v2beta/quotaUser": quota_user
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport": google_ads_homeservices_localservices_v1_account_report "/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport": google_ads_homeservices_localservices_v1_account_report
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/accountId": account_id "/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/accountId": account_id
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/aggregatorInfo": aggregator_info
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/averageFiveStarRating": average_five_star_rating "/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/averageFiveStarRating": average_five_star_rating
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/averageWeeklyBudget": average_weekly_budget "/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/averageWeeklyBudget": average_weekly_budget
"/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/businessName": business_name "/localservices:v1/GoogleAdsHomeservicesLocalservicesV1AccountReport/businessName": business_name

View File

@ -25,7 +25,7 @@ module Google
# @see https://ads.google.com/local-services-ads/ # @see https://ads.google.com/local-services-ads/
module LocalservicesV1 module LocalservicesV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20201012' REVISION = '20201016'
end end
end end
end end

View File

@ -32,6 +32,12 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :account_id attr_accessor :account_id
# Conatiner for aggregator specific information if lead is for an aggregator GLS
# account.
# Corresponds to the JSON property `aggregatorInfo`
# @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo]
attr_accessor :aggregator_info
# Average review rating score from 1-5 stars. # Average review rating score from 1-5 stars.
# Corresponds to the JSON property `averageFiveStarRating` # Corresponds to the JSON property `averageFiveStarRating`
# @return [Float] # @return [Float]
@ -117,6 +123,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id) @account_id = args[:account_id] if args.key?(:account_id)
@aggregator_info = args[:aggregator_info] if args.key?(:aggregator_info)
@average_five_star_rating = args[:average_five_star_rating] if args.key?(:average_five_star_rating) @average_five_star_rating = args[:average_five_star_rating] if args.key?(:average_five_star_rating)
@average_weekly_budget = args[:average_weekly_budget] if args.key?(:average_weekly_budget) @average_weekly_budget = args[:average_weekly_budget] if args.key?(:average_weekly_budget)
@business_name = args[:business_name] if args.key?(:business_name) @business_name = args[:business_name] if args.key?(:business_name)

View File

@ -74,6 +74,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :account_id, :numeric_string => true, as: 'accountId' property :account_id, :numeric_string => true, as: 'accountId'
property :aggregator_info, as: 'aggregatorInfo', class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo, decorator: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::Representation
property :average_five_star_rating, as: 'averageFiveStarRating' property :average_five_star_rating, as: 'averageFiveStarRating'
property :average_weekly_budget, as: 'averageWeeklyBudget' property :average_weekly_budget, as: 'averageWeeklyBudget'
property :business_name, as: 'businessName' property :business_name, as: 'businessName'

View File

@ -4,7 +4,7 @@
"git": { "git": {
"name": ".", "name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git", "remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" "sha": "9dbe47b50cf9821abd0b99045aefd29e469d2ca4"
} }
} }
] ]