diff --git a/api_names_out.yaml b/api_names_out.yaml index d598b85d2fb..c28feacd7de 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 394fc98487f..3930aa7d5ae 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -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' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 6e465a706d8..68dbb4ee791 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -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 @@ -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. @@ -3327,6 +3327,11 @@ class Proposal # @return [Array] 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] @@ -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 diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index dee61f06021..a0238d99871 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -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 diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb index 932d2e676f1..23d22935d99 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -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 diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/synth.metadata b/generated/google/apis/adexchangebuyer2_v2beta1/synth.metadata index 4abd757963b..61b17f293db 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/synth.metadata +++ b/generated/google/apis/adexchangebuyer2_v2beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "fc15090c6924a8fdcefc69587ba904b941a91b93" + "sha": "0f920ae5ebe394e34a9ce17dd866bea7a4621f7d" } } ]