Skip to content

Commit

Permalink
feat: Automated regeneration of adexchangebuyer2 v2beta1 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 3, 2020
1 parent 0f920ae commit b537e59
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Expand Up @@ -1056,6 +1056,7 @@
"/adexchangebuyer2:v2beta1/Proposal/seller": seller
"/adexchangebuyer2:v2beta1/Proposal/sellerContacts": seller_contacts
"/adexchangebuyer2:v2beta1/Proposal/sellerContacts/seller_contact": seller_contact
"/adexchangebuyer2:v2beta1/Proposal/termsAndConditions": terms_and_conditions
"/adexchangebuyer2:v2beta1/Proposal/updateTime": update_time
"/adexchangebuyer2:v2beta1/Publisher": publisher
"/adexchangebuyer2:v2beta1/Publisher/publisherDisplayName": publisher_display_name
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adexchangebuyer2_v2beta1.rb
Expand Up @@ -27,7 +27,7 @@ module Apis
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20201118'
REVISION = '20201202'

# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
Expand Down
18 changes: 12 additions & 6 deletions generated/google/apis/adexchangebuyer2_v2beta1/classes.rb
Expand Up @@ -1162,10 +1162,10 @@ class Deal
# @return [String]
attr_accessor :available_end_time

# Optional proposed flight start time of the deal. This will generally be stored
# in the granularity of one second since deal serving starts at seconds boundary.
# Any time specified with more granularity (e.g., in milliseconds) will be
# truncated towards the start of time in seconds.
# Optional. Proposed flight start time of the deal. This will generally be
# stored in the granularity of one second since deal serving starts at seconds
# boundary. Any time specified with more granularity (e.g., in milliseconds)
# will be truncated towards the start of time in seconds.
# Corresponds to the JSON property `availableStartTime`
# @return [String]
attr_accessor :available_start_time
Expand All @@ -1182,8 +1182,8 @@ class Deal
# @return [String]
attr_accessor :create_product_id

# Optional revision number of the product that the deal was created from. If
# present on create, and the server `product_revision` has advanced sinced the
# Optional. Revision number of the product that the deal was created from. If
# present on create, and the server `product_revision` has advanced since the
# passed-in `create_product_revision`, an `ABORTED` error will be returned. Note:
# This field may be set only when creating the resource. Modifying this field
# while updating the resource will result in an error.
Expand Down Expand Up @@ -3327,6 +3327,11 @@ class Proposal
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ContactInformation>]
attr_accessor :seller_contacts

# Output only. The terms and conditions set by the publisher for this proposal.
# Corresponds to the JSON property `termsAndConditions`
# @return [String]
attr_accessor :terms_and_conditions

# Output only. The time when the proposal was last revised.
# Corresponds to the JSON property `updateTime`
# @return [String]
Expand Down Expand Up @@ -3355,6 +3360,7 @@ def update!(**args)
@proposal_state = args[:proposal_state] if args.key?(:proposal_state)
@seller = args[:seller] if args.key?(:seller)
@seller_contacts = args[:seller_contacts] if args.key?(:seller_contacts)
@terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
Expand Down
Expand Up @@ -1581,6 +1581,7 @@ class Representation < Google::Apis::Core::JsonRepresentation

collection :seller_contacts, as: 'sellerContacts', class: Google::Apis::Adexchangebuyer2V2beta1::ContactInformation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ContactInformation::Representation

property :terms_and_conditions, as: 'termsAndConditions'
property :update_time, as: 'updateTime'
end
end
Expand Down
4 changes: 3 additions & 1 deletion generated/google/apis/adexchangebuyer2_v2beta1/service.rb
Expand Up @@ -930,7 +930,9 @@ def list_account_products(account_id, filter: nil, page_size: nil, page_token: n
# Mark the proposal as accepted at the given revision number. If the number does
# not match the server's revision number an `ABORTED` error message will be
# returned. This call updates the proposal_state from `PROPOSED` to `
# BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`.
# BUYER_ACCEPTED`, or from `SELLER_ACCEPTED` to `FINALIZED`. Upon calling this
# endpoint, the buyer implicitly agrees to the terms and conditions optionally
# set within the proposal by the publisher.
# @param [String] account_id
# Account ID of the buyer.
# @param [String] proposal_id
Expand Down
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "fc15090c6924a8fdcefc69587ba904b941a91b93"
"sha": "0f920ae5ebe394e34a9ce17dd866bea7a4621f7d"
}
}
]
Expand Down

0 comments on commit b537e59

Please sign in to comment.