From e0da3d1f99c21c5e80cbd77973a160e3a4dc601d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 9 Nov 2019 00:38:07 +0000 Subject: [PATCH] Autogenerated update (2019-11-09) Update: - appsmarket_v2 - bigtableadmin_v1 - bigtableadmin_v2 - books_v1 - dialogflow_v2 - dialogflow_v2beta1 - dns_v1beta2 - doubleclickbidmanager_v1 - homegraph_v1 - pagespeedonline_v5 - run_v1 - servicecontrol_v1 - sql_v1beta4 - youtube_partner_v1 --- generated/google/apis/appsmarket_v2.rb | 2 +- generated/google/apis/bigtableadmin_v1.rb | 2 +- .../google/apis/bigtableadmin_v1/classes.rb | 2 +- generated/google/apis/bigtableadmin_v2.rb | 2 +- .../google/apis/bigtableadmin_v2/classes.rb | 2 +- generated/google/apis/books_v1.rb | 2 +- generated/google/apis/books_v1/classes.rb | 20 ++ .../google/apis/books_v1/representations.rb | 3 + generated/google/apis/dialogflow_v2.rb | 2 +- .../google/apis/dialogflow_v2/classes.rb | 305 ++++++++++++++++++ .../apis/dialogflow_v2/representations.rb | 152 +++++++++ generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 305 ++++++++++++++++++ .../dialogflow_v2beta1/representations.rb | 152 +++++++++ generated/google/apis/dns_v1beta2.rb | 2 +- generated/google/apis/dns_v1beta2/classes.rb | 47 +++ .../apis/dns_v1beta2/representations.rb | 17 + .../google/apis/doubleclickbidmanager_v1.rb | 2 +- generated/google/apis/homegraph_v1.rb | 2 +- generated/google/apis/homegraph_v1/classes.rb | 14 + .../apis/homegraph_v1/representations.rb | 1 + generated/google/apis/pagespeedonline_v5.rb | 2 +- .../google/apis/pagespeedonline_v5/classes.rb | 8 + .../pagespeedonline_v5/representations.rb | 1 + generated/google/apis/run_v1.rb | 2 +- generated/google/apis/run_v1/classes.rb | 4 +- generated/google/apis/servicecontrol_v1.rb | 2 +- .../google/apis/servicecontrol_v1/classes.rb | 7 + .../apis/servicecontrol_v1/representations.rb | 1 + generated/google/apis/sql_v1beta4.rb | 2 +- generated/google/apis/sql_v1beta4/service.rb | 69 +++- generated/google/apis/youtube_partner_v1.rb | 2 +- 32 files changed, 1110 insertions(+), 28 deletions(-) diff --git a/generated/google/apis/appsmarket_v2.rb b/generated/google/apis/appsmarket_v2.rb index 91b378a3e..33b598c84 100644 --- a/generated/google/apis/appsmarket_v2.rb +++ b/generated/google/apis/appsmarket_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/google-apps/marketplace/v2/developers_guide module AppsmarketV2 VERSION = 'V2' - REVISION = '20190124' + REVISION = '20191025' # View your installed application's licensing information AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license' diff --git a/generated/google/apis/bigtableadmin_v1.rb b/generated/google/apis/bigtableadmin_v1.rb index 118361972..42efe04ea 100644 --- a/generated/google/apis/bigtableadmin_v1.rb +++ b/generated/google/apis/bigtableadmin_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV1 VERSION = 'V1' - REVISION = '20190506' + REVISION = '20191022' end end end diff --git a/generated/google/apis/bigtableadmin_v1/classes.rb b/generated/google/apis/bigtableadmin_v1/classes.rb index a95ebb718..a601614c0 100644 --- a/generated/google/apis/bigtableadmin_v1/classes.rb +++ b/generated/google/apis/bigtableadmin_v1/classes.rb @@ -196,7 +196,7 @@ module Google # cluster ID, e.g., just `mycluster` rather than # `projects/myproject/instances/myinstance/clusters/mycluster`. # Fields marked `OutputOnly` must be left blank. - # Currently, at most two clusters can be specified. + # Currently, at most four clusters can be specified. # Corresponds to the JSON property `clusters` # @return [Hash] attr_accessor :clusters diff --git a/generated/google/apis/bigtableadmin_v2.rb b/generated/google/apis/bigtableadmin_v2.rb index de38a2bcf..cf74fcf6d 100644 --- a/generated/google/apis/bigtableadmin_v2.rb +++ b/generated/google/apis/bigtableadmin_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV2 VERSION = 'V2' - REVISION = '20191007' + REVISION = '20191022' # Administer your Cloud Bigtable tables and clusters AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin' diff --git a/generated/google/apis/bigtableadmin_v2/classes.rb b/generated/google/apis/bigtableadmin_v2/classes.rb index 7cb660444..1da33310e 100644 --- a/generated/google/apis/bigtableadmin_v2/classes.rb +++ b/generated/google/apis/bigtableadmin_v2/classes.rb @@ -499,7 +499,7 @@ module Google # cluster ID, e.g., just `mycluster` rather than # `projects/myproject/instances/myinstance/clusters/mycluster`. # Fields marked `OutputOnly` must be left blank. - # Currently, at most two clusters can be specified. + # Currently, at most four clusters can be specified. # Corresponds to the JSON property `clusters` # @return [Hash] attr_accessor :clusters diff --git a/generated/google/apis/books_v1.rb b/generated/google/apis/books_v1.rb index 479a816b1..671ef7bd6 100644 --- a/generated/google/apis/books_v1.rb +++ b/generated/google/apis/books_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/books/docs/v1/getting_started module BooksV1 VERSION = 'V1' - REVISION = '20181212' + REVISION = '20191103' # Manage your books AUTH_BOOKS = 'https://www.googleapis.com/auth/books' diff --git a/generated/google/apis/books_v1/classes.rb b/generated/google/apis/books_v1/classes.rb index 64e5c1011..cfc52a77c 100644 --- a/generated/google/apis/books_v1/classes.rb +++ b/generated/google/apis/books_v1/classes.rb @@ -2526,11 +2526,23 @@ module Google # @return [String] attr_accessor :banner_image_url + # + # Corresponds to the JSON property `eligibleForSubscription` + # @return [Boolean] + attr_accessor :eligible_for_subscription + alias_method :eligible_for_subscription?, :eligible_for_subscription + # # Corresponds to the JSON property `imageUrl` # @return [String] attr_accessor :image_url + # + # Corresponds to the JSON property `isComplete` + # @return [Boolean] + attr_accessor :is_complete + alias_method :is_complete?, :is_complete + # # Corresponds to the JSON property `seriesId` # @return [String] @@ -2541,6 +2553,11 @@ module Google # @return [String] attr_accessor :series_type + # + # Corresponds to the JSON property `subscriptionId` + # @return [String] + attr_accessor :subscription_id + # # Corresponds to the JSON property `title` # @return [String] @@ -2553,9 +2570,12 @@ module Google # Update properties of this object def update!(**args) @banner_image_url = args[:banner_image_url] if args.key?(:banner_image_url) + @eligible_for_subscription = args[:eligible_for_subscription] if args.key?(:eligible_for_subscription) @image_url = args[:image_url] if args.key?(:image_url) + @is_complete = args[:is_complete] if args.key?(:is_complete) @series_id = args[:series_id] if args.key?(:series_id) @series_type = args[:series_type] if args.key?(:series_type) + @subscription_id = args[:subscription_id] if args.key?(:subscription_id) @title = args[:title] if args.key?(:title) end end diff --git a/generated/google/apis/books_v1/representations.rb b/generated/google/apis/books_v1/representations.rb index 7bd10788f..258ea688e 100644 --- a/generated/google/apis/books_v1/representations.rb +++ b/generated/google/apis/books_v1/representations.rb @@ -1377,9 +1377,12 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :banner_image_url, as: 'bannerImageUrl' + property :eligible_for_subscription, as: 'eligibleForSubscription' property :image_url, as: 'imageUrl' + property :is_complete, as: 'isComplete' property :series_id, as: 'seriesId' property :series_type, as: 'seriesType' + property :subscription_id, as: 'subscriptionId' property :title, as: 'title' end end diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 7331dbf0b..ac6c4810c 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2 VERSION = 'V2' - REVISION = '20191027' + REVISION = '20191102' # 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/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 35bf43cec..b4ce64ce1 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -1052,6 +1052,12 @@ module Google # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCard] attr_accessor :basic_card + # Browse Carousel Card for Actions on Google. + # https://developers.google.com/actions/assistant/responses#browsing_carousel + # Corresponds to the JSON property `browseCarouselCard` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] + attr_accessor :browse_carousel_card + # The card response message. # Corresponds to the JSON property `card` # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard] @@ -1078,6 +1084,11 @@ module Google # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect] attr_accessor :list_select + # The media content card for Actions on Google. + # Corresponds to the JSON property `mediaContent` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContent] + attr_accessor :media_content + # Returns a response containing a custom, platform-specific payload. # See the Intent.Message.Platform type for a description of the # structure that may be required for your platform. @@ -1108,6 +1119,11 @@ module Google # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSuggestions] attr_accessor :suggestions + # Table card for Actions on Google. + # Corresponds to the JSON property `tableCard` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCard] + attr_accessor :table_card + # The text response message. # Corresponds to the JSON property `text` # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageText] @@ -1120,16 +1136,19 @@ module Google # Update properties of this object def update!(**args) @basic_card = args[:basic_card] if args.key?(:basic_card) + @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card) @card = args[:card] if args.key?(:card) @carousel_select = args[:carousel_select] if args.key?(:carousel_select) @image = args[:image] if args.key?(:image) @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion) @list_select = args[:list_select] if args.key?(:list_select) + @media_content = args[:media_content] if args.key?(:media_content) @payload = args[:payload] if args.key?(:payload) @platform = args[:platform] if args.key?(:platform) @quick_replies = args[:quick_replies] if args.key?(:quick_replies) @simple_responses = args[:simple_responses] if args.key?(:simple_responses) @suggestions = args[:suggestions] if args.key?(:suggestions) + @table_card = args[:table_card] if args.key?(:table_card) @text = args[:text] if args.key?(:text) end end @@ -1221,6 +1240,105 @@ module Google end end + # Browse Carousel Card for Actions on Google. + # https://developers.google.com/actions/assistant/responses#browsing_carousel + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + include Google::Apis::Core::Hashable + + # Optional. Settings for displaying the image. Applies to every image in + # items. + # Corresponds to the JSON property `imageDisplayOptions` + # @return [String] + attr_accessor :image_display_options + + # Required. List of items in the Browse Carousel Card. Minimum of two + # items, maximum of ten. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_display_options = args[:image_display_options] if args.key?(:image_display_options) + @items = args[:items] if args.key?(:items) + end + end + + # Browsing carousel tile + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + include Google::Apis::Core::Hashable + + # Optional. Description of the carousel item. Maximum of four lines of + # text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. Text that appears at the bottom of the Browse Carousel + # Card. Maximum of one line of text. + # Corresponds to the JSON property `footer` + # @return [String] + attr_accessor :footer + + # The image response message. + # Corresponds to the JSON property `image` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :image + + # Actions on Google action to open a given url. + # Corresponds to the JSON property `openUriAction` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] + attr_accessor :open_uri_action + + # Required. Title of the carousel item. Maximum of two lines of text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @footer = args[:footer] if args.key?(:footer) + @image = args[:image] if args.key?(:image) + @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action) + @title = args[:title] if args.key?(:title) + end + end + + # Actions on Google action to open a given url. + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + include Google::Apis::Core::Hashable + + # Required. URL + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Optional. Specifies the type of viewer that is used when opening + # the URL. Defaults to opening via web browser. + # Corresponds to the JSON property `urlTypeHint` + # @return [String] + attr_accessor :url_type_hint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint) + end + end + # The card response message. class GoogleCloudDialogflowV2IntentMessageCard include Google::Apis::Core::Hashable @@ -1341,6 +1459,31 @@ module Google end end + # Column properties for TableCard. + class GoogleCloudDialogflowV2IntentMessageColumnProperties + include Google::Apis::Core::Hashable + + # Required. Column heading. + # Corresponds to the JSON property `header` + # @return [String] + attr_accessor :header + + # Optional. Defines text alignment for all cells in this column. + # Corresponds to the JSON property `horizontalAlignment` + # @return [String] + attr_accessor :horizontal_alignment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) + end + end + # The image response message. class GoogleCloudDialogflowV2IntentMessageImage include Google::Apis::Core::Hashable @@ -1463,6 +1606,74 @@ module Google end end + # The media content card for Actions on Google. + class GoogleCloudDialogflowV2IntentMessageMediaContent + include Google::Apis::Core::Hashable + + # Required. List of media objects. + # Corresponds to the JSON property `mediaObjects` + # @return [Array] + attr_accessor :media_objects + + # Optional. What type of media is the content (ie "audio"). + # Corresponds to the JSON property `mediaType` + # @return [String] + attr_accessor :media_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @media_objects = args[:media_objects] if args.key?(:media_objects) + @media_type = args[:media_type] if args.key?(:media_type) + end + end + + # Response media object for media content card. + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + include Google::Apis::Core::Hashable + + # Required. Url where the media is stored. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # Optional. Description of media card. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The image response message. + # Corresponds to the JSON property `icon` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :icon + + # The image response message. + # Corresponds to the JSON property `largeImage` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :large_image + + # Required. Name of media card. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @description = args[:description] if args.key?(:description) + @icon = args[:icon] if args.key?(:icon) + @large_image = args[:large_image] if args.key?(:large_image) + @name = args[:name] if args.key?(:name) + end + end + # The quick replies response message. class GoogleCloudDialogflowV2IntentMessageQuickReplies include Google::Apis::Core::Hashable @@ -1611,6 +1822,100 @@ module Google end end + # Table card for Actions on Google. + class GoogleCloudDialogflowV2IntentMessageTableCard + include Google::Apis::Core::Hashable + + # Optional. List of buttons for the card. + # Corresponds to the JSON property `buttons` + # @return [Array] + attr_accessor :buttons + + # Optional. Display properties for the columns in this table. + # Corresponds to the JSON property `columnProperties` + # @return [Array] + attr_accessor :column_properties + + # The image response message. + # Corresponds to the JSON property `image` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :image + + # Optional. Rows in this table of data. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # Optional. Subtitle to the title. + # Corresponds to the JSON property `subtitle` + # @return [String] + attr_accessor :subtitle + + # Required. Title of the card. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buttons = args[:buttons] if args.key?(:buttons) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @image = args[:image] if args.key?(:image) + @rows = args[:rows] if args.key?(:rows) + @subtitle = args[:subtitle] if args.key?(:subtitle) + @title = args[:title] if args.key?(:title) + end + end + + # Cell of TableCardRow. + class GoogleCloudDialogflowV2IntentMessageTableCardCell + include Google::Apis::Core::Hashable + + # Required. Text in this cell. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + end + end + + # Row of TableCard. + class GoogleCloudDialogflowV2IntentMessageTableCardRow + include Google::Apis::Core::Hashable + + # Optional. List of cells that make up this row. + # Corresponds to the JSON property `cells` + # @return [Array] + attr_accessor :cells + + # Optional. Whether to add a visual divider after this row. + # Corresponds to the JSON property `dividerAfter` + # @return [Boolean] + attr_accessor :divider_after + alias_method :divider_after?, :divider_after + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cells = args[:cells] if args.key?(:cells) + @divider_after = args[:divider_after] if args.key?(:divider_after) + end + end + # The text response message. class GoogleCloudDialogflowV2IntentMessageText include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v2/representations.rb b/generated/google/apis/dialogflow_v2/representations.rb index 00d2f56c3..26bef8970 100644 --- a/generated/google/apis/dialogflow_v2/representations.rb +++ b/generated/google/apis/dialogflow_v2/representations.rb @@ -190,6 +190,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageCard class Representation < Google::Apis::Core::JsonRepresentation; end @@ -214,6 +232,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageImage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,6 +262,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageMediaContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageQuickReplies class Representation < Google::Apis::Core::JsonRepresentation; end @@ -274,6 +310,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageTableCard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageTableCardCell + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageTableCardRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageText class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1108,6 +1162,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCard::Representation + property :browse_carousel_card, as: 'browseCarouselCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard::Representation + property :card, as: 'card', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCard::Representation property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageCarouselSelect::Representation @@ -1118,6 +1174,8 @@ module Google property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect::Representation + property :media_content, as: 'mediaContent', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContent, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContent::Representation + hash :payload, as: 'payload' property :platform, as: 'platform' property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageQuickReplies::Representation @@ -1126,6 +1184,8 @@ module Google property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSuggestions::Representation + property :table_card, as: 'tableCard', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCard, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCard::Representation + property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageText::Representation end @@ -1160,6 +1220,36 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_display_options, as: 'imageDisplayOptions' + collection :items, as: 'items', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem::Representation + + end + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :footer, as: 'footer' + property :image, as: 'image', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction::Representation + + property :title, as: 'title' + end + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :url_type_hint, as: 'urlTypeHint' + end + end + class GoogleCloudDialogflowV2IntentMessageCard # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1199,6 +1289,14 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header' + property :horizontal_alignment, as: 'horizontalAlignment' + end + end + class GoogleCloudDialogflowV2IntentMessageImage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1237,6 +1335,28 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageMediaContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :media_objects, as: 'mediaObjects', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject::Representation + + property :media_type, as: 'mediaType' + end + end + + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :description, as: 'description' + property :icon, as: 'icon', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :large_image, as: 'largeImage', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :name, as: 'name' + end + end + class GoogleCloudDialogflowV2IntentMessageQuickReplies # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1285,6 +1405,38 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageTableCard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageBasicCardButton::Representation + + collection :column_properties, as: 'columnProperties', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageColumnProperties, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageColumnProperties::Representation + + property :image, as: 'image', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageImage::Representation + + collection :rows, as: 'rows', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardRow, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardRow::Representation + + property :subtitle, as: 'subtitle' + property :title, as: 'title' + end + end + + class GoogleCloudDialogflowV2IntentMessageTableCardCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowV2IntentMessageTableCardRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cells, as: 'cells', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardCell, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageTableCardCell::Representation + + property :divider_after, as: 'dividerAfter' + end + end + class GoogleCloudDialogflowV2IntentMessageText # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index 55d9b5ff3..2fb0ebca3 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV2beta1 VERSION = 'V2beta1' - REVISION = '20191027' + REVISION = '20191102' # 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/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index b766b0f96..73b0ed0da 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -453,6 +453,12 @@ module Google # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard] attr_accessor :basic_card + # Browse Carousel Card for Actions on Google. + # https://developers.google.com/actions/assistant/responses#browsing_carousel + # Corresponds to the JSON property `browseCarouselCard` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard] + attr_accessor :browse_carousel_card + # The card response message. # Corresponds to the JSON property `card` # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard] @@ -479,6 +485,11 @@ module Google # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect] attr_accessor :list_select + # The media content card for Actions on Google. + # Corresponds to the JSON property `mediaContent` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContent] + attr_accessor :media_content + # Returns a response containing a custom, platform-specific payload. # See the Intent.Message.Platform type for a description of the # structure that may be required for your platform. @@ -509,6 +520,11 @@ module Google # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions] attr_accessor :suggestions + # Table card for Actions on Google. + # Corresponds to the JSON property `tableCard` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCard] + attr_accessor :table_card + # The text response message. # Corresponds to the JSON property `text` # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText] @@ -521,16 +537,19 @@ module Google # Update properties of this object def update!(**args) @basic_card = args[:basic_card] if args.key?(:basic_card) + @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card) @card = args[:card] if args.key?(:card) @carousel_select = args[:carousel_select] if args.key?(:carousel_select) @image = args[:image] if args.key?(:image) @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion) @list_select = args[:list_select] if args.key?(:list_select) + @media_content = args[:media_content] if args.key?(:media_content) @payload = args[:payload] if args.key?(:payload) @platform = args[:platform] if args.key?(:platform) @quick_replies = args[:quick_replies] if args.key?(:quick_replies) @simple_responses = args[:simple_responses] if args.key?(:simple_responses) @suggestions = args[:suggestions] if args.key?(:suggestions) + @table_card = args[:table_card] if args.key?(:table_card) @text = args[:text] if args.key?(:text) end end @@ -622,6 +641,105 @@ module Google end end + # Browse Carousel Card for Actions on Google. + # https://developers.google.com/actions/assistant/responses#browsing_carousel + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + include Google::Apis::Core::Hashable + + # Optional. Settings for displaying the image. Applies to every image in + # items. + # Corresponds to the JSON property `imageDisplayOptions` + # @return [String] + attr_accessor :image_display_options + + # Required. List of items in the Browse Carousel Card. Minimum of two + # items, maximum of ten. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_display_options = args[:image_display_options] if args.key?(:image_display_options) + @items = args[:items] if args.key?(:items) + end + end + + # Browsing carousel tile + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + include Google::Apis::Core::Hashable + + # Optional. Description of the carousel item. Maximum of four lines of + # text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Optional. Text that appears at the bottom of the Browse Carousel + # Card. Maximum of one line of text. + # Corresponds to the JSON property `footer` + # @return [String] + attr_accessor :footer + + # The image response message. + # Corresponds to the JSON property `image` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :image + + # Actions on Google action to open a given url. + # Corresponds to the JSON property `openUriAction` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction] + attr_accessor :open_uri_action + + # Required. Title of the carousel item. Maximum of two lines of text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @footer = args[:footer] if args.key?(:footer) + @image = args[:image] if args.key?(:image) + @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action) + @title = args[:title] if args.key?(:title) + end + end + + # Actions on Google action to open a given url. + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + include Google::Apis::Core::Hashable + + # Required. URL + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Optional. Specifies the type of viewer that is used when opening + # the URL. Defaults to opening via web browser. + # Corresponds to the JSON property `urlTypeHint` + # @return [String] + attr_accessor :url_type_hint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint) + end + end + # The card response message. class GoogleCloudDialogflowV2IntentMessageCard include Google::Apis::Core::Hashable @@ -742,6 +860,31 @@ module Google end end + # Column properties for TableCard. + class GoogleCloudDialogflowV2IntentMessageColumnProperties + include Google::Apis::Core::Hashable + + # Required. Column heading. + # Corresponds to the JSON property `header` + # @return [String] + attr_accessor :header + + # Optional. Defines text alignment for all cells in this column. + # Corresponds to the JSON property `horizontalAlignment` + # @return [String] + attr_accessor :horizontal_alignment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) + end + end + # The image response message. class GoogleCloudDialogflowV2IntentMessageImage include Google::Apis::Core::Hashable @@ -864,6 +1007,74 @@ module Google end end + # The media content card for Actions on Google. + class GoogleCloudDialogflowV2IntentMessageMediaContent + include Google::Apis::Core::Hashable + + # Required. List of media objects. + # Corresponds to the JSON property `mediaObjects` + # @return [Array] + attr_accessor :media_objects + + # Optional. What type of media is the content (ie "audio"). + # Corresponds to the JSON property `mediaType` + # @return [String] + attr_accessor :media_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @media_objects = args[:media_objects] if args.key?(:media_objects) + @media_type = args[:media_type] if args.key?(:media_type) + end + end + + # Response media object for media content card. + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + include Google::Apis::Core::Hashable + + # Required. Url where the media is stored. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # Optional. Description of media card. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The image response message. + # Corresponds to the JSON property `icon` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :icon + + # The image response message. + # Corresponds to the JSON property `largeImage` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :large_image + + # Required. Name of media card. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @description = args[:description] if args.key?(:description) + @icon = args[:icon] if args.key?(:icon) + @large_image = args[:large_image] if args.key?(:large_image) + @name = args[:name] if args.key?(:name) + end + end + # The quick replies response message. class GoogleCloudDialogflowV2IntentMessageQuickReplies include Google::Apis::Core::Hashable @@ -1012,6 +1223,100 @@ module Google end end + # Table card for Actions on Google. + class GoogleCloudDialogflowV2IntentMessageTableCard + include Google::Apis::Core::Hashable + + # Optional. List of buttons for the card. + # Corresponds to the JSON property `buttons` + # @return [Array] + attr_accessor :buttons + + # Optional. Display properties for the columns in this table. + # Corresponds to the JSON property `columnProperties` + # @return [Array] + attr_accessor :column_properties + + # The image response message. + # Corresponds to the JSON property `image` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage] + attr_accessor :image + + # Optional. Rows in this table of data. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # Optional. Subtitle to the title. + # Corresponds to the JSON property `subtitle` + # @return [String] + attr_accessor :subtitle + + # Required. Title of the card. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buttons = args[:buttons] if args.key?(:buttons) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @image = args[:image] if args.key?(:image) + @rows = args[:rows] if args.key?(:rows) + @subtitle = args[:subtitle] if args.key?(:subtitle) + @title = args[:title] if args.key?(:title) + end + end + + # Cell of TableCardRow. + class GoogleCloudDialogflowV2IntentMessageTableCardCell + include Google::Apis::Core::Hashable + + # Required. Text in this cell. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + end + end + + # Row of TableCard. + class GoogleCloudDialogflowV2IntentMessageTableCardRow + include Google::Apis::Core::Hashable + + # Optional. List of cells that make up this row. + # Corresponds to the JSON property `cells` + # @return [Array] + attr_accessor :cells + + # Optional. Whether to add a visual divider after this row. + # Corresponds to the JSON property `dividerAfter` + # @return [Boolean] + attr_accessor :divider_after + alias_method :divider_after?, :divider_after + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cells = args[:cells] if args.key?(:cells) + @divider_after = args[:divider_after] if args.key?(:divider_after) + end + end + # The text response message. class GoogleCloudDialogflowV2IntentMessageText include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index ea315468c..886027f26 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -100,6 +100,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageCard class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +142,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageImage class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,6 +172,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageMediaContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageQuickReplies class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,6 +220,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2IntentMessageTableCard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageTableCardCell + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2IntentMessageTableCardRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2IntentMessageText class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1009,6 +1063,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard::Representation + property :browse_carousel_card, as: 'browseCarouselCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard::Representation + property :card, as: 'card', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard::Representation property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCarouselSelect::Representation @@ -1019,6 +1075,8 @@ module Google property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect::Representation + property :media_content, as: 'mediaContent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContent::Representation + hash :payload, as: 'payload' property :platform, as: 'platform' property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageQuickReplies::Representation @@ -1027,6 +1085,8 @@ module Google property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions::Representation + property :table_card, as: 'tableCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCard::Representation + property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText::Representation end @@ -1061,6 +1121,36 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_display_options, as: 'imageDisplayOptions' + collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem::Representation + + end + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :footer, as: 'footer' + property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction::Representation + + property :title, as: 'title' + end + end + + class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :url_type_hint, as: 'urlTypeHint' + end + end + class GoogleCloudDialogflowV2IntentMessageCard # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1100,6 +1190,14 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header' + property :horizontal_alignment, as: 'horizontalAlignment' + end + end + class GoogleCloudDialogflowV2IntentMessageImage # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1138,6 +1236,28 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageMediaContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :media_objects, as: 'mediaObjects', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject::Representation + + property :media_type, as: 'mediaType' + end + end + + class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :description, as: 'description' + property :icon, as: 'icon', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :large_image, as: 'largeImage', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation + + property :name, as: 'name' + end + end + class GoogleCloudDialogflowV2IntentMessageQuickReplies # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1186,6 +1306,38 @@ module Google end end + class GoogleCloudDialogflowV2IntentMessageTableCard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton::Representation + + collection :column_properties, as: 'columnProperties', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageColumnProperties, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageColumnProperties::Representation + + property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage::Representation + + collection :rows, as: 'rows', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardRow, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardRow::Representation + + property :subtitle, as: 'subtitle' + property :title, as: 'title' + end + end + + class GoogleCloudDialogflowV2IntentMessageTableCardCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + end + end + + class GoogleCloudDialogflowV2IntentMessageTableCardRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cells, as: 'cells', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardCell, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardCell::Representation + + property :divider_after, as: 'dividerAfter' + end + end + class GoogleCloudDialogflowV2IntentMessageText # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dns_v1beta2.rb b/generated/google/apis/dns_v1beta2.rb index ae62d941e..1c232865b 100644 --- a/generated/google/apis/dns_v1beta2.rb +++ b/generated/google/apis/dns_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1beta2 VERSION = 'V1beta2' - REVISION = '20190903' + REVISION = '20191029' # 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/dns_v1beta2/classes.rb b/generated/google/apis/dns_v1beta2/classes.rb index 94a1aab48..dca031ec3 100644 --- a/generated/google/apis/dns_v1beta2/classes.rb +++ b/generated/google/apis/dns_v1beta2/classes.rb @@ -424,6 +424,14 @@ module Google # @return [Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig] attr_accessor :private_visibility_config + # The presence of this field indicates that this is a managed reverse lookup + # zone and Cloud DNS will resolve reverse lookup queries using automatically + # configured records for VPC resources. This only applies to networks listed + # under private_visibility_config. + # Corresponds to the JSON property `reverseLookupConfig` + # @return [Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig] + attr_accessor :reverse_lookup_config + # The zone's visibility: public zones are exposed to the Internet, while private # zones are visible only to Virtual Private Cloud resources. # Corresponds to the JSON property `visibility` @@ -449,6 +457,7 @@ module Google @name_servers = args[:name_servers] if args.key?(:name_servers) @peering_config = args[:peering_config] if args.key?(:peering_config) @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) + @reverse_lookup_config = args[:reverse_lookup_config] if args.key?(:reverse_lookup_config) @visibility = args[:visibility] if args.key?(:visibility) end end @@ -524,6 +533,14 @@ module Google class ManagedZoneForwardingConfigNameServerTarget include Google::Apis::Core::Hashable + # Forwarding path for this NameServerTarget, if unset or set to DEFAULT, Cloud + # DNS will make forwarding decision based on address ranges, i.e. RFC1918 + # addresses go to the VPC, Non-RFC1918 addresses go to the Internet. When set to + # PRIVATE, Cloud DNS will always send queries through VPC for this target + # Corresponds to the JSON property `forwardingPath` + # @return [String] + attr_accessor :forwarding_path + # IPv4 address of a target name server. # Corresponds to the JSON property `ipv4Address` # @return [String] @@ -541,6 +558,7 @@ module Google # Update properties of this object def update!(**args) + @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path) @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address) @kind = args[:kind] if args.key?(:kind) end @@ -708,6 +726,26 @@ module Google end end + # + class ManagedZoneReverseLookupConfig + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZoneReverseLookupConfig". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + end + end + # class ManagedZonesListResponse include Google::Apis::Core::Hashable @@ -1079,6 +1117,14 @@ module Google class PolicyAlternativeNameServerConfigTargetNameServer include Google::Apis::Core::Hashable + # Forwarding path for this TargetNameServer, if unset or set to DEFAULT, Cloud + # DNS will make forwarding decision based on address ranges, i.e. RFC1918 + # addresses go to the VPC, Non-RFC1918 addresses go to the Internet. When set to + # PRIVATE, Cloud DNS will always send queries through VPC for this target + # Corresponds to the JSON property `forwardingPath` + # @return [String] + attr_accessor :forwarding_path + # IPv4 address to forward to. # Corresponds to the JSON property `ipv4Address` # @return [String] @@ -1096,6 +1142,7 @@ module Google # Update properties of this object def update!(**args) + @forwarding_path = args[:forwarding_path] if args.key?(:forwarding_path) @ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address) @kind = args[:kind] if args.key?(:kind) end diff --git a/generated/google/apis/dns_v1beta2/representations.rb b/generated/google/apis/dns_v1beta2/representations.rb index 4272a10e3..dcbdb31f4 100644 --- a/generated/google/apis/dns_v1beta2/representations.rb +++ b/generated/google/apis/dns_v1beta2/representations.rb @@ -112,6 +112,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedZoneReverseLookupConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ManagedZonesListResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -303,6 +309,8 @@ module Google property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1beta2::ManagedZonePrivateVisibilityConfig::Representation + property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig::Representation + property :visibility, as: 'visibility' end end @@ -330,6 +338,7 @@ module Google class ManagedZoneForwardingConfigNameServerTarget # @private class Representation < Google::Apis::Core::JsonRepresentation + property :forwarding_path, as: 'forwardingPath' property :ipv4_address, as: 'ipv4Address' property :kind, as: 'kind' end @@ -382,6 +391,13 @@ module Google end end + class ManagedZoneReverseLookupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + end + end + class ManagedZonesListResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -490,6 +506,7 @@ module Google class PolicyAlternativeNameServerConfigTargetNameServer # @private class Representation < Google::Apis::Core::JsonRepresentation + property :forwarding_path, as: 'forwardingPath' property :ipv4_address, as: 'ipv4Address' property :kind, as: 'kind' end diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 97d84d59e..3cf6146fa 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20191003' + REVISION = '20191025' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/homegraph_v1.rb b/generated/google/apis/homegraph_v1.rb index dff2b61a6..de91d1453 100644 --- a/generated/google/apis/homegraph_v1.rb +++ b/generated/google/apis/homegraph_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/actions/smarthome/create-app#request-sync module HomegraphV1 VERSION = 'V1' - REVISION = '20190827' + REVISION = '20191106' end end end diff --git a/generated/google/apis/homegraph_v1/classes.rb b/generated/google/apis/homegraph_v1/classes.rb index 61d9b36c9..7bfc6b109 100644 --- a/generated/google/apis/homegraph_v1/classes.rb +++ b/generated/google/apis/homegraph_v1/classes.rb @@ -96,6 +96,19 @@ module Google # @return [Google::Apis::HomegraphV1::DeviceNames] attr_accessor :name + # Indicates whether the device is capable of sending notifications. This + # field will be set by the agent (partner) on an incoming SYNC. If a device + # is not capable of generating notifications, the partner should set this + # flag to false. If a partner is not capable of calling + # ReportStateAndNotification to send notifications to Google, the partner + # should set this flag to false. If there is a user setting in the partner + # app to enable notifications and it is turned off, the partner should set + # this flag to false. + # Corresponds to the JSON property `notificationSupportedByAgent` + # @return [Boolean] + attr_accessor :notification_supported_by_agent + alias_method :notification_supported_by_agent?, :notification_supported_by_agent + # IDs of other devices associated with this device. This is used to # represent a device group (e.g. bonded zone) or "facets" synced # through different flows (e.g. Google Nest Hub Max with a Nest Camera). @@ -145,6 +158,7 @@ module Google @device_info = args[:device_info] if args.key?(:device_info) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) + @notification_supported_by_agent = args[:notification_supported_by_agent] if args.key?(:notification_supported_by_agent) @other_device_ids = args[:other_device_ids] if args.key?(:other_device_ids) @room_hint = args[:room_hint] if args.key?(:room_hint) @structure_hint = args[:structure_hint] if args.key?(:structure_hint) diff --git a/generated/google/apis/homegraph_v1/representations.rb b/generated/google/apis/homegraph_v1/representations.rb index 9eafa07bf..3fd9ec614 100644 --- a/generated/google/apis/homegraph_v1/representations.rb +++ b/generated/google/apis/homegraph_v1/representations.rb @@ -167,6 +167,7 @@ module Google property :id, as: 'id' property :name, as: 'name', class: Google::Apis::HomegraphV1::DeviceNames, decorator: Google::Apis::HomegraphV1::DeviceNames::Representation + property :notification_supported_by_agent, as: 'notificationSupportedByAgent' collection :other_device_ids, as: 'otherDeviceIds', class: Google::Apis::HomegraphV1::AgentOtherDeviceId, decorator: Google::Apis::HomegraphV1::AgentOtherDeviceId::Representation property :room_hint, as: 'roomHint' diff --git a/generated/google/apis/pagespeedonline_v5.rb b/generated/google/apis/pagespeedonline_v5.rb index 76111c270..2a44b2afa 100644 --- a/generated/google/apis/pagespeedonline_v5.rb +++ b/generated/google/apis/pagespeedonline_v5.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v5/get-started module PagespeedonlineV5 VERSION = 'V5' - REVISION = '20190906' + REVISION = '20191028' end end end diff --git a/generated/google/apis/pagespeedonline_v5/classes.rb b/generated/google/apis/pagespeedonline_v5/classes.rb index 6f972b65a..e479ccf67 100644 --- a/generated/google/apis/pagespeedonline_v5/classes.rb +++ b/generated/google/apis/pagespeedonline_v5/classes.rb @@ -56,6 +56,13 @@ module Google # @return [String] attr_accessor :id + # A numeric value that has a meaning specific to the audit, e.g. the number of + # nodes in the DOM or the timestamp of a specific load event. More information + # can be found in the audit details, if present. + # Corresponds to the JSON property `numericValue` + # @return [Float] + attr_accessor :numeric_value + # # Corresponds to the JSON property `score` # @return [Object] @@ -88,6 +95,7 @@ module Google @error_message = args[:error_message] if args.key?(:error_message) @explanation = args[:explanation] if args.key?(:explanation) @id = args[:id] if args.key?(:id) + @numeric_value = args[:numeric_value] if args.key?(:numeric_value) @score = args[:score] if args.key?(:score) @score_display_mode = args[:score_display_mode] if args.key?(:score_display_mode) @title = args[:title] if args.key?(:title) diff --git a/generated/google/apis/pagespeedonline_v5/representations.rb b/generated/google/apis/pagespeedonline_v5/representations.rb index 5bd5b6e37..be8f16d6b 100644 --- a/generated/google/apis/pagespeedonline_v5/representations.rb +++ b/generated/google/apis/pagespeedonline_v5/representations.rb @@ -139,6 +139,7 @@ module Google property :error_message, as: 'errorMessage' property :explanation, as: 'explanation' property :id, as: 'id' + property :numeric_value, as: 'numericValue' property :score, as: 'score' property :score_display_mode, as: 'scoreDisplayMode' property :title, as: 'title' diff --git a/generated/google/apis/run_v1.rb b/generated/google/apis/run_v1.rb index a95784df2..d174b2e7e 100644 --- a/generated/google/apis/run_v1.rb +++ b/generated/google/apis/run_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/run/ module RunV1 VERSION = 'V1' - REVISION = '20191009' + REVISION = '20191101' # 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/run_v1/classes.rb b/generated/google/apis/run_v1/classes.rb index 6f44a1a04..466bf725b 100644 --- a/generated/google/apis/run_v1/classes.rb +++ b/generated/google/apis/run_v1/classes.rb @@ -827,9 +827,9 @@ module Google include Google::Apis::Core::Hashable # (Optional) - # Cloud Run fully managed: not supported + # Cloud Run fully managed: supported # Cloud Run for Anthos: supported - # Number of port to expose on the pod's IP address. + # Port number the container listens on. # This must be a valid port number, 0 < x < 65536. # Corresponds to the JSON property `containerPort` # @return [Fixnum] diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 632d2825b..5d4ffb436 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20191027' + REVISION = '20191102' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 1079c9b02..7a420fca8 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -355,6 +355,12 @@ module Google # @return [String] attr_accessor :principal_email + # String representation of identity of requesting party. + # Populated for both first and third party identities. + # Corresponds to the JSON property `principalSubject` + # @return [String] + attr_accessor :principal_subject + # Identity delegation history of an authenticated service account that makes # the request. It contains information on the real authorities that try to # access GCP resources by delegating on a service account. When multiple @@ -389,6 +395,7 @@ module Google def update!(**args) @authority_selector = args[:authority_selector] if args.key?(:authority_selector) @principal_email = args[:principal_email] if args.key?(:principal_email) + @principal_subject = args[:principal_subject] if args.key?(:principal_subject) @service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info) @service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name) @third_party_principal = args[:third_party_principal] if args.key?(:third_party_principal) diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 247b57ee8..6ce21353a 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -351,6 +351,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :authority_selector, as: 'authoritySelector' property :principal_email, as: 'principalEmail' + property :principal_subject, as: 'principalSubject' collection :service_account_delegation_info, as: 'serviceAccountDelegationInfo', class: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo, decorator: Google::Apis::ServicecontrolV1::ServiceAccountDelegationInfo::Representation property :service_account_key_name, as: 'serviceAccountKeyName' diff --git a/generated/google/apis/sql_v1beta4.rb b/generated/google/apis/sql_v1beta4.rb index c87d00748..9ec9a62c9 100644 --- a/generated/google/apis/sql_v1beta4.rb +++ b/generated/google/apis/sql_v1beta4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-sql/ module SqlV1beta4 VERSION = 'V1beta4' - REVISION = '20191018' + REVISION = '20191029' # 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/sql_v1beta4/service.rb b/generated/google/apis/sql_v1beta4/service.rb index f08bedd39..135a79609 100644 --- a/generated/google/apis/sql_v1beta4/service.rb +++ b/generated/google/apis/sql_v1beta4/service.rb @@ -56,6 +56,11 @@ module Google # The ID of the Backup Run to delete. To find a Backup Run ID, use the list # method. + # @param [String] resource_name + # The name of the backupRun to delete. + # Format: + # projects/`project`/locations/`location`/instances/`instance`/backupRuns/` + # backupRun` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -73,13 +78,14 @@ module Google # @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 delete_backup_run(project, instance, id, fields: nil, quota_user: nil, options: nil, &block) + def delete_backup_run(project, instance, id, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}', options) command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? command.params['id'] = id unless id.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -220,6 +226,11 @@ module Google # Database instance ID. This does not include the project ID. # @param [String] database # Name of the database to be deleted in the instance. + # @param [String] resource_name + # The name of the database to delete. + # Format: + # projects/`project`/locations/`location`/instances/`instance`/databases/` + # database` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -237,13 +248,14 @@ module Google # @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 delete_database(project, instance, database, fields: nil, quota_user: nil, options: nil, &block) + def delete_database(project, instance, database, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options) command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? command.params['database'] = database unless database.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -379,6 +391,11 @@ module Google # @param [String] database # Name of the database to be updated in the instance. # @param [Google::Apis::SqlV1beta4::Database] database_object + # @param [String] resource_name + # The name of the database for Cloud SQL to update. + # Format: + # projects/`project`/locations/`location`/instances/`instance`/databases/` + # database` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -396,7 +413,7 @@ module Google # @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 patch_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_database(project, instance, database, database_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options) command.request_representation = Google::Apis::SqlV1beta4::Database::Representation command.request_object = database_object @@ -405,6 +422,7 @@ module Google command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? command.params['database'] = database unless database.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -419,6 +437,11 @@ module Google # @param [String] database # Name of the database to be updated in the instance. # @param [Google::Apis::SqlV1beta4::Database] database_object + # @param [String] resource_name + # The name of the database for Cloud SQL to update. + # Format: + # projects/`project`/locations/`location`/instances/`instance`/databases/` + # database` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -436,7 +459,7 @@ module Google # @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 update_database(project, instance, database, database_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_database(project, instance, database, database_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}', options) command.request_representation = Google::Apis::SqlV1beta4::Database::Representation command.request_object = database_object @@ -445,6 +468,7 @@ module Google command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? command.params['database'] = database unless database.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -568,6 +592,9 @@ module Google # Project ID of the project that contains the instance to be deleted. # @param [String] instance # Cloud SQL instance ID. This does not include the project ID. + # @param [String] resource_name + # The name of database instance to delete. + # Format: projects/`project`/locations/`location`/instances/`instance` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -585,12 +612,13 @@ module Google # @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 delete_instance(project, instance, fields: nil, quota_user: nil, options: nil, &block) + def delete_instance(project, instance, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}', options) command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -925,6 +953,9 @@ module Google # @param [String] instance # Cloud SQL instance ID. This does not include the project ID. # @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object + # @param [String] resource_name + # The name of the database instance for Cloud SQL to update. + # Format: projects/`project`/locations/`location`/instances/`instance` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -942,7 +973,7 @@ module Google # @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 patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def patch_instance(project, instance, database_instance_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options) command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation command.request_object = database_instance_object @@ -950,6 +981,7 @@ module Google command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1276,6 +1308,9 @@ module Google # @param [String] instance # Cloud SQL instance ID. This does not include the project ID. # @param [Google::Apis::SqlV1beta4::DatabaseInstance] database_instance_object + # @param [String] resource_name + # The name of the database instance for Cloud SQL to update. + # Format: projects/`project`/locations/`location`/instances/`instance` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1293,7 +1328,7 @@ module Google # @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 update_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_instance(project, instance, database_instance_object = nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}', options) command.request_representation = Google::Apis::SqlV1beta4::DatabaseInstance::Representation command.request_object = database_instance_object @@ -1301,6 +1336,7 @@ module Google command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1437,6 +1473,10 @@ module Google # Cloud SQL instance ID. This does not include the project ID. # @param [String] sha1_fingerprint # Sha1 FingerPrint. + # @param [String] resource_name + # The name of SSL certificate to delete. + # Format: + # projects/`project`/locations/`location`/instances/`instance`/sslCerts/`sslCert` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1454,13 +1494,14 @@ module Google # @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 delete_ssl_cert(project, instance, sha1_fingerprint, fields: nil, quota_user: nil, options: nil, &block) + def delete_ssl_cert(project, instance, sha1_fingerprint, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', options) command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation command.response_class = Google::Apis::SqlV1beta4::Operation command.params['project'] = project unless project.nil? command.params['instance'] = instance unless instance.nil? command.params['sha1Fingerprint'] = sha1_fingerprint unless sha1_fingerprint.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1629,6 +1670,9 @@ module Google # Host of the user in the instance. # @param [String] name # Name of the user in the instance. + # @param [String] resource_name + # The name of the user to delete. + # Format: projects/`project`/locations/`location`/instances/`instance`/users # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1646,7 +1690,7 @@ module Google # @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 delete_user(project, instance, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block) + def delete_user(project, instance, host: nil, name: nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options) command.response_representation = Google::Apis::SqlV1beta4::Operation::Representation command.response_class = Google::Apis::SqlV1beta4::Operation @@ -1654,6 +1698,7 @@ module Google command.params['instance'] = instance unless instance.nil? command.query['host'] = host unless host.nil? command.query['name'] = name unless name.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1747,6 +1792,9 @@ module Google # a PostgreSQL instance, it's optional. # @param [String] name # Name of the user in the instance. + # @param [String] resource_name + # The name of the user for Cloud SQL to update. + # Format: projects/`project`/locations/`location`/instances/`instance`/users # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1764,7 +1812,7 @@ module Google # @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 update_user(project, instance, user_object = nil, host: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block) + def update_user(project, instance, user_object = nil, host: nil, name: nil, resource_name: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'sql/v1beta4/projects/{project}/instances/{instance}/users', options) command.request_representation = Google::Apis::SqlV1beta4::User::Representation command.request_object = user_object @@ -1774,6 +1822,7 @@ module Google command.params['instance'] = instance unless instance.nil? command.query['host'] = host unless host.nil? command.query['name'] = name unless name.nil? + command.query['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index d02dea0fa..719746faa 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20191024' + REVISION = '20191031' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'