Autogenerated update (2020-02-25)

Update:
- binaryauthorization_v1
- binaryauthorization_v1beta1
- cloudsearch_v1
- cloudshell_v1
- cloudshell_v1alpha1
- cloudtrace_v1
- cloudtrace_v2
- cloudtrace_v2beta1
- datacatalog_v1beta1
- docs_v1
- firebasehosting_v1beta1
- texttospeech_v1
- texttospeech_v1beta1
- toolresults_v1
- translate_v3beta1
- websecurityscanner_v1
- websecurityscanner_v1beta
This commit is contained in:
Google APIs 2020-02-25 00:37:26 +00:00
parent 310180bdec
commit 4dabe8b08a
29 changed files with 69 additions and 105 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1
VERSION = 'V1'
REVISION = '20200210'
REVISION = '20200214'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1
VERSION = 'V1beta1'
REVISION = '20200210'
REVISION = '20200214'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-search/docs/guides/
module CloudsearchV1
VERSION = 'V1'
REVISION = '20200117'
REVISION = '20200212'
# Index and serve your organization's data with Cloud Search
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'

View File

@ -284,7 +284,6 @@ module Google
# specific item, as users need to have ACL permissions on the contained
# items. This ensures a high level access on the entire datasource, and
# that the individual items are not shared outside this visibility.
# This should not be set if anonymous search is enabled for the data source.
# Corresponds to the JSON property `itemsVisibility`
# @return [Array<Google::Apis::CloudsearchV1::GSuitePrincipal>]
attr_accessor :items_visibility
@ -3023,7 +3022,6 @@ module Google
# property. Only supported for Text properties. IsReturnable must be true to
# set this option. In a given datasource maximum of 5 properties can be
# marked as is_wildcard_searchable.
# Note: This is an alpha feature and is enabled for whitelisted users only.
# Corresponds to the JSON property `isWildcardSearchable`
# @return [Boolean]
attr_accessor :is_wildcard_searchable

View File

@ -890,6 +890,10 @@ module Google
# G Suite Apps, such as Gmail or Google Drive, or they can come from data
# that you have indexed from a third party.
# **Note:** This API requires a standard end user account to execute.
# A service account can't perform Query API requests directly; to use a
# service account to perform queries, set up [G Suite domain-wide delegation
# of
# authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
# @param [Google::Apis::CloudsearchV1::SearchRequest] search_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -921,6 +925,10 @@ module Google
# Provides suggestions for autocompleting the query.
# **Note:** This API requires a standard end user account to execute.
# A service account can't perform Query API requests directly; to use a
# service account to perform queries, set up [G Suite domain-wide delegation
# of
# authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
# @param [Google::Apis::CloudsearchV1::SuggestRequest] suggest_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -952,6 +960,10 @@ module Google
# Returns list of sources that user can use for Search and Suggest APIs.
# **Note:** This API requires a standard end user account to execute.
# A service account can't perform Query API requests directly; to use a
# service account to perform queries, set up [G Suite domain-wide delegation
# of
# authority](https://developers.google.com/cloud-search/docs/guides/delegation/).
# @param [String] page_token
# Number of sources to return in the response.
# @param [Boolean] request_options_debug_options_enable_debugging

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/
module CloudshellV1
VERSION = 'V1'
REVISION = '20200213'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/shell/docs/
module CloudshellV1alpha1
VERSION = 'V1alpha1'
REVISION = '20200213'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV1
VERSION = 'V1'
REVISION = '20200203'
REVISION = '20200218'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2
VERSION = 'V2'
REVISION = '20200203'
REVISION = '20200218'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2beta1
VERSION = 'V2beta1'
REVISION = '20200212'
REVISION = '20200218'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/data-catalog/docs/
module DatacatalogV1beta1
VERSION = 'V1beta1'
REVISION = '20200211'
REVISION = '20200218'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -781,33 +781,6 @@ module Google
end
end
# Response message for
# ListEntryGroups.
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
include Google::Apis::Core::Hashable
# EntryGroup details.
# Corresponds to the JSON property `entryGroups`
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup>]
attr_accessor :entry_groups
# Token to retrieve the next page of results. It is set to empty if no items
# remain in results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@entry_groups = args[:entry_groups] if args.key?(:entry_groups)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message for
# ListPolicyTags.
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse

View File

@ -142,12 +142,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -490,15 +484,6 @@ module Google
end
end
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :entry_groups, as: 'entryGroups', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -303,49 +303,6 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists entry groups.
# @param [String] parent
# Required. The name of the location that contains the entry groups, which can
# be
# provided in URL format. Example:
# * projects/`project_id`/locations/`location`
# @param [Fixnum] page_size
# Optional. The maximum number of items to return. Default is 10. Max limit is
# 1000.
# Throws an invalid argument for `page_size > 1000`.
# @param [String] page_token
# Optional. Token that specifies which page is requested. If empty, the first
# page is
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_entry_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+parent}/entryGroups', options)
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse::Representation
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Updates an EntryGroup. The user should enable the Data Catalog API in the
# project identified by the `entry_group.name` parameter (see [Data Catalog
# Resource Project] (/data-catalog/docs/concepts/resource-project) for more

View File

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

View File

@ -1237,6 +1237,18 @@ module Google
attr_accessor :margin_bottom_suggested
alias_method :margin_bottom_suggested?, :margin_bottom_suggested
# Indicates if there was a suggested change to margin_footer.
# Corresponds to the JSON property `marginFooterSuggested`
# @return [Boolean]
attr_accessor :margin_footer_suggested
alias_method :margin_footer_suggested?, :margin_footer_suggested
# Indicates if there was a suggested change to margin_header.
# Corresponds to the JSON property `marginHeaderSuggested`
# @return [Boolean]
attr_accessor :margin_header_suggested
alias_method :margin_header_suggested?, :margin_header_suggested
# Indicates if there was a suggested change to margin_left.
# Corresponds to the JSON property `marginLeftSuggested`
# @return [Boolean]
@ -1269,6 +1281,13 @@ module Google
# @return [Google::Apis::DocsV1::SizeSuggestionState]
attr_accessor :page_size_suggestion_state
# Indicates if there was a suggested change to
# use_custom_header_footer_margins.
# Corresponds to the JSON property `useCustomHeaderFooterMarginsSuggested`
# @return [Boolean]
attr_accessor :use_custom_header_footer_margins_suggested
alias_method :use_custom_header_footer_margins_suggested?, :use_custom_header_footer_margins_suggested
# Indicates if there was a suggested change to use_even_page_header_footer.
# Corresponds to the JSON property `useEvenPageHeaderFooterSuggested`
# @return [Boolean]
@ -1295,11 +1314,14 @@ module Google
@first_page_footer_id_suggested = args[:first_page_footer_id_suggested] if args.key?(:first_page_footer_id_suggested)
@first_page_header_id_suggested = args[:first_page_header_id_suggested] if args.key?(:first_page_header_id_suggested)
@margin_bottom_suggested = args[:margin_bottom_suggested] if args.key?(:margin_bottom_suggested)
@margin_footer_suggested = args[:margin_footer_suggested] if args.key?(:margin_footer_suggested)
@margin_header_suggested = args[:margin_header_suggested] if args.key?(:margin_header_suggested)
@margin_left_suggested = args[:margin_left_suggested] if args.key?(:margin_left_suggested)
@margin_right_suggested = args[:margin_right_suggested] if args.key?(:margin_right_suggested)
@margin_top_suggested = args[:margin_top_suggested] if args.key?(:margin_top_suggested)
@page_number_start_suggested = args[:page_number_start_suggested] if args.key?(:page_number_start_suggested)
@page_size_suggestion_state = args[:page_size_suggestion_state] if args.key?(:page_size_suggestion_state)
@use_custom_header_footer_margins_suggested = args[:use_custom_header_footer_margins_suggested] if args.key?(:use_custom_header_footer_margins_suggested)
@use_even_page_header_footer_suggested = args[:use_even_page_header_footer_suggested] if args.key?(:use_even_page_header_footer_suggested)
@use_first_page_header_footer_suggested = args[:use_first_page_header_footer_suggested] if args.key?(:use_first_page_header_footer_suggested)
end

View File

@ -1238,12 +1238,15 @@ module Google
property :first_page_footer_id_suggested, as: 'firstPageFooterIdSuggested'
property :first_page_header_id_suggested, as: 'firstPageHeaderIdSuggested'
property :margin_bottom_suggested, as: 'marginBottomSuggested'
property :margin_footer_suggested, as: 'marginFooterSuggested'
property :margin_header_suggested, as: 'marginHeaderSuggested'
property :margin_left_suggested, as: 'marginLeftSuggested'
property :margin_right_suggested, as: 'marginRightSuggested'
property :margin_top_suggested, as: 'marginTopSuggested'
property :page_number_start_suggested, as: 'pageNumberStartSuggested'
property :page_size_suggestion_state, as: 'pageSizeSuggestionState', class: Google::Apis::DocsV1::SizeSuggestionState, decorator: Google::Apis::DocsV1::SizeSuggestionState::Representation
property :use_custom_header_footer_margins_suggested, as: 'useCustomHeaderFooterMarginsSuggested'
property :use_even_page_header_footer_suggested, as: 'useEvenPageHeaderFooterSuggested'
property :use_first_page_header_footer_suggested, as: 'useFirstPageHeaderFooterSuggested'
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://firebase.google.com/docs/hosting/
module FirebasehostingV1beta1
VERSION = 'V1beta1'
REVISION = '20200217'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

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

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1
VERSION = 'V1'
REVISION = '20200217'
REVISION = '20200224'
end
end
end

View File

@ -43,7 +43,7 @@ module Google
attr_accessor :quota_user
def initialize
super('https://toolresults.googleapis.com/', '')
super('https://www.googleapis.com/', '')
@batch_path = 'batch'
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/translate/docs/quickstarts
module TranslateV3beta1
VERSION = 'V3beta1'
REVISION = '20190924'
REVISION = '20200221'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

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

View File

@ -213,6 +213,11 @@ module Google
# @return [String]
attr_accessor :reproduction_url
# Output only. The severity level of the reported vulnerability.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity
# Output only. The tracking ID uniquely identifies a vulnerability instance
# across
# multiple ScanRuns.
@ -258,6 +263,7 @@ module Google
@name = args[:name] if args.key?(:name)
@outdated_library = args[:outdated_library] if args.key?(:outdated_library)
@reproduction_url = args[:reproduction_url] if args.key?(:reproduction_url)
@severity = args[:severity] if args.key?(:severity)
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
@violating_resource = args[:violating_resource] if args.key?(:violating_resource)
@vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)

View File

@ -248,6 +248,7 @@ module Google
property :outdated_library, as: 'outdatedLibrary', class: Google::Apis::WebsecurityscannerV1::OutdatedLibrary, decorator: Google::Apis::WebsecurityscannerV1::OutdatedLibrary::Representation
property :reproduction_url, as: 'reproductionUrl'
property :severity, as: 'severity'
property :tracking_id, as: 'trackingId'
property :violating_resource, as: 'violatingResource', class: Google::Apis::WebsecurityscannerV1::ViolatingResource, decorator: Google::Apis::WebsecurityscannerV1::ViolatingResource::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-scanner/
module WebsecurityscannerV1beta
VERSION = 'V1beta'
REVISION = '20200210'
REVISION = '20200224'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -208,6 +208,11 @@ module Google
# @return [String]
attr_accessor :reproduction_url
# The severity level of the reported vulnerability.
# Corresponds to the JSON property `severity`
# @return [String]
attr_accessor :severity
# The tracking ID uniquely identifies a vulnerability instance across
# multiple ScanRuns.
# Corresponds to the JSON property `trackingId`
@ -252,6 +257,7 @@ module Google
@name = args[:name] if args.key?(:name)
@outdated_library = args[:outdated_library] if args.key?(:outdated_library)
@reproduction_url = args[:reproduction_url] if args.key?(:reproduction_url)
@severity = args[:severity] if args.key?(:severity)
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
@violating_resource = args[:violating_resource] if args.key?(:violating_resource)
@vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)

View File

@ -248,6 +248,7 @@ module Google
property :outdated_library, as: 'outdatedLibrary', class: Google::Apis::WebsecurityscannerV1beta::OutdatedLibrary, decorator: Google::Apis::WebsecurityscannerV1beta::OutdatedLibrary::Representation
property :reproduction_url, as: 'reproductionUrl'
property :severity, as: 'severity'
property :tracking_id, as: 'trackingId'
property :violating_resource, as: 'violatingResource', class: Google::Apis::WebsecurityscannerV1beta::ViolatingResource, decorator: Google::Apis::WebsecurityscannerV1beta::ViolatingResource::Representation