From 5835d82df1fa9d5ad3c947d7e459241b8d69e149 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 11 Apr 2018 00:35:27 +0000 Subject: [PATCH] Autogenerated update (2018-04-11) Update: - adexchangebuyer2_v2beta1 - analytics_v3 - androidenterprise_v1 - cloudtasks_v2beta2 - content_v2 - content_v2sandbox - iam_v1 - ml_v1 - pubsub_v1 - pubsub_v1beta1a - pubsub_v1beta2 - slides_v1 --- api_names_out.yaml | 42 +++++++ .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../apis/adexchangebuyer2_v2beta1/classes.rb | 64 +++++++++++ .../representations.rb | 29 +++++ .../apis/adexchangebuyer2_v2beta1/service.rb | 36 ++++++ generated/google/apis/analytics_v3.rb | 2 +- generated/google/apis/analytics_v3/classes.rb | 92 ++++++--------- .../apis/analytics_v3/representations.rb | 20 ++-- generated/google/apis/androidenterprise_v1.rb | 2 +- generated/google/apis/cloudtasks_v2beta2.rb | 2 +- .../google/apis/cloudtasks_v2beta2/classes.rb | 3 +- .../google/apis/cloudtasks_v2beta2/service.rb | 2 +- generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/classes.rb | 107 ++++++++++++++++-- .../google/apis/content_v2/representations.rb | 37 ++++++ generated/google/apis/content_v2sandbox.rb | 2 +- .../google/apis/content_v2sandbox/classes.rb | 83 ++++++++++++-- .../apis/content_v2sandbox/representations.rb | 33 ++++++ generated/google/apis/iam_v1.rb | 4 +- generated/google/apis/iam_v1/service.rb | 2 +- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 12 +- .../google/apis/ml_v1/representations.rb | 1 + generated/google/apis/pubsub_v1.rb | 4 +- generated/google/apis/pubsub_v1/service.rb | 2 +- generated/google/apis/pubsub_v1beta1a.rb | 4 +- .../google/apis/pubsub_v1beta1a/service.rb | 2 +- generated/google/apis/pubsub_v1beta2.rb | 4 +- .../google/apis/pubsub_v1beta2/service.rb | 2 +- generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 8 +- 31 files changed, 494 insertions(+), 115 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 6b7cffe25..0a94db451 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -158,6 +158,8 @@ "/adexchangebuyer2:v2beta1/FilterSet/ownerAccountId": owner_account_id "/adexchangebuyer2:v2beta1/FilterSet/platforms": platforms "/adexchangebuyer2:v2beta1/FilterSet/platforms/platform": platform +"/adexchangebuyer2:v2beta1/FilterSet/publisherIdentifiers": publisher_identifiers +"/adexchangebuyer2:v2beta1/FilterSet/publisherIdentifiers/publisher_identifier": publisher_identifier "/adexchangebuyer2:v2beta1/FilterSet/realtimeTimeRange": realtime_time_range "/adexchangebuyer2:v2beta1/FilterSet/relativeDateRange": relative_date_range "/adexchangebuyer2:v2beta1/FilterSet/sellerNetworkIds": seller_network_ids @@ -256,6 +258,9 @@ "/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nextPageToken": next_page_token "/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows": non_billable_winning_bid_status_rows "/adexchangebuyer2:v2beta1/ListNonBillableWinningBidsResponse/nonBillableWinningBidStatusRows/non_billable_winning_bid_status_row": non_billable_winning_bid_status_row +"/adexchangebuyer2:v2beta1/ListPublishersResponse": list_publishers_response +"/adexchangebuyer2:v2beta1/ListPublishersResponse/publisher": publisher +"/adexchangebuyer2:v2beta1/ListPublishersResponse/publisher/publisher": publisher "/adexchangebuyer2:v2beta1/LocationContext": location_context "/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds": geo_criteria_ids "/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds/geo_criteria_id": geo_criteria_id @@ -283,6 +288,9 @@ "/adexchangebuyer2:v2beta1/PlatformContext": platform_context "/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms "/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform +"/adexchangebuyer2:v2beta1/Publisher": publisher +"/adexchangebuyer2:v2beta1/Publisher/publisherDisplayName": publisher_display_name +"/adexchangebuyer2:v2beta1/Publisher/publisherId": publisher_id "/adexchangebuyer2:v2beta1/RealtimeTimeRange": realtime_time_range "/adexchangebuyer2:v2beta1/RealtimeTimeRange/startTimestamp": start_timestamp "/adexchangebuyer2:v2beta1/Reason": reason @@ -457,6 +465,9 @@ "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/filterSetId": filter_set_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageSize": page_size "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.filterSets.nonBillableWinningBids.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list": list_account_publishers +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.publishers.list/environment": environment "/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list": list_bidder_account_filter_set_bid_metrics "/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list/accountId": account_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.bidders.accounts.filterSets.bidMetrics.list/filterSetId": filter_set_id @@ -3942,6 +3953,10 @@ "/analytics:v3/AccountTreeRequest/accountName": account_name "/analytics:v3/AccountTreeRequest/accountSettings": account_settings "/analytics:v3/AccountTreeRequest/accountSettings/admobReporting": admob_reporting +"/analytics:v3/AccountTreeRequest/accountSettings/shareAnonymouslyWithOthers": share_anonymously_with_others +"/analytics:v3/AccountTreeRequest/accountSettings/shareWithGoogleProducts": share_with_google_products +"/analytics:v3/AccountTreeRequest/accountSettings/shareWithSpecialists": share_with_specialists +"/analytics:v3/AccountTreeRequest/accountSettings/shareWithSupport": share_with_support "/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales "/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleProducts": sharing_with_google_products "/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleSales": sharing_with_google_sales @@ -3956,6 +3971,10 @@ "/analytics:v3/AccountTreeResponse/account": account "/analytics:v3/AccountTreeResponse/accountSettings": account_settings "/analytics:v3/AccountTreeResponse/accountSettings/admobReporting": admob_reporting +"/analytics:v3/AccountTreeResponse/accountSettings/shareAnonymouslyWithOthers": share_anonymously_with_others +"/analytics:v3/AccountTreeResponse/accountSettings/shareWithGoogleProducts": share_with_google_products +"/analytics:v3/AccountTreeResponse/accountSettings/shareWithSpecialists": share_with_specialists +"/analytics:v3/AccountTreeResponse/accountSettings/shareWithSupport": share_with_support "/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales "/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleProducts": sharing_with_google_products "/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleSales": sharing_with_google_sales @@ -31976,6 +31995,11 @@ "/content:v2/OrderCustomer/email": email "/content:v2/OrderCustomer/explicitMarketingPreference": explicit_marketing_preference "/content:v2/OrderCustomer/fullName": full_name +"/content:v2/OrderCustomer/marketingRightsInfo": marketing_rights_info +"/content:v2/OrderCustomerMarketingRightsInfo": order_customer_marketing_rights_info +"/content:v2/OrderCustomerMarketingRightsInfo/explicitMarketingPreference": explicit_marketing_preference +"/content:v2/OrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp +"/content:v2/OrderCustomerMarketingRightsInfo/marketingEmailAddress": marketing_email_address "/content:v2/OrderDeliveryDetails": order_delivery_details "/content:v2/OrderDeliveryDetails/address": address "/content:v2/OrderDeliveryDetails/phoneNumber": phone_number @@ -32585,7 +32609,10 @@ "/content:v2/ProductStatusItemLevelIssue": product_status_item_level_issue "/content:v2/ProductStatusItemLevelIssue/attributeName": attribute_name "/content:v2/ProductStatusItemLevelIssue/code": code +"/content:v2/ProductStatusItemLevelIssue/description": description "/content:v2/ProductStatusItemLevelIssue/destination": destination +"/content:v2/ProductStatusItemLevelIssue/detail": detail +"/content:v2/ProductStatusItemLevelIssue/documentation": documentation "/content:v2/ProductStatusItemLevelIssue/resolution": resolution "/content:v2/ProductStatusItemLevelIssue/servability": servability "/content:v2/ProductTax": product_tax @@ -32666,6 +32693,7 @@ "/content:v2/Service/currency": currency "/content:v2/Service/deliveryCountry": delivery_country "/content:v2/Service/deliveryTime": delivery_time +"/content:v2/Service/eligibility": eligibility "/content:v2/Service/minimumOrderValue": minimum_order_value "/content:v2/Service/name": name "/content:v2/Service/rateGroups": rate_groups @@ -32730,6 +32758,10 @@ "/content:v2/TestOrderCustomer/email": email "/content:v2/TestOrderCustomer/explicitMarketingPreference": explicit_marketing_preference "/content:v2/TestOrderCustomer/fullName": full_name +"/content:v2/TestOrderCustomer/marketingRightsInfo": marketing_rights_info +"/content:v2/TestOrderCustomerMarketingRightsInfo": test_order_customer_marketing_rights_info +"/content:v2/TestOrderCustomerMarketingRightsInfo/explicitMarketingPreference": explicit_marketing_preference +"/content:v2/TestOrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp "/content:v2/TestOrderLineItem": test_order_line_item "/content:v2/TestOrderLineItem/product": product "/content:v2/TestOrderLineItem/quantityOrdered": quantity_ordered @@ -33108,6 +33140,11 @@ "/content:v2sandbox/OrderCustomer/email": email "/content:v2sandbox/OrderCustomer/explicitMarketingPreference": explicit_marketing_preference "/content:v2sandbox/OrderCustomer/fullName": full_name +"/content:v2sandbox/OrderCustomer/marketingRightsInfo": marketing_rights_info +"/content:v2sandbox/OrderCustomerMarketingRightsInfo": order_customer_marketing_rights_info +"/content:v2sandbox/OrderCustomerMarketingRightsInfo/explicitMarketingPreference": explicit_marketing_preference +"/content:v2sandbox/OrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp +"/content:v2sandbox/OrderCustomerMarketingRightsInfo/marketingEmailAddress": marketing_email_address "/content:v2sandbox/OrderDeliveryDetails": order_delivery_details "/content:v2sandbox/OrderDeliveryDetails/address": address "/content:v2sandbox/OrderDeliveryDetails/phoneNumber": phone_number @@ -33482,6 +33519,10 @@ "/content:v2sandbox/TestOrderCustomer/email": email "/content:v2sandbox/TestOrderCustomer/explicitMarketingPreference": explicit_marketing_preference "/content:v2sandbox/TestOrderCustomer/fullName": full_name +"/content:v2sandbox/TestOrderCustomer/marketingRightsInfo": marketing_rights_info +"/content:v2sandbox/TestOrderCustomerMarketingRightsInfo": test_order_customer_marketing_rights_info +"/content:v2sandbox/TestOrderCustomerMarketingRightsInfo/explicitMarketingPreference": explicit_marketing_preference +"/content:v2sandbox/TestOrderCustomerMarketingRightsInfo/lastUpdatedTimestamp": last_updated_timestamp "/content:v2sandbox/TestOrderLineItem": test_order_line_item "/content:v2sandbox/TestOrderLineItem/product": product "/content:v2sandbox/TestOrderLineItem/quantityOrdered": quantity_ordered @@ -57213,6 +57254,7 @@ "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/isTrialStoppedEarly": is_trial_stopped_early "/ml:v1/GoogleCloudMlV1__HyperparameterOutput/trialId": trial_id "/ml:v1/GoogleCloudMlV1__HyperparameterSpec": google_cloud_ml_v1__hyperparameter_spec +"/ml:v1/GoogleCloudMlV1__HyperparameterSpec/algorithm": algorithm "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/enableTrialEarlyStopping": enable_trial_early_stopping "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/goal": goal "/ml:v1/GoogleCloudMlV1__HyperparameterSpec/hyperparameterMetricTag": hyperparameter_metric_tag diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 1c9f18f96..4068732e8 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20180403' + REVISION = '20180409' # 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 d01b4f25c..06e453ba9 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -898,6 +898,14 @@ module Google # @return [Array] attr_accessor :platforms + # For Exchange Bidding buyers only. + # The list of publisher identifiers on which to filter; may be empty. + # The filters represented by multiple publisher identifiers are ORed + # together. + # Corresponds to the JSON property `publisherIdentifiers` + # @return [Array] + attr_accessor :publisher_identifiers + # An open-ended realtime time range specified by the start timestamp. # For filter sets that specify a realtime time range RTB metrics continue to # be aggregated throughout the lifetime of the filter set. @@ -915,6 +923,7 @@ module Google # @return [Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange] attr_accessor :relative_date_range + # For Ad Exchange buyers only. # The list of IDs of the seller (publisher) networks on which to filter; # may be empty. The filters represented by multiple seller network IDs are # ORed together (i.e. if non-empty, results must match any one of the @@ -945,6 +954,7 @@ module Google @formats = args[:formats] if args.key?(:formats) @name = args[:name] if args.key?(:name) @platforms = args[:platforms] if args.key?(:platforms) + @publisher_identifiers = args[:publisher_identifiers] if args.key?(:publisher_identifiers) @realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range) @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range) @seller_network_ids = args[:seller_network_ids] if args.key?(:seller_network_ids) @@ -1664,6 +1674,26 @@ module Google end end + # Response message for listing publishers that had recent inventory matches + # with the requesting buyer. + class ListPublishersResponse + include Google::Apis::Core::Hashable + + # List of publishers. + # Corresponds to the JSON property `publisher` + # @return [Array] + attr_accessor :publisher + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @publisher = args[:publisher] if args.key?(:publisher) + end + end + # @OutputOnly The Geo criteria the restriction applies to. class LocationContext include Google::Apis::Core::Hashable @@ -1866,6 +1896,40 @@ module Google end end + # The publisher ID and name contain values relevant to the requesting buyer + # depending on whether it is an Ad Exchange buyer or Exchange Bidding buyer. + class Publisher + include Google::Apis::Core::Hashable + + # Publisher name contains: + # - Seller network name when the requesting buyer is an Ad Exchange buyer. + # - DFP network name or AdMob publisher code when the requesting buyer is an + # Exchange Bidding buyer. + # Corresponds to the JSON property `publisherDisplayName` + # @return [String] + attr_accessor :publisher_display_name + + # Publisher ID contains: + # - Seller network ID when the requesting buyer is an Ad Exchange buyer. + # See [seller-network-ids](https://developers.google.com/ad-exchange/rtb/ + # downloads/seller-network-ids) + # - DFP network code or AdMob publisher code when the requesting buyer is an + # Exchange Bidding buyer. + # Corresponds to the JSON property `publisherId` + # @return [String] + attr_accessor :publisher_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @publisher_display_name = args[:publisher_display_name] if args.key?(:publisher_display_name) + @publisher_id = args[:publisher_id] if args.key?(:publisher_id) + end + end + # An open-ended realtime time range specified by the start timestamp. # For filter sets that specify a realtime time range RTB metrics continue to # be aggregated throughout the lifetime of the filter set. diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb index 23c8d9550..89bcac499 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -262,6 +262,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListPublishersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LocationContext class Representation < Google::Apis::Core::JsonRepresentation; end @@ -292,6 +298,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Publisher + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RealtimeTimeRange class Representation < Google::Apis::Core::JsonRepresentation; end @@ -573,6 +585,7 @@ module Google collection :formats, as: 'formats' property :name, as: 'name' collection :platforms, as: 'platforms' + collection :publisher_identifiers, as: 'publisherIdentifiers' property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation property :relative_date_range, as: 'relativeDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RelativeDateRange::Representation @@ -795,6 +808,14 @@ module Google end end + class ListPublishersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :publisher, as: 'publisher', class: Google::Apis::Adexchangebuyer2V2beta1::Publisher, decorator: Google::Apis::Adexchangebuyer2V2beta1::Publisher::Representation + + end + end + class LocationContext # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -850,6 +871,14 @@ module Google end end + class Publisher + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :publisher_display_name, as: 'publisherDisplayName' + property :publisher_id, as: 'publisherId' + end + end + class RealtimeTimeRange # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb index 54e29d7a3..abeae8575 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -839,6 +839,42 @@ module Google execute_or_queue_command(command, &block) end + # Lists publishers that had recent inventory matches with the requesting + # buyer. + # @param [Fixnum] account_id + # Account ID of the requesting buyer. + # @param [String] environment + # Optional environment (WEB, APP) for which to return publishers. If + # specified, response will only include publishers that had recent inventory + # matches with the requesting buyer on the specified platform. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListPublishersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListPublishersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_publishers(account_id, environment: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/publishers', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListPublishersResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListPublishersResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['environment'] = environment unless environment.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates the specified filter set for the account with the given account ID. # @param [String] owner_name # Name of the owner (bidder or account) of the filter set to be created. diff --git a/generated/google/apis/analytics_v3.rb b/generated/google/apis/analytics_v3.rb index 2769b5af1..766608881 100644 --- a/generated/google/apis/analytics_v3.rb +++ b/generated/google/apis/analytics_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/ module AnalyticsV3 VERSION = 'V3' - REVISION = '20180309' + REVISION = '20180403' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analytics_v3/classes.rb b/generated/google/apis/analytics_v3/classes.rb index a49f352a4..340e294b0 100644 --- a/generated/google/apis/analytics_v3/classes.rb +++ b/generated/google/apis/analytics_v3/classes.rb @@ -399,40 +399,28 @@ module Google include Google::Apis::Core::Hashable # - # Corresponds to the JSON property `admobReporting` + # Corresponds to the JSON property `shareAnonymouslyWithOthers` # @return [Boolean] - attr_accessor :admob_reporting - alias_method :admob_reporting?, :admob_reporting + attr_accessor :share_anonymously_with_others + alias_method :share_anonymously_with_others?, :share_anonymously_with_others # - # Corresponds to the JSON property `sharingWithGoogleAnySales` + # Corresponds to the JSON property `shareWithGoogleProducts` # @return [Boolean] - attr_accessor :sharing_with_google_any_sales - alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales + attr_accessor :share_with_google_products + alias_method :share_with_google_products?, :share_with_google_products # - # Corresponds to the JSON property `sharingWithGoogleProducts` + # Corresponds to the JSON property `shareWithSpecialists` # @return [Boolean] - attr_accessor :sharing_with_google_products - alias_method :sharing_with_google_products?, :sharing_with_google_products + attr_accessor :share_with_specialists + alias_method :share_with_specialists?, :share_with_specialists # - # Corresponds to the JSON property `sharingWithGoogleSales` + # Corresponds to the JSON property `shareWithSupport` # @return [Boolean] - attr_accessor :sharing_with_google_sales - alias_method :sharing_with_google_sales?, :sharing_with_google_sales - - # - # Corresponds to the JSON property `sharingWithGoogleSupport` - # @return [Boolean] - attr_accessor :sharing_with_google_support - alias_method :sharing_with_google_support?, :sharing_with_google_support - - # - # Corresponds to the JSON property `sharingWithOthers` - # @return [Boolean] - attr_accessor :sharing_with_others - alias_method :sharing_with_others?, :sharing_with_others + attr_accessor :share_with_support + alias_method :share_with_support?, :share_with_support def initialize(**args) update!(**args) @@ -440,12 +428,10 @@ module Google # Update properties of this object def update!(**args) - @admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting) - @sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales) - @sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products) - @sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales) - @sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support) - @sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others) + @share_anonymously_with_others = args[:share_anonymously_with_others] if args.key?(:share_anonymously_with_others) + @share_with_google_products = args[:share_with_google_products] if args.key?(:share_with_google_products) + @share_with_specialists = args[:share_with_specialists] if args.key?(:share_with_specialists) + @share_with_support = args[:share_with_support] if args.key?(:share_with_support) end end end @@ -499,40 +485,28 @@ module Google include Google::Apis::Core::Hashable # - # Corresponds to the JSON property `admobReporting` + # Corresponds to the JSON property `shareAnonymouslyWithOthers` # @return [Boolean] - attr_accessor :admob_reporting - alias_method :admob_reporting?, :admob_reporting + attr_accessor :share_anonymously_with_others + alias_method :share_anonymously_with_others?, :share_anonymously_with_others # - # Corresponds to the JSON property `sharingWithGoogleAnySales` + # Corresponds to the JSON property `shareWithGoogleProducts` # @return [Boolean] - attr_accessor :sharing_with_google_any_sales - alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales + attr_accessor :share_with_google_products + alias_method :share_with_google_products?, :share_with_google_products # - # Corresponds to the JSON property `sharingWithGoogleProducts` + # Corresponds to the JSON property `shareWithSpecialists` # @return [Boolean] - attr_accessor :sharing_with_google_products - alias_method :sharing_with_google_products?, :sharing_with_google_products + attr_accessor :share_with_specialists + alias_method :share_with_specialists?, :share_with_specialists # - # Corresponds to the JSON property `sharingWithGoogleSales` + # Corresponds to the JSON property `shareWithSupport` # @return [Boolean] - attr_accessor :sharing_with_google_sales - alias_method :sharing_with_google_sales?, :sharing_with_google_sales - - # - # Corresponds to the JSON property `sharingWithGoogleSupport` - # @return [Boolean] - attr_accessor :sharing_with_google_support - alias_method :sharing_with_google_support?, :sharing_with_google_support - - # - # Corresponds to the JSON property `sharingWithOthers` - # @return [Boolean] - attr_accessor :sharing_with_others - alias_method :sharing_with_others?, :sharing_with_others + attr_accessor :share_with_support + alias_method :share_with_support?, :share_with_support def initialize(**args) update!(**args) @@ -540,12 +514,10 @@ module Google # Update properties of this object def update!(**args) - @admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting) - @sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales) - @sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products) - @sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales) - @sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support) - @sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others) + @share_anonymously_with_others = args[:share_anonymously_with_others] if args.key?(:share_anonymously_with_others) + @share_with_google_products = args[:share_with_google_products] if args.key?(:share_with_google_products) + @share_with_specialists = args[:share_with_specialists] if args.key?(:share_with_specialists) + @share_with_support = args[:share_with_support] if args.key?(:share_with_support) end end end diff --git a/generated/google/apis/analytics_v3/representations.rb b/generated/google/apis/analytics_v3/representations.rb index 52e0e164d..af83fd91a 100644 --- a/generated/google/apis/analytics_v3/representations.rb +++ b/generated/google/apis/analytics_v3/representations.rb @@ -754,12 +754,10 @@ module Google class AccountSettings # @private class Representation < Google::Apis::Core::JsonRepresentation - property :admob_reporting, as: 'admobReporting' - property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales' - property :sharing_with_google_products, as: 'sharingWithGoogleProducts' - property :sharing_with_google_sales, as: 'sharingWithGoogleSales' - property :sharing_with_google_support, as: 'sharingWithGoogleSupport' - property :sharing_with_others, as: 'sharingWithOthers' + property :share_anonymously_with_others, as: 'shareAnonymouslyWithOthers' + property :share_with_google_products, as: 'shareWithGoogleProducts' + property :share_with_specialists, as: 'shareWithSpecialists' + property :share_with_support, as: 'shareWithSupport' end end end @@ -781,12 +779,10 @@ module Google class AccountSettings # @private class Representation < Google::Apis::Core::JsonRepresentation - property :admob_reporting, as: 'admobReporting' - property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales' - property :sharing_with_google_products, as: 'sharingWithGoogleProducts' - property :sharing_with_google_sales, as: 'sharingWithGoogleSales' - property :sharing_with_google_support, as: 'sharingWithGoogleSupport' - property :sharing_with_others, as: 'sharingWithOthers' + property :share_anonymously_with_others, as: 'shareAnonymouslyWithOthers' + property :share_with_google_products, as: 'shareWithGoogleProducts' + property :share_with_specialists, as: 'shareWithSpecialists' + property :share_with_support, as: 'shareWithSupport' end end end diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 158fe0a24..672701d43 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20180322' + REVISION = '20180406' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index b4444f825..c44632134 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20180302' + REVISION = '20180406' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index a04df1ecc..c0f34bcd4 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -580,7 +580,8 @@ module Google # tag is equal to ``. `` must be # less than 500 characters. # When `filter` is set to `tag_function=oldest_tag()`, only tasks which have - # the same tag as the task with the oldest schedule_time will be returned. + # the same tag as the task with the oldest + # schedule_time will be returned. # Grammar Syntax: # * `filter = "tag=" tag | "tag_function=" function` # * `tag = string` diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index 08234ebb5..37f37b3fc 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -48,7 +48,7 @@ module Google @batch_path = 'batch' end - # Get information about a location. + # Gets information about a location. # @param [String] name # Resource name for the location. # @param [String] fields diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index f31cb9a1c..676e6d4b0 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20180403' + REVISION = '20180405' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index 54b2ecb14..1759c36d3 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -3342,10 +3342,7 @@ module Google # @return [String] attr_accessor :email - # If set, this indicates the user explicitly chose to opt in or out of providing - # marketing rights to the merchant. If unset, this indicates the user has - # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the checkout flow. + # Deprecated. Please use marketingRightsInfo instead. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference @@ -3356,6 +3353,11 @@ module Google # @return [String] attr_accessor :full_name + # Customer's marketing preferences. + # Corresponds to the JSON property `marketingRightsInfo` + # @return [Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo] + attr_accessor :marketing_rights_info + def initialize(**args) update!(**args) end @@ -3365,6 +3367,41 @@ module Google @email = args[:email] if args.key?(:email) @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) @full_name = args[:full_name] if args.key?(:full_name) + @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) + end + end + + # + class OrderCustomerMarketingRightsInfo + include Google::Apis::Core::Hashable + + # Last known user selection regarding marketing preferences. In certain cases + # this selection might not be known, so this field would be empty. + # Corresponds to the JSON property `explicitMarketingPreference` + # @return [String] + attr_accessor :explicit_marketing_preference + + # Timestamp when last time marketing preference was updated. Could be empty, if + # user wasn't offered a selection yet. + # Corresponds to the JSON property `lastUpdatedTimestamp` + # @return [String] + attr_accessor :last_updated_timestamp + + # Email address that can be used for marketing purposes. This field is only + # filled when explicitMarketingPreference is equal to 'granted'. + # Corresponds to the JSON property `marketingEmailAddress` + # @return [String] + attr_accessor :marketing_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) + @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) + @marketing_email_address = args[:marketing_email_address] if args.key?(:marketing_email_address) end end @@ -7583,11 +7620,26 @@ module Google # @return [String] attr_accessor :code + # A short issue description in English. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # The destination the issue applies to. # Corresponds to the JSON property `destination` # @return [String] attr_accessor :destination + # A detailed issue description in English. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + + # The URL of a web page to help with resolving this issue. + # Corresponds to the JSON property `documentation` + # @return [String] + attr_accessor :documentation + # Whether the issue can be resolved by the merchant. # Corresponds to the JSON property `resolution` # @return [String] @@ -7606,7 +7658,10 @@ module Google def update!(**args) @attribute_name = args[:attribute_name] if args.key?(:attribute_name) @code = args[:code] if args.key?(:code) + @description = args[:description] if args.key?(:description) @destination = args[:destination] if args.key?(:destination) + @detail = args[:detail] if args.key?(:detail) + @documentation = args[:documentation] if args.key?(:documentation) @resolution = args[:resolution] if args.key?(:resolution) @servability = args[:servability] if args.key?(:servability) end @@ -8139,6 +8194,11 @@ module Google # @return [Google::Apis::ContentV2::DeliveryTime] attr_accessor :delivery_time + # Eligibility for this service. + # Corresponds to the JSON property `eligibility` + # @return [String] + attr_accessor :eligibility + # Minimum order value for this service. If set, indicates that customers will # have to spend at least this amount. All prices within a service must have the # same currency. @@ -8168,6 +8228,7 @@ module Google @currency = args[:currency] if args.key?(:currency) @delivery_country = args[:delivery_country] if args.key?(:delivery_country) @delivery_time = args[:delivery_time] if args.key?(:delivery_time) + @eligibility = args[:eligibility] if args.key?(:eligibility) @minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value) @name = args[:name] if args.key?(:name) @rate_groups = args[:rate_groups] if args.key?(:rate_groups) @@ -8541,10 +8602,7 @@ module Google # @return [String] attr_accessor :email - # If set, this indicates the user explicitly chose to opt in or out of providing - # marketing rights to the merchant. If unset, this indicates the user has - # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the checkout flow. Optional. + # Deprecated. Please use marketingRightsInfo instead. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference @@ -8555,6 +8613,11 @@ module Google # @return [String] attr_accessor :full_name + # Customer's marketing preferences. + # Corresponds to the JSON property `marketingRightsInfo` + # @return [Google::Apis::ContentV2::TestOrderCustomerMarketingRightsInfo] + attr_accessor :marketing_rights_info + def initialize(**args) update!(**args) end @@ -8564,6 +8627,34 @@ module Google @email = args[:email] if args.key?(:email) @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) @full_name = args[:full_name] if args.key?(:full_name) + @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) + end + end + + # + class TestOrderCustomerMarketingRightsInfo + include Google::Apis::Core::Hashable + + # Last know user use selection regards marketing preferences. In certain cases + # selection might not be known, so this field would be empty. + # Corresponds to the JSON property `explicitMarketingPreference` + # @return [String] + attr_accessor :explicit_marketing_preference + + # Timestamp when last time marketing preference was updated. Could be empty, if + # user wasn't offered a selection yet. + # Corresponds to the JSON property `lastUpdatedTimestamp` + # @return [String] + attr_accessor :last_updated_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) + @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) end end diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index bdc8d447c..b8055855a 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -538,6 +538,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OrderCustomerMarketingRightsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrderDeliveryDetails class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1240,6 +1246,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TestOrderCustomerMarketingRightsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TestOrderLineItem class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2208,6 +2220,17 @@ module Google property :email, as: 'email' property :explicit_marketing_preference, as: 'explicitMarketingPreference' property :full_name, as: 'fullName' + property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo::Representation + + end + end + + class OrderCustomerMarketingRightsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explicit_marketing_preference, as: 'explicitMarketingPreference' + property :last_updated_timestamp, as: 'lastUpdatedTimestamp' + property :marketing_email_address, as: 'marketingEmailAddress' end end @@ -3331,7 +3354,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :attribute_name, as: 'attributeName' property :code, as: 'code' + property :description, as: 'description' property :destination, as: 'destination' + property :detail, as: 'detail' + property :documentation, as: 'documentation' property :resolution, as: 'resolution' property :servability, as: 'servability' end @@ -3498,6 +3524,7 @@ module Google property :delivery_country, as: 'deliveryCountry' property :delivery_time, as: 'deliveryTime', class: Google::Apis::ContentV2::DeliveryTime, decorator: Google::Apis::ContentV2::DeliveryTime::Representation + property :eligibility, as: 'eligibility' property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :name, as: 'name' @@ -3627,6 +3654,16 @@ module Google property :email, as: 'email' property :explicit_marketing_preference, as: 'explicitMarketingPreference' property :full_name, as: 'fullName' + property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2::TestOrderCustomerMarketingRightsInfo::Representation + + end + end + + class TestOrderCustomerMarketingRightsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explicit_marketing_preference, as: 'explicitMarketingPreference' + property :last_updated_timestamp, as: 'lastUpdatedTimestamp' end end diff --git a/generated/google/apis/content_v2sandbox.rb b/generated/google/apis/content_v2sandbox.rb index e212077f3..ebc426305 100644 --- a/generated/google/apis/content_v2sandbox.rb +++ b/generated/google/apis/content_v2sandbox.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2sandbox VERSION = 'V2sandbox' - REVISION = '20180316' + REVISION = '20180405' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2sandbox/classes.rb b/generated/google/apis/content_v2sandbox/classes.rb index 396449fe8..0f254030b 100644 --- a/generated/google/apis/content_v2sandbox/classes.rb +++ b/generated/google/apis/content_v2sandbox/classes.rb @@ -345,10 +345,7 @@ module Google # @return [String] attr_accessor :email - # If set, this indicates the user explicitly chose to opt in or out of providing - # marketing rights to the merchant. If unset, this indicates the user has - # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the checkout flow. + # Deprecated. Please use marketingRightsInfo instead. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference @@ -359,6 +356,11 @@ module Google # @return [String] attr_accessor :full_name + # Customer's marketing preferences. + # Corresponds to the JSON property `marketingRightsInfo` + # @return [Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo] + attr_accessor :marketing_rights_info + def initialize(**args) update!(**args) end @@ -368,6 +370,41 @@ module Google @email = args[:email] if args.key?(:email) @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) @full_name = args[:full_name] if args.key?(:full_name) + @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) + end + end + + # + class OrderCustomerMarketingRightsInfo + include Google::Apis::Core::Hashable + + # Last known user selection regarding marketing preferences. In certain cases + # this selection might not be known, so this field would be empty. + # Corresponds to the JSON property `explicitMarketingPreference` + # @return [String] + attr_accessor :explicit_marketing_preference + + # Timestamp when last time marketing preference was updated. Could be empty, if + # user wasn't offered a selection yet. + # Corresponds to the JSON property `lastUpdatedTimestamp` + # @return [String] + attr_accessor :last_updated_timestamp + + # Email address that can be used for marketing purposes. This field is only + # filled when explicitMarketingPreference is equal to 'granted'. + # Corresponds to the JSON property `marketingEmailAddress` + # @return [String] + attr_accessor :marketing_email_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) + @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) + @marketing_email_address = args[:marketing_email_address] if args.key?(:marketing_email_address) end end @@ -3059,10 +3096,7 @@ module Google # @return [String] attr_accessor :email - # If set, this indicates the user explicitly chose to opt in or out of providing - # marketing rights to the merchant. If unset, this indicates the user has - # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the checkout flow. Optional. + # Deprecated. Please use marketingRightsInfo instead. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference @@ -3073,6 +3107,11 @@ module Google # @return [String] attr_accessor :full_name + # Customer's marketing preferences. + # Corresponds to the JSON property `marketingRightsInfo` + # @return [Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo] + attr_accessor :marketing_rights_info + def initialize(**args) update!(**args) end @@ -3082,6 +3121,34 @@ module Google @email = args[:email] if args.key?(:email) @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) @full_name = args[:full_name] if args.key?(:full_name) + @marketing_rights_info = args[:marketing_rights_info] if args.key?(:marketing_rights_info) + end + end + + # + class TestOrderCustomerMarketingRightsInfo + include Google::Apis::Core::Hashable + + # Last know user use selection regards marketing preferences. In certain cases + # selection might not be known, so this field would be empty. + # Corresponds to the JSON property `explicitMarketingPreference` + # @return [String] + attr_accessor :explicit_marketing_preference + + # Timestamp when last time marketing preference was updated. Could be empty, if + # user wasn't offered a selection yet. + # Corresponds to the JSON property `lastUpdatedTimestamp` + # @return [String] + attr_accessor :last_updated_timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @explicit_marketing_preference = args[:explicit_marketing_preference] if args.key?(:explicit_marketing_preference) + @last_updated_timestamp = args[:last_updated_timestamp] if args.key?(:last_updated_timestamp) end end diff --git a/generated/google/apis/content_v2sandbox/representations.rb b/generated/google/apis/content_v2sandbox/representations.rb index cd8f69a7e..7a46437ff 100644 --- a/generated/google/apis/content_v2sandbox/representations.rb +++ b/generated/google/apis/content_v2sandbox/representations.rb @@ -58,6 +58,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OrderCustomerMarketingRightsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrderDeliveryDetails class Representation < Google::Apis::Core::JsonRepresentation; end @@ -454,6 +460,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TestOrderCustomerMarketingRightsInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TestOrderLineItem class Representation < Google::Apis::Core::JsonRepresentation; end @@ -558,6 +570,17 @@ module Google property :email, as: 'email' property :explicit_marketing_preference, as: 'explicitMarketingPreference' property :full_name, as: 'fullName' + property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::OrderCustomerMarketingRightsInfo::Representation + + end + end + + class OrderCustomerMarketingRightsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explicit_marketing_preference, as: 'explicitMarketingPreference' + property :last_updated_timestamp, as: 'lastUpdatedTimestamp' + property :marketing_email_address, as: 'marketingEmailAddress' end end @@ -1312,6 +1335,16 @@ module Google property :email, as: 'email' property :explicit_marketing_preference, as: 'explicitMarketingPreference' property :full_name, as: 'fullName' + property :marketing_rights_info, as: 'marketingRightsInfo', class: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo, decorator: Google::Apis::ContentV2sandbox::TestOrderCustomerMarketingRightsInfo::Representation + + end + end + + class TestOrderCustomerMarketingRightsInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :explicit_marketing_preference, as: 'explicitMarketingPreference' + property :last_updated_timestamp, as: 'lastUpdatedTimestamp' end end diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 1af935f2f..19e472e32 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -18,7 +18,7 @@ require 'google/apis/iam_v1/representations.rb' module Google module Apis - # Google Identity and Access Management (IAM) API + # Identity and Access Management (IAM) API # # Manages identity and access control for Google Cloud Platform resources, # including the creation of service accounts, which you can use to authenticate @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20180330' + REVISION = '20180406' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index 907bd553e..55077f7fe 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module IamV1 - # Google Identity and Access Management (IAM) API + # Identity and Access Management (IAM) API # # Manages identity and access control for Google Cloud Platform resources, # including the creation of service accounts, which you can use to authenticate diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 4a04baa73..596f5aa67 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20180327' + REVISION = '20180407' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 0ea6e9fd8..106024daf 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -281,6 +281,14 @@ module Google class GoogleCloudMlV1HyperparameterSpec include Google::Apis::Core::Hashable + # Optional. The search algorithm specified for the hyperparameter + # tuning job. + # Uses the default CloudML Engine hyperparameter tuning + # algorithm if unspecified. + # Corresponds to the JSON property `algorithm` + # @return [String] + attr_accessor :algorithm + # Optional. Indicates if the hyperparameter tuning job enables auto trial # early stopping. # Corresponds to the JSON property `enableTrialEarlyStopping` @@ -341,6 +349,7 @@ module Google # Update properties of this object def update!(**args) + @algorithm = args[:algorithm] if args.key?(:algorithm) @enable_trial_early_stopping = args[:enable_trial_early_stopping] if args.key?(:enable_trial_early_stopping) @goal = args[:goal] if args.key?(:goal) @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag) @@ -401,7 +410,6 @@ module Google # file referenced from the --config command-line argument. For # details, see the guide to # submitting a training job. - # Next ID: 22 # Corresponds to the JSON property `trainingInput` # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput] attr_accessor :training_input @@ -985,7 +993,6 @@ module Google # file referenced from the --config command-line argument. For # details, see the guide to # submitting a training job. - # Next ID: 22 class GoogleCloudMlV1TrainingInput include Google::Apis::Core::Hashable @@ -1385,7 +1392,6 @@ module Google include Google::Apis::Core::Hashable # The configuration for logging of each type of permission. - # Next ID: 4 # Corresponds to the JSON property `auditLogConfigs` # @return [Array] attr_accessor :audit_log_configs diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index 83746e77a..91adfeebe 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -315,6 +315,7 @@ module Google class GoogleCloudMlV1HyperparameterSpec # @private class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' property :enable_trial_early_stopping, as: 'enableTrialEarlyStopping' property :goal, as: 'goal' property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag' diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index 386c35236..29fe04ea2 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -18,14 +18,14 @@ require 'google/apis/pubsub_v1/representations.rb' module Google module Apis - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20180319' + REVISION = '20180402' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pubsub_v1/service.rb b/generated/google/apis/pubsub_v1/service.rb index 30f1efce2..be59acc0c 100644 --- a/generated/google/apis/pubsub_v1/service.rb +++ b/generated/google/apis/pubsub_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module PubsubV1 - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # diff --git a/generated/google/apis/pubsub_v1beta1a.rb b/generated/google/apis/pubsub_v1beta1a.rb index 566bcfd6e..c15497484 100644 --- a/generated/google/apis/pubsub_v1beta1a.rb +++ b/generated/google/apis/pubsub_v1beta1a.rb @@ -18,14 +18,14 @@ require 'google/apis/pubsub_v1beta1a/representations.rb' module Google module Apis - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # # @see https://cloud.google.com/pubsub/docs module PubsubV1beta1a VERSION = 'V1beta1a' - REVISION = '20170329' + REVISION = '20180402' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pubsub_v1beta1a/service.rb b/generated/google/apis/pubsub_v1beta1a/service.rb index 0d9fedddf..d3821d938 100644 --- a/generated/google/apis/pubsub_v1beta1a/service.rb +++ b/generated/google/apis/pubsub_v1beta1a/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module PubsubV1beta1a - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # diff --git a/generated/google/apis/pubsub_v1beta2.rb b/generated/google/apis/pubsub_v1beta2.rb index 7f449305b..f01421709 100644 --- a/generated/google/apis/pubsub_v1beta2.rb +++ b/generated/google/apis/pubsub_v1beta2.rb @@ -18,14 +18,14 @@ require 'google/apis/pubsub_v1beta2/representations.rb' module Google module Apis - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # # @see https://cloud.google.com/pubsub/docs module PubsubV1beta2 VERSION = 'V1beta2' - REVISION = '20180103' + REVISION = '20180402' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pubsub_v1beta2/service.rb b/generated/google/apis/pubsub_v1beta2/service.rb index 075431d76..cd4b9ed44 100644 --- a/generated/google/apis/pubsub_v1beta2/service.rb +++ b/generated/google/apis/pubsub_v1beta2/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module PubsubV1beta2 - # Google Cloud Pub/Sub API + # Cloud Pub/Sub API # # Provides reliable, many-to-many, asynchronous messaging between applications. # diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index 7dd8eb7ed..922684f48 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20180329' + REVISION = '20180409' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index 6a682a87b..1a34d8d9b 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -1538,7 +1538,7 @@ module Google end # A PageElement kind representing a - # non-connector line, straight connector, curved connector or bent connector. + # non-connector line, straight connector, curved connector, or bent connector. class Line include Google::Apis::Core::Hashable @@ -2082,7 +2082,7 @@ module Google attr_accessor :image # A PageElement kind representing a - # non-connector line, straight connector, curved connector or bent connector. + # non-connector line, straight connector, curved connector, or bent connector. # Corresponds to the JSON property `line` # @return [Google::Apis::SlidesV1::Line] attr_accessor :line @@ -2568,6 +2568,8 @@ module Google end # Replaces all shapes that match the given criteria with the provided image. + # The images replacing the shapes are rectangular after being inserted into + # the presentation and do not take on the forms of the shapes. class ReplaceAllShapesWithImageRequest include Google::Apis::Core::Hashable @@ -2938,6 +2940,8 @@ module Google attr_accessor :refresh_sheets_chart # Replaces all shapes that match the given criteria with the provided image. + # The images replacing the shapes are rectangular after being inserted into + # the presentation and do not take on the forms of the shapes. # Corresponds to the JSON property `replaceAllShapesWithImage` # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest] attr_accessor :replace_all_shapes_with_image