Autogenerated update (2018-11-06)
Delete: - dfareporting_v2_8 Update: - adexchangebuyer2_v2beta1 - alertcenter_v1beta1 - androiddeviceprovisioning_v1 - androidenterprise_v1 - androidmanagement_v1 - appengine_v1 - appengine_v1alpha - appengine_v1beta - appengine_v1beta4 - appengine_v1beta5 - bigquery_v2 - bigquerydatatransfer_v1 - civicinfo_v2 - cloudfunctions_v1 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - content_v2 - dataflow_v1b3 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - digitalassetlinks_v1 - dlp_v2 - doubleclicksearch_v2 - drive_v2 - firestore_v1 - iamcredentials_v1 - jobs_v2 - jobs_v3 - jobs_v3p1beta1 - language_v1 - language_v1beta1 - language_v1beta2 - logging_v2 - logging_v2beta1 - monitoring_v3 - oslogin_v1 - oslogin_v1alpha - oslogin_v1beta - redis_v1 - redis_v1beta1 - runtimeconfig_v1beta1 - serviceconsumermanagement_v1 - servicecontrol_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - slides_v1 - storage_v1 - testing_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - websecurityscanner_v1alpha - youtube_partner_v1 - youtube_v3
This commit is contained in:
parent
97967804da
commit
2305a85231
1506
api_names_out.yaml
1506
api_names_out.yaml
File diff suppressed because it is too large
Load Diff
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
||||
module Adexchangebuyer2V2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20181009'
|
||||
REVISION = '20181024'
|
||||
|
||||
# Manage your Ad Exchange buyer account configuration
|
||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||
|
|
|
@ -1578,6 +1578,13 @@ module Google
|
|||
# @return [Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange]
|
||||
attr_accessor :absolute_date_range
|
||||
|
||||
# The set of dimensions along which to break down the response; may be empty.
|
||||
# If multiple dimensions are requested, the breakdown is along the Cartesian
|
||||
# product of the requested dimensions.
|
||||
# Corresponds to the JSON property `breakdownDimensions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :breakdown_dimensions
|
||||
|
||||
# The ID of the creative on which to filter; optional. This field may be set
|
||||
# only for a filter set that accesses account-level troubleshooting data,
|
||||
# i.e., one whose name matches the `bidders/*/accounts/*/filterSets/*`
|
||||
|
@ -1674,6 +1681,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@absolute_date_range = args[:absolute_date_range] if args.key?(:absolute_date_range)
|
||||
@breakdown_dimensions = args[:breakdown_dimensions] if args.key?(:breakdown_dimensions)
|
||||
@creative_id = args[:creative_id] if args.key?(:creative_id)
|
||||
@deal_id = args[:deal_id] if args.key?(:deal_id)
|
||||
@environment = args[:environment] if args.key?(:environment)
|
||||
|
@ -3703,6 +3711,13 @@ module Google
|
|||
class RowDimensions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The publisher identifier for this row, if a breakdown by
|
||||
# BreakdownDimension.PUBLISHER_IDENTIFIER
|
||||
# was requested.
|
||||
# Corresponds to the JSON property `publisherIdentifier`
|
||||
# @return [String]
|
||||
attr_accessor :publisher_identifier
|
||||
|
||||
# An interval of time, with an absolute start and end.
|
||||
# Corresponds to the JSON property `timeInterval`
|
||||
# @return [Google::Apis::Adexchangebuyer2V2beta1::TimeInterval]
|
||||
|
@ -3714,6 +3729,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@publisher_identifier = args[:publisher_identifier] if args.key?(:publisher_identifier)
|
||||
@time_interval = args[:time_interval] if args.key?(:time_interval)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1061,6 +1061,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :absolute_date_range, as: 'absoluteDateRange', class: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::AbsoluteDateRange::Representation
|
||||
|
||||
collection :breakdown_dimensions, as: 'breakdownDimensions'
|
||||
property :creative_id, as: 'creativeId'
|
||||
property :deal_id, :numeric_string => true, as: 'dealId'
|
||||
property :environment, as: 'environment'
|
||||
|
@ -1644,6 +1645,7 @@ module Google
|
|||
class RowDimensions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :publisher_identifier, as: 'publisherIdentifier'
|
||||
property :time_interval, as: 'timeInterval', class: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval, decorator: Google::Apis::Adexchangebuyer2V2beta1::TimeInterval::Representation
|
||||
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/alertcenter/
|
||||
module AlertcenterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181010'
|
||||
REVISION = '20181018'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -73,6 +73,12 @@ module Google
|
|||
# @return [Hash<String,Object>]
|
||||
attr_accessor :data
|
||||
|
||||
# Output only. Whether this alert has been marked for deletion.
|
||||
# Corresponds to the JSON property `deleted`
|
||||
# @return [Boolean]
|
||||
attr_accessor :deleted
|
||||
alias_method :deleted?, :deleted
|
||||
|
||||
# Optional. The time this alert was no longer active. If provided, the
|
||||
# end time must not be earlier than the start time. If not provided, the end
|
||||
# time will default to the start time.
|
||||
|
@ -139,6 +145,7 @@ module Google
|
|||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@deleted = args[:deleted] if args.key?(:deleted)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@security_investigation_tool_link = args[:security_investigation_tool_link] if args.key?(:security_investigation_tool_link)
|
||||
@source = args[:source] if args.key?(:source)
|
||||
|
@ -596,13 +603,13 @@ module Google
|
|||
class LoginDetails
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required. Human readable IP address (e.g., 11.22.33.44) that is
|
||||
# Optional. Human readable IP address (e.g., 11.22.33.44) that is
|
||||
# associated with the warning event.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# Required. Login time that is associated with the warning event.
|
||||
# Optional. Login time that is associated with the warning event.
|
||||
# Corresponds to the JSON property `loginTime`
|
||||
# @return [String]
|
||||
attr_accessor :login_time
|
||||
|
|
|
@ -176,6 +176,7 @@ module Google
|
|||
property :create_time, as: 'createTime'
|
||||
property :customer_id, as: 'customerId'
|
||||
hash :data, as: 'data'
|
||||
property :deleted, as: 'deleted'
|
||||
property :end_time, as: 'endTime'
|
||||
property :security_investigation_tool_link, as: 'securityInvestigationToolLink'
|
||||
property :source, as: 'source'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/zero-touch/
|
||||
module AndroiddeviceprovisioningV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181007'
|
||||
REVISION = '20181027'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -495,8 +495,9 @@ module Google
|
|||
|
||||
# Creates a customer for zero-touch enrollment. After the method returns
|
||||
# successfully, admin and owner roles can manage devices and EMM configs
|
||||
# by calling API methods or using their zero-touch enrollment portal. The API
|
||||
# doesn't notify the customer that they have access.
|
||||
# by calling API methods or using their zero-touch enrollment portal.
|
||||
# The customer receives an email that welcomes them to zero-touch enrollment
|
||||
# and explains how to sign into the portal.
|
||||
# @param [String] parent
|
||||
# Required. The parent resource ID in the format `partners/[PARTNER_ID]` that
|
||||
# identifies the reseller.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181001'
|
||||
REVISION = '20181024'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
|
|
@ -91,7 +91,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :permission
|
||||
|
||||
# Options for displaying the Play Search page.
|
||||
# Options for displaying the managed Play Search apps page.
|
||||
# Corresponds to the JSON property `playSearch`
|
||||
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch]
|
||||
attr_accessor :play_search
|
||||
|
@ -101,7 +101,7 @@ module Google
|
|||
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPrivateApps]
|
||||
attr_accessor :private_apps
|
||||
|
||||
# Options for displaying the Store Builder page.
|
||||
# Options for displaying the Organize apps page.
|
||||
# Corresponds to the JSON property `storeBuilder`
|
||||
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecStoreBuilder]
|
||||
attr_accessor :store_builder
|
||||
|
@ -137,7 +137,7 @@ module Google
|
|||
attr_accessor :approve_apps
|
||||
alias_method :approve_apps?, :approve_apps
|
||||
|
||||
# Whether the Play Search page is displayed. Default is true.
|
||||
# Whether the managed Play Search apps page is displayed. Default is true.
|
||||
# Corresponds to the JSON property `enabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enabled
|
||||
|
@ -178,7 +178,7 @@ module Google
|
|||
class AdministratorWebTokenSpecStoreBuilder
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the Store Builder page is displayed. Default is true.
|
||||
# Whether the Organize apps page is displayed. Default is true.
|
||||
# Corresponds to the JSON property `enabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enabled
|
||||
|
@ -429,12 +429,24 @@ module Google
|
|||
class AppVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# True if this version is a production Apk.
|
||||
# Corresponds to the JSON property `isProduction`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_production
|
||||
alias_method :is_production?, :is_production
|
||||
|
||||
# The track that this app was published in. For example if track is "alpha",
|
||||
# this is an alpha version of the app.
|
||||
# this is an alpha version of the app. Deprecated, use track_id instead.
|
||||
# Corresponds to the JSON property `track`
|
||||
# @return [String]
|
||||
attr_accessor :track
|
||||
|
||||
# The track ids that this version was published in. This field supersedes track,
|
||||
# but doesn't include the production track.
|
||||
# Corresponds to the JSON property `trackId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :track_id
|
||||
|
||||
# Unique increasing identifier for the app version.
|
||||
# Corresponds to the JSON property `versionCode`
|
||||
# @return [Fixnum]
|
||||
|
@ -453,7 +465,9 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@is_production = args[:is_production] if args.key?(:is_production)
|
||||
@track = args[:track] if args.key?(:track)
|
||||
@track_id = args[:track_id] if args.key?(:track_id)
|
||||
@version_code = args[:version_code] if args.key?(:version_code)
|
||||
@version_string = args[:version_string] if args.key?(:version_string)
|
||||
end
|
||||
|
@ -1778,6 +1792,11 @@ module Google
|
|||
class Product
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The tracks that are visible to the enterprise with their user-friendly name.
|
||||
# Corresponds to the JSON property `appTracks`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::TrackInfo>]
|
||||
attr_accessor :app_tracks
|
||||
|
||||
# App versions currently available for this product.
|
||||
# Corresponds to the JSON property `appVersion`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::AppVersion>]
|
||||
|
@ -1793,7 +1812,8 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :available_countries
|
||||
|
||||
# The tracks that are visible to the enterprise.
|
||||
# The tracks that are visible to the enterprise. Deprecated, use app_tracks
|
||||
# instead.
|
||||
# Corresponds to the JSON property `availableTracks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :available_tracks
|
||||
|
@ -1913,6 +1933,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@app_tracks = args[:app_tracks] if args.key?(:app_tracks)
|
||||
@app_version = args[:app_version] if args.key?(:app_version)
|
||||
@author_name = args[:author_name] if args.key?(:author_name)
|
||||
@available_countries = args[:available_countries] if args.key?(:available_countries)
|
||||
|
@ -2063,6 +2084,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :product_id
|
||||
|
||||
# Grants visibility to the specified track(s) of the product to the device. The
|
||||
# existing track ids can be obtained by calling Products.Get.
|
||||
# Corresponds to the JSON property `trackIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :track_ids
|
||||
|
||||
# Grants visibility to the specified track(s) of the product to the device. The
|
||||
# track available to the device is based on the following order of preference:
|
||||
# alpha, beta, production. For example, if an app has a prod version, a beta
|
||||
|
@ -2077,6 +2104,7 @@ module Google
|
|||
# production"` `"beta", "production"` `"alpha", "beta", "production"` The order
|
||||
# of elements is not relevant. Any other set of tracks will be rejected with an
|
||||
# error.
|
||||
# This is deprecated. Use track_ids instead.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :tracks
|
||||
|
@ -2088,6 +2116,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@product_id = args[:product_id] if args.key?(:product_id)
|
||||
@track_ids = args[:track_ids] if args.key?(:track_ids)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
@ -2181,6 +2210,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :product_id
|
||||
|
||||
# Grants visibility to the specified track(s) of the product to the user. This
|
||||
# replaces the tracks field, and specifies the track by their unique id.
|
||||
# Corresponds to the JSON property `trackIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :track_ids
|
||||
|
||||
# Grants visibility to the specified track(s) of the product to the user. The
|
||||
# track available to the user is based on the following order of preference:
|
||||
# alpha, beta, production. For example, if an app has a prod version, a beta
|
||||
|
@ -2195,6 +2230,7 @@ module Google
|
|||
# production"` `"beta", "production"` `"alpha", "beta", "production"` The order
|
||||
# of elements is not relevant. Any other set of tracks will be rejected with an
|
||||
# error.
|
||||
# This is deprecated. Use track_ids instead.
|
||||
# Corresponds to the JSON property `tracks`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :tracks
|
||||
|
@ -2206,6 +2242,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@product_id = args[:product_id] if args.key?(:product_id)
|
||||
@track_ids = args[:track_ids] if args.key?(:track_ids)
|
||||
@tracks = args[:tracks] if args.key?(:tracks)
|
||||
end
|
||||
end
|
||||
|
@ -2654,6 +2691,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Id to name association of a track.
|
||||
class TrackInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A changeable, user-friendly name for a track.
|
||||
# Corresponds to the JSON property `trackAlias`
|
||||
# @return [String]
|
||||
attr_accessor :track_alias
|
||||
|
||||
# A unique an unchangeable identifier of a test track.
|
||||
# Corresponds to the JSON property `trackId`
|
||||
# @return [String]
|
||||
attr_accessor :track_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@track_alias = args[:track_alias] if args.key?(:track_alias)
|
||||
@track_id = args[:track_id] if args.key?(:track_id)
|
||||
end
|
||||
end
|
||||
|
||||
# A Users resource represents an account associated with an enterprise. The
|
||||
# account may be specific to a device or to an individual user (who can then use
|
||||
# the account across multiple devices). The account may provide access to
|
||||
|
|
|
@ -442,6 +442,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TrackInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class User
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -588,7 +594,9 @@ module Google
|
|||
class AppVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_production, as: 'isProduction'
|
||||
property :track, as: 'track'
|
||||
collection :track_id, as: 'trackId'
|
||||
property :version_code, as: 'versionCode'
|
||||
property :version_string, as: 'versionString'
|
||||
end
|
||||
|
@ -940,6 +948,8 @@ module Google
|
|||
class Product
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :app_tracks, as: 'appTracks', class: Google::Apis::AndroidenterpriseV1::TrackInfo, decorator: Google::Apis::AndroidenterpriseV1::TrackInfo::Representation
|
||||
|
||||
collection :app_version, as: 'appVersion', class: Google::Apis::AndroidenterpriseV1::AppVersion, decorator: Google::Apis::AndroidenterpriseV1::AppVersion::Representation
|
||||
|
||||
property :author_name, as: 'authorName'
|
||||
|
@ -1007,6 +1017,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :product_id, as: 'productId'
|
||||
collection :track_ids, as: 'trackIds'
|
||||
collection :tracks, as: 'tracks'
|
||||
end
|
||||
end
|
||||
|
@ -1034,6 +1045,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :product_id, as: 'productId'
|
||||
collection :track_ids, as: 'trackIds'
|
||||
collection :tracks, as: 'tracks'
|
||||
end
|
||||
end
|
||||
|
@ -1163,6 +1175,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class TrackInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :track_alias, as: 'trackAlias'
|
||||
property :track_id, as: 'trackId'
|
||||
end
|
||||
end
|
||||
|
||||
class User
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181008'
|
||||
REVISION = '20181029'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
|
|
@ -213,10 +213,8 @@ module Google
|
|||
# @return [Hash<String,Object>]
|
||||
attr_accessor :managed_configuration
|
||||
|
||||
# The formulated managed configuration with the managed configuration template
|
||||
# applied to the app. To generate a web token that identifies the enterprise use
|
||||
# https://developers.google.com/android/management/reference/rest/v1/enterprises.
|
||||
# webTokens
|
||||
# The managed configurations template for the app, saved from the managed
|
||||
# configurations iframe.
|
||||
# Corresponds to the JSON property `managedConfigurationTemplate`
|
||||
# @return [Google::Apis::AndroidmanagementV1::ManagedConfigurationTemplate]
|
||||
attr_accessor :managed_configuration_template
|
||||
|
@ -1279,10 +1277,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The formulated managed configuration with the managed configuration template
|
||||
# applied to the app. To generate a web token that identifies the enterprise use
|
||||
# https://developers.google.com/android/management/reference/rest/v1/enterprises.
|
||||
# webTokens
|
||||
# The managed configurations template for the app, saved from the managed
|
||||
# configurations iframe.
|
||||
class ManagedConfigurationTemplate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1763,6 +1759,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :password_quality
|
||||
|
||||
# The scope that the password requirement applies to.
|
||||
# Corresponds to the JSON property `passwordScope`
|
||||
# @return [String]
|
||||
attr_accessor :password_scope
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1780,6 +1781,7 @@ module Google
|
|||
@password_minimum_symbols = args[:password_minimum_symbols] if args.key?(:password_minimum_symbols)
|
||||
@password_minimum_upper_case = args[:password_minimum_upper_case] if args.key?(:password_minimum_upper_case)
|
||||
@password_quality = args[:password_quality] if args.key?(:password_quality)
|
||||
@password_scope = args[:password_scope] if args.key?(:password_scope)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2137,14 +2139,8 @@ module Google
|
|||
attr_accessor :outgoing_calls_disabled
|
||||
alias_method :outgoing_calls_disabled?, :outgoing_calls_disabled
|
||||
|
||||
# Password policy that can apply to different scope e.g. at either a device or
|
||||
# profile level. 'password_requirements' is overridden if this policy is set
|
||||
# with default scope or with scope explicitly applying to the scope that '
|
||||
# password_requirements' applies to. If scope is not specified then restriction
|
||||
# applies to the default scope i.e. profile in a managed profile. If an entry
|
||||
# exists with unspecified scope and also an entry for the default scope with
|
||||
# scope explicitly specified then the explicit restriction overrides the default
|
||||
# scope restriction.
|
||||
# Password requirement policies. Different policies can be set for work profile
|
||||
# or fully managed devices by setting the password_scope field in the policy.
|
||||
# Corresponds to the JSON property `passwordPolicies`
|
||||
# @return [Array<Google::Apis::AndroidmanagementV1::PasswordRequirements>]
|
||||
attr_accessor :password_policies
|
||||
|
|
|
@ -718,6 +718,7 @@ module Google
|
|||
property :password_minimum_symbols, as: 'passwordMinimumSymbols'
|
||||
property :password_minimum_upper_case, as: 'passwordMinimumUpperCase'
|
||||
property :password_quality, as: 'passwordQuality'
|
||||
property :password_scope, as: 'passwordScope'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AppengineV1
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/appengine_v1'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AppengineV1alpha
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/appengine_v1alpha'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AppengineV1beta
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/appengine_v1beta'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta4
|
||||
VERSION = 'V1beta4'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AppengineV1beta4
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/appengine_v1beta4'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta5
|
||||
VERSION = 'V1beta5'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module AppengineV1beta5
|
||||
# App Engine Admin API
|
||||
#
|
||||
# The App Engine Admin API enables developers to provision and manage their App
|
||||
# Engine applications.
|
||||
# Provisions and manages developers' App Engine applications.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/appengine_v1beta5'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181005'
|
||||
REVISION = '20181025'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -2089,9 +2089,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :job_id
|
||||
|
||||
# The geographic location of the job. Required except for US and EU. See details
|
||||
# at https://cloud.google.com/bigquery/docs/dataset-locations#
|
||||
# specifying_your_location.
|
||||
# The geographic location of the job. See details at https://cloud.google.com/
|
||||
# bigquery/docs/locations#specifying_your_location.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
@ -3018,6 +3017,64 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RangePartitioning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Experimental] [Required] The table is partitioned by this field. The field
|
||||
# must be a top-level NULLABLE/REQUIRED field. The only supported type is
|
||||
# INTEGER/INT64.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
# [Experimental] [Required] Defines the ranges for range partitioning.
|
||||
# Corresponds to the JSON property `range`
|
||||
# @return [Google::Apis::BigqueryV2::RangePartitioning::Range]
|
||||
attr_accessor :range
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@range = args[:range] if args.key?(:range)
|
||||
end
|
||||
|
||||
# [Experimental] [Required] Defines the ranges for range partitioning.
|
||||
class Range
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Experimental] [Required] The end of range partitioning, exclusive.
|
||||
# Corresponds to the JSON property `end`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end
|
||||
|
||||
# [Experimental] [Required] The width of each interval.
|
||||
# Corresponds to the JSON property `interval`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :interval
|
||||
|
||||
# [Experimental] [Required] The start of range partitioning, inclusive.
|
||||
# Corresponds to the JSON property `start`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end = args[:end] if args.key?(:end)
|
||||
@interval = args[:interval] if args.key?(:interval)
|
||||
@start = args[:start] if args.key?(:start)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Streamingbuffer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3056,9 +3113,9 @@ module Google
|
|||
class Table
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Beta] Clustering specification for the table. Must be specified with time-
|
||||
# based partitioning, data in the table will be first partitioned and
|
||||
# subsequently clustered.
|
||||
# [Experimental] Clustering specification for the table. Must be specified with
|
||||
# partitioning, data in the table will be first partitioned and subsequently
|
||||
# clustered.
|
||||
# Corresponds to the JSON property `clustering`
|
||||
# @return [Google::Apis::BigqueryV2::Clustering]
|
||||
attr_accessor :clustering
|
||||
|
@ -3158,12 +3215,32 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :num_long_term_bytes
|
||||
|
||||
# [Output-only] [Experimental] The physical size of this table in bytes,
|
||||
# excluding any data in the streaming buffer. This includes compression and
|
||||
# storage used for time travel.
|
||||
# Corresponds to the JSON property `numPhysicalBytes`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :num_physical_bytes
|
||||
|
||||
# [Output-only] The number of rows of data in this table, excluding any data in
|
||||
# the streaming buffer.
|
||||
# Corresponds to the JSON property `numRows`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :num_rows
|
||||
|
||||
# [Experimental] Range partitioning specification for this table. Only one of
|
||||
# timePartitioning and rangePartitioning should be specified.
|
||||
# Corresponds to the JSON property `rangePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::RangePartitioning]
|
||||
attr_accessor :range_partitioning
|
||||
|
||||
# [Experimental] [Optional] If set to true, queries over this table require a
|
||||
# partition filter that can be used for partition elimination to be specified.
|
||||
# Corresponds to the JSON property `requirePartitionFilter`
|
||||
# @return [Boolean]
|
||||
attr_accessor :require_partition_filter
|
||||
alias_method :require_partition_filter?, :require_partition_filter
|
||||
|
||||
# [Optional] Describes the schema of this table.
|
||||
# Corresponds to the JSON property `schema`
|
||||
# @return [Google::Apis::BigqueryV2::TableSchema]
|
||||
|
@ -3186,7 +3263,8 @@ module Google
|
|||
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||
attr_accessor :table_reference
|
||||
|
||||
# Time-based partitioning specification for this table.
|
||||
# Time-based partitioning specification for this table. Only one of
|
||||
# timePartitioning and rangePartitioning should be specified.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
|
@ -3226,7 +3304,10 @@ module Google
|
|||
@model = args[:model] if args.key?(:model)
|
||||
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
||||
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
||||
@num_physical_bytes = args[:num_physical_bytes] if args.key?(:num_physical_bytes)
|
||||
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
||||
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
||||
@require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
|
||||
@schema = args[:schema] if args.key?(:schema)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
|
||||
|
|
|
@ -316,6 +316,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RangePartitioning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Range
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Streamingbuffer
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1124,6 +1136,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RangePartitioning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field'
|
||||
property :range, as: 'range', class: Google::Apis::BigqueryV2::RangePartitioning::Range, decorator: Google::Apis::BigqueryV2::RangePartitioning::Range::Representation
|
||||
|
||||
end
|
||||
|
||||
class Range
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end, :numeric_string => true, as: 'end'
|
||||
property :interval, :numeric_string => true, as: 'interval'
|
||||
property :start, :numeric_string => true, as: 'start'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class Streamingbuffer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1156,7 +1186,11 @@ module Google
|
|||
|
||||
property :num_bytes, :numeric_string => true, as: 'numBytes'
|
||||
property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
|
||||
property :num_physical_bytes, :numeric_string => true, as: 'numPhysicalBytes'
|
||||
property :num_rows, :numeric_string => true, as: 'numRows'
|
||||
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
||||
|
||||
property :require_partition_filter, as: 'requirePartitionFilter'
|
||||
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigquerydatatransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181001'
|
||||
REVISION = '20181027'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/civic-information
|
||||
module CivicinfoV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180716'
|
||||
REVISION = '20181017'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1176,6 +1176,22 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Latitude of the location, in degrees north of the equator. Only some locations
|
||||
# -- generally, ballot drop boxes for vote-by-mail elections -- will have this
|
||||
# set; for others, use a geocoding service like the Google Maps API to resolve
|
||||
# the address to a geographic point.
|
||||
# Corresponds to the JSON property `latitude`
|
||||
# @return [Float]
|
||||
attr_accessor :latitude
|
||||
|
||||
# Longitude of the location, in degrees east of the Prime Meridian. Only some
|
||||
# locations -- generally, ballot drop boxes for vote-by-mail elections -- will
|
||||
# have this set; for others, use a geocoding service like the Google Maps API to
|
||||
# resolve the address to a geographic point.
|
||||
# Corresponds to the JSON property `longitude`
|
||||
# @return [Float]
|
||||
attr_accessor :longitude
|
||||
|
||||
# The name of the early vote site or drop off location. This field is not
|
||||
# populated for polling locations.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -1219,6 +1235,8 @@ module Google
|
|||
@address = args[:address] if args.key?(:address)
|
||||
@end_date = args[:end_date] if args.key?(:end_date)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@latitude = args[:latitude] if args.key?(:latitude)
|
||||
@longitude = args[:longitude] if args.key?(:longitude)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@notes = args[:notes] if args.key?(:notes)
|
||||
@polling_hours = args[:polling_hours] if args.key?(:polling_hours)
|
||||
|
|
|
@ -553,6 +553,8 @@ module Google
|
|||
|
||||
property :end_date, as: 'endDate'
|
||||
property :id, as: 'id'
|
||||
property :latitude, as: 'latitude'
|
||||
property :longitude, as: 'longitude'
|
||||
property :name, as: 'name'
|
||||
property :notes, as: 'notes'
|
||||
property :polling_hours, as: 'pollingHours'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180702'
|
||||
REVISION = '20181018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,6 +22,170 @@ module Google
|
|||
module Apis
|
||||
module CloudfunctionsV1
|
||||
|
||||
# Specifies the audit configuration for a service.
|
||||
# The configuration determines which permission types are logged, and what
|
||||
# identities, if any, are exempted from logging.
|
||||
# An AuditConfig must have one or more AuditLogConfigs.
|
||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
||||
# the union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# `
|
||||
# "audit_configs": [
|
||||
# `
|
||||
# "service": "allServices"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "ADMIN_READ",
|
||||
# `
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "service": "fooservice.googleapis.com"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# "exempted_members": [
|
||||
# "user:bar@gmail.com"
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
||||
# bar@gmail.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The configuration for logging of each type of permission.
|
||||
# Corresponds to the JSON property `auditLogConfigs`
|
||||
# @return [Array<Google::Apis::CloudfunctionsV1::AuditLogConfig>]
|
||||
attr_accessor :audit_log_configs
|
||||
|
||||
# Specifies a service that will be enabled for audit logging.
|
||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
||||
# `allServices` is a special value that covers all services.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
||||
@service = args[:service] if args.key?(:service)
|
||||
end
|
||||
end
|
||||
|
||||
# Provides the configuration for logging a type of permissions.
|
||||
# Example:
|
||||
# `
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
||||
# foo@gmail.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the identities that do not cause logging for this type of
|
||||
# permission.
|
||||
# Follows the same format of Binding.members.
|
||||
# Corresponds to the JSON property `exemptedMembers`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
attr_accessor :log_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Associates `members` with a `role`.
|
||||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::CloudfunctionsV1::Expr]
|
||||
attr_accessor :condition
|
||||
|
||||
# Specifies the identities requesting access for a Cloud Platform resource.
|
||||
# `members` can have the following values:
|
||||
# * `allUsers`: A special identifier that represents anyone who is
|
||||
# on the internet; with or without a Google account.
|
||||
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
# who is authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google
|
||||
# account. For example, `alice@gmail.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group.
|
||||
# For example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
||||
# Role that is assigned to `members`.
|
||||
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
||||
# Corresponds to the JSON property `role`
|
||||
# @return [String]
|
||||
attr_accessor :role
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@condition = args[:condition] if args.key?(:condition)
|
||||
@members = args[:members] if args.key?(:members)
|
||||
@role = args[:role] if args.key?(:role)
|
||||
end
|
||||
end
|
||||
|
||||
# Request for the `CallFunction` method.
|
||||
class CallFunctionRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -76,6 +240,7 @@ module Google
|
|||
|
||||
# Describes a Cloud Function that contains user computation executed in
|
||||
# response to an event. It encapsulate function and triggers configurations.
|
||||
# LINT.IfChange
|
||||
class CloudFunction
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -143,6 +308,8 @@ module Google
|
|||
# `projects/`project`/global/networks/`network`` or ``network``, where
|
||||
# `project` is a project id where the network is defined, and `network` is
|
||||
# the short name of the network.
|
||||
# This field is mutually exclusive with `vpc_connector` and will be replaced
|
||||
# by it.
|
||||
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
|
||||
# more information on connecting Cloud projects.
|
||||
# This feature is currently in alpha, available only for whitelisted users.
|
||||
|
@ -203,6 +370,19 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :version_id
|
||||
|
||||
# The VPC Network Connector that this cloud function can connect to. It can
|
||||
# be either the fully-qualified URI, or the short name of the network
|
||||
# connector resource. The format of this field is
|
||||
# `projects/*/locations/*/connectors/*`
|
||||
# This field is mutually exclusive with `network` field and will eventually
|
||||
# replace it.
|
||||
# See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
|
||||
# more information on connecting Cloud projects.
|
||||
# This feature is currently in alpha, available only for whitelisted users.
|
||||
# Corresponds to the JSON property `vpcConnector`
|
||||
# @return [String]
|
||||
attr_accessor :vpc_connector
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -228,6 +408,7 @@ module Google
|
|||
@timeout = args[:timeout] if args.key?(:timeout)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
@version_id = args[:version_id] if args.key?(:version_id)
|
||||
@vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -298,6 +479,53 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence"
|
||||
# description: "Determines whether the request has a user account"
|
||||
# expression: "size(request.user) > 0"
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in
|
||||
# Common Expression Language syntax.
|
||||
# The application context of the containing message determines which
|
||||
# well-known feature set of CEL is supported.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing
|
||||
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||
# expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@expression = args[:expression] if args.key?(:expression)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@title = args[:title] if args.key?(:title)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes the policy in case of function's execution failure.
|
||||
# If empty, then defaults to ignoring failures (i.e. not retrying them).
|
||||
class FailurePolicy
|
||||
|
@ -727,6 +955,89 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# **YAML Example**
|
||||
# bindings:
|
||||
# - members:
|
||||
# - user:mike@example.com
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies cloud audit logging configuration for this policy.
|
||||
# Corresponds to the JSON property `auditConfigs`
|
||||
# @return [Array<Google::Apis::CloudfunctionsV1::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`.
|
||||
# `bindings` with no members will result in an error.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::CloudfunctionsV1::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
||||
# `etag` is used for optimistic concurrency control as a way to help
|
||||
# prevent simultaneous updates of a policy from overwriting each other.
|
||||
# It is strongly suggested that systems make use of the `etag` in the
|
||||
# read-modify-write cycle to perform policy updates in order to avoid race
|
||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
||||
# ensure that their change will be applied to the same version of the policy.
|
||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
# policy is overwritten blindly.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
||||
@bindings = args[:bindings] if args.key?(:bindings)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes the retry policy in case of function's execution failure.
|
||||
# A function execution will be retried on any failure.
|
||||
# A failed execution will be retried up to 7 days with an exponential backoff
|
||||
|
@ -744,6 +1055,71 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Request message for `SetIamPolicy` method.
|
||||
class SetIamPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
||||
# specify access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
||||
# `members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# `
|
||||
# "bindings": [
|
||||
# `
|
||||
# "role": "roles/owner",
|
||||
# "members": [
|
||||
# "user:mike@example.com",
|
||||
# "group:admins@example.com",
|
||||
# "domain:google.com",
|
||||
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "role": "roles/viewer",
|
||||
# "members": ["user:sean@example.com"]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# **YAML Example**
|
||||
# bindings:
|
||||
# - members:
|
||||
# - user:mike@example.com
|
||||
# - group:admins@example.com
|
||||
# - domain:google.com
|
||||
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner
|
||||
# - members:
|
||||
# - user:sean@example.com
|
||||
# role: roles/viewer
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::CloudfunctionsV1::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
||||
# the fields in the mask will be modified. If no mask is provided, the
|
||||
# following default mask is used:
|
||||
# paths: "bindings, etag"
|
||||
# This field is only used by Cloud IAM.
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes SourceRepository, used to represent parameters related to
|
||||
# source repository where a function is hosted.
|
||||
class SourceRepository
|
||||
|
@ -855,6 +1231,48 @@ module Google
|
|||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for `TestIamPermissions` method.
|
||||
class TestIamPermissionsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The set of permissions to check for the `resource`. Permissions with
|
||||
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
||||
# information see
|
||||
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@permissions = args[:permissions] if args.key?(:permissions)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for `TestIamPermissions` method.
|
||||
class TestIamPermissionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
||||
# allowed.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@permissions = args[:permissions] if args.key?(:permissions)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,6 +22,24 @@ module Google
|
|||
module Apis
|
||||
module CloudfunctionsV1
|
||||
|
||||
class AuditConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Binding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CallFunctionRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -46,6 +64,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Expr
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FailurePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -124,12 +148,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Retry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SourceRepository
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -142,6 +178,45 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudfunctionsV1::AuditLogConfig, decorator: Google::Apis::CloudfunctionsV1::AuditLogConfig::Representation
|
||||
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
||||
class Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :condition, as: 'condition', class: Google::Apis::CloudfunctionsV1::Expr, decorator: Google::Apis::CloudfunctionsV1::Expr::Representation
|
||||
|
||||
collection :members, as: 'members'
|
||||
property :role, as: 'role'
|
||||
end
|
||||
end
|
||||
|
||||
class CallFunctionRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -183,6 +258,7 @@ module Google
|
|||
property :timeout, as: 'timeout'
|
||||
property :update_time, as: 'updateTime'
|
||||
property :version_id, :numeric_string => true, as: 'versionId'
|
||||
property :vpc_connector, as: 'vpcConnector'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -197,6 +273,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Expr
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :expression, as: 'expression'
|
||||
property :location, as: 'location'
|
||||
property :title, as: 'title'
|
||||
end
|
||||
end
|
||||
|
||||
class FailurePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -311,12 +397,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudfunctionsV1::AuditConfig, decorator: Google::Apis::CloudfunctionsV1::AuditConfig::Representation
|
||||
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::CloudfunctionsV1::Binding, decorator: Google::Apis::CloudfunctionsV1::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
||||
class Retry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy, as: 'policy', class: Google::Apis::CloudfunctionsV1::Policy, decorator: Google::Apis::CloudfunctionsV1::Policy::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class SourceRepository
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -333,6 +440,20 @@ module Google
|
|||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -381,6 +381,39 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource.
|
||||
# Returns an empty policy if the resource exists and does not have a policy
|
||||
# set.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @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::CloudfunctionsV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudfunctionsV1::Policy]
|
||||
#
|
||||
# @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_project_location_function_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::CloudfunctionsV1::Policy::Representation
|
||||
command.response_class = Google::Apis::CloudfunctionsV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns a list of functions that belong to the requested project.
|
||||
# @param [String] parent
|
||||
# The project and location from which the function should be listed,
|
||||
|
@ -459,6 +492,80 @@ module Google
|
|||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy is being specified.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::CloudfunctionsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @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::CloudfunctionsV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudfunctionsV1::Policy]
|
||||
#
|
||||
# @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 set_function_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::CloudfunctionsV1::SetIamPolicyRequest::Representation
|
||||
command.request_object = set_iam_policy_request_object
|
||||
command.response_representation = Google::Apis::CloudfunctionsV1::Policy::Representation
|
||||
command.response_class = Google::Apis::CloudfunctionsV1::Policy
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# If the resource does not exist, this will return an empty set of
|
||||
# permissions, not a NOT_FOUND error.
|
||||
# Note: This operation is designed to be used for building permission-aware
|
||||
# UIs and command-line tools, not for authorization checking. This operation
|
||||
# may "fail open" without warning.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which the policy detail is being requested.
|
||||
# See the operation documentation for the appropriate value for this field.
|
||||
# @param [Google::Apis::CloudfunctionsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @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::CloudfunctionsV1::TestIamPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CloudfunctionsV1::TestIamPermissionsResponse]
|
||||
#
|
||||
# @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 test_function_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::CloudfunctionsV1::TestIamPermissionsRequest::Representation
|
||||
command.request_object = test_iam_permissions_request_object
|
||||
command.response_representation = Google::Apis::CloudfunctionsV1::TestIamPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::CloudfunctionsV1::TestIamPermissionsResponse
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
|
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/cloudsearch_v1/service.rb'
|
||||
require 'google/apis/cloudsearch_v1/classes.rb'
|
||||
require 'google/apis/cloudsearch_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Search API
|
||||
#
|
||||
# Cloud Search provides cloud-based search capabilities over G Suite data. The
|
||||
# Cloud Search API allows indexing of non-G Suite data into Cloud Search.
|
||||
#
|
||||
# @see https://gsuite.google.com/products/cloud-search/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181029'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.debug
|
||||
AUTH_CLOUD_SEARCH_DEBUG = 'https://www.googleapis.com/auth/cloud_search.debug'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.indexing
|
||||
AUTH_CLOUD_SEARCH_INDEXING = 'https://www.googleapis.com/auth/cloud_search.indexing'
|
||||
|
||||
# Search your organization's data in the Cloud Search index
|
||||
AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.settings
|
||||
AUTH_CLOUD_SEARCH_SETTINGS = 'https://www.googleapis.com/auth/cloud_search.settings'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.settings.indexing
|
||||
AUTH_CLOUD_SEARCH_SETTINGS_INDEXING = 'https://www.googleapis.com/auth/cloud_search.settings.indexing'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.settings.query
|
||||
AUTH_CLOUD_SEARCH_SETTINGS_QUERY = 'https://www.googleapis.com/auth/cloud_search.settings.query'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.stats
|
||||
AUTH_CLOUD_SEARCH_STATS = 'https://www.googleapis.com/auth/cloud_search.stats'
|
||||
|
||||
# New Service: https://www.googleapis.com/auth/cloud_search.stats.indexing
|
||||
AUTH_CLOUD_SEARCH_STATS_INDEXING = 'https://www.googleapis.com/auth/cloud_search.stats.indexing'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20180731'
|
||||
REVISION = '20181022'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -65,6 +65,11 @@ module Google
|
|||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
# The request to the handler, however, will appear to have used the HTTP
|
||||
# protocol.
|
||||
# The AppEngineRouting used to construct the URL that the task is
|
||||
# delivered to can be set at the queue-level or task-level:
|
||||
# * If set,
|
||||
|
@ -75,6 +80,15 @@ module Google
|
|||
# The `url` that the task will be sent to is:
|
||||
# * `url =` host `+`
|
||||
# relative_url
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
|
@ -86,6 +100,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# App Engine Routing.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -198,6 +214,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# App Engine Routing.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -222,6 +240,8 @@ module Google
|
|||
end
|
||||
|
||||
# App Engine Routing.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -1552,6 +1572,11 @@ module Google
|
|||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
# The request to the handler, however, will appear to have used the HTTP
|
||||
# protocol.
|
||||
# The AppEngineRouting used to construct the URL that the task is
|
||||
# delivered to can be set at the queue-level or task-level:
|
||||
# * If set,
|
||||
|
@ -1562,6 +1587,15 @@ module Google
|
|||
# The `url` that the task will be sent to is:
|
||||
# * `url =` host `+`
|
||||
# relative_url
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta3
|
||||
VERSION = 'V2beta3'
|
||||
REVISION = '20180830'
|
||||
REVISION = '20181022'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -37,16 +37,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# App Engine Routing.
|
||||
# Specifies the target URI. Since this target type dispatches tasks to secure
|
||||
# app handlers, unsecure app handlers, and URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# the protocol (for example, HTTP or HTTPS) cannot be explictly specified.
|
||||
# Task dispatches do not follow redirects and cannot target URI paths
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# because tasks are not run as any user.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -88,6 +80,11 @@ module Google
|
|||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
# The request to the handler, however, will appear to have used the HTTP
|
||||
# protocol.
|
||||
# The AppEngineRouting used to construct the URL that the task is
|
||||
# delivered to can be set at the queue-level or task-level:
|
||||
# * If set,
|
||||
|
@ -98,6 +95,15 @@ module Google
|
|||
# The `url` that the task will be sent to is:
|
||||
# * `url =` host `+`
|
||||
# relative_uri
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
|
@ -109,16 +115,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# App Engine Routing.
|
||||
# Specifies the target URI. Since this target type dispatches tasks to secure
|
||||
# app handlers, unsecure app handlers, and URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# the protocol (for example, HTTP or HTTPS) cannot be explictly specified.
|
||||
# Task dispatches do not follow redirects and cannot target URI paths
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# because tasks are not run as any user.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -215,16 +213,8 @@ module Google
|
|||
end
|
||||
|
||||
# App Engine Routing.
|
||||
# Specifies the target URI. Since this target type dispatches tasks to secure
|
||||
# app handlers, unsecure app handlers, and URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# the protocol (for example, HTTP or HTTPS) cannot be explictly specified.
|
||||
# Task dispatches do not follow redirects and cannot target URI paths
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# because tasks are not run as any user.
|
||||
# Defines routing characteristics specific to App Engine - service, version,
|
||||
# and instance.
|
||||
# For more information about services, versions, and instances see
|
||||
# [An Overview of App Engine](https://cloud.google.com/appengine/docs/python/an-
|
||||
# overview-of-app-engine),
|
||||
|
@ -1258,6 +1248,11 @@ module Google
|
|||
# and how routing is affected by
|
||||
# [dispatch files](https://cloud.google.com/appengine/docs/python/config/
|
||||
# dispatchref).
|
||||
# Traffic is encrypted during transport and never leaves Google datacenters.
|
||||
# Because this traffic is carried over a communication mechanism internal to
|
||||
# Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
|
||||
# The request to the handler, however, will appear to have used the HTTP
|
||||
# protocol.
|
||||
# The AppEngineRouting used to construct the URL that the task is
|
||||
# delivered to can be set at the queue-level or task-level:
|
||||
# * If set,
|
||||
|
@ -1268,6 +1263,15 @@ module Google
|
|||
# The `url` that the task will be sent to is:
|
||||
# * `url =` host `+`
|
||||
# relative_uri
|
||||
# Tasks can be dispatched to secure app handlers, unsecure app handlers, and
|
||||
# URIs restricted with
|
||||
# [`login: admin`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref).
|
||||
# Because tasks are not run as any user, they cannot be dispatched to URIs
|
||||
# restricted with
|
||||
# [`login: required`](https://cloud.google.com/appengine/docs/standard/python/
|
||||
# config/appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/composer/
|
||||
module ComposerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20181001'
|
||||
REVISION = '20181019'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -533,8 +533,7 @@ module Google
|
|||
# Immutable. The version of the software running in the environment.
|
||||
# This encapsulates both the version of Cloud Composer functionality and the
|
||||
# version of Apache Airflow. It must match the regular expression
|
||||
# `composer-([0-9]+\.[0-9]+(\.[0-9]+)?|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)
|
||||
# ?`.
|
||||
# `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
|
||||
# When used as input, the server will also check if the provided version is
|
||||
# supported and deny the creation request for an unsupported version.
|
||||
# The Cloud Composer portion of the version is a
|
||||
|
@ -548,16 +547,14 @@ module Google
|
|||
# Apache Airflow repository
|
||||
# [release name](https://github.com/apache/incubator-airflow/releases).
|
||||
# Supported values for input are:
|
||||
# * `composer-latest-airflow-latest`
|
||||
# * `composer-latest-airflow-1.10.0`
|
||||
# * `composer-latest-airflow-1.9.0`
|
||||
# * `composer-latest-airflow-1.10`
|
||||
# * `composer-latest-airflow-1.9`
|
||||
# * `composer-1.1.1-airflow-latest`
|
||||
# * `composer-1.1.1-airflow-1.10.0`
|
||||
# * `composer-1.1.1-airflow-1.9.0`
|
||||
# * `composer-1.1.1-airflow-1.10`
|
||||
# * `composer-1.1.1-airflow-1.9`
|
||||
# * `composer-1.3.0-airflow-1.10.0`
|
||||
# * `composer-1.3.0-airflow-1.9.0`
|
||||
# * `composer-1.3.0-airflow-1.10`
|
||||
# * `composer-1.3.0-airflow-1.9`
|
||||
# See also [Release Notes](/composer/docs/release-notes).
|
||||
# Corresponds to the JSON property `imageVersion`
|
||||
# @return [String]
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20180916'
|
||||
REVISION = '20181017'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20180916'
|
||||
REVISION = '20181017'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180916'
|
||||
REVISION = '20181017'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/shopping-content
|
||||
module ContentV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181016'
|
||||
REVISION = '20181029'
|
||||
|
||||
# Manage your product listings and accounts for Google Shopping
|
||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||
|
|
|
@ -1569,6 +1569,70 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomAttribute
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the attribute. Underscores will be replaced by spaces upon
|
||||
# insertion.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The type of the attribute.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Free-form unit of the attribute. Unit can only be used for values of type int,
|
||||
# float, or price.
|
||||
# Corresponds to the JSON property `unit`
|
||||
# @return [String]
|
||||
attr_accessor :unit
|
||||
|
||||
# The value of the attribute.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@unit = args[:unit] if args.key?(:unit)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The sub-attributes.
|
||||
# Corresponds to the JSON property `attributes`
|
||||
# @return [Array<Google::Apis::ContentV2::CustomAttribute>]
|
||||
attr_accessor :attributes
|
||||
|
||||
# The name of the group. Underscores will be replaced by spaces upon insertion.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@attributes = args[:attributes] if args.key?(:attributes)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CustomerReturnReason
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2764,6 +2828,11 @@ module Google
|
|||
# @return [Google::Apis::ContentV2::Installment]
|
||||
attr_accessor :installment
|
||||
|
||||
# The instore product location. Supported only for local products.
|
||||
# Corresponds to the JSON property `instoreProductLocation`
|
||||
# @return [String]
|
||||
attr_accessor :instore_product_location
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "content#
|
||||
# inventory".
|
||||
# Corresponds to the JSON property `kind`
|
||||
|
@ -2825,6 +2894,7 @@ module Google
|
|||
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
|
||||
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
|
||||
@installment = args[:installment] if args.key?(:installment)
|
||||
@instore_product_location = args[:instore_product_location] if args.key?(:instore_product_location)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
||||
@pickup = args[:pickup] if args.key?(:pickup)
|
||||
|
@ -3031,6 +3101,11 @@ module Google
|
|||
# @return [Google::Apis::ContentV2::Installment]
|
||||
attr_accessor :installment
|
||||
|
||||
# The instore product location. Supported only for local products.
|
||||
# Corresponds to the JSON property `instoreProductLocation`
|
||||
# @return [String]
|
||||
attr_accessor :instore_product_location
|
||||
|
||||
# Loyalty points that users receive after purchasing the item. Japan only.
|
||||
# Corresponds to the JSON property `loyaltyPoints`
|
||||
# @return [Google::Apis::ContentV2::LoyaltyPoints]
|
||||
|
@ -3086,6 +3161,7 @@ module Google
|
|||
@custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
|
||||
@custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
|
||||
@installment = args[:installment] if args.key?(:installment)
|
||||
@instore_product_location = args[:instore_product_location] if args.key?(:instore_product_location)
|
||||
@loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points)
|
||||
@pickup = args[:pickup] if args.key?(:pickup)
|
||||
@price = args[:price] if args.key?(:price)
|
||||
|
@ -4485,6 +4561,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :content_language
|
||||
|
||||
# Associated fees at order creation time.
|
||||
# Corresponds to the JSON property `fees`
|
||||
# @return [Array<Google::Apis::ContentV2::OrderLineItemProductFee>]
|
||||
attr_accessor :fees
|
||||
|
||||
# Global Trade Item Number (GTIN) of the item.
|
||||
# Corresponds to the JSON property `gtin`
|
||||
# @return [String]
|
||||
|
@ -4552,6 +4633,7 @@ module Google
|
|||
@channel = args[:channel] if args.key?(:channel)
|
||||
@condition = args[:condition] if args.key?(:condition)
|
||||
@content_language = args[:content_language] if args.key?(:content_language)
|
||||
@fees = args[:fees] if args.key?(:fees)
|
||||
@gtin = args[:gtin] if args.key?(:gtin)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@image_link = args[:image_link] if args.key?(:image_link)
|
||||
|
@ -4566,6 +4648,37 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLineItemProductFee
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Amount of the fee.
|
||||
# Corresponds to the JSON property `amount`
|
||||
# @return [Google::Apis::ContentV2::Price]
|
||||
attr_accessor :amount
|
||||
|
||||
# Case-insensitive fee ID.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Name of the fee.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@amount = args[:amount] if args.key?(:amount)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class OrderLineItemProductVariantAttribute
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -8427,12 +8540,12 @@ module Google
|
|||
# "name": "size type", "type": "text", "value": "regular" `). This is useful
|
||||
# for submitting attributes not explicitly exposed by the API.
|
||||
# Corresponds to the JSON property `customAttributes`
|
||||
# @return [Array<Google::Apis::ContentV2::ProductCustomAttribute>]
|
||||
# @return [Array<Google::Apis::ContentV2::CustomAttribute>]
|
||||
attr_accessor :custom_attributes
|
||||
|
||||
# A list of custom (merchant-provided) custom attribute groups.
|
||||
# Corresponds to the JSON property `customGroups`
|
||||
# @return [Array<Google::Apis::ContentV2::ProductCustomGroup>]
|
||||
# @return [Array<Google::Apis::ContentV2::CustomGroup>]
|
||||
attr_accessor :custom_groups
|
||||
|
||||
# Custom label 0 for custom grouping of items in a Shopping campaign.
|
||||
|
@ -8874,70 +8987,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ProductCustomAttribute
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the attribute. Underscores will be replaced by spaces upon
|
||||
# insertion.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The type of the attribute.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Free-form unit of the attribute. Unit can only be used for values of type int,
|
||||
# float, or price.
|
||||
# Corresponds to the JSON property `unit`
|
||||
# @return [String]
|
||||
attr_accessor :unit
|
||||
|
||||
# The value of the attribute.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@unit = args[:unit] if args.key?(:unit)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ProductCustomGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The sub-attributes.
|
||||
# Corresponds to the JSON property `attributes`
|
||||
# @return [Array<Google::Apis::ContentV2::ProductCustomAttribute>]
|
||||
attr_accessor :attributes
|
||||
|
||||
# The name of the group. Underscores will be replaced by spaces upon insertion.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@attributes = args[:attributes] if args.key?(:attributes)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ProductDestination
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -268,6 +268,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomAttribute
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CustomerReturnReason
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -688,6 +700,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLineItemProductFee
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OrderLineItemProductVariantAttribute
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1294,18 +1312,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ProductCustomAttribute
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ProductCustomGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ProductDestination
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2044,6 +2050,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class CustomAttribute
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :type, as: 'type'
|
||||
property :unit, as: 'unit'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class CustomGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :attributes, as: 'attributes', class: Google::Apis::ContentV2::CustomAttribute, decorator: Google::Apis::ContentV2::CustomAttribute::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class CustomerReturnReason
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2370,6 +2395,7 @@ module Google
|
|||
property :custom_label4, as: 'customLabel4'
|
||||
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
||||
|
||||
property :instore_product_location, as: 'instoreProductLocation'
|
||||
property :kind, as: 'kind'
|
||||
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
||||
|
||||
|
@ -2443,6 +2469,7 @@ module Google
|
|||
property :custom_label4, as: 'customLabel4'
|
||||
property :installment, as: 'installment', class: Google::Apis::ContentV2::Installment, decorator: Google::Apis::ContentV2::Installment::Representation
|
||||
|
||||
property :instore_product_location, as: 'instoreProductLocation'
|
||||
property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation
|
||||
|
||||
property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation
|
||||
|
@ -2858,6 +2885,8 @@ module Google
|
|||
property :channel, as: 'channel'
|
||||
property :condition, as: 'condition'
|
||||
property :content_language, as: 'contentLanguage'
|
||||
collection :fees, as: 'fees', class: Google::Apis::ContentV2::OrderLineItemProductFee, decorator: Google::Apis::ContentV2::OrderLineItemProductFee::Representation
|
||||
|
||||
property :gtin, as: 'gtin'
|
||||
property :id, as: 'id'
|
||||
property :image_link, as: 'imageLink'
|
||||
|
@ -2874,6 +2903,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OrderLineItemProductFee
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class OrderLineItemProductVariantAttribute
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -3959,9 +3998,9 @@ module Google
|
|||
property :content_language, as: 'contentLanguage'
|
||||
property :cost_of_goods_sold, as: 'costOfGoodsSold', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
|
||||
|
||||
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
||||
collection :custom_attributes, as: 'customAttributes', class: Google::Apis::ContentV2::CustomAttribute, decorator: Google::Apis::ContentV2::CustomAttribute::Representation
|
||||
|
||||
collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::ProductCustomGroup, decorator: Google::Apis::ContentV2::ProductCustomGroup::Representation
|
||||
collection :custom_groups, as: 'customGroups', class: Google::Apis::ContentV2::CustomGroup, decorator: Google::Apis::ContentV2::CustomGroup::Representation
|
||||
|
||||
property :custom_label0, as: 'customLabel0'
|
||||
property :custom_label1, as: 'customLabel1'
|
||||
|
@ -4049,25 +4088,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ProductCustomAttribute
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :type, as: 'type'
|
||||
property :unit, as: 'unit'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class ProductCustomGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :attributes, as: 'attributes', class: Google::Apis::ContentV2::ProductCustomAttribute, decorator: Google::Apis::ContentV2::ProductCustomAttribute::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class ProductDestination
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataflow
|
||||
module DataflowV1b3
|
||||
VERSION = 'V1b3'
|
||||
REVISION = '20180926'
|
||||
REVISION = '20181016'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1810,6 +1810,16 @@ module Google
|
|||
# @return [Array<Google::Apis::DataflowV1b3::ExecutionStageState>]
|
||||
attr_accessor :stage_states
|
||||
|
||||
# The timestamp when the job was started (transitioned to JOB_STATE_PENDING).
|
||||
# Flexible resource scheduling jobs are started with some delay after job
|
||||
# creation, so start_time is unset before start and is updated when the
|
||||
# job is started by the Cloud Dataflow service. For other jobs, start_time
|
||||
# always equals to create_time and is immutable and set by the Cloud Dataflow
|
||||
# service.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# The top-level steps that constitute the entire job.
|
||||
# Corresponds to the JSON property `steps`
|
||||
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
||||
|
@ -1862,6 +1872,7 @@ module Google
|
|||
@replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id)
|
||||
@requested_state = args[:requested_state] if args.key?(:requested_state)
|
||||
@stage_states = args[:stage_states] if args.key?(:stage_states)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@steps = args[:steps] if args.key?(:steps)
|
||||
@temp_files = args[:temp_files] if args.key?(:temp_files)
|
||||
@transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping)
|
||||
|
@ -4234,6 +4245,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Streaming appliance snapshot configuration.
|
||||
class StreamingApplianceSnapshotConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indicates which endpoint is used to import appliance state.
|
||||
# Corresponds to the JSON property `importStateEndpoint`
|
||||
# @return [String]
|
||||
attr_accessor :import_state_endpoint
|
||||
|
||||
# If set, indicates the snapshot id for the snapshot being performed.
|
||||
# Corresponds to the JSON property `snapshotId`
|
||||
# @return [String]
|
||||
attr_accessor :snapshot_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@import_state_endpoint = args[:import_state_endpoint] if args.key?(:import_state_endpoint)
|
||||
@snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration information for a single streaming computation.
|
||||
class StreamingComputationConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -4386,6 +4422,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :receive_work_port
|
||||
|
||||
# Streaming appliance snapshot configuration.
|
||||
# Corresponds to the JSON property `snapshotConfig`
|
||||
# @return [Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig]
|
||||
attr_accessor :snapshot_config
|
||||
|
||||
# Global topology of the streaming Dataflow job, including all
|
||||
# computations and their sharded locations.
|
||||
# Corresponds to the JSON property `streamingComputationTopology`
|
||||
|
@ -4406,6 +4447,7 @@ module Google
|
|||
def update!(**args)
|
||||
@drain = args[:drain] if args.key?(:drain)
|
||||
@receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port)
|
||||
@snapshot_config = args[:snapshot_config] if args.key?(:snapshot_config)
|
||||
@streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology)
|
||||
@worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port)
|
||||
end
|
||||
|
|
|
@ -670,6 +670,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StreamingApplianceSnapshotConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StreamingComputationConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1308,6 +1314,7 @@ module Google
|
|||
property :requested_state, as: 'requestedState'
|
||||
collection :stage_states, as: 'stageStates', class: Google::Apis::DataflowV1b3::ExecutionStageState, decorator: Google::Apis::DataflowV1b3::ExecutionStageState::Representation
|
||||
|
||||
property :start_time, as: 'startTime'
|
||||
collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation
|
||||
|
||||
collection :temp_files, as: 'tempFiles'
|
||||
|
@ -1975,6 +1982,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class StreamingApplianceSnapshotConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :import_state_endpoint, as: 'importStateEndpoint'
|
||||
property :snapshot_id, as: 'snapshotId'
|
||||
end
|
||||
end
|
||||
|
||||
class StreamingComputationConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2022,6 +2037,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :drain, as: 'drain'
|
||||
property :receive_work_port, as: 'receiveWorkPort'
|
||||
property :snapshot_config, as: 'snapshotConfig', class: Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig, decorator: Google::Apis::DataflowV1b3::StreamingApplianceSnapshotConfig::Representation
|
||||
|
||||
property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation
|
||||
|
||||
property :worker_harness_port, as: 'workerHarnessPort'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180928'
|
||||
REVISION = '20181019'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2267,35 +2267,35 @@ module Google
|
|||
# to appear in at most one parameter's list of field paths.A field path is
|
||||
# similar in syntax to a google.protobuf.FieldMask. For example, a field path
|
||||
# that references the zone field of a workflow template's cluster selector would
|
||||
# be specified as <code>placement.clusterSelector.zone</code>.Also, field paths
|
||||
# can reference fields using the following syntax:
|
||||
# Values in maps can be referenced by key. Examples<br>
|
||||
# be specified as placement.clusterSelector.zone.Also, field paths can reference
|
||||
# fields using the following syntax:
|
||||
# Values in maps can be referenced by key:
|
||||
# labels'key'
|
||||
# placement.clusterSelector.clusterLabels'key'
|
||||
# placement.managedCluster.labels'key'
|
||||
# placement.clusterSelector.clusterLabels'key'
|
||||
# jobsstep-id.labels'key'
|
||||
# Jobs in the jobs list can be referenced by step-id. Examples:<br>
|
||||
# jobsstep-id.hadoopJob.mainJarFileUri
|
||||
# jobsstep-id.hiveJob.queryFileUri
|
||||
# jobsstep-id.pySparkJob.mainPythonFileUri
|
||||
# jobsstep-id.hadoopJob.jarFileUris0
|
||||
# jobsstep-id.hadoopJob.archiveUris0
|
||||
# jobsstep-id.hadoopJob.fileUris0
|
||||
# jobsstep-id.pySparkJob.pythonFileUris0
|
||||
# Items in repeated fields can be referenced by a zero-based index. Example:<br>
|
||||
# jobsstep-id.sparkJob.args0
|
||||
# jobs'step-id'.labels'key'
|
||||
# Jobs in the jobs list can be referenced by step-id:
|
||||
# jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
# jobs'step-id'.hiveJob.queryFileUri
|
||||
# jobs'step-id'.pySparkJob.mainPythonFileUri
|
||||
# jobs'step-id'.hadoopJob.jarFileUris0
|
||||
# jobs'step-id'.hadoopJob.archiveUris0
|
||||
# jobs'step-id'.hadoopJob.fileUris0
|
||||
# jobs'step-id'.pySparkJob.pythonFileUris0
|
||||
# Items in repeated fields can be referenced by a zero-based index:
|
||||
# jobs'step-id'.sparkJob.args0
|
||||
# Other examples:
|
||||
# jobsstep-id.hadoopJob.properties'key'
|
||||
# jobsstep-id.hadoopJob.args0
|
||||
# jobsstep-id.hiveJob.scriptVariables'key'
|
||||
# jobsstep-id.hadoopJob.mainJarFileUri
|
||||
# jobs'step-id'.hadoopJob.properties'key'
|
||||
# jobs'step-id'.hadoopJob.args0
|
||||
# jobs'step-id'.hiveJob.scriptVariables'key'
|
||||
# jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
# placement.clusterSelector.zoneIt may not be possible to parameterize maps and
|
||||
# repeated fields in their entirety since only individual map values and
|
||||
# individual items in repeated fields can be referenced. For example, the
|
||||
# following field paths are invalid:
|
||||
# placement.clusterSelector.clusterLabels
|
||||
# jobsstep-id.sparkJob.args
|
||||
# jobs'step-id'.sparkJob.args
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :fields
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180928'
|
||||
REVISION = '20181019'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2328,35 +2328,35 @@ module Google
|
|||
# to appear in at most one parameter's list of field paths.A field path is
|
||||
# similar in syntax to a google.protobuf.FieldMask. For example, a field path
|
||||
# that references the zone field of a workflow template's cluster selector would
|
||||
# be specified as <code>placement.clusterSelector.zone</code>.Also, field paths
|
||||
# can reference fields using the following syntax:
|
||||
# Values in maps can be referenced by key. Examples<br>
|
||||
# be specified as placement.clusterSelector.zone.Also, field paths can reference
|
||||
# fields using the following syntax:
|
||||
# Values in maps can be referenced by key:
|
||||
# labels'key'
|
||||
# placement.clusterSelector.clusterLabels'key'
|
||||
# placement.managedCluster.labels'key'
|
||||
# placement.clusterSelector.clusterLabels'key'
|
||||
# jobsstep-id.labels'key'
|
||||
# Jobs in the jobs list can be referenced by step-id. Examples:<br>
|
||||
# jobsstep-id.hadoopJob.mainJarFileUri
|
||||
# jobsstep-id.hiveJob.queryFileUri
|
||||
# jobsstep-id.pySparkJob.mainPythonFileUri
|
||||
# jobsstep-id.hadoopJob.jarFileUris0
|
||||
# jobsstep-id.hadoopJob.archiveUris0
|
||||
# jobsstep-id.hadoopJob.fileUris0
|
||||
# jobsstep-id.pySparkJob.pythonFileUris0
|
||||
# Items in repeated fields can be referenced by a zero-based index. Example:<br>
|
||||
# jobsstep-id.sparkJob.args0
|
||||
# jobs'step-id'.labels'key'
|
||||
# Jobs in the jobs list can be referenced by step-id:
|
||||
# jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
# jobs'step-id'.hiveJob.queryFileUri
|
||||
# jobs'step-id'.pySparkJob.mainPythonFileUri
|
||||
# jobs'step-id'.hadoopJob.jarFileUris0
|
||||
# jobs'step-id'.hadoopJob.archiveUris0
|
||||
# jobs'step-id'.hadoopJob.fileUris0
|
||||
# jobs'step-id'.pySparkJob.pythonFileUris0
|
||||
# Items in repeated fields can be referenced by a zero-based index:
|
||||
# jobs'step-id'.sparkJob.args0
|
||||
# Other examples:
|
||||
# jobsstep-id.hadoopJob.properties'key'
|
||||
# jobsstep-id.hadoopJob.args0
|
||||
# jobsstep-id.hiveJob.scriptVariables'key'
|
||||
# jobsstep-id.hadoopJob.mainJarFileUri
|
||||
# jobs'step-id'.hadoopJob.properties'key'
|
||||
# jobs'step-id'.hadoopJob.args0
|
||||
# jobs'step-id'.hiveJob.scriptVariables'key'
|
||||
# jobs'step-id'.hadoopJob.mainJarFileUri
|
||||
# placement.clusterSelector.zoneIt may not be possible to parameterize maps and
|
||||
# repeated fields in their entirety since only individual map values and
|
||||
# individual items in repeated fields can be referenced. For example, the
|
||||
# following field paths are invalid:
|
||||
# placement.clusterSelector.clusterLabels
|
||||
# jobsstep-id.sparkJob.args
|
||||
# jobs'step-id'.sparkJob.args
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :fields
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dfareporting_v2_8/service.rb'
|
||||
require 'google/apis/dfareporting_v2_8/classes.rb'
|
||||
require 'google/apis/dfareporting_v2_8/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# DCM/DFA Reporting And Trafficking API
|
||||
#
|
||||
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
||||
#
|
||||
# @see https://developers.google.com/doubleclick-advertisers/
|
||||
module DfareportingV2_8
|
||||
VERSION = 'V2_8'
|
||||
REVISION = '20180830'
|
||||
|
||||
# Manage DoubleClick Digital Marketing conversions
|
||||
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
||||
|
||||
# View and manage DoubleClick for Advertisers reports
|
||||
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
||||
|
||||
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
|
||||
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181015'
|
||||
REVISION = '20181022'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20181017'
|
||||
REVISION = '20181022'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -20,13 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Digital Asset Links API
|
||||
#
|
||||
# API for discovering relationships between online assets such as web sites or
|
||||
# mobile apps.
|
||||
# Discovers relationships between online assets such as websites or mobile apps.
|
||||
#
|
||||
# @see https://developers.google.com/digital-asset-links/
|
||||
module DigitalassetlinksV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180606'
|
||||
REVISION = '20181103'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,8 +22,7 @@ module Google
|
|||
module DigitalassetlinksV1
|
||||
# Digital Asset Links API
|
||||
#
|
||||
# API for discovering relationships between online assets such as web sites or
|
||||
# mobile apps.
|
||||
# Discovers relationships between online assets such as websites or mobile apps.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/digitalassetlinks_v1'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181002'
|
||||
REVISION = '20181030'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -238,6 +238,12 @@ module Google
|
|||
class GooglePrivacyDlpV2BigQueryOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# References to fields excluded from scanning. This allows you to skip
|
||||
# inspection of entire columns which you know have no findings.
|
||||
# Corresponds to the JSON property `excludedFields`
|
||||
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>]
|
||||
attr_accessor :excluded_fields
|
||||
|
||||
# References to fields uniquely identifying rows within the table.
|
||||
# Nested fields in the format, like `person.birthdate.year`, are allowed.
|
||||
# Corresponds to the JSON property `identifyingFields`
|
||||
|
@ -281,6 +287,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@excluded_fields = args[:excluded_fields] if args.key?(:excluded_fields)
|
||||
@identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
|
||||
@rows_limit = args[:rows_limit] if args.key?(:rows_limit)
|
||||
@rows_limit_percent = args[:rows_limit_percent] if args.key?(:rows_limit_percent)
|
||||
|
@ -683,7 +690,8 @@ module Google
|
|||
|
||||
# List of file type groups to include in the scan.
|
||||
# If empty, all files are scanned and available data format processors
|
||||
# are applied.
|
||||
# are applied. In addition, the binary content of the selected files
|
||||
# is always scanned as well.
|
||||
# Corresponds to the JSON property `fileTypes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :file_types
|
||||
|
@ -1482,6 +1490,7 @@ module Google
|
|||
end
|
||||
|
||||
# Message for a date time object.
|
||||
# e.g. 2018-01-01, 5th August.
|
||||
class GooglePrivacyDlpV2DateTime
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -2547,7 +2556,8 @@ module Google
|
|||
# Name of the information type. Either a name of your choosing when
|
||||
# creating a CustomInfoType, or one of the names listed
|
||||
# at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
|
||||
# a built-in type.
|
||||
# a built-in type. InfoType names should conform to the pattern
|
||||
# [a-zA-Z0-9_]`1,64`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -3062,7 +3072,7 @@ module Google
|
|||
attr_accessor :display_name
|
||||
|
||||
# A stream of errors encountered when the trigger was activated. Repeated
|
||||
# errors may result in the JobTrigger automaticaly being paused.
|
||||
# errors may result in the JobTrigger automatically being paused.
|
||||
# Will return the last 100 errors. Whenever the JobTrigger is modified
|
||||
# this list will be cleared. Output only field.
|
||||
# Corresponds to the JSON property `errors`
|
||||
|
@ -3929,8 +3939,9 @@ module Google
|
|||
# from the `Finding` object. If appending to an existing table, any columns
|
||||
# from the predefined schema that are missing will be added. No columns in
|
||||
# the existing table will be deleted.
|
||||
# If unspecified, then all available columns will be used for a new table,
|
||||
# and no changes will be made to an existing table.
|
||||
# If unspecified, then all available columns will be used for a new table or
|
||||
# an (existing) table with no schema, and no changes will be made to an
|
||||
# existing table that has a schema.
|
||||
# Corresponds to the JSON property `outputSchema`
|
||||
# @return [String]
|
||||
attr_accessor :output_schema
|
||||
|
@ -4374,6 +4385,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Message for a date time object.
|
||||
# e.g. 2018-01-01, 5th August.
|
||||
# Corresponds to the JSON property `dateTime`
|
||||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DateTime]
|
||||
attr_accessor :date_time
|
||||
|
|
|
@ -1104,6 +1104,8 @@ module Google
|
|||
class GooglePrivacyDlpV2BigQueryOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :excluded_fields, as: 'excludedFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
|
||||
|
||||
property :rows_limit, :numeric_string => true, as: 'rowsLimit'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/doubleclick-search/
|
||||
module DoubleclicksearchV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180802'
|
||||
REVISION = '20181030'
|
||||
|
||||
# View and manage your advertising data in DoubleClick Search
|
||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||
|
|
|
@ -652,7 +652,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :report_type
|
||||
|
||||
# Synchronous report only. The maxinum number of rows to return; additional rows
|
||||
# Synchronous report only. The maximum number of rows to return; additional rows
|
||||
# are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000.
|
||||
# Corresponds to the JSON property `rowCount`
|
||||
# @return [Fixnum]
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180830'
|
||||
REVISION = '20181022'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -1339,7 +1339,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
#
|
||||
# Short lived download URL for the file. This field is only populated for files
|
||||
# with content stored in Drive; it is not populated for Google Docs or shortcut
|
||||
# files.
|
||||
# Corresponds to the JSON property `downloadUrl`
|
||||
# @return [String]
|
||||
attr_accessor :download_url
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180814'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -41,6 +41,643 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Metadata for google.longrunning.Operation results from
|
||||
# FirestoreAdmin.ExportDocuments.
|
||||
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Which collection ids are being exported.
|
||||
# Corresponds to the JSON property `collectionIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :collection_ids
|
||||
|
||||
# The time this operation completed. Will be unset if operation still in
|
||||
# progress.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# The state of the export operation.
|
||||
# Corresponds to the JSON property `operationState`
|
||||
# @return [String]
|
||||
attr_accessor :operation_state
|
||||
|
||||
# Where the entities are being exported to.
|
||||
# Corresponds to the JSON property `outputUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :output_uri_prefix
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressBytes`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_bytes
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressDocuments`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_documents
|
||||
|
||||
# The time this operation started.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
||||
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
||||
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
||||
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for FirestoreAdmin.ExportDocuments.
|
||||
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Which collection ids to export. Unspecified means all collections.
|
||||
# Corresponds to the JSON property `collectionIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :collection_ids
|
||||
|
||||
# The output URI. Currently only supports Google Cloud Storage URIs of the
|
||||
# form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
|
||||
# of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
|
||||
# Google Cloud Storage namespace path. When
|
||||
# choosing a name, be sure to consider Google Cloud Storage naming
|
||||
# guidelines: https://cloud.google.com/storage/docs/naming.
|
||||
# If the URI is a bucket (without a namespace path), a prefix will be
|
||||
# generated based on the start time.
|
||||
# Corresponds to the JSON property `outputUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :output_uri_prefix
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
||||
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
||||
end
|
||||
end
|
||||
|
||||
# Returned in the google.longrunning.Operation response field.
|
||||
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Location of the output files. This can be used to begin an import
|
||||
# into Cloud Firestore (this project or another project) after the operation
|
||||
# completes successfully.
|
||||
# Corresponds to the JSON property `outputUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :output_uri_prefix
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a single field in the database.
|
||||
# Fields are grouped by their "Collection Group", which represent all
|
||||
# collections in the database with the same id.
|
||||
class GoogleFirestoreAdminV1Field
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The index configuration for this field.
|
||||
# Corresponds to the JSON property `indexConfig`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig]
|
||||
attr_accessor :index_config
|
||||
|
||||
# A field name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /fields/`field_path``
|
||||
# A field path may be a simple field name, e.g. `address` or a path to fields
|
||||
# within map_value , e.g. `address.city`,
|
||||
# or a special field path. The only valid special field is `*`, which
|
||||
# represents any field.
|
||||
# Field paths may be quoted using ` (backtick). The only character that needs
|
||||
# to be escaped within a quoted field path is the backtick character itself,
|
||||
# escaped using a backslash. Special characters in field paths that
|
||||
# must be quoted include: `*`, `.`,
|
||||
# ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
|
||||
# Examples:
|
||||
# (Note: Comments here are written in markdown syntax, so there is an
|
||||
# additional layer of backticks to represent a code block)
|
||||
# `\`address.city\`` represents a field named `address.city`, not the map key
|
||||
# `city` in the field `address`.
|
||||
# `\`*\`` represents a field named `*`, not any field.
|
||||
# A special `Field` contains the default indexing settings for all fields.
|
||||
# This field's resource name is:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/__default__/
|
||||
# fields/*`
|
||||
# Indexes defined on this `Field` will be applied to all fields which do not
|
||||
# have their own `Field` index configuration.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@index_config = args[:index_config] if args.key?(:index_config)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata for google.longrunning.Operation results from
|
||||
# FirestoreAdmin.UpdateField.
|
||||
class GoogleFirestoreAdminV1FieldOperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time this operation completed. Will be unset if operation still in
|
||||
# progress.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# The field resource that this operation is acting on. For example:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /fields/`field_path``
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
# A list of IndexConfigDelta, which describe the intent of this
|
||||
# operation.
|
||||
# Corresponds to the JSON property `indexConfigDeltas`
|
||||
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta>]
|
||||
attr_accessor :index_config_deltas
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressBytes`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_bytes
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressDocuments`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_documents
|
||||
|
||||
# The time this operation started.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# The state of the operation.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@index_config_deltas = args[:index_config_deltas] if args.key?(:index_config_deltas)
|
||||
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
||||
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata for google.longrunning.Operation results from
|
||||
# FirestoreAdmin.ImportDocuments.
|
||||
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Which collection ids are being imported.
|
||||
# Corresponds to the JSON property `collectionIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :collection_ids
|
||||
|
||||
# The time this operation completed. Will be unset if operation still in
|
||||
# progress.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# The location of the documents being imported.
|
||||
# Corresponds to the JSON property `inputUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri_prefix
|
||||
|
||||
# The state of the import operation.
|
||||
# Corresponds to the JSON property `operationState`
|
||||
# @return [String]
|
||||
attr_accessor :operation_state
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressBytes`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_bytes
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressDocuments`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_documents
|
||||
|
||||
# The time this operation started.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
||||
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
||||
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
||||
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for FirestoreAdmin.ImportDocuments.
|
||||
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Which collection ids to import. Unspecified means all collections included
|
||||
# in the import.
|
||||
# Corresponds to the JSON property `collectionIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :collection_ids
|
||||
|
||||
# Location of the exported files.
|
||||
# This must match the output_uri_prefix of an ExportDocumentsResponse from
|
||||
# an export that has completed successfully.
|
||||
# See:
|
||||
# google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
|
||||
# Corresponds to the JSON property `inputUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :input_uri_prefix
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
||||
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
||||
end
|
||||
end
|
||||
|
||||
# Cloud Firestore indexes enable simple and complex queries against
|
||||
# documents in a database.
|
||||
class GoogleFirestoreAdminV1Index
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The fields supported by this index.
|
||||
# For composite indexes, this is always 2 or more fields.
|
||||
# The last field entry is always for the field path `__name__`. If, on
|
||||
# creation, `__name__` was not specified as the last field, it will be added
|
||||
# automatically with the same direction as that of the last field defined. If
|
||||
# the final field in a composite index is not directional, the `__name__`
|
||||
# will be ordered ASCENDING (unless explicitly specified).
|
||||
# For single field indexes, this will always be exactly one entry with a
|
||||
# field path equal to the field path of the associated field.
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
|
||||
attr_accessor :fields
|
||||
|
||||
# Output only.
|
||||
# A server defined name for this index.
|
||||
# The form of this name for composite indexes will be:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /indexes/`composite_index_id``
|
||||
# For single field indexes, this field will be empty.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Indexes with a collection query scope specified allow queries
|
||||
# against a collection that is the child of a specific document, specified at
|
||||
# query time, and that has the same collection id.
|
||||
# Indexes with a collection group query scope specified allow queries against
|
||||
# all collections descended from a specific document, specified at query
|
||||
# time, and that have the same collection id as this index.
|
||||
# Corresponds to the JSON property `queryScope`
|
||||
# @return [String]
|
||||
attr_accessor :query_scope
|
||||
|
||||
# Output only.
|
||||
# The serving state of the index.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fields = args[:fields] if args.key?(:fields)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@query_scope = args[:query_scope] if args.key?(:query_scope)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# The index configuration for this field.
|
||||
class GoogleFirestoreAdminV1IndexConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only.
|
||||
# Specifies the resource name of the `Field` from which this field's
|
||||
# index configuration is set (when `uses_ancestor_config` is true),
|
||||
# or from which it *would* be set if this field had no index configuration
|
||||
# (when `uses_ancestor_config` is false).
|
||||
# Corresponds to the JSON property `ancestorField`
|
||||
# @return [String]
|
||||
attr_accessor :ancestor_field
|
||||
|
||||
# The indexes supported for this field.
|
||||
# Corresponds to the JSON property `indexes`
|
||||
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>]
|
||||
attr_accessor :indexes
|
||||
|
||||
# Output only
|
||||
# When true, the `Field`'s index configuration is in the process of being
|
||||
# reverted. Once complete, the index config will transition to the same
|
||||
# state as the field specified by `ancestor_field`, at which point
|
||||
# `uses_ancestor_config` will be `true` and `reverting` will be `false`.
|
||||
# Corresponds to the JSON property `reverting`
|
||||
# @return [Boolean]
|
||||
attr_accessor :reverting
|
||||
alias_method :reverting?, :reverting
|
||||
|
||||
# Output only.
|
||||
# When true, the `Field`'s index configuration is set from the
|
||||
# configuration specified by the `ancestor_field`.
|
||||
# When false, the `Field`'s index configuration is defined explicitly.
|
||||
# Corresponds to the JSON property `usesAncestorConfig`
|
||||
# @return [Boolean]
|
||||
attr_accessor :uses_ancestor_config
|
||||
alias_method :uses_ancestor_config?, :uses_ancestor_config
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ancestor_field = args[:ancestor_field] if args.key?(:ancestor_field)
|
||||
@indexes = args[:indexes] if args.key?(:indexes)
|
||||
@reverting = args[:reverting] if args.key?(:reverting)
|
||||
@uses_ancestor_config = args[:uses_ancestor_config] if args.key?(:uses_ancestor_config)
|
||||
end
|
||||
end
|
||||
|
||||
# Information about an index configuration change.
|
||||
class GoogleFirestoreAdminV1IndexConfigDelta
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies how the index is changing.
|
||||
# Corresponds to the JSON property `changeType`
|
||||
# @return [String]
|
||||
attr_accessor :change_type
|
||||
|
||||
# Cloud Firestore indexes enable simple and complex queries against
|
||||
# documents in a database.
|
||||
# Corresponds to the JSON property `index`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index]
|
||||
attr_accessor :index
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@change_type = args[:change_type] if args.key?(:change_type)
|
||||
@index = args[:index] if args.key?(:index)
|
||||
end
|
||||
end
|
||||
|
||||
# A field in an index.
|
||||
# The field_path describes which field is indexed, the value_mode describes
|
||||
# how the field value is indexed.
|
||||
class GoogleFirestoreAdminV1IndexField
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Indicates that this field supports operations on `array_value`s.
|
||||
# Corresponds to the JSON property `arrayConfig`
|
||||
# @return [String]
|
||||
attr_accessor :array_config
|
||||
|
||||
# Can be __name__.
|
||||
# For single field indexes, this must match the name of the field or may
|
||||
# be omitted.
|
||||
# Corresponds to the JSON property `fieldPath`
|
||||
# @return [String]
|
||||
attr_accessor :field_path
|
||||
|
||||
# Indicates that this field supports ordering by the specified order or
|
||||
# comparing using =, <, <=, >, >=.
|
||||
# Corresponds to the JSON property `order`
|
||||
# @return [String]
|
||||
attr_accessor :order
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@array_config = args[:array_config] if args.key?(:array_config)
|
||||
@field_path = args[:field_path] if args.key?(:field_path)
|
||||
@order = args[:order] if args.key?(:order)
|
||||
end
|
||||
end
|
||||
|
||||
# Metadata for google.longrunning.Operation results from
|
||||
# FirestoreAdmin.CreateIndex.
|
||||
class GoogleFirestoreAdminV1IndexOperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time this operation completed. Will be unset if operation still in
|
||||
# progress.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# The index resource that this operation is acting on. For example:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /indexes/`index_id``
|
||||
# Corresponds to the JSON property `index`
|
||||
# @return [String]
|
||||
attr_accessor :index
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressBytes`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_bytes
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
# Corresponds to the JSON property `progressDocuments`
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
||||
attr_accessor :progress_documents
|
||||
|
||||
# The time this operation started.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# The state of the operation.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@index = args[:index] if args.key?(:index)
|
||||
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
||||
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# The response for FirestoreAdmin.ListFields.
|
||||
class GoogleFirestoreAdminV1ListFieldsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The requested fields.
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field>]
|
||||
attr_accessor :fields
|
||||
|
||||
# A page token that may be used to request another page of results. If blank,
|
||||
# this is the last page.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fields = args[:fields] if args.key?(:fields)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# The response for FirestoreAdmin.ListIndexes.
|
||||
class GoogleFirestoreAdminV1ListIndexesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The requested indexes.
|
||||
# Corresponds to the JSON property `indexes`
|
||||
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>]
|
||||
attr_accessor :indexes
|
||||
|
||||
# A page token that may be used to request another page of results. If blank,
|
||||
# this is the last page.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@indexes = args[:indexes] if args.key?(:indexes)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata message for google.cloud.location.Location.metadata.
|
||||
class GoogleFirestoreAdminV1LocationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Describes the progress of the operation.
|
||||
# Unit of work is generic and must be interpreted based on where Progress
|
||||
# is used.
|
||||
class GoogleFirestoreAdminV1Progress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The amount of work completed.
|
||||
# Corresponds to the JSON property `completedWork`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :completed_work
|
||||
|
||||
# The amount of work estimated.
|
||||
# Corresponds to the JSON property `estimatedWork`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :estimated_work
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@completed_work = args[:completed_work] if args.key?(:completed_work)
|
||||
@estimated_work = args[:estimated_work] if args.key?(:estimated_work)
|
||||
end
|
||||
end
|
||||
|
||||
# The request message for Operations.CancelOperation.
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -28,6 +28,102 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Field
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1FieldOperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Index
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexConfigDelta
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexOperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ListFieldsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ListIndexesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1LocationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Progress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -70,6 +166,170 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :collection_ids, as: 'collectionIds'
|
||||
property :end_time, as: 'endTime'
|
||||
property :operation_state, as: 'operationState'
|
||||
property :output_uri_prefix, as: 'outputUriPrefix'
|
||||
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :start_time, as: 'startTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :collection_ids, as: 'collectionIds'
|
||||
property :output_uri_prefix, as: 'outputUriPrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :output_uri_prefix, as: 'outputUriPrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Field
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :index_config, as: 'indexConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1FieldOperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time, as: 'endTime'
|
||||
property :field, as: 'field'
|
||||
collection :index_config_deltas, as: 'indexConfigDeltas', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta::Representation
|
||||
|
||||
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :start_time, as: 'startTime'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :collection_ids, as: 'collectionIds'
|
||||
property :end_time, as: 'endTime'
|
||||
property :input_uri_prefix, as: 'inputUriPrefix'
|
||||
property :operation_state, as: 'operationState'
|
||||
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :start_time, as: 'startTime'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :collection_ids, as: 'collectionIds'
|
||||
property :input_uri_prefix, as: 'inputUriPrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Index
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :fields, as: 'fields', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :query_scope, as: 'queryScope'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ancestor_field, as: 'ancestorField'
|
||||
collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
||||
|
||||
property :reverting, as: 'reverting'
|
||||
property :uses_ancestor_config, as: 'usesAncestorConfig'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexConfigDelta
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :change_type, as: 'changeType'
|
||||
property :index, as: 'index', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :array_config, as: 'arrayConfig'
|
||||
property :field_path, as: 'fieldPath'
|
||||
property :order, as: 'order'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1IndexOperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end_time, as: 'endTime'
|
||||
property :index, as: 'index'
|
||||
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
||||
|
||||
property :start_time, as: 'startTime'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ListFieldsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :fields, as: 'fields', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1ListIndexesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1LocationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleFirestoreAdminV1Progress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :completed_work, :numeric_string => true, as: 'completedWork'
|
||||
property :estimated_work, :numeric_string => true, as: 'estimatedWork'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleLongrunningCancelOperationRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -48,6 +48,383 @@ module Google
|
|||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Exports a copy of all or a subset of documents from Google Cloud Firestore
|
||||
# to another storage system, such as Google Cloud Storage. Recent updates to
|
||||
# documents may not be reflected in the export. The export occurs in the
|
||||
# background and its progress can be monitored and managed via the
|
||||
# Operation resource that is created. The output of an export may only be
|
||||
# used once the associated operation is done. If an export operation is
|
||||
# cancelled before completion it may leave partial data behind in Google
|
||||
# Cloud Storage.
|
||||
# @param [String] name
|
||||
# Database to export. Should be of the form:
|
||||
# `projects/`project_id`/databases/`database_id``.
|
||||
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ExportDocumentsRequest] google_firestore_admin_v1_export_documents_request_object
|
||||
# @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::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 export_project_database_documents(name, google_firestore_admin_v1_export_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:exportDocuments', options)
|
||||
command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ExportDocumentsRequest::Representation
|
||||
command.request_object = google_firestore_admin_v1_export_documents_request_object
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Imports documents into Google Cloud Firestore. Existing documents with the
|
||||
# same name are overwritten. The import occurs in the background and its
|
||||
# progress can be monitored and managed via the Operation resource that is
|
||||
# created. If an ImportDocuments operation is cancelled, it is possible
|
||||
# that a subset of the data has already been imported to Cloud Firestore.
|
||||
# @param [String] name
|
||||
# Database to import into. Should be of the form:
|
||||
# `projects/`project_id`/databases/`database_id``.
|
||||
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ImportDocumentsRequest] google_firestore_admin_v1_import_documents_request_object
|
||||
# @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::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 import_project_database_documents(name, google_firestore_admin_v1_import_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:importDocuments', options)
|
||||
command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ImportDocumentsRequest::Representation
|
||||
command.request_object = google_firestore_admin_v1_import_documents_request_object
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.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 the metadata and configuration for a Field.
|
||||
# @param [String] name
|
||||
# A name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /fields/`field_id``
|
||||
# @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::FirestoreV1::GoogleFirestoreAdminV1Field] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field]
|
||||
#
|
||||
# @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_project_database_collection_group_field(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the field configuration and metadata for this database.
|
||||
# Currently, FirestoreAdmin.ListFields only supports listing fields
|
||||
# that have been explicitly overridden. To issue this query, call
|
||||
# FirestoreAdmin.ListFields with the filter set to
|
||||
# `indexConfig.usesAncestorConfig:false`.
|
||||
# @param [String] parent
|
||||
# A parent name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# `
|
||||
# @param [String] filter
|
||||
# The filter to apply to list results. Currently,
|
||||
# FirestoreAdmin.ListFields only supports listing fields
|
||||
# that have been explicitly overridden. To issue this query, call
|
||||
# FirestoreAdmin.ListFields with the filter set to
|
||||
# `indexConfig.usesAncestorConfig:false`.
|
||||
# @param [Fixnum] page_size
|
||||
# The number of results to return.
|
||||
# @param [String] page_token
|
||||
# A page token, returned from a previous call to
|
||||
# FirestoreAdmin.ListFields, that may be used to get the next
|
||||
# page of results.
|
||||
# @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::FirestoreV1::GoogleFirestoreAdminV1ListFieldsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListFieldsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_database_collection_group_fields(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/fields', options)
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListFieldsResponse::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListFieldsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a field configuration. Currently, field updates apply only to
|
||||
# single field index configuration. However, calls to
|
||||
# FirestoreAdmin.UpdateField should provide a field mask to avoid
|
||||
# changing any configuration that the caller isn't aware of. The field mask
|
||||
# should be specified as: `` paths: "index_config" ``.
|
||||
# This call returns a google.longrunning.Operation which may be used to
|
||||
# track the status of the field update. The metadata for
|
||||
# the operation will be the type FieldOperationMetadata.
|
||||
# To configure the default field settings for the database, use
|
||||
# the special `Field` with resource name:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/__default__/
|
||||
# fields/*`.
|
||||
# @param [String] name
|
||||
# A field name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /fields/`field_path``
|
||||
# A field path may be a simple field name, e.g. `address` or a path to fields
|
||||
# within map_value , e.g. `address.city`,
|
||||
# or a special field path. The only valid special field is `*`, which
|
||||
# represents any field.
|
||||
# Field paths may be quoted using ` (backtick). The only character that needs
|
||||
# to be escaped within a quoted field path is the backtick character itself,
|
||||
# escaped using a backslash. Special characters in field paths that
|
||||
# must be quoted include: `*`, `.`,
|
||||
# ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
|
||||
# Examples:
|
||||
# (Note: Comments here are written in markdown syntax, so there is an
|
||||
# additional layer of backticks to represent a code block)
|
||||
# `\`address.city\`` represents a field named `address.city`, not the map key
|
||||
# `city` in the field `address`.
|
||||
# `\`*\`` represents a field named `*`, not any field.
|
||||
# A special `Field` contains the default indexing settings for all fields.
|
||||
# This field's resource name is:
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/__default__/
|
||||
# fields/*`
|
||||
# Indexes defined on this `Field` will be applied to all fields which do not
|
||||
# have their own `Field` index configuration.
|
||||
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field] google_firestore_admin_v1_field_object
|
||||
# @param [String] update_mask
|
||||
# A mask, relative to the field. If specified, only configuration specified
|
||||
# by this field_mask will be updated in the field.
|
||||
# @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::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_project_database_collection_group_field(name, google_firestore_admin_v1_field_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field::Representation
|
||||
command.request_object = google_firestore_admin_v1_field_object
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a composite index. This returns a google.longrunning.Operation
|
||||
# which may be used to track the status of the creation. The metadata for
|
||||
# the operation will be the type IndexOperationMetadata.
|
||||
# @param [String] parent
|
||||
# A parent name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# `
|
||||
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index] google_firestore_admin_v1_index_object
|
||||
# @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::FirestoreV1::GoogleLongrunningOperation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleLongrunningOperation]
|
||||
#
|
||||
# @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 create_project_database_collection_group_index(parent, google_firestore_admin_v1_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/indexes', options)
|
||||
command.request_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
||||
command.request_object = google_firestore_admin_v1_index_object
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleLongrunningOperation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a composite index.
|
||||
# @param [String] name
|
||||
# A name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /indexes/`index_id``
|
||||
# @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::FirestoreV1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::Empty]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_database_collection_group_index(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::FirestoreV1::Empty::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::Empty
|
||||
command.params['name'] = name unless name.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 a composite index.
|
||||
# @param [String] name
|
||||
# A name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# /indexes/`index_id``
|
||||
# @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::FirestoreV1::GoogleFirestoreAdminV1Index] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index]
|
||||
#
|
||||
# @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_project_database_collection_group_index(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists composite indexes.
|
||||
# @param [String] parent
|
||||
# A parent name of the form
|
||||
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
||||
# `
|
||||
# @param [String] filter
|
||||
# The filter to apply to list results.
|
||||
# @param [Fixnum] page_size
|
||||
# The number of results to return.
|
||||
# @param [String] page_token
|
||||
# A page token, returned from a previous call to
|
||||
# FirestoreAdmin.ListIndexes, that may be used to get the next
|
||||
# page of results.
|
||||
# @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::FirestoreV1::GoogleFirestoreAdminV1ListIndexesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListIndexesResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_database_collection_group_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/indexes', options)
|
||||
command.response_representation = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListIndexesResponse::Representation
|
||||
command.response_class = Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListIndexesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Starts asynchronous cancellation on a long-running operation. The server
|
||||
# makes a best effort to cancel the operation, but success is not
|
||||
# guaranteed. If the server doesn't support this method, it returns
|
||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
|||
module Apis
|
||||
# IAM Service Account Credentials API
|
||||
#
|
||||
# IAM Service Account Credentials API
|
||||
# Creates short-lived, limited-privilege credentials for IAM service accounts.
|
||||
#
|
||||
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
||||
module IamcredentialsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180921'
|
||||
REVISION = '20181013'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
|||
module IamcredentialsV1
|
||||
# IAM Service Account Credentials API
|
||||
#
|
||||
# IAM Service Account Credentials API
|
||||
# Creates short-lived, limited-privilege credentials for IAM service accounts.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/iamcredentials_v1'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180927'
|
||||
REVISION = '20181011'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2060,8 +2060,8 @@ module Google
|
|||
# existence of a key.
|
||||
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
|
||||
# nesting (For example, "((A AND B AND C) OR NOT D) AND E"), and there can
|
||||
# be a maximum of 50 comparisons/functions in the expression. The expression
|
||||
# must be < 3000 characters in length.
|
||||
# be a maximum of 100 comparisons/functions in the expression. The expression
|
||||
# must be < 3000 bytes in length.
|
||||
# Sample Query:
|
||||
# (key1 = "TEST" OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100
|
||||
# Corresponds to the JSON property `customAttributeFilter`
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20181011'
|
||||
REVISION = '20181029'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1648,7 +1648,7 @@ module Google
|
|||
# @return [Google::Apis::JobsV3::PostalAddress]
|
||||
attr_accessor :postal_address
|
||||
|
||||
# Radius in meters of the job location. This value is derived from the
|
||||
# Radius in miles of the job location. This value is derived from the
|
||||
# location bounding box in which a circle with the specified radius
|
||||
# centered from LatLng coves the area associated with the job location.
|
||||
# For example, currently, "Mountain View, CA, USA" has a radius of
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||
module JobsV3p1beta1
|
||||
VERSION = 'V3p1beta1'
|
||||
REVISION = '20180927'
|
||||
REVISION = '20181029'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1707,9 +1707,9 @@ module Google
|
|||
# perform a case insensitive match and `EMPTY([field_name])` to filter on the
|
||||
# existence of a key.
|
||||
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
|
||||
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 50
|
||||
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
|
||||
# comparisons or functions are allowed in the expression. The expression
|
||||
# must be < 3000 characters in length.
|
||||
# must be < 3000 bytes in length.
|
||||
# Sample Query:
|
||||
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
|
||||
# driving_years > 10`
|
||||
|
@ -1954,7 +1954,7 @@ module Google
|
|||
# @return [Google::Apis::JobsV3p1beta1::PostalAddress]
|
||||
attr_accessor :postal_address
|
||||
|
||||
# Radius in meters of the job location. This value is derived from the
|
||||
# Radius in miles of the job location. This value is derived from the
|
||||
# location bounding box in which a circle with the specified radius
|
||||
# centered from LatLng coves the area associated with the job location.
|
||||
# For example, currently, "Mountain View, CA, USA" has a radius of
|
||||
|
|
|
@ -61,7 +61,8 @@ module Google
|
|||
# The format is "projects/`project_id`/companies/`company_id`", for example,
|
||||
# "projects/api-test-project/companies/foo".
|
||||
# @param [String] language_code
|
||||
# Required.
|
||||
# Deprecated. Use language_codes instead.
|
||||
# Optional.
|
||||
# The language of the query. This is
|
||||
# the BCP-47 language code, such as "en-US" or "sr-Latn".
|
||||
# For more information, see
|
||||
|
@ -75,6 +76,21 @@ module Google
|
|||
# language_code or companies having open jobs with same
|
||||
# language_code are returned.
|
||||
# The maximum number of allowed characters is 255.
|
||||
# @param [Array<String>, String] language_codes
|
||||
# Optional.
|
||||
# The list of languages of the query. This is
|
||||
# the BCP-47 language code, such as "en-US" or "sr-Latn".
|
||||
# For more information, see
|
||||
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
||||
# For CompletionType.JOB_TITLE type, only open jobs with same
|
||||
# language_codes are returned.
|
||||
# For CompletionType.COMPANY_NAME type,
|
||||
# only companies having open jobs with same language_codes are
|
||||
# returned.
|
||||
# For CompletionType.COMBINED type, only open jobs with same
|
||||
# language_codes or companies having open jobs with same
|
||||
# language_codes are returned.
|
||||
# The maximum number of allowed characters is 255.
|
||||
# @param [Fixnum] page_size
|
||||
# Required.
|
||||
# Completion result count.
|
||||
|
@ -106,13 +122,14 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def complete_project(name, company_name: nil, language_code: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def complete_project(name, company_name: nil, language_code: nil, language_codes: nil, page_size: nil, query: nil, scope: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v3p1beta1/{+name}:complete', options)
|
||||
command.response_representation = Google::Apis::JobsV3p1beta1::CompleteQueryResponse::Representation
|
||||
command.response_class = Google::Apis::JobsV3p1beta1::CompleteQueryResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['companyName'] = company_name unless company_name.nil?
|
||||
command.query['languageCode'] = language_code unless language_code.nil?
|
||||
command.query['languageCodes'] = language_codes unless language_codes.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['scope'] = scope unless scope.nil?
|
||||
|
@ -199,6 +216,7 @@ module Google
|
|||
end
|
||||
|
||||
# Deletes specified company.
|
||||
# Prerequisite: The company has no jobs associated with it.
|
||||
# @param [String] name
|
||||
# Required.
|
||||
# The resource name of the company to be deleted.
|
||||
|
|
|
@ -20,14 +20,14 @@ module Google
|
|||
module Apis
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180930'
|
||||
REVISION = '20181022'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -22,9 +22,9 @@ module Google
|
|||
module LanguageV1
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/language_v1'
|
||||
|
|
|
@ -20,14 +20,14 @@ module Google
|
|||
module Apis
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20180930'
|
||||
REVISION = '20181022'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -22,9 +22,9 @@ module Google
|
|||
module LanguageV1beta1
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/language_v1beta1'
|
||||
|
|
|
@ -20,14 +20,14 @@ module Google
|
|||
module Apis
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20180930'
|
||||
REVISION = '20181022'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -22,9 +22,9 @@ module Google
|
|||
module LanguageV1beta2
|
||||
# Cloud Natural Language API
|
||||
#
|
||||
# Provides natural language understanding technologies to developers. Examples
|
||||
# include sentiment analysis, entity recognition, entity sentiment analysis, and
|
||||
# text annotations.
|
||||
# Provides natural language understanding technologies, such as sentiment
|
||||
# analysis, entity recognition, entity sentiment analysis, and other text
|
||||
# annotations, to developers.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/language_v1beta2'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181013'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1065,11 +1065,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :destination
|
||||
|
||||
# Deprecated. This field is ignored when creating or updating sinks.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Optional. An advanced logs filter. The only exported log entries are those
|
||||
# that are in the resource owning the sink and that match the filter. For
|
||||
# example:
|
||||
|
@ -1109,11 +1104,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :output_version_format
|
||||
|
||||
# Deprecated. This field is ignored when creating or updating sinks.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Output only. An IAM identity—a service account or group—under
|
||||
# which Logging writes the exported log entries to the sink's destination. This
|
||||
# field is set by sinks.create and sinks.update, based on the setting of
|
||||
|
@ -1133,12 +1123,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@destination = args[:destination] if args.key?(:destination)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@filter = args[:filter] if args.key?(:filter)
|
||||
@include_children = args[:include_children] if args.key?(:include_children)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -434,12 +434,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :destination, as: 'destination'
|
||||
property :end_time, as: 'endTime'
|
||||
property :filter, as: 'filter'
|
||||
property :include_children, as: 'includeChildren'
|
||||
property :name, as: 'name'
|
||||
property :output_version_format, as: 'outputVersionFormat'
|
||||
property :start_time, as: 'startTime'
|
||||
property :writer_identity, as: 'writerIdentity'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20181013'
|
||||
REVISION = '20181020'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -960,11 +960,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :destination
|
||||
|
||||
# Deprecated. This field is ignored when creating or updating sinks.
|
||||
# Corresponds to the JSON property `endTime`
|
||||
# @return [String]
|
||||
attr_accessor :end_time
|
||||
|
||||
# Optional. An advanced logs filter. The only exported log entries are those
|
||||
# that are in the resource owning the sink and that match the filter. For
|
||||
# example:
|
||||
|
@ -1004,11 +999,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :output_version_format
|
||||
|
||||
# Deprecated. This field is ignored when creating or updating sinks.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# Output only. An IAM identity—a service account or group—under
|
||||
# which Logging writes the exported log entries to the sink's destination. This
|
||||
# field is set by sinks.create and sinks.update, based on the setting of
|
||||
|
@ -1028,12 +1018,10 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@destination = args[:destination] if args.key?(:destination)
|
||||
@end_time = args[:end_time] if args.key?(:end_time)
|
||||
@filter = args[:filter] if args.key?(:filter)
|
||||
@include_children = args[:include_children] if args.key?(:include_children)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@output_version_format = args[:output_version_format] if args.key?(:output_version_format)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -389,12 +389,10 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :destination, as: 'destination'
|
||||
property :end_time, as: 'endTime'
|
||||
property :filter, as: 'filter'
|
||||
property :include_children, as: 'includeChildren'
|
||||
property :name, as: 'name'
|
||||
property :output_version_format, as: 'outputVersionFormat'
|
||||
property :start_time, as: 'startTime'
|
||||
property :writer_identity, as: 'writerIdentity'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20181009'
|
||||
REVISION = '20181027'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue