Autogenerated update (2019-07-03)

Update:
- cloudbuild_v1
- dfareporting_v3_1
- dfareporting_v3_2
- dfareporting_v3_3
- dialogflow_v2beta1
- docs_v1
- file_v1
- file_v1beta1
- fitness_v1
- healthcare_v1alpha2
- tasks_v1
- texttospeech_v1
- texttospeech_v1beta1
- toolresults_v1beta3
- youtube_partner_v1
This commit is contained in:
Google APIs 2019-07-03 00:38:04 +00:00
parent 6306b79122
commit cf37aefca6
33 changed files with 825 additions and 78 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/ # @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1 module CloudbuildV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190622' REVISION = '20190629'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -793,12 +793,15 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :installation_id attr_accessor :installation_id
# Name of the repository. # Name of the repository. For example: The name for
# https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Owner of the repository. # Owner of the repository. For example: The owner for
# https://github.com/googlecloudplatform/cloud-builders is
# "googlecloudplatform".
# Corresponds to the JSON property `owner` # Corresponds to the JSON property `owner`
# @return [String] # @return [String]
attr_accessor :owner attr_accessor :owner

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/ # @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_1 module DfareportingV3_1
VERSION = 'V3_1' VERSION = 'V3_1'
REVISION = '20180830' REVISION = '20190531'
# Manage DoubleClick Digital Marketing conversions # Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/ # @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_2 module DfareportingV3_2
VERSION = 'V3_2' VERSION = 'V3_2'
REVISION = '20180830' REVISION = '20190531'
# Manage DoubleClick Digital Marketing conversions # Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/doubleclick-advertisers/ # @see https://developers.google.com/doubleclick-advertisers/
module DfareportingV3_3 module DfareportingV3_3
VERSION = 'V3_3' VERSION = 'V3_3'
REVISION = '20190206' REVISION = '20190531'
# Manage DoubleClick Digital Marketing conversions # Manage DoubleClick Digital Marketing conversions
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'

View File

@ -2376,8 +2376,8 @@ module Google
# The alphanumeric encrypted user ID. When set, encryptionInfo should also be # The alphanumeric encrypted user ID. When set, encryptionInfo should also be
# specified. This field is mutually exclusive with encryptedUserIdCandidates[], # specified. This field is mutually exclusive with encryptedUserIdCandidates[],
# mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or # matchId, mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or
# mobileDeviceId or gclid is a required field. # matchId or mobileDeviceId or gclid is a required field.
# Corresponds to the JSON property `encryptedUserId` # Corresponds to the JSON property `encryptedUserId`
# @return [String] # @return [String]
attr_accessor :encrypted_user_id attr_accessor :encrypted_user_id
@ -2387,9 +2387,9 @@ module Google
# such user ID is found then the conversion will be rejected with # such user ID is found then the conversion will be rejected with
# NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. # NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified.
# This field may only be used when calling batchinsert; it is not supported by # This field may only be used when calling batchinsert; it is not supported by
# batchupdate. This field is mutually exclusive with encryptedUserId, # batchupdate. This field is mutually exclusive with encryptedUserId, matchId,
# mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid # mobileDeviceId and gclid. This or encryptedUserId or matchId or mobileDeviceId
# is a required field. # or gclid is a required field.
# Corresponds to the JSON property `encryptedUserIdCandidates` # Corresponds to the JSON property `encryptedUserIdCandidates`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :encrypted_user_id_candidates attr_accessor :encrypted_user_id_candidates
@ -2405,8 +2405,9 @@ module Google
attr_accessor :floodlight_configuration_id attr_accessor :floodlight_configuration_id
# The Google click ID. This field is mutually exclusive with encryptedUserId, # The Google click ID. This field is mutually exclusive with encryptedUserId,
# encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or # encryptedUserIdCandidates[], matchId and mobileDeviceId. This or
# encryptedUserIdCandidates[] or mobileDeviceId is a required field. # encryptedUserId or encryptedUserIdCandidates[] or matchId or mobileDeviceId is
# a required field.
# Corresponds to the JSON property `gclid` # Corresponds to the JSON property `gclid`
# @return [String] # @return [String]
attr_accessor :gclid attr_accessor :gclid
@ -2424,9 +2425,18 @@ module Google
attr_accessor :limit_ad_tracking attr_accessor :limit_ad_tracking
alias_method :limit_ad_tracking?, :limit_ad_tracking alias_method :limit_ad_tracking?, :limit_ad_tracking
# The match ID field. A match ID is your own first-party identifier that has
# been synced with Google using the match ID feature in Floodlight. This field
# is mutually exclusive with encryptedUserId, encryptedUserIdCandidates[],
# mobileDeviceId and gclid. This or encryptedUserId or encryptedUserIdCandidates[
# ] or mobileDeviceId or gclid is a required field.
# Corresponds to the JSON property `matchId`
# @return [String]
attr_accessor :match_id
# The mobile device ID. This field is mutually exclusive with encryptedUserId, # The mobile device ID. This field is mutually exclusive with encryptedUserId,
# encryptedUserIdCandidates[] and gclid. This or encryptedUserId or # encryptedUserIdCandidates[], matchId and gclid. This or encryptedUserId or
# encryptedUserIdCandidates[] or gclid is a required field. # encryptedUserIdCandidates[] or matchId or gclid is a required field.
# Corresponds to the JSON property `mobileDeviceId` # Corresponds to the JSON property `mobileDeviceId`
# @return [String] # @return [String]
attr_accessor :mobile_device_id attr_accessor :mobile_device_id
@ -2481,6 +2491,7 @@ module Google
@gclid = args[:gclid] if args.key?(:gclid) @gclid = args[:gclid] if args.key?(:gclid)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking) @limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking)
@match_id = args[:match_id] if args.key?(:match_id)
@mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id) @mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id)
@non_personalized_ad = args[:non_personalized_ad] if args.key?(:non_personalized_ad) @non_personalized_ad = args[:non_personalized_ad] if args.key?(:non_personalized_ad)
@ordinal = args[:ordinal] if args.key?(:ordinal) @ordinal = args[:ordinal] if args.key?(:ordinal)

View File

@ -1960,6 +1960,7 @@ module Google
property :gclid, as: 'gclid' property :gclid, as: 'gclid'
property :kind, as: 'kind' property :kind, as: 'kind'
property :limit_ad_tracking, as: 'limitAdTracking' property :limit_ad_tracking, as: 'limitAdTracking'
property :match_id, as: 'matchId'
property :mobile_device_id, as: 'mobileDeviceId' property :mobile_device_id, as: 'mobileDeviceId'
property :non_personalized_ad, as: 'nonPersonalizedAd' property :non_personalized_ad, as: 'nonPersonalizedAd'
property :ordinal, as: 'ordinal' property :ordinal, as: 'ordinal'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow/ # @see https://cloud.google.com/dialogflow/
module DialogflowV2beta1 module DialogflowV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20190626' REVISION = '20190629'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2785,6 +2785,35 @@ module Google
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies] # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies]
attr_accessor :quick_replies attr_accessor :quick_replies
# Carousel Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
# messages#rich-cards.
# If you want to show a single card with more control over the layout,
# please use RbmStandaloneCard instead.
# Corresponds to the JSON property `rbmCarouselRichCard`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard]
attr_accessor :rbm_carousel_rich_card
# Standalone Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
# messages#rich-cards.
# You can group multiple rich cards into one using RbmCarouselCard but
# carousel cards will give you less control over the card layout.
# Corresponds to the JSON property `rbmStandaloneRichCard`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard]
attr_accessor :rbm_standalone_rich_card
# Rich Business Messaging (RBM) text response with suggestions.
# Corresponds to the JSON property `rbmText`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText]
attr_accessor :rbm_text
# The collection of simple response candidates. # The collection of simple response candidates.
# This message in `QueryResult.fulfillment_messages` and # This message in `QueryResult.fulfillment_messages` and
# `WebhookResponse.fulfillment_messages` should contain only one # `WebhookResponse.fulfillment_messages` should contain only one
@ -2837,6 +2866,9 @@ module Google
@payload = args[:payload] if args.key?(:payload) @payload = args[:payload] if args.key?(:payload)
@platform = args[:platform] if args.key?(:platform) @platform = args[:platform] if args.key?(:platform)
@quick_replies = args[:quick_replies] if args.key?(:quick_replies) @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
@rbm_carousel_rich_card = args[:rbm_carousel_rich_card] if args.key?(:rbm_carousel_rich_card)
@rbm_standalone_rich_card = args[:rbm_standalone_rich_card] if args.key?(:rbm_standalone_rich_card)
@rbm_text = args[:rbm_text] if args.key?(:rbm_text)
@simple_responses = args[:simple_responses] if args.key?(:simple_responses) @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
@suggestions = args[:suggestions] if args.key?(:suggestions) @suggestions = args[:suggestions] if args.key?(:suggestions)
@telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio) @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
@ -3194,6 +3226,376 @@ module Google
end end
end end
# Rich Business Messaging (RBM) Card content
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
include Google::Apis::Core::Hashable
# Optional. Description of the card (at most 2000 bytes).
# At least one of the title, description or media must be set.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Rich Business Messaging (RBM) Media displayed in Cards
# The following media-types are currently supported:
# ## Image Types
# image/jpeg
# image/jpg'
# image/gif
# image/png
# ## Video Types
# video/h263
# video/m4v
# video/mp4
# video/mpeg
# video/mpeg4
# video/webm
# Corresponds to the JSON property `media`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia]
attr_accessor :media
# Optional. List of suggestions to include in the card.
# Corresponds to the JSON property `suggestions`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
attr_accessor :suggestions
# Optional. Title of the card (at most 200 bytes).
# At least one of the title, description or media must be set.
# 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)
@media = args[:media] if args.key?(:media)
@suggestions = args[:suggestions] if args.key?(:suggestions)
@title = args[:title] if args.key?(:title)
end
end
# Rich Business Messaging (RBM) Media displayed in Cards
# The following media-types are currently supported:
# ## Image Types
# image/jpeg
# image/jpg'
# image/gif
# image/png
# ## Video Types
# video/h263
# video/m4v
# video/mp4
# video/mpeg
# video/mpeg4
# video/webm
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
include Google::Apis::Core::Hashable
# Required. Publicly reachable URI of the file. The RBM platform
# determines the MIME type of the file from the content-type field in
# the HTTP headers when the platform fetches the file. The content-type
# field must be present and accurate in the HTTP response from the URL.
# Corresponds to the JSON property `fileUri`
# @return [String]
attr_accessor :file_uri
# Required for cards with vertical orientation. The height of the media
# within a rich card with a vertical layout. (https://goo.gl/NeFCjz).
# For a standalone card with horizontal layout, height is not
# customizable, and this field is ignored.
# Corresponds to the JSON property `height`
# @return [String]
attr_accessor :height
# Optional. Publicly reachable URI of the thumbnail.If you don't
# provide a thumbnail URI, the RBM platform displays a blank
# placeholder thumbnail until the user's device downloads the file.
# Depending on the user's setting, the file may not download
# automatically and may require the user to tap a download button.
# Corresponds to the JSON property `thumbnailUri`
# @return [String]
attr_accessor :thumbnail_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@file_uri = args[:file_uri] if args.key?(:file_uri)
@height = args[:height] if args.key?(:height)
@thumbnail_uri = args[:thumbnail_uri] if args.key?(:thumbnail_uri)
end
end
# Carousel Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
# messages#rich-cards.
# If you want to show a single card with more control over the layout,
# please use RbmStandaloneCard instead.
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
include Google::Apis::Core::Hashable
# Required. The cards in the carousel. A carousel must have at least
# 2 cards and at most 10.
# Corresponds to the JSON property `cardContents`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent>]
attr_accessor :card_contents
# Required. The width of the cards in the carousel.
# Corresponds to the JSON property `cardWidth`
# @return [String]
attr_accessor :card_width
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@card_contents = args[:card_contents] if args.key?(:card_contents)
@card_width = args[:card_width] if args.key?(:card_width)
end
end
# Standalone Rich Business Messaging (RBM) rich card.
# Rich cards allow you to respond to users with more vivid content, e.g.
# with media and suggestions.
# For more details about RBM rich cards, please see:
# https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
# messages#rich-cards.
# You can group multiple rich cards into one using RbmCarouselCard but
# carousel cards will give you less control over the card layout.
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
include Google::Apis::Core::Hashable
# Rich Business Messaging (RBM) Card content
# Corresponds to the JSON property `cardContent`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent]
attr_accessor :card_content
# Required. Orientation of the card.
# Corresponds to the JSON property `cardOrientation`
# @return [String]
attr_accessor :card_orientation
# Required if orientation is horizontal.
# Image preview alignment for standalone cards with horizontal layout.
# Corresponds to the JSON property `thumbnailImageAlignment`
# @return [String]
attr_accessor :thumbnail_image_alignment
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@card_content = args[:card_content] if args.key?(:card_content)
@card_orientation = args[:card_orientation] if args.key?(:card_orientation)
@thumbnail_image_alignment = args[:thumbnail_image_alignment] if args.key?(:thumbnail_image_alignment)
end
end
# Rich Business Messaging (RBM) suggested client-side action that the user
# can choose from the card.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
include Google::Apis::Core::Hashable
# Opens the user's default dialer app with the specified phone number
# but does not dial automatically (https://goo.gl/ergbB2).
# Corresponds to the JSON property `dial`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
attr_accessor :dial
# Opens the user's default web browser app to the specified uri
# (https://goo.gl/6GLJD2). If the user has an app installed that is
# registered as the default handler for the URL, then this app will be
# opened instead, and its icon will be used in the suggested action UI.
# Corresponds to the JSON property `openUrl`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri]
attr_accessor :open_url
# Opaque payload that the Dialogflow receives in a user event
# when the user taps the suggested action. This data will be also
# forwarded to webhook to allow performing custom business logic.
# Corresponds to the JSON property `postbackData`
# @return [String]
attr_accessor :postback_data
# Opens the device's location chooser so the user can pick a location
# to send back to the agent (https://goo.gl/GXotJW).
# Corresponds to the JSON property `shareLocation`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
attr_accessor :share_location
# Text to display alongside the action.
# 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)
@dial = args[:dial] if args.key?(:dial)
@open_url = args[:open_url] if args.key?(:open_url)
@postback_data = args[:postback_data] if args.key?(:postback_data)
@share_location = args[:share_location] if args.key?(:share_location)
@text = args[:text] if args.key?(:text)
end
end
# Opens the user's default dialer app with the specified phone number
# but does not dial automatically (https://goo.gl/ergbB2).
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
include Google::Apis::Core::Hashable
# Required. The phone number to fill in the default dialer app.
# This field should be in [E.164](https://en.wikipedia.org/wiki/E.164)
# format. An example of a correctly formatted phone number:
# +15556767888.
# Corresponds to the JSON property `phoneNumber`
# @return [String]
attr_accessor :phone_number
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@phone_number = args[:phone_number] if args.key?(:phone_number)
end
end
# Opens the user's default web browser app to the specified uri
# (https://goo.gl/6GLJD2). If the user has an app installed that is
# registered as the default handler for the URL, then this app will be
# opened instead, and its icon will be used in the suggested action UI.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
include Google::Apis::Core::Hashable
# Required. The uri to open on the user device
# Corresponds to the JSON property `uri`
# @return [String]
attr_accessor :uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@uri = args[:uri] if args.key?(:uri)
end
end
# Opens the device's location chooser so the user can pick a location
# to send back to the agent (https://goo.gl/GXotJW).
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# Rich Business Messaging (RBM) suggested reply that the user can click
# instead of typing in their own response.
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
include Google::Apis::Core::Hashable
# Opaque payload that the Dialogflow receives in a user event
# when the user taps the suggested reply. This data will be also
# forwarded to webhook to allow performing custom business logic.
# Corresponds to the JSON property `postbackData`
# @return [String]
attr_accessor :postback_data
# Suggested reply text.
# 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)
@postback_data = args[:postback_data] if args.key?(:postback_data)
@text = args[:text] if args.key?(:text)
end
end
# Rich Business Messaging (RBM) suggestion. Suggestions allow user to
# easily select/click a predefined response or perform an action (like
# opening a web uri).
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
include Google::Apis::Core::Hashable
# Rich Business Messaging (RBM) suggested client-side action that the user
# can choose from the card.
# Corresponds to the JSON property `action`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction]
attr_accessor :action
# Rich Business Messaging (RBM) suggested reply that the user can click
# instead of typing in their own response.
# Corresponds to the JSON property `reply`
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply]
attr_accessor :reply
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@action = args[:action] if args.key?(:action)
@reply = args[:reply] if args.key?(:reply)
end
end
# Rich Business Messaging (RBM) text response with suggestions.
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
include Google::Apis::Core::Hashable
# Optional. One or more suggestions to show to the user.
# Corresponds to the JSON property `rbmSuggestion`
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>]
attr_accessor :rbm_suggestion
# Required. Text sent and displayed to the user.
# 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)
@rbm_suggestion = args[:rbm_suggestion] if args.key?(:rbm_suggestion)
@text = args[:text] if args.key?(:text)
end
end
# Additional info about the select item for when it is triggered in a # Additional info about the select item for when it is triggered in a
# dialog. # dialog.
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo

View File

@ -472,6 +472,72 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1425,6 +1491,12 @@ module Google
property :platform, as: 'platform' property :platform, as: 'platform'
property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::Representation
property :rbm_carousel_rich_card, as: 'rbmCarouselRichCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard::Representation
property :rbm_standalone_rich_card, as: 'rbmStandaloneRichCard', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard::Representation
property :rbm_text, as: 'rbmText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmText::Representation
property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::Representation property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::Representation
property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSuggestions::Representation
@ -1553,6 +1625,107 @@ module Google
end end
end end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :description, as: 'description'
property :media, as: 'media', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia::Representation
collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
property :title, as: 'title'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :file_uri, as: 'fileUri'
property :height, as: 'height'
property :thumbnail_uri, as: 'thumbnailUri'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :card_contents, as: 'cardContents', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
property :card_width, as: 'cardWidth'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :card_content, as: 'cardContent', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent::Representation
property :card_orientation, as: 'cardOrientation'
property :thumbnail_image_alignment, as: 'thumbnailImageAlignment'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :dial, as: 'dial', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial::Representation
property :open_url, as: 'openUrl', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri::Representation
property :postback_data, as: 'postbackData'
property :share_location, as: 'shareLocation', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation::Representation
property :text, as: 'text'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :phone_number, as: 'phoneNumber'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :uri, as: 'uri'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :postback_data, as: 'postbackData'
property :text, as: 'text'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction::Representation
property :reply, as: 'reply', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply::Representation
end
end
class GoogleCloudDialogflowV2beta1IntentMessageRbmText
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :rbm_suggestion, as: 'rbmSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion::Representation
property :text, as: 'text'
end
end
class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo class GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/docs/ # @see https://developers.google.com/docs/
module DocsV1 module DocsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190604' REVISION = '20190627'
# View and manage your Google Docs documents # View and manage your Google Docs documents
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'

View File

@ -713,7 +713,7 @@ module Google
# @return [Google::Apis::DocsV1::Body] # @return [Google::Apis::DocsV1::Body]
attr_accessor :body attr_accessor :body
# The ID of the document. # Output only. The ID of the document.
# Corresponds to the JSON property `documentId` # Corresponds to the JSON property `documentId`
# @return [String] # @return [String]
attr_accessor :document_id attr_accessor :document_id
@ -723,32 +723,32 @@ module Google
# @return [Google::Apis::DocsV1::DocumentStyle] # @return [Google::Apis::DocsV1::DocumentStyle]
attr_accessor :document_style attr_accessor :document_style
# The footers in the document, keyed by footer ID. # Output only. The footers in the document, keyed by footer ID.
# Corresponds to the JSON property `footers` # Corresponds to the JSON property `footers`
# @return [Hash<String,Google::Apis::DocsV1::Footer>] # @return [Hash<String,Google::Apis::DocsV1::Footer>]
attr_accessor :footers attr_accessor :footers
# The footnotes in the document, keyed by footnote ID. # Output only. The footnotes in the document, keyed by footnote ID.
# Corresponds to the JSON property `footnotes` # Corresponds to the JSON property `footnotes`
# @return [Hash<String,Google::Apis::DocsV1::Footnote>] # @return [Hash<String,Google::Apis::DocsV1::Footnote>]
attr_accessor :footnotes attr_accessor :footnotes
# The headers in the document, keyed by header ID. # Output only. The headers in the document, keyed by header ID.
# Corresponds to the JSON property `headers` # Corresponds to the JSON property `headers`
# @return [Hash<String,Google::Apis::DocsV1::Header>] # @return [Hash<String,Google::Apis::DocsV1::Header>]
attr_accessor :headers attr_accessor :headers
# The inline objects in the document, keyed by object ID. # Output only. The inline objects in the document, keyed by object ID.
# Corresponds to the JSON property `inlineObjects` # Corresponds to the JSON property `inlineObjects`
# @return [Hash<String,Google::Apis::DocsV1::InlineObject>] # @return [Hash<String,Google::Apis::DocsV1::InlineObject>]
attr_accessor :inline_objects attr_accessor :inline_objects
# The lists in the document, keyed by list ID. # Output only. The lists in the document, keyed by list ID.
# Corresponds to the JSON property `lists` # Corresponds to the JSON property `lists`
# @return [Hash<String,Google::Apis::DocsV1::List>] # @return [Hash<String,Google::Apis::DocsV1::List>]
attr_accessor :lists attr_accessor :lists
# The named ranges in the document, keyed by name. # Output only. The named ranges in the document, keyed by name.
# Corresponds to the JSON property `namedRanges` # Corresponds to the JSON property `namedRanges`
# @return [Hash<String,Google::Apis::DocsV1::NamedRanges>] # @return [Hash<String,Google::Apis::DocsV1::NamedRanges>]
attr_accessor :named_ranges attr_accessor :named_ranges
@ -760,15 +760,15 @@ module Google
# @return [Google::Apis::DocsV1::NamedStyles] # @return [Google::Apis::DocsV1::NamedStyles]
attr_accessor :named_styles attr_accessor :named_styles
# The positioned objects in the document, keyed by object ID. # Output only. The positioned objects in the document, keyed by object ID.
# Corresponds to the JSON property `positionedObjects` # Corresponds to the JSON property `positionedObjects`
# @return [Hash<String,Google::Apis::DocsV1::PositionedObject>] # @return [Hash<String,Google::Apis::DocsV1::PositionedObject>]
attr_accessor :positioned_objects attr_accessor :positioned_objects
# The revision ID of the document. Can be used in update requests to specify # Output only. The revision ID of the document. Can be used in update
# which revision of a document to apply updates to and how the request should # requests to specify which revision of a document to apply updates to and
# behave if the document has been edited since that revision. Only populated # how the request should behave if the document has been edited since that
# if the user has edit access to the document. # revision. Only populated if the user has edit access to the document.
# The format of the revision ID may change over time, so it should be treated # The format of the revision ID may change over time, so it should be treated
# opaquely. A returned revision ID is only guaranteed to be valid for 24 # opaquely. A returned revision ID is only guaranteed to be valid for 24
# hours after it has been returned and cannot be shared across users. If the # hours after it has been returned and cannot be shared across users. If the
@ -780,18 +780,19 @@ module Google
# @return [String] # @return [String]
attr_accessor :revision_id attr_accessor :revision_id
# The suggested changes to the style of the document, keyed by suggestion ID. # Output only. The suggested changes to the style of the document, keyed by
# suggestion ID.
# Corresponds to the JSON property `suggestedDocumentStyleChanges` # Corresponds to the JSON property `suggestedDocumentStyleChanges`
# @return [Hash<String,Google::Apis::DocsV1::SuggestedDocumentStyle>] # @return [Hash<String,Google::Apis::DocsV1::SuggestedDocumentStyle>]
attr_accessor :suggested_document_style_changes attr_accessor :suggested_document_style_changes
# The suggested changes to the named styles of the document, keyed by # Output only. The suggested changes to the named styles of the document,
# suggestion ID. # keyed by suggestion ID.
# Corresponds to the JSON property `suggestedNamedStylesChanges` # Corresponds to the JSON property `suggestedNamedStylesChanges`
# @return [Hash<String,Google::Apis::DocsV1::SuggestedNamedStyles>] # @return [Hash<String,Google::Apis::DocsV1::SuggestedNamedStyles>]
attr_accessor :suggested_named_styles_changes attr_accessor :suggested_named_styles_changes
# The suggestions view mode applied to the document. # Output only. The suggestions view mode applied to the document.
# Note: When editing a document, changes must be based on a document with # Note: When editing a document, changes must be based on a document with
# SUGGESTIONS_INLINE. # SUGGESTIONS_INLINE.
# Corresponds to the JSON property `suggestionsViewMode` # Corresponds to the JSON property `suggestionsViewMode`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/ # @see https://cloud.google.com/filestore/
module FileV1 module FileV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190613' REVISION = '20190627'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -316,6 +316,11 @@ module Google
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>] # @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions attr_accessor :exclusions
# The location of the node, if different from instance location.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# The id of the node. # The id of the node.
# This should be equal to SaasInstanceNode.node_id. # This should be equal to SaasInstanceNode.node_id.
# Corresponds to the JSON property `nodeId` # Corresponds to the JSON property `nodeId`
@ -329,6 +334,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions) @exclusions = args[:exclusions] if args.key?(:exclusions)
@location = args[:location] if args.key?(:location)
@node_id = args[:node_id] if args.key?(:node_id) @node_id = args[:node_id] if args.key?(:node_id)
end end
end end
@ -535,8 +541,7 @@ module Google
class Instance class Instance
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. # Output only. The time when the instance was created.
# The time when the instance was created.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
@ -563,8 +568,7 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# Output only. # Output only. The resource name of the instance, in the format
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`. # projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -576,14 +580,12 @@ module Google
# @return [Array<Google::Apis::FileV1::NetworkConfig>] # @return [Array<Google::Apis::FileV1::NetworkConfig>]
attr_accessor :networks attr_accessor :networks
# Output only. # Output only. The instance state.
# The instance state.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Output only. # Output only. Additional information about the instance state, if available.
# Additional information about the instance state, if available.
# Corresponds to the JSON property `statusMessage` # Corresponds to the JSON property `statusMessage`
# @return [String] # @return [String]
attr_accessor :status_message attr_accessor :status_message
@ -749,8 +751,7 @@ module Google
class NetworkConfig class NetworkConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. # Output only. IPv4 addresses in the format
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format # `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block # `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
# 7`:`block 8`. # 7`:`block 8`.

View File

@ -199,6 +199,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :location, as: 'location'
property :node_id, as: 'nodeId' property :node_id, as: 'nodeId'
end end
end end

View File

@ -267,8 +267,7 @@ module Google
# Updates the settings of a specific instance. # Updates the settings of a specific instance.
# @param [String] name # @param [String] name
# Output only. # Output only. The resource name of the instance, in the format
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`. # projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# @param [Google::Apis::FileV1::Instance] instance_object # @param [Google::Apis::FileV1::Instance] instance_object
# @param [String] update_mask # @param [String] update_mask

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/ # @see https://cloud.google.com/filestore/
module FileV1beta1 module FileV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190613' REVISION = '20190627'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -316,6 +316,11 @@ module Google
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>] # @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
attr_accessor :exclusions attr_accessor :exclusions
# The location of the node, if different from instance location.
# Corresponds to the JSON property `location`
# @return [String]
attr_accessor :location
# The id of the node. # The id of the node.
# This should be equal to SaasInstanceNode.node_id. # This should be equal to SaasInstanceNode.node_id.
# Corresponds to the JSON property `nodeId` # Corresponds to the JSON property `nodeId`
@ -329,6 +334,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@exclusions = args[:exclusions] if args.key?(:exclusions) @exclusions = args[:exclusions] if args.key?(:exclusions)
@location = args[:location] if args.key?(:location)
@node_id = args[:node_id] if args.key?(:node_id) @node_id = args[:node_id] if args.key?(:node_id)
end end
end end
@ -535,8 +541,7 @@ module Google
class Instance class Instance
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. # Output only. The time when the instance was created.
# The time when the instance was created.
# Corresponds to the JSON property `createTime` # Corresponds to the JSON property `createTime`
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
@ -563,8 +568,7 @@ module Google
# @return [Hash<String,String>] # @return [Hash<String,String>]
attr_accessor :labels attr_accessor :labels
# Output only. # Output only. The resource name of the instance, in the format
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`. # projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -576,14 +580,12 @@ module Google
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>] # @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
attr_accessor :networks attr_accessor :networks
# Output only. # Output only. The instance state.
# The instance state.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Output only. # Output only. Additional information about the instance state, if available.
# Additional information about the instance state, if available.
# Corresponds to the JSON property `statusMessage` # Corresponds to the JSON property `statusMessage`
# @return [String] # @return [String]
attr_accessor :status_message attr_accessor :status_message
@ -749,8 +751,7 @@ module Google
class NetworkConfig class NetworkConfig
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Output only. # Output only. IPv4 addresses in the format
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format # `octet 1`.`octet 2`.`octet 3`.`octet 4` or IPv6 addresses in the format
# `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block # `block 1`:`block 2`:`block 3`:`block 4`:`block 5`:`block 6`:`block
# 7`:`block 8`. # 7`:`block 8`.

View File

@ -199,6 +199,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation collection :exclusions, as: 'exclusions', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
property :location, as: 'location'
property :node_id, as: 'nodeId' property :node_id, as: 'nodeId'
end end
end end

View File

@ -267,8 +267,7 @@ module Google
# Updates the settings of a specific instance. # Updates the settings of a specific instance.
# @param [String] name # @param [String] name
# Output only. # Output only. The resource name of the instance, in the format
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`. # projects/`project_id`/locations/`location_id`/instances/`instance_id`.
# @param [Google::Apis::FileV1beta1::Instance] instance_object # @param [Google::Apis::FileV1beta1::Instance] instance_object
# @param [String] update_mask # @param [String] update_mask

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/fit/rest/ # @see https://developers.google.com/fit/rest/
module FitnessV1 module FitnessV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190408' REVISION = '20190627'
# View your activity information in Google Fit # View your activity information in Google Fit
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'

View File

@ -151,9 +151,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :end_time_millis attr_accessor :end_time_millis
# DO NOT POPULATE THIS FIELD. As data quality standards are deprecated, filling # DO NOT POPULATE THIS FIELD. It is ignored.
# it in will result in no data sources being returned. It will be removed in a
# future version entirely.
# Corresponds to the JSON property `filteredDataQualityStandard` # Corresponds to the JSON property `filteredDataQualityStandard`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :filtered_data_quality_standard attr_accessor :filtered_data_quality_standard

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/healthcare # @see https://cloud.google.com/healthcare
module HealthcareV1alpha2 module HealthcareV1alpha2
VERSION = 'V1alpha2' VERSION = 'V1alpha2'
REVISION = '20190626' REVISION = '20190628'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -950,6 +950,17 @@ module Google
# @return [Array<Google::Apis::HealthcareV1alpha2::StreamConfig>] # @return [Array<Google::Apis::HealthcareV1alpha2::StreamConfig>]
attr_accessor :stream_configs attr_accessor :stream_configs
# Configuration of FHIR Subscription:
# https://www.hl7.org/fhir/subscription.html.
# Corresponds to the JSON property `subscriptionConfig`
# @return [Google::Apis::HealthcareV1alpha2::SubscriptionConfig]
attr_accessor :subscription_config
# This structure contains the configuration for FHIR profiles and validation.
# Corresponds to the JSON property `validationConfig`
# @return [Google::Apis::HealthcareV1alpha2::ValidationConfig]
attr_accessor :validation_config
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -964,6 +975,8 @@ module Google
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@notification_config = args[:notification_config] if args.key?(:notification_config) @notification_config = args[:notification_config] if args.key?(:notification_config)
@stream_configs = args[:stream_configs] if args.key?(:stream_configs) @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
@subscription_config = args[:subscription_config] if args.key?(:subscription_config)
@validation_config = args[:validation_config] if args.key?(:validation_config)
end end
end end
@ -2707,6 +2720,65 @@ module Google
end end
end end
# Configuration of FHIR Subscription:
# https://www.hl7.org/fhir/subscription.html.
class SubscriptionConfig
include Google::Apis::Core::Hashable
# REST hook endpoints that are allowed to receive subscription notifications.
# The create or update operation on a FHIR Subscription resource will fail if
# the FHIR Subscription resource contains a REST hook endpoint that is not in
# this list.
# A subscription notification push will fail if the FHIR Subscription
# resource contains a REST hook endpoint that is not in this list.
# The REST hook endpoint in a subscription resource will be compared with the
# endpoints in this list by exact matching.
# Users must verify their ownership of the domain of an endpoint before
# adding it to this list. To verify domain ownership, go to
# https://search.google.com/search-console/welcome.
# Corresponds to the JSON property `allowedRestHookEndpoints`
# @return [Array<Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint>]
attr_accessor :allowed_rest_hook_endpoints
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_rest_hook_endpoints = args[:allowed_rest_hook_endpoints] if args.key?(:allowed_rest_hook_endpoints)
end
end
# REST hook endpoint of FHIR Subscription.
class SubscriptionRestHookEndpoint
include Google::Apis::Core::Hashable
# Whether this endpoint is allowed to receive full resource payloads. If set
# to false, the subscription notificiation sending to this endpoint with full
# resource payload will be blocked.
# Corresponds to the JSON property `allowResourcePayload`
# @return [Boolean]
attr_accessor :allow_resource_payload
alias_method :allow_resource_payload?, :allow_resource_payload
# Address of the REST hook endpoint. It must be a valid HTTPS URL with TLS
# certificate.
# Corresponds to the JSON property `endpoint`
# @return [String]
attr_accessor :endpoint
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allow_resource_payload = args[:allow_resource_payload] if args.key?(:allow_resource_payload)
@endpoint = args[:endpoint] if args.key?(:endpoint)
end
end
# List of tags to be filtered. # List of tags to be filtered.
class TagFilterList class TagFilterList
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2798,6 +2870,41 @@ module Google
end end
end end
# This structure contains the configuration for FHIR profiles and validation.
class ValidationConfig
include Google::Apis::Core::Hashable
# Whether profile validation should be disabled for this FHIR store. Set
# this to true to disable checking incoming resources for conformance
# against StructureDefinitions in this FHIR store.
# Corresponds to the JSON property `disableProfileValidation`
# @return [Boolean]
attr_accessor :disable_profile_validation
alias_method :disable_profile_validation?, :disable_profile_validation
# A list of ImplementationGuide IDs in this FHIR store that will be used to
# configure which profiles are used for validation. For example, to enable
# an implementation guide with ID 1 set `enabled_implementation_guides` to
# `["1"]`. If `enabled_implementation_guides` is empty or omitted then
# incoming resources will only be required to conform to the base FHIR
# profiles. Otherwise, a resource must conform to at least one profile
# listed in the `global` property of one of the enabled
# ImplementationGuides.
# Corresponds to the JSON property `enabledImplementationGuides`
# @return [Array<String>]
attr_accessor :enabled_implementation_guides
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disable_profile_validation = args[:disable_profile_validation] if args.key?(:disable_profile_validation)
@enabled_implementation_guides = args[:enabled_implementation_guides] if args.key?(:enabled_implementation_guides)
end
end
# A 2D coordinate in an image. The origin is the top-left. # A 2D coordinate in an image. The origin is the top-left.
class Vertex class Vertex
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -502,6 +502,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SubscriptionConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SubscriptionRestHookEndpoint
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TagFilterList class TagFilterList
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -526,6 +538,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ValidationConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Vertex class Vertex
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -779,6 +797,10 @@ module Google
collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1alpha2::StreamConfig, decorator: Google::Apis::HealthcareV1alpha2::StreamConfig::Representation collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1alpha2::StreamConfig, decorator: Google::Apis::HealthcareV1alpha2::StreamConfig::Representation
property :subscription_config, as: 'subscriptionConfig', class: Google::Apis::HealthcareV1alpha2::SubscriptionConfig, decorator: Google::Apis::HealthcareV1alpha2::SubscriptionConfig::Representation
property :validation_config, as: 'validationConfig', class: Google::Apis::HealthcareV1alpha2::ValidationConfig, decorator: Google::Apis::HealthcareV1alpha2::ValidationConfig::Representation
end end
end end
@ -1250,6 +1272,22 @@ module Google
end end
end end
class SubscriptionConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_rest_hook_endpoints, as: 'allowedRestHookEndpoints', class: Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint, decorator: Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint::Representation
end
end
class SubscriptionRestHookEndpoint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allow_resource_payload, as: 'allowResourcePayload'
property :endpoint, as: 'endpoint'
end
end
class TagFilterList class TagFilterList
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1280,6 +1318,14 @@ module Google
end end
end end
class ValidationConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_profile_validation, as: 'disableProfileValidation'
collection :enabled_implementation_guides, as: 'enabledImplementationGuides'
end
end
class Vertex class Vertex
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/tasks/firstapp # @see https://developers.google.com/google-apps/tasks/firstapp
module TasksV1 module TasksV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190222' REVISION = '20190628'
# Create, edit, organize, and delete all your tasks # Create, edit, organize, and delete all your tasks
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks' AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'

View File

@ -38,7 +38,10 @@ module Google
attr_accessor :deleted attr_accessor :deleted
alias_method :deleted?, :deleted alias_method :deleted?, :deleted
# Due date of the task (as a RFC 3339 timestamp). Optional. # Due date of the task (as a RFC 3339 timestamp). Optional. The due date only
# records date information; the time portion of the timestamp is discarded when
# setting the due date. It isn't possible to read or write the time that a task
# is due via the API.
# Corresponds to the JSON property `due` # Corresponds to the JSON property `due`
# @return [DateTime] # @return [DateTime]
attr_accessor :due attr_accessor :due

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/ # @see https://cloud.google.com/text-to-speech/
module TexttospeechV1 module TexttospeechV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190621' REVISION = '20190628'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -31,7 +31,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :audio_encoding attr_accessor :audio_encoding
# Input only. Optional. An identifier which selects 'audio effects' profiles # Optional. Input only. An identifier which selects 'audio effects' profiles
# that are applied on (post synthesized) text to speech. Effects are applied # that are applied on (post synthesized) text to speech. Effects are applied
# on top of each other in the order they are given. See # on top of each other in the order they are given. See
# [audio # [audio
@ -41,7 +41,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :effects_profile_id attr_accessor :effects_profile_id
# Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means # Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means
# increase 20 semitones from the original pitch. -20 means decrease 20 # increase 20 semitones from the original pitch. -20 means decrease 20
# semitones from the original pitch. # semitones from the original pitch.
# Corresponds to the JSON property `pitch` # Corresponds to the JSON property `pitch`
@ -59,7 +59,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :sample_rate_hertz attr_accessor :sample_rate_hertz
# Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is # Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
# the normal native speed supported by the specific voice. 2.0 is twice as # the normal native speed supported by the specific voice. 2.0 is twice as
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 # fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
# speed. Any other values < 0.25 or > 4.0 will return an error. # speed. Any other values < 0.25 or > 4.0 will return an error.
@ -67,7 +67,7 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :speaking_rate attr_accessor :speaking_rate
# Input only. Optional. Volume gain (in dB) of the normal native volume # Optional. Input only. Volume gain (in dB) of the normal native volume
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or # supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A # set to a value of 0.0 (dB), will play at normal native signal amplitude. A
# value of -6.0 (dB) will play at approximately half the amplitude of the # value of -6.0 (dB) will play at approximately half the amplitude of the

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/text-to-speech/ # @see https://cloud.google.com/text-to-speech/
module TexttospeechV1beta1 module TexttospeechV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20190621' REVISION = '20190628'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -31,7 +31,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :audio_encoding attr_accessor :audio_encoding
# Input only. Optional. An identifier which selects 'audio effects' profiles # Optional. Input only. An identifier which selects 'audio effects' profiles
# that are applied on (post synthesized) text to speech. Effects are applied # that are applied on (post synthesized) text to speech. Effects are applied
# on top of each other in the order they are given. See # on top of each other in the order they are given. See
# [audio # [audio
@ -41,7 +41,7 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :effects_profile_id attr_accessor :effects_profile_id
# Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means # Optional. Input only. Speaking pitch, in the range [-20.0, 20.0]. 20 means
# increase 20 semitones from the original pitch. -20 means decrease 20 # increase 20 semitones from the original pitch. -20 means decrease 20
# semitones from the original pitch. # semitones from the original pitch.
# Corresponds to the JSON property `pitch` # Corresponds to the JSON property `pitch`
@ -59,7 +59,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :sample_rate_hertz attr_accessor :sample_rate_hertz
# Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is # Optional. Input only. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
# the normal native speed supported by the specific voice. 2.0 is twice as # the normal native speed supported by the specific voice. 2.0 is twice as
# fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 # fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
# speed. Any other values < 0.25 or > 4.0 will return an error. # speed. Any other values < 0.25 or > 4.0 will return an error.
@ -67,7 +67,7 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :speaking_rate attr_accessor :speaking_rate
# Input only. Optional. Volume gain (in dB) of the normal native volume # Optional. Input only. Volume gain (in dB) of the normal native volume
# supported by the specific voice, in the range [-96.0, 16.0]. If unset, or # supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
# set to a value of 0.0 (dB), will play at normal native signal amplitude. A # set to a value of 0.0 (dB), will play at normal native signal amplitude. A
# value of -6.0 (dB) will play at approximately half the amplitude of the # value of -6.0 (dB) will play at approximately half the amplitude of the

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/ # @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3 module ToolresultsV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20190617' REVISION = '20190701'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190617' REVISION = '20190701'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'