Autogenerated update (2019-02-20)
Update: - adexchangebuyer2_v2beta1 - admin_directory_v1 - alertcenter_v1beta1 - androidmanagement_v1 - appengine_v1 - appengine_v1beta - bigquery_v2 - bigquerydatatransfer_v1 - binaryauthorization_v1beta1 - cloudsearch_v1 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - composer_v1 - composer_v1beta1 - compute_alpha - compute_beta - container_v1beta1 - content_v2 - content_v2_1 - dataflow_v1b3 - dfareporting_v3_3 - dialogflow_v2 - dialogflow_v2beta1 - dlp_v2 - docs_v1 - firebasedynamiclinks_v1 - fitness_v1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - jobs_v3p1beta1 - monitoring_v3 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - serviceconsumermanagement_v1 - servicecontrol_v1 - servicemanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - speech_v1 - speech_v1p1beta1 - sqladmin_v1beta4 - storage_v1 - testing_v1 - toolresults_v1beta3 - tpu_v1 - tpu_v1alpha1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - youtube_partner_v1
This commit is contained in:
1 parent
6e90789b27
commit
e6ea6069c9
130 files changed
+16824
-538
No files matched your search
@@ -147,13 +147,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Data source is a logical namespace for items to be indexed.
|
||||
# All items must belong to a data source. This is the prerequisite before
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
class DataSource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If true, Indexing API rejects any modification calls to this data source
|
||||
# If true, Indexing API rejects any modification calls to this datasource
|
||||
# such as create, update, and delete.
|
||||
# Disabling this does not imply halting process of previously
|
||||
# accepted data.
|
||||
@@ -168,7 +168,7 @@ module Google
|
||||
attr_accessor :disable_serving
|
||||
alias_method :disable_serving?, :disable_serving
|
||||
|
||||
# Required. Display name of the data source
|
||||
# Required. Display name of the datasource
|
||||
# The maximum length is 300 characters.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
@@ -179,19 +179,19 @@ module Google
|
||||
# @return [Array<String>]
|
||||
attr_accessor :indexing_service_accounts
|
||||
|
||||
# This restricts visibility to items at a data source level to the
|
||||
# disjunction of users/groups mentioned with the field. Note that, this
|
||||
# does not ensure access to a specific item, as users need to have ACL
|
||||
# permissions on the contained items. This ensures a high level access
|
||||
# on the entire data source, and that the individual items are not shared
|
||||
# outside this visibility.
|
||||
# This field restricts visibility to items at the datasource level. Items
|
||||
# within the datasource are restricted to the union of users and groups
|
||||
# included in this field. Note that, this does not ensure access to a
|
||||
# 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.
|
||||
# Corresponds to the JSON property `itemsVisibility`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::GSuitePrincipal>]
|
||||
attr_accessor :items_visibility
|
||||
|
||||
# Name of the data source resource.
|
||||
# Name of the datasource resource.
|
||||
# Format: datasources/`source_id`.
|
||||
# <br />The name is ignored when creating a data source.
|
||||
# <br />The name is ignored when creating a datasource.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
@@ -204,7 +204,7 @@ module Google
|
||||
# A short name or alias for the source. This value will be used to match the
|
||||
# 'source' operator. For example, if the short name is *<value>* then
|
||||
# queries like *source:<value>* will only return results for this
|
||||
# source. The value must be unique across all data sources. The value must
|
||||
# source. The value must be unique across all datasources. The value must
|
||||
# only contain alphanumeric characters (a-zA-Z0-9). The value cannot start
|
||||
# with 'google' and cannot be one of the following: mail, gmail, docs, drive,
|
||||
# groups, sites, calendar, hangouts, gplus, keep, people, teams.
|
||||
@@ -1070,8 +1070,8 @@ module Google
|
||||
class FreshnessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The duration (in seconds) after which an object should be considered
|
||||
# stale.
|
||||
# The duration after which an object should be considered
|
||||
# stale. The default value is 180 days (in seconds).
|
||||
# Corresponds to the JSON property `freshnessDuration`
|
||||
# @return [String]
|
||||
attr_accessor :freshness_duration
|
||||
@@ -1087,6 +1087,8 @@ module Google
|
||||
# updateTime
|
||||
# as the freshness indicator.
|
||||
# The maximum length is 256 characters.
|
||||
# When a property is used to calculate fresheness, the value defaults
|
||||
# to 2 years from the current time.
|
||||
# Corresponds to the JSON property `freshnessProperty`
|
||||
# @return [String]
|
||||
attr_accessor :freshness_property
|
||||
@@ -1173,6 +1175,101 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Action restricts (i.e. read/replied/snoozed).
|
||||
class GmailActionRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
|
||||
class GmailAttachmentRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
|
||||
class GmailFolderRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Intelligent restricts (i.e. smartlabels, important).
|
||||
class GmailIntelligentRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Time restricts (i.e. received today, this week).
|
||||
class GmailTimeRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Used to provide a search operator for html properties. This is optional.
|
||||
# Search operators let users restrict the query to specific fields relevant
|
||||
# to the type of item being searched.
|
||||
@@ -2087,7 +2184,10 @@ module Google
|
||||
# @return [Google::Apis::CloudsearchV1::Source]
|
||||
attr_accessor :source
|
||||
|
||||
# The last modified date for the object in the search result.
|
||||
# The last modified date for the object in the search result. If not
|
||||
# set in the item, the value returned here is empty. When
|
||||
# `updateTime` is used for calculating freshness and is not set, this
|
||||
# value defaults to 2 years from the current time.
|
||||
# Corresponds to the JSON property `updateTime`
|
||||
# @return [String]
|
||||
attr_accessor :update_time
|
||||
@@ -3293,7 +3393,7 @@ module Google
|
||||
end
|
||||
|
||||
# Information relevant only to a restrict entry.
|
||||
# NextId: 7
|
||||
# NextId: 12
|
||||
class RestrictItem
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -3317,6 +3417,31 @@ module Google
|
||||
# @return [Google::Apis::CloudsearchV1::DriveTimeSpanRestrict]
|
||||
attr_accessor :drive_time_span_restrict
|
||||
|
||||
# Gmail Action restricts (i.e. read/replied/snoozed).
|
||||
# Corresponds to the JSON property `gmailActionRestrict`
|
||||
# @return [Google::Apis::CloudsearchV1::GmailActionRestrict]
|
||||
attr_accessor :gmail_action_restrict
|
||||
|
||||
# Gmail Attachment restricts (i.e. has:attachment, has:drive, filename:pdf).
|
||||
# Corresponds to the JSON property `gmailAttachmentRestrict`
|
||||
# @return [Google::Apis::CloudsearchV1::GmailAttachmentRestrict]
|
||||
attr_accessor :gmail_attachment_restrict
|
||||
|
||||
# Gmail Folder restricts (i.e. in Drafts/Sent/Chats/User Generated Labels).
|
||||
# Corresponds to the JSON property `gmailFolderRestrict`
|
||||
# @return [Google::Apis::CloudsearchV1::GmailFolderRestrict]
|
||||
attr_accessor :gmail_folder_restrict
|
||||
|
||||
# Gmail Intelligent restricts (i.e. smartlabels, important).
|
||||
# Corresponds to the JSON property `gmailIntelligentRestrict`
|
||||
# @return [Google::Apis::CloudsearchV1::GmailIntelligentRestrict]
|
||||
attr_accessor :gmail_intelligent_restrict
|
||||
|
||||
# Gmail Time restricts (i.e. received today, this week).
|
||||
# Corresponds to the JSON property `gmailTimeRestrict`
|
||||
# @return [Google::Apis::CloudsearchV1::GmailTimeRestrict]
|
||||
attr_accessor :gmail_time_restrict
|
||||
|
||||
# The search restrict (e.g. "after:2017-09-11 before:2017-09-12").
|
||||
# Corresponds to the JSON property `searchOperator`
|
||||
# @return [String]
|
||||
@@ -3332,6 +3457,11 @@ module Google
|
||||
@drive_location_restrict = args[:drive_location_restrict] if args.key?(:drive_location_restrict)
|
||||
@drive_mime_type_restrict = args[:drive_mime_type_restrict] if args.key?(:drive_mime_type_restrict)
|
||||
@drive_time_span_restrict = args[:drive_time_span_restrict] if args.key?(:drive_time_span_restrict)
|
||||
@gmail_action_restrict = args[:gmail_action_restrict] if args.key?(:gmail_action_restrict)
|
||||
@gmail_attachment_restrict = args[:gmail_attachment_restrict] if args.key?(:gmail_attachment_restrict)
|
||||
@gmail_folder_restrict = args[:gmail_folder_restrict] if args.key?(:gmail_folder_restrict)
|
||||
@gmail_intelligent_restrict = args[:gmail_intelligent_restrict] if args.key?(:gmail_intelligent_restrict)
|
||||
@gmail_time_restrict = args[:gmail_time_restrict] if args.key?(:gmail_time_restrict)
|
||||
@search_operator = args[:search_operator] if args.key?(:search_operator)
|
||||
end
|
||||
end
|
||||
@@ -3664,7 +3794,8 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An indication of the quality of the item, used to influence search quality.
|
||||
# Value should be between 0.0 (lowest quality) and 1.0 (highest quality).
|
||||
# Value should be between 0.0 (lowest quality) and 1.0 (highest quality). The
|
||||
# default value is 0.0.
|
||||
# Corresponds to the JSON property `quality`
|
||||
# @return [Float]
|
||||
attr_accessor :quality
|
||||
@@ -4606,8 +4737,8 @@ module Google
|
||||
# @return [Google::Apis::CloudsearchV1::DebugOptions]
|
||||
attr_accessor :debug_options
|
||||
|
||||
# Data source is a logical namespace for items to be indexed.
|
||||
# All items must belong to a data source. This is the prerequisite before
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [Google::Apis::CloudsearchV1::DataSource]
|
||||
|
||||
@@ -256,6 +256,36 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailActionRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailAttachmentRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailFolderRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailIntelligentRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailTimeRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HtmlOperatorOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1175,6 +1205,41 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GmailActionRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GmailAttachmentRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GmailFolderRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GmailIntelligentRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class GmailTimeRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class HtmlOperatorOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1760,6 +1825,16 @@ module Google
|
||||
|
||||
property :drive_time_span_restrict, as: 'driveTimeSpanRestrict', class: Google::Apis::CloudsearchV1::DriveTimeSpanRestrict, decorator: Google::Apis::CloudsearchV1::DriveTimeSpanRestrict::Representation
|
||||
|
||||
property :gmail_action_restrict, as: 'gmailActionRestrict', class: Google::Apis::CloudsearchV1::GmailActionRestrict, decorator: Google::Apis::CloudsearchV1::GmailActionRestrict::Representation
|
||||
|
||||
property :gmail_attachment_restrict, as: 'gmailAttachmentRestrict', class: Google::Apis::CloudsearchV1::GmailAttachmentRestrict, decorator: Google::Apis::CloudsearchV1::GmailAttachmentRestrict::Representation
|
||||
|
||||
property :gmail_folder_restrict, as: 'gmailFolderRestrict', class: Google::Apis::CloudsearchV1::GmailFolderRestrict, decorator: Google::Apis::CloudsearchV1::GmailFolderRestrict::Representation
|
||||
|
||||
property :gmail_intelligent_restrict, as: 'gmailIntelligentRestrict', class: Google::Apis::CloudsearchV1::GmailIntelligentRestrict, decorator: Google::Apis::CloudsearchV1::GmailIntelligentRestrict::Representation
|
||||
|
||||
property :gmail_time_restrict, as: 'gmailTimeRestrict', class: Google::Apis::CloudsearchV1::GmailTimeRestrict, decorator: Google::Apis::CloudsearchV1::GmailTimeRestrict::Representation
|
||||
|
||||
property :search_operator, as: 'searchOperator'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -949,7 +949,7 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates data source.
|
||||
# Creates a datasource.
|
||||
# @param [Google::Apis::CloudsearchV1::DataSource] data_source_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -979,9 +979,9 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a data source.
|
||||
# Deletes a datasource.
|
||||
# @param [String] name
|
||||
# Name of the data source.
|
||||
# Name of the datasource.
|
||||
# Format: datasources/`source_id`.
|
||||
# @param [Boolean] debug_options_enable_debugging
|
||||
# If set, the request will enable debugging features of Cloud Search.
|
||||
@@ -1014,9 +1014,9 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets a data source.
|
||||
# Gets a datasource.
|
||||
# @param [String] name
|
||||
# Name of the data source resource.
|
||||
# Name of the datasource resource.
|
||||
# Format: datasources/`source_id`.
|
||||
# @param [Boolean] debug_options_enable_debugging
|
||||
# If set, the request will enable debugging features of Cloud Search.
|
||||
@@ -1049,12 +1049,12 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists data sources.
|
||||
# Lists datasources.
|
||||
# @param [Boolean] debug_options_enable_debugging
|
||||
# If set, the request will enable debugging features of Cloud Search.
|
||||
# Only turn on this field, if asked by Google to help with debugging.
|
||||
# @param [Fixnum] page_size
|
||||
# Maximum number of data sources to fetch in a request.
|
||||
# Maximum number of datasources to fetch in a request.
|
||||
# The max value is 100.
|
||||
# <br />The default value is 10
|
||||
# @param [String] page_token
|
||||
@@ -1088,11 +1088,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a data source.
|
||||
# Updates a datasource.
|
||||
# @param [String] name
|
||||
# Name of the data source resource.
|
||||
# Name of the datasource resource.
|
||||
# Format: datasources/`source_id`.
|
||||
# <br />The name is ignored when creating a data source.
|
||||
# <br />The name is ignored when creating a datasource.
|
||||
# @param [Google::Apis::CloudsearchV1::UpdateDataSourceRequest] update_data_source_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
Reference in new issue
Block a user