Autogenerated update (2019-10-02)
Update: - calendar_v3 - cloudasset_v1 - cloudasset_v1beta1 - cloudsearch_v1 - doubleclickbidmanager_v1 - fcm_v1 - speech_v1p1beta1 - storage_v1beta1 - storage_v1beta2 - vision_v1p1beta1 - vision_v1p2beta1
This commit is contained in:
parent
d6557dee8e
commit
5b2bdc6342
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20190910'
|
||||
REVISION = '20190929'
|
||||
|
||||
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -829,6 +829,7 @@ module Google
|
|||
# - "eventNamedHangout" for classic Hangouts for G Suite users (http://hangouts.
|
||||
# google.com)
|
||||
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
||||
# - "addOn" for 3P conference providers
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||
module CloudassetV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190924'
|
||||
REVISION = '20190928'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -69,7 +69,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -1381,7 +1381,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -103,7 +103,7 @@ module Google
|
|||
# The request becomes a no-op if the asset name list is empty, and the max
|
||||
# size of the asset name list is 100 in one request.
|
||||
# @param [String] content_type
|
||||
# Required. The content type.
|
||||
# Optional. The content type.
|
||||
# @param [String] read_time_window_end_time
|
||||
# End time of the time window (inclusive).
|
||||
# Current timestamp if not specified.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
||||
module CloudassetV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190924'
|
||||
REVISION = '20190928'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -45,7 +45,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
@ -523,7 +523,7 @@ module Google
|
|||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "role/resourcemanager.organizationAdmin",
|
||||
# "role": "roles/resourcemanager.organizationAdmin",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
|
|
|
@ -139,7 +139,7 @@ module Google
|
|||
# The request becomes a no-op if the asset name list is empty, and the max
|
||||
# size of the asset name list is 100 in one request.
|
||||
# @param [String] content_type
|
||||
# Required. The content type.
|
||||
# Optional. The content type.
|
||||
# @param [String] read_time_window_end_time
|
||||
# End time of the time window (inclusive).
|
||||
# Current timestamp if not specified.
|
||||
|
@ -268,7 +268,7 @@ module Google
|
|||
# The request becomes a no-op if the asset name list is empty, and the max
|
||||
# size of the asset name list is 100 in one request.
|
||||
# @param [String] content_type
|
||||
# Required. The content type.
|
||||
# Optional. The content type.
|
||||
# @param [String] read_time_window_end_time
|
||||
# End time of the time window (inclusive).
|
||||
# Current timestamp if not specified.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-search/docs/guides/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190905'
|
||||
REVISION = '20190925'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -147,6 +147,105 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomerQueryStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `queryCountByStatus`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::QueryCountByStatus>]
|
||||
attr_accessor :query_count_by_status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@query_count_by_status = args[:query_count_by_status] if args.key?(:query_count_by_status)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomerSessionStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
# The count of search sessions on the day
|
||||
# Corresponds to the JSON property `searchSessionsCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :search_sessions_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@search_sessions_count = args[:search_sessions_count] if args.key?(:search_sessions_count)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomerUserStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
# The count of unique active users in the past one day
|
||||
# Corresponds to the JSON property `oneDayActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :one_day_active_users_count
|
||||
|
||||
# The count of unique active users in the past seven days
|
||||
# Corresponds to the JSON property `sevenDaysActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :seven_days_active_users_count
|
||||
|
||||
# The count of unique active users in the past thirty days
|
||||
# Corresponds to the JSON property `thirtyDaysActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :thirty_days_active_users_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@one_day_active_users_count = args[:one_day_active_users_count] if args.key?(:one_day_active_users_count)
|
||||
@seven_days_active_users_count = args[:seven_days_active_users_count] if args.key?(:seven_days_active_users_count)
|
||||
@thirty_days_active_users_count = args[:thirty_days_active_users_count] if args.key?(:thirty_days_active_users_count)
|
||||
end
|
||||
end
|
||||
|
||||
# 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.
|
||||
|
@ -1170,6 +1269,63 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetCustomerQueryStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::CustomerQueryStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetCustomerSessionStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::CustomerSessionStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetCustomerUserStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::CustomerUserStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetDataSourceIndexStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1189,6 +1345,63 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetSearchApplicationQueryStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetSearchApplicationSessionStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::SearchApplicationSessionStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class GetSearchApplicationUserStatsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `stats`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::SearchApplicationUserStats>]
|
||||
attr_accessor :stats
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@stats = args[:stats] if args.key?(:stats)
|
||||
end
|
||||
end
|
||||
|
||||
# Gmail Action restricts (i.e. read/replied/snoozed).
|
||||
class GmailActionRestrict
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3099,6 +3312,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class QueryCountByStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `count`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :count
|
||||
|
||||
# This represents the http status code.
|
||||
# Corresponds to the JSON property `statusCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :status_code
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@count = args[:count] if args.key?(:count)
|
||||
@status_code = args[:status_code] if args.key?(:status_code)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class QueryInterpretation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3116,6 +3354,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :interpreted_query
|
||||
|
||||
# The reason for interpretation of the query. This field will not be
|
||||
# UNSPECIFIED if the interpretation type is not NONE.
|
||||
# Corresponds to the JSON property `reason`
|
||||
# @return [String]
|
||||
attr_accessor :reason
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3124,6 +3368,7 @@ module Google
|
|||
def update!(**args)
|
||||
@interpretation_type = args[:interpretation_type] if args.key?(:interpretation_type)
|
||||
@interpreted_query = args[:interpreted_query] if args.key?(:interpreted_query)
|
||||
@reason = args[:reason] if args.key?(:reason)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -3139,6 +3384,15 @@ module Google
|
|||
attr_accessor :disable_nl_interpretation
|
||||
alias_method :disable_nl_interpretation?, :disable_nl_interpretation
|
||||
|
||||
# Enable this flag to turn off all internal optimizations like natural
|
||||
# language (NL) interpretation of queries, supplemental result retrieval,
|
||||
# and usage of synonyms including custom ones.
|
||||
# Nl interpretation will be disabled if either one of the two flags is true.
|
||||
# Corresponds to the JSON property `enableVerbatimMode`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_verbatim_mode
|
||||
alias_method :enable_verbatim_mode?, :enable_verbatim_mode
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3146,6 +3400,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disable_nl_interpretation = args[:disable_nl_interpretation] if args.key?(:disable_nl_interpretation)
|
||||
@enable_verbatim_mode = args[:enable_verbatim_mode] if args.key?(:enable_verbatim_mode)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -3769,6 +4024,105 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchApplicationQueryStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `queryCountByStatus`
|
||||
# @return [Array<Google::Apis::CloudsearchV1::QueryCountByStatus>]
|
||||
attr_accessor :query_count_by_status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@query_count_by_status = args[:query_count_by_status] if args.key?(:query_count_by_status)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchApplicationSessionStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
# The count of search sessions on the day
|
||||
# Corresponds to the JSON property `searchSessionsCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :search_sessions_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@search_sessions_count = args[:search_sessions_count] if args.key?(:search_sessions_count)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchApplicationUserStats
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a whole calendar date, for example a date of birth. The time of day
|
||||
# and time zone are either specified elsewhere or are not significant. The date
|
||||
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
||||
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
||||
# between the year 1 and 9999.
|
||||
# Corresponds to the JSON property `date`
|
||||
# @return [Google::Apis::CloudsearchV1::Date]
|
||||
attr_accessor :date
|
||||
|
||||
# The count of unique active users in the past one day
|
||||
# Corresponds to the JSON property `oneDayActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :one_day_active_users_count
|
||||
|
||||
# The count of unique active users in the past seven days
|
||||
# Corresponds to the JSON property `sevenDaysActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :seven_days_active_users_count
|
||||
|
||||
# The count of unique active users in the past thirty days
|
||||
# Corresponds to the JSON property `thirtyDaysActiveUsersCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :thirty_days_active_users_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@date = args[:date] if args.key?(:date)
|
||||
@one_day_active_users_count = args[:one_day_active_users_count] if args.key?(:one_day_active_users_count)
|
||||
@seven_days_active_users_count = args[:seven_days_active_users_count] if args.key?(:seven_days_active_users_count)
|
||||
@thirty_days_active_users_count = args[:thirty_days_active_users_count] if args.key?(:thirty_days_active_users_count)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchItemsByViewUrlRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -52,6 +52,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomerQueryStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomerSessionStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomerUserStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DataSource
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -250,12 +268,48 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetCustomerQueryStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetCustomerSessionStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetCustomerUserStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetDataSourceIndexStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetSearchApplicationQueryStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetSearchApplicationSessionStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetSearchApplicationUserStatsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GmailActionRestrict
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -556,6 +610,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class QueryCountByStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class QueryInterpretation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -676,6 +736,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchApplicationQueryStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchApplicationSessionStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchApplicationUserStats
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchItemsByViewUrlRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -921,6 +999,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CustomerQueryStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
collection :query_count_by_status, as: 'queryCountByStatus', class: Google::Apis::CloudsearchV1::QueryCountByStatus, decorator: Google::Apis::CloudsearchV1::QueryCountByStatus::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerSessionStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
property :search_sessions_count, :numeric_string => true, as: 'searchSessionsCount'
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerUserStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
property :one_day_active_users_count, :numeric_string => true, as: 'oneDayActiveUsersCount'
|
||||
property :seven_days_active_users_count, :numeric_string => true, as: 'sevenDaysActiveUsersCount'
|
||||
property :thirty_days_active_users_count, :numeric_string => true, as: 'thirtyDaysActiveUsersCount'
|
||||
end
|
||||
end
|
||||
|
||||
class DataSource
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1204,6 +1312,30 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GetCustomerQueryStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerQueryStats, decorator: Google::Apis::CloudsearchV1::CustomerQueryStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetCustomerSessionStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerSessionStats, decorator: Google::Apis::CloudsearchV1::CustomerSessionStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetCustomerUserStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerUserStats, decorator: Google::Apis::CloudsearchV1::CustomerUserStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetDataSourceIndexStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1212,6 +1344,30 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GetSearchApplicationQueryStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::SearchApplicationQueryStats, decorator: Google::Apis::CloudsearchV1::SearchApplicationQueryStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetSearchApplicationSessionStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::SearchApplicationSessionStats, decorator: Google::Apis::CloudsearchV1::SearchApplicationSessionStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GetSearchApplicationUserStatsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::SearchApplicationUserStats, decorator: Google::Apis::CloudsearchV1::SearchApplicationUserStats::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GmailActionRestrict
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1740,11 +1896,20 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class QueryCountByStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :count, :numeric_string => true, as: 'count'
|
||||
property :status_code, as: 'statusCode'
|
||||
end
|
||||
end
|
||||
|
||||
class QueryInterpretation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :interpretation_type, as: 'interpretationType'
|
||||
property :interpreted_query, as: 'interpretedQuery'
|
||||
property :reason, as: 'reason'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1752,6 +1917,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disable_nl_interpretation, as: 'disableNlInterpretation'
|
||||
property :enable_verbatim_mode, as: 'enableVerbatimMode'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1942,6 +2108,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SearchApplicationQueryStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
collection :query_count_by_status, as: 'queryCountByStatus', class: Google::Apis::CloudsearchV1::QueryCountByStatus, decorator: Google::Apis::CloudsearchV1::QueryCountByStatus::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class SearchApplicationSessionStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
property :search_sessions_count, :numeric_string => true, as: 'searchSessionsCount'
|
||||
end
|
||||
end
|
||||
|
||||
class SearchApplicationUserStats
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
||||
|
||||
property :one_day_active_users_count, :numeric_string => true, as: 'oneDayActiveUsersCount'
|
||||
property :seven_days_active_users_count, :numeric_string => true, as: 'sevenDaysActiveUsersCount'
|
||||
property :thirty_days_active_users_count, :numeric_string => true, as: 'thirtyDaysActiveUsersCount'
|
||||
end
|
||||
end
|
||||
|
||||
class SearchItemsByViewUrlRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -359,7 +359,9 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes Item resource for the
|
||||
# specified resource name.
|
||||
# specified resource name. This API requires an admin or service account
|
||||
# to execute. The service account used is the one whitelisted in the
|
||||
# corresponding data source.
|
||||
# @param [String] name
|
||||
# Required. Name of the item to delete.
|
||||
# Format: datasources/`source_id`/items/`item_id`
|
||||
|
@ -414,6 +416,8 @@ module Google
|
|||
|
||||
# Deletes all items in a queue. This method is useful for deleting stale
|
||||
# items.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Data Source to delete items in a queue.
|
||||
# Format: datasources/`source_id`
|
||||
|
@ -448,6 +452,8 @@ module Google
|
|||
end
|
||||
|
||||
# Gets Item resource by item name.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the item to get info.
|
||||
# Format: datasources/`source_id`/items/`item_id`
|
||||
|
@ -491,6 +497,8 @@ module Google
|
|||
# does not exist.
|
||||
# This method does not support partial updates. Fields with no provided
|
||||
# values are cleared out in the Cloud Search index.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Item. Format:
|
||||
# datasources/`source_id`/items/`item_id`
|
||||
|
@ -527,6 +535,8 @@ module Google
|
|||
end
|
||||
|
||||
# Lists all or a subset of Item resources.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Data Source to list Items. Format:
|
||||
# datasources/`source_id`
|
||||
|
@ -534,9 +544,21 @@ module Google
|
|||
# When set to true, the indexing system only populates the following fields:
|
||||
# name,
|
||||
# version,
|
||||
# queue.
|
||||
# metadata.hash,
|
||||
# metadata.title,
|
||||
# metadata.sourceRepositoryURL,
|
||||
# metadata.objectType,
|
||||
# metadata.createTime,
|
||||
# metadata.updateTime,
|
||||
# metadata.contentLanguage,
|
||||
# metadata.mimeType,
|
||||
# structured_data.hash,
|
||||
# content.hash.
|
||||
# content.hash,
|
||||
# itemType,
|
||||
# itemStatus.code,
|
||||
# itemStatus.processingError.code,
|
||||
# itemStatus.repositoryError.type,
|
||||
# <br />If this value is false, then all the fields are populated in Item.
|
||||
# @param [String] connector_name
|
||||
# Name of connector making this call.
|
||||
|
@ -606,6 +628,8 @@ module Google
|
|||
# the type REQUEUE.
|
||||
# Items automatically become available (unreserved) after 4 hours even if no
|
||||
# update or push method is called.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Data Source to poll items.
|
||||
# Format: datasources/`source_id`
|
||||
|
@ -640,6 +664,8 @@ module Google
|
|||
end
|
||||
|
||||
# Pushes an item onto a queue for later polling and updating.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the item to
|
||||
# push into the indexing queue.<br />
|
||||
|
@ -679,6 +705,8 @@ module Google
|
|||
# Unreserves all items from a queue, making them all eligible to be
|
||||
# polled. This method is useful for resetting the indexing queue
|
||||
# after a connector has been restarted.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Data Source to unreserve all items.
|
||||
# Format: datasources/`source_id`
|
||||
|
@ -716,6 +744,8 @@ module Google
|
|||
# than 100 KB, it's easier to embed the content
|
||||
# inline within
|
||||
# an index request.
|
||||
# This API requires an admin or service account to execute. The service
|
||||
# account used is the one whitelisted in the corresponding data source.
|
||||
# @param [String] name
|
||||
# Name of the Item to start a resumable upload.
|
||||
# Format: datasources/`source_id`/items/`item_id`.
|
||||
|
@ -1391,6 +1421,141 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the query statistics for customer
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetCustomerQueryStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse]
|
||||
#
|
||||
# @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 get_stat_query(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/query', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the # of search sessions for the customer
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetCustomerSessionStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse]
|
||||
#
|
||||
# @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 get_stat_session(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/session', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the users statistics for customer
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetCustomerUserStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse]
|
||||
#
|
||||
# @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 get_stat_user(from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/user', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetCustomerUserStatsResponse
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets indexed item statistics for a single data source.
|
||||
# @param [String] name
|
||||
# The resource id of the data source to retrieve statistics for,
|
||||
|
@ -1439,6 +1604,153 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the query statistics for search application
|
||||
# @param [String] name
|
||||
# The resource id of the search application query stats, in the following
|
||||
# format: searchapplications/`application_id`
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetSearchApplicationQueryStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse]
|
||||
#
|
||||
# @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 get_stat_query_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/query/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the # of search sessions for the search application
|
||||
# @param [String] name
|
||||
# The resource id of the search application session stats, in the following
|
||||
# format: searchapplications/`application_id`
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetSearchApplicationSessionStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse]
|
||||
#
|
||||
# @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 get_stat_session_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/session/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationSessionStatsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the users statistics for search application
|
||||
# @param [String] name
|
||||
# The resource id of the search application session stats, in the following
|
||||
# format: searchapplications/`application_id`
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] from_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @param [Fixnum] to_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] to_date_month
|
||||
# Month of date. Must be from 1 to 12.
|
||||
# @param [Fixnum] to_date_year
|
||||
# Year of date. Must be from 1 to 9999.
|
||||
# @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::CloudsearchV1::GetSearchApplicationUserStatsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse]
|
||||
#
|
||||
# @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 get_stat_user_searchapplication(name, from_date_day: nil, from_date_month: nil, from_date_year: nil, to_date_day: nil, to_date_month: nil, to_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/stats/user/{+name}', options)
|
||||
command.response_representation = Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudsearchV1::GetSearchApplicationUserStatsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fromDate.day'] = from_date_day unless from_date_day.nil?
|
||||
command.query['fromDate.month'] = from_date_month unless from_date_month.nil?
|
||||
command.query['fromDate.year'] = from_date_year unless from_date_year.nil?
|
||||
command.query['toDate.day'] = to_date_day unless to_date_day.nil?
|
||||
command.query['toDate.month'] = to_date_month unless to_date_month.nil?
|
||||
command.query['toDate.year'] = to_date_year unless to_date_year.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/bid-manager/
|
||||
module DoubleclickbidmanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190917'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your reports in DoubleClick Bid Manager
|
||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/cloud-messaging
|
||||
module FcmV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190820'
|
||||
REVISION = '20191001'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -379,14 +379,18 @@ module Google
|
|||
attr_accessor :fcm_options
|
||||
|
||||
# HTTP request headers defined in Apple Push Notification Service. Refer to
|
||||
# [APNs request headers](https://goo.gl/C6Yhia) for
|
||||
# supported headers, e.g. "apns-priority": "10".
|
||||
# [APNs request
|
||||
# headers](https://developer.apple.com/documentation/usernotifications/
|
||||
# setting_up_a_remote_notification_server/sending_notification_requests_to_apns)
|
||||
# for supported headers, e.g. "apns-priority": "10".
|
||||
# Corresponds to the JSON property `headers`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :headers
|
||||
|
||||
# APNs payload as a JSON object, including both `aps` dictionary and custom
|
||||
# payload. See [Payload Key Reference](https://goo.gl/32Pl5W).
|
||||
# payload. See [Payload Key
|
||||
# Reference](https://developer.apple.com/documentation/usernotifications/
|
||||
# setting_up_a_remote_notification_server/generating_a_remote_notification).
|
||||
# If present, it overrides google.firebase.fcm.v1.Notification.title
|
||||
# and google.firebase.fcm.v1.Notification.body.
|
||||
# Corresponds to the JSON property `payload`
|
||||
|
@ -758,7 +762,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :condition
|
||||
|
||||
# Input only. Arbitrary key/value payload.
|
||||
# Input only. Arbitrary key/value payload. The key should not be a reserved
|
||||
# word ("from", "message_type", or any word starting with "google" or "gcm").
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :data
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190918'
|
||||
REVISION = '20190926'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -562,7 +562,7 @@ module Google
|
|||
# @return [Google::Apis::SpeechV1p1beta1::RecognitionConfig]
|
||||
attr_accessor :config
|
||||
|
||||
# The name of the model to use for recognition.
|
||||
# Use `model` field in RecognitionConfig instead.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190910'
|
||||
REVISION = '20190913'
|
||||
|
||||
# Manage your data and permissions in Google Cloud Storage
|
||||
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://storage.googleapis.com/', 'storage/v1beta1/')
|
||||
super('https://www.googleapis.com/', 'storage/v1beta1/')
|
||||
@batch_path = 'batch/storage/v1beta1'
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190910'
|
||||
REVISION = '20190913'
|
||||
|
||||
# Manage your data and permissions in Google Cloud Storage
|
||||
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
||||
|
|
|
@ -47,7 +47,7 @@ module Google
|
|||
attr_accessor :user_ip
|
||||
|
||||
def initialize
|
||||
super('https://storage.googleapis.com/', 'storage/v1beta2/')
|
||||
super('https://www.googleapis.com/', 'storage/v1beta2/')
|
||||
@batch_path = 'batch/storage/v1beta2'
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190913'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -7196,11 +7196,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties]
|
||||
attr_accessor :image_properties_annotation
|
||||
|
||||
# Stores image quality scores, could be aesthetic quality or technical quality.
|
||||
# Corresponds to the JSON property `imageQualityAnnotation`
|
||||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality]
|
||||
attr_accessor :image_quality_annotation
|
||||
|
||||
# If present, label detection has completed successfully.
|
||||
# Corresponds to the JSON property `labelAnnotations`
|
||||
# @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation>]
|
||||
|
@ -7227,11 +7222,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults]
|
||||
attr_accessor :product_search_results
|
||||
|
||||
# Stores enhanced image bytes.
|
||||
# Corresponds to the JSON property `qualityOptimizationResult`
|
||||
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult]
|
||||
attr_accessor :quality_optimization_result
|
||||
|
||||
# Set of features pertaining to the image, computed by computer vision
|
||||
# methods over safe-search verticals (for example, adult, spoof, medical,
|
||||
# violence).
|
||||
|
@ -7261,13 +7251,11 @@ module Google
|
|||
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
||||
@full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
|
||||
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
|
||||
@image_quality_annotation = args[:image_quality_annotation] if args.key?(:image_quality_annotation)
|
||||
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
|
||||
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
|
||||
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
|
||||
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
|
||||
@product_search_results = args[:product_search_results] if args.key?(:product_search_results)
|
||||
@quality_optimization_result = args[:quality_optimization_result] if args.key?(:quality_optimization_result)
|
||||
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
@web_detection = args[:web_detection] if args.key?(:web_detection)
|
||||
|
@ -7979,28 +7967,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Stores image quality scores, could be aesthetic quality or technical quality.
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A score representing the aesthetic/technical quality of the image. The
|
||||
# score is in range [0, 1]. Higher value corresponds to more professional
|
||||
# looking photos. 0 means the image looks very bad, 1 means the image with
|
||||
# very high quality.
|
||||
# Corresponds to the JSON property `qualityScore`
|
||||
# @return [Float]
|
||||
attr_accessor :quality_score
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for the `ImportProductSets` method.
|
||||
# This message is returned by the
|
||||
# google.longrunning.Operations.GetOperation method in the returned
|
||||
|
@ -8603,38 +8569,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Stores enhanced image bytes.
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optimized image bytes.
|
||||
# Corresponds to the JSON property `image`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :image
|
||||
|
||||
# Mime type of the output image.
|
||||
# Corresponds to the JSON property `mimeType`
|
||||
# @return [String]
|
||||
attr_accessor :mime_type
|
||||
|
||||
# Required optimization type.
|
||||
# Corresponds to the JSON property `qualityOptimizationType`
|
||||
# @return [String]
|
||||
attr_accessor :quality_optimization_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@image = args[:image] if args.key?(:image)
|
||||
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
||||
@quality_optimization_type = args[:quality_optimization_type] if args.key?(:quality_optimization_type)
|
||||
end
|
||||
end
|
||||
|
||||
# A `ReferenceImage` represents a product image and its associated metadata,
|
||||
# such as bounding boxes.
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
|
@ -8692,29 +8626,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :adult
|
||||
|
||||
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `adultConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :adult_confidence
|
||||
|
||||
# Likelihood that this is a medical image.
|
||||
# Corresponds to the JSON property `medical`
|
||||
# @return [String]
|
||||
attr_accessor :medical
|
||||
|
||||
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `medicalConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :medical_confidence
|
||||
|
||||
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `nsfwConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :nsfw_confidence
|
||||
|
||||
# Likelihood that the request image contains racy content. Racy content may
|
||||
# include (but is not limited to) skimpy or sheer clothing, strategically
|
||||
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
||||
|
@ -8723,12 +8639,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :racy
|
||||
|
||||
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `racyConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :racy_confidence
|
||||
|
||||
# Spoof likelihood. The likelihood that an modification
|
||||
# was made to the image's canonical version to make it appear
|
||||
# funny or offensive.
|
||||
|
@ -8736,23 +8646,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :spoof
|
||||
|
||||
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `spoofConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :spoof_confidence
|
||||
|
||||
# Likelihood that this image contains violent content.
|
||||
# Corresponds to the JSON property `violence`
|
||||
# @return [String]
|
||||
attr_accessor :violence
|
||||
|
||||
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `violenceConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :violence_confidence
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -8760,16 +8658,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@adult = args[:adult] if args.key?(:adult)
|
||||
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
||||
@medical = args[:medical] if args.key?(:medical)
|
||||
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
||||
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
||||
@racy = args[:racy] if args.key?(:racy)
|
||||
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
||||
@spoof = args[:spoof] if args.key?(:spoof)
|
||||
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
||||
@violence = args[:violence] if args.key?(:violence)
|
||||
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9992,29 +9884,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :adult
|
||||
|
||||
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `adultConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :adult_confidence
|
||||
|
||||
# Likelihood that this is a medical image.
|
||||
# Corresponds to the JSON property `medical`
|
||||
# @return [String]
|
||||
attr_accessor :medical
|
||||
|
||||
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `medicalConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :medical_confidence
|
||||
|
||||
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `nsfwConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :nsfw_confidence
|
||||
|
||||
# Likelihood that the request image contains racy content. Racy content may
|
||||
# include (but is not limited to) skimpy or sheer clothing, strategically
|
||||
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
||||
|
@ -10023,12 +9897,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :racy
|
||||
|
||||
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `racyConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :racy_confidence
|
||||
|
||||
# Spoof likelihood. The likelihood that an modification
|
||||
# was made to the image's canonical version to make it appear
|
||||
# funny or offensive.
|
||||
|
@ -10036,23 +9904,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :spoof
|
||||
|
||||
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `spoofConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :spoof_confidence
|
||||
|
||||
# Likelihood that this image contains violent content.
|
||||
# Corresponds to the JSON property `violence`
|
||||
# @return [String]
|
||||
attr_accessor :violence
|
||||
|
||||
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `violenceConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :violence_confidence
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -10060,16 +9916,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@adult = args[:adult] if args.key?(:adult)
|
||||
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
||||
@medical = args[:medical] if args.key?(:medical)
|
||||
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
||||
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
||||
@racy = args[:racy] if args.key?(:racy)
|
||||
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
||||
@spoof = args[:spoof] if args.key?(:spoof)
|
||||
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
||||
@violence = args[:violence] if args.key?(:violence)
|
||||
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1210,12 +1210,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1318,12 +1312,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3580,8 +3568,6 @@ module Google
|
|||
|
||||
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
||||
|
||||
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
||||
|
||||
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
||||
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
@ -3592,8 +3578,6 @@ module Google
|
|||
|
||||
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
||||
|
||||
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
||||
|
||||
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
@ -3785,13 +3769,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :quality_score, as: 'qualityScore'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3965,15 +3942,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :image, :base64 => true, as: 'image'
|
||||
property :mime_type, as: 'mimeType'
|
||||
property :quality_optimization_type, as: 'qualityOptimizationType'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3988,16 +3956,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adult, as: 'adult'
|
||||
property :adult_confidence, as: 'adultConfidence'
|
||||
property :medical, as: 'medical'
|
||||
property :medical_confidence, as: 'medicalConfidence'
|
||||
property :nsfw_confidence, as: 'nsfwConfidence'
|
||||
property :racy, as: 'racy'
|
||||
property :racy_confidence, as: 'racyConfidence'
|
||||
property :spoof, as: 'spoof'
|
||||
property :spoof_confidence, as: 'spoofConfidence'
|
||||
property :violence, as: 'violence'
|
||||
property :violence_confidence, as: 'violenceConfidence'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -4357,16 +4319,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adult, as: 'adult'
|
||||
property :adult_confidence, as: 'adultConfidence'
|
||||
property :medical, as: 'medical'
|
||||
property :medical_confidence, as: 'medicalConfidence'
|
||||
property :nsfw_confidence, as: 'nsfwConfidence'
|
||||
property :racy, as: 'racy'
|
||||
property :racy_confidence, as: 'racyConfidence'
|
||||
property :spoof, as: 'spoof'
|
||||
property :spoof_confidence, as: 'spoofConfidence'
|
||||
property :violence, as: 'violence'
|
||||
property :violence_confidence, as: 'violenceConfidence'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20190913'
|
||||
REVISION = '20190927'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -7196,11 +7196,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageProperties]
|
||||
attr_accessor :image_properties_annotation
|
||||
|
||||
# Stores image quality scores, could be aesthetic quality or technical quality.
|
||||
# Corresponds to the JSON property `imageQualityAnnotation`
|
||||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageQuality]
|
||||
attr_accessor :image_quality_annotation
|
||||
|
||||
# If present, label detection has completed successfully.
|
||||
# Corresponds to the JSON property `labelAnnotations`
|
||||
# @return [Array<Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation>]
|
||||
|
@ -7227,11 +7222,6 @@ module Google
|
|||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ProductSearchResults]
|
||||
attr_accessor :product_search_results
|
||||
|
||||
# Stores enhanced image bytes.
|
||||
# Corresponds to the JSON property `qualityOptimizationResult`
|
||||
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult]
|
||||
attr_accessor :quality_optimization_result
|
||||
|
||||
# Set of features pertaining to the image, computed by computer vision
|
||||
# methods over safe-search verticals (for example, adult, spoof, medical,
|
||||
# violence).
|
||||
|
@ -7261,13 +7251,11 @@ module Google
|
|||
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
||||
@full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
|
||||
@image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
|
||||
@image_quality_annotation = args[:image_quality_annotation] if args.key?(:image_quality_annotation)
|
||||
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
|
||||
@landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
|
||||
@localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
|
||||
@logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
|
||||
@product_search_results = args[:product_search_results] if args.key?(:product_search_results)
|
||||
@quality_optimization_result = args[:quality_optimization_result] if args.key?(:quality_optimization_result)
|
||||
@safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
|
||||
@text_annotations = args[:text_annotations] if args.key?(:text_annotations)
|
||||
@web_detection = args[:web_detection] if args.key?(:web_detection)
|
||||
|
@ -7979,28 +7967,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Stores image quality scores, could be aesthetic quality or technical quality.
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A score representing the aesthetic/technical quality of the image. The
|
||||
# score is in range [0, 1]. Higher value corresponds to more professional
|
||||
# looking photos. 0 means the image looks very bad, 1 means the image with
|
||||
# very high quality.
|
||||
# Corresponds to the JSON property `qualityScore`
|
||||
# @return [Float]
|
||||
attr_accessor :quality_score
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@quality_score = args[:quality_score] if args.key?(:quality_score)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for the `ImportProductSets` method.
|
||||
# This message is returned by the
|
||||
# google.longrunning.Operations.GetOperation method in the returned
|
||||
|
@ -8603,38 +8569,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Stores enhanced image bytes.
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optimized image bytes.
|
||||
# Corresponds to the JSON property `image`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :image
|
||||
|
||||
# Mime type of the output image.
|
||||
# Corresponds to the JSON property `mimeType`
|
||||
# @return [String]
|
||||
attr_accessor :mime_type
|
||||
|
||||
# Required optimization type.
|
||||
# Corresponds to the JSON property `qualityOptimizationType`
|
||||
# @return [String]
|
||||
attr_accessor :quality_optimization_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@image = args[:image] if args.key?(:image)
|
||||
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
||||
@quality_optimization_type = args[:quality_optimization_type] if args.key?(:quality_optimization_type)
|
||||
end
|
||||
end
|
||||
|
||||
# A `ReferenceImage` represents a product image and its associated metadata,
|
||||
# such as bounding boxes.
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
|
@ -8692,29 +8626,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :adult
|
||||
|
||||
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `adultConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :adult_confidence
|
||||
|
||||
# Likelihood that this is a medical image.
|
||||
# Corresponds to the JSON property `medical`
|
||||
# @return [String]
|
||||
attr_accessor :medical
|
||||
|
||||
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `medicalConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :medical_confidence
|
||||
|
||||
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `nsfwConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :nsfw_confidence
|
||||
|
||||
# Likelihood that the request image contains racy content. Racy content may
|
||||
# include (but is not limited to) skimpy or sheer clothing, strategically
|
||||
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
||||
|
@ -8723,12 +8639,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :racy
|
||||
|
||||
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `racyConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :racy_confidence
|
||||
|
||||
# Spoof likelihood. The likelihood that an modification
|
||||
# was made to the image's canonical version to make it appear
|
||||
# funny or offensive.
|
||||
|
@ -8736,23 +8646,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :spoof
|
||||
|
||||
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `spoofConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :spoof_confidence
|
||||
|
||||
# Likelihood that this image contains violent content.
|
||||
# Corresponds to the JSON property `violence`
|
||||
# @return [String]
|
||||
attr_accessor :violence
|
||||
|
||||
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `violenceConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :violence_confidence
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -8760,16 +8658,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@adult = args[:adult] if args.key?(:adult)
|
||||
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
||||
@medical = args[:medical] if args.key?(:medical)
|
||||
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
||||
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
||||
@racy = args[:racy] if args.key?(:racy)
|
||||
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
||||
@spoof = args[:spoof] if args.key?(:spoof)
|
||||
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
||||
@violence = args[:violence] if args.key?(:violence)
|
||||
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9992,29 +9884,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :adult
|
||||
|
||||
# Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `adultConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :adult_confidence
|
||||
|
||||
# Likelihood that this is a medical image.
|
||||
# Corresponds to the JSON property `medical`
|
||||
# @return [String]
|
||||
attr_accessor :medical
|
||||
|
||||
# Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `medicalConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :medical_confidence
|
||||
|
||||
# Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `nsfwConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :nsfw_confidence
|
||||
|
||||
# Likelihood that the request image contains racy content. Racy content may
|
||||
# include (but is not limited to) skimpy or sheer clothing, strategically
|
||||
# covered nudity, lewd or provocative poses, or close-ups of sensitive
|
||||
|
@ -10023,12 +9897,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :racy
|
||||
|
||||
# Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
|
||||
# confident.
|
||||
# Corresponds to the JSON property `racyConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :racy_confidence
|
||||
|
||||
# Spoof likelihood. The likelihood that an modification
|
||||
# was made to the image's canonical version to make it appear
|
||||
# funny or offensive.
|
||||
|
@ -10036,23 +9904,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :spoof
|
||||
|
||||
# Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `spoofConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :spoof_confidence
|
||||
|
||||
# Likelihood that this image contains violent content.
|
||||
# Corresponds to the JSON property `violence`
|
||||
# @return [String]
|
||||
attr_accessor :violence
|
||||
|
||||
# Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
|
||||
# very confident.
|
||||
# Corresponds to the JSON property `violenceConfidence`
|
||||
# @return [Float]
|
||||
attr_accessor :violence_confidence
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -10060,16 +9916,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@adult = args[:adult] if args.key?(:adult)
|
||||
@adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
|
||||
@medical = args[:medical] if args.key?(:medical)
|
||||
@medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
|
||||
@nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
|
||||
@racy = args[:racy] if args.key?(:racy)
|
||||
@racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
|
||||
@spoof = args[:spoof] if args.key?(:spoof)
|
||||
@spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
|
||||
@violence = args[:violence] if args.key?(:violence)
|
||||
@violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1210,12 +1210,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1318,12 +1312,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3580,8 +3568,6 @@ module Google
|
|||
|
||||
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageProperties, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageProperties::Representation
|
||||
|
||||
property :image_quality_annotation, as: 'imageQualityAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageQuality, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ImageQuality::Representation
|
||||
|
||||
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
||||
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
@ -3592,8 +3578,6 @@ module Google
|
|||
|
||||
property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ProductSearchResults, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1ProductSearchResults::Representation
|
||||
|
||||
property :quality_optimization_result, as: 'qualityOptimizationResult', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1QualityOptimizationResult::Representation
|
||||
|
||||
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1SafeSearchAnnotation::Representation
|
||||
|
||||
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation, decorator: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1EntityAnnotation::Representation
|
||||
|
@ -3785,13 +3769,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImageQuality
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :quality_score, as: 'qualityScore'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ImportProductSetsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3965,15 +3942,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1QualityOptimizationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :image, :base64 => true, as: 'image'
|
||||
property :mime_type, as: 'mimeType'
|
||||
property :quality_optimization_type, as: 'qualityOptimizationType'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudVisionV1p4beta1ReferenceImage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3988,16 +3956,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adult, as: 'adult'
|
||||
property :adult_confidence, as: 'adultConfidence'
|
||||
property :medical, as: 'medical'
|
||||
property :medical_confidence, as: 'medicalConfidence'
|
||||
property :nsfw_confidence, as: 'nsfwConfidence'
|
||||
property :racy, as: 'racy'
|
||||
property :racy_confidence, as: 'racyConfidence'
|
||||
property :spoof, as: 'spoof'
|
||||
property :spoof_confidence, as: 'spoofConfidence'
|
||||
property :violence, as: 'violence'
|
||||
property :violence_confidence, as: 'violenceConfidence'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -4357,16 +4319,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :adult, as: 'adult'
|
||||
property :adult_confidence, as: 'adultConfidence'
|
||||
property :medical, as: 'medical'
|
||||
property :medical_confidence, as: 'medicalConfidence'
|
||||
property :nsfw_confidence, as: 'nsfwConfidence'
|
||||
property :racy, as: 'racy'
|
||||
property :racy_confidence, as: 'racyConfidence'
|
||||
property :spoof, as: 'spoof'
|
||||
property :spoof_confidence, as: 'spoofConfidence'
|
||||
property :violence, as: 'violence'
|
||||
property :violence_confidence, as: 'violenceConfidence'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue