Autogenerated update (2020-01-25)
Update: - accesscontextmanager_v1 - accesscontextmanager_v1beta - androidenterprise_v1 - androidpublisher_v2 - androidpublisher_v3 - appengine_v1beta - cloudtasks_v2beta3 - compute_alpha - compute_beta - compute_v1 - dialogflow_v2 - dialogflow_v2beta1 - doubleclickbidmanager_v1_1 - drive_v2 - jobs_v3p1beta1 - ml_v1 - secretmanager_v1beta1 - servicemanagement_v1 - sheets_v4
This commit is contained in:
parent
12ff9f6f65
commit
a92f643d80
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
||||||
module AccesscontextmanagerV1
|
module AccesscontextmanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200110'
|
REVISION = '20200120'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -261,10 +261,28 @@ module Google
|
||||||
class CustomLevel
|
class CustomLevel
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
# Corresponds to the JSON property `expr`
|
# Corresponds to the JSON property `expr`
|
||||||
# @return [Google::Apis::AccesscontextmanagerV1::Expr]
|
# @return [Google::Apis::AccesscontextmanagerV1::Expr]
|
||||||
attr_accessor :expr
|
attr_accessor :expr
|
||||||
|
@ -360,34 +378,50 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An optional description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in
|
# Textual representation of an expression in Common Expression Language
|
||||||
# Common Expression Language syntax.
|
# syntax.
|
||||||
# The application context of the containing message determines which
|
|
||||||
# well-known feature set of CEL is supported.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# An optional string indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# An optional title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
||||||
module AccesscontextmanagerV1beta
|
module AccesscontextmanagerV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20200110'
|
REVISION = '20200120'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -248,10 +248,28 @@ module Google
|
||||||
class CustomLevel
|
class CustomLevel
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
# Corresponds to the JSON property `expr`
|
# Corresponds to the JSON property `expr`
|
||||||
# @return [Google::Apis::AccesscontextmanagerV1beta::Expr]
|
# @return [Google::Apis::AccesscontextmanagerV1beta::Expr]
|
||||||
attr_accessor :expr
|
attr_accessor :expr
|
||||||
|
@ -328,34 +346,50 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An optional description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in
|
# Textual representation of an expression in Common Expression Language
|
||||||
# Common Expression Language syntax.
|
# syntax.
|
||||||
# The application context of the containing message determines which
|
|
||||||
# well-known feature set of CEL is supported.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# An optional string indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# An optional title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/work/play/emm-api
|
# @see https://developers.google.com/android/work/play/emm-api
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191211'
|
REVISION = '20200115'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -1433,7 +1433,7 @@ module Google
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
|
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
|
||||||
attr_accessor :configuration_variables
|
attr_accessor :configuration_variables
|
||||||
|
|
||||||
#
|
# Deprecated.
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :kind
|
attr_accessor :kind
|
||||||
|
@ -2055,6 +2055,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :distribution_channel
|
attr_accessor :distribution_channel
|
||||||
|
|
||||||
|
# Noteworthy features (if any) of this product.
|
||||||
|
# Corresponds to the JSON property `features`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :features
|
||||||
|
|
||||||
# A link to an image that can be used as an icon for the product. This image is
|
# A link to an image that can be used as an icon for the product. This image is
|
||||||
# suitable for use at up to 512px x 512px.
|
# suitable for use at up to 512px x 512px.
|
||||||
# Corresponds to the JSON property `iconUrl`
|
# Corresponds to the JSON property `iconUrl`
|
||||||
|
@ -2149,6 +2154,7 @@ module Google
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@details_url = args[:details_url] if args.key?(:details_url)
|
@details_url = args[:details_url] if args.key?(:details_url)
|
||||||
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
|
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
|
||||||
|
@features = args[:features] if args.key?(:features)
|
||||||
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
||||||
|
|
|
@ -1077,6 +1077,7 @@ module Google
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :details_url, as: 'detailsUrl'
|
property :details_url, as: 'detailsUrl'
|
||||||
property :distribution_channel, as: 'distributionChannel'
|
property :distribution_channel, as: 'distributionChannel'
|
||||||
|
collection :features, as: 'features'
|
||||||
property :icon_url, as: 'iconUrl'
|
property :icon_url, as: 'iconUrl'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android-publisher
|
# @see https://developers.google.com/android-publisher
|
||||||
module AndroidpublisherV2
|
module AndroidpublisherV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200112'
|
REVISION = '20200115'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -1465,6 +1465,7 @@ module Google
|
||||||
# purchase was not made using the standard in-app billing flow. Possible values
|
# purchase was not made using the standard in-app billing flow. Possible values
|
||||||
# are:
|
# are:
|
||||||
# - Test (i.e. purchased from a license testing account)
|
# - Test (i.e. purchased from a license testing account)
|
||||||
|
# - Promo (i.e. purchased using a promo code)
|
||||||
# Corresponds to the JSON property `purchaseType`
|
# Corresponds to the JSON property `purchaseType`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :purchase_type
|
attr_accessor :purchase_type
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android-publisher
|
# @see https://developers.google.com/android-publisher
|
||||||
module AndroidpublisherV3
|
module AndroidpublisherV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20200112'
|
REVISION = '20200115'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -1716,10 +1716,26 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :profile_name
|
attr_accessor :profile_name
|
||||||
|
|
||||||
|
# The promotion code applied on this purchase. This field is only set if a
|
||||||
|
# vanity code promotion is applied when the subscription was purchased.
|
||||||
|
# Corresponds to the JSON property `promotionCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :promotion_code
|
||||||
|
|
||||||
|
# The type of promotion applied on this purchase. This field is only set if a
|
||||||
|
# promotion is applied when the subscription was purchased. Possible values are:
|
||||||
|
#
|
||||||
|
# - One time code
|
||||||
|
# - Vanity code
|
||||||
|
# Corresponds to the JSON property `promotionType`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :promotion_type
|
||||||
|
|
||||||
# The type of purchase of the subscription. This field is only set if this
|
# The type of purchase of the subscription. This field is only set if this
|
||||||
# purchase was not made using the standard in-app billing flow. Possible values
|
# purchase was not made using the standard in-app billing flow. Possible values
|
||||||
# are:
|
# are:
|
||||||
# - Test (i.e. purchased from a license testing account)
|
# - Test (i.e. purchased from a license testing account)
|
||||||
|
# - Promo (i.e. purchased using a promo code)
|
||||||
# Corresponds to the JSON property `purchaseType`
|
# Corresponds to the JSON property `purchaseType`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :purchase_type
|
attr_accessor :purchase_type
|
||||||
|
@ -1762,6 +1778,8 @@ module Google
|
||||||
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
@price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
|
||||||
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
||||||
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
||||||
|
@promotion_code = args[:promotion_code] if args.key?(:promotion_code)
|
||||||
|
@promotion_type = args[:promotion_type] if args.key?(:promotion_type)
|
||||||
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
||||||
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
||||||
@user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
|
@user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
|
||||||
|
|
|
@ -880,6 +880,8 @@ module Google
|
||||||
property :price_currency_code, as: 'priceCurrencyCode'
|
property :price_currency_code, as: 'priceCurrencyCode'
|
||||||
property :profile_id, as: 'profileId'
|
property :profile_id, as: 'profileId'
|
||||||
property :profile_name, as: 'profileName'
|
property :profile_name, as: 'profileName'
|
||||||
|
property :promotion_code, as: 'promotionCode'
|
||||||
|
property :promotion_type, as: 'promotionType'
|
||||||
property :purchase_type, as: 'purchaseType'
|
property :purchase_type, as: 'purchaseType'
|
||||||
property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
|
property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
|
||||||
property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis'
|
property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||||
module AppengineV1beta
|
module AppengineV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20191114'
|
REVISION = '20200122'
|
||||||
|
|
||||||
# View and manage your applications deployed on Google App Engine
|
# View and manage your applications deployed on Google App Engine
|
||||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||||
|
|
|
@ -1184,11 +1184,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :oauth2_client_id
|
attr_accessor :oauth2_client_id
|
||||||
|
|
||||||
# InputOnly OAuth client info required to generate client id to be used for IAP.
|
|
||||||
# Corresponds to the JSON property `oauth2ClientInfo`
|
|
||||||
# @return [Google::Apis::AppengineV1beta::OAuth2ClientInfo]
|
|
||||||
attr_accessor :oauth2_client_info
|
|
||||||
|
|
||||||
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
# OAuth2 client secret to use for the authentication flow.For security reasons,
|
||||||
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
||||||
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
|
||||||
|
@ -1209,7 +1204,6 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@enabled = args[:enabled] if args.key?(:enabled)
|
@enabled = args[:enabled] if args.key?(:enabled)
|
||||||
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
||||||
@oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
|
|
||||||
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
||||||
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
||||||
end
|
end
|
||||||
|
@ -1867,38 +1861,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
|
||||||
class OAuth2ClientInfo
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Application name to be used in OAuth consent screen.
|
|
||||||
# Corresponds to the JSON property `applicationName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :application_name
|
|
||||||
|
|
||||||
# Nameof the client to be generated. Optional - If not provided, the name will
|
|
||||||
# be autogenerated by the backend.
|
|
||||||
# Corresponds to the JSON property `clientName`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :client_name
|
|
||||||
|
|
||||||
# Developer's information to be used in OAuth consent screen.
|
|
||||||
# Corresponds to the JSON property `developerEmailAddress`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :developer_email_address
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@application_name = args[:application_name] if args.key?(:application_name)
|
|
||||||
@client_name = args[:client_name] if args.key?(:client_name)
|
|
||||||
@developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# This resource represents a long-running operation that is the result of a
|
# This resource represents a long-running operation that is the result of a
|
||||||
# network API call.
|
# network API call.
|
||||||
class Operation
|
class Operation
|
||||||
|
|
|
@ -316,12 +316,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class OAuth2ClientInfo
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -761,8 +755,6 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :enabled, as: 'enabled'
|
property :enabled, as: 'enabled'
|
||||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||||
property :oauth2_client_info, as: 'oauth2ClientInfo', class: Google::Apis::AppengineV1beta::OAuth2ClientInfo, decorator: Google::Apis::AppengineV1beta::OAuth2ClientInfo::Representation
|
|
||||||
|
|
||||||
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||||
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||||
end
|
end
|
||||||
|
@ -947,15 +939,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class OAuth2ClientInfo
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :application_name, as: 'applicationName'
|
|
||||||
property :client_name, as: 'clientName'
|
|
||||||
property :developer_email_address, as: 'developerEmailAddress'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tasks/
|
# @see https://cloud.google.com/tasks/
|
||||||
module CloudtasksV2beta3
|
module CloudtasksV2beta3
|
||||||
VERSION = 'V2beta3'
|
VERSION = 'V2beta3'
|
||||||
REVISION = '20191202'
|
REVISION = '20200117'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -376,10 +376,28 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::CloudtasksV2beta3::Expr]
|
# @return [Google::Apis::CloudtasksV2beta3::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
@ -490,34 +508,50 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An optional description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in
|
# Textual representation of an expression in Common Expression Language
|
||||||
# Common Expression Language syntax.
|
# syntax.
|
||||||
# The application context of the containing message determines which
|
|
||||||
# well-known feature set of CEL is supported.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# An optional string indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# An optional title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeAlpha
|
module ComputeAlpha
|
||||||
VERSION = 'Alpha'
|
VERSION = 'Alpha'
|
||||||
REVISION = '20191125'
|
REVISION = '20200104'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1018,6 +1018,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDuration
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GrpcServiceConfig
|
class GrpcServiceConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -5851,6 +5857,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :max_scaled_down_replicas, as: 'maxScaledDownReplicas', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
|
property :max_scaled_down_replicas, as: 'maxScaledDownReplicas', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
|
||||||
|
|
||||||
|
property :time_window, as: 'timeWindow', class: Google::Apis::ComputeAlpha::GoogleDuration, decorator: Google::Apis::ComputeAlpha::GoogleDuration::Representation
|
||||||
|
|
||||||
property :time_window_sec, as: 'timeWindowSec'
|
property :time_window_sec, as: 'timeWindowSec'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -6273,7 +6281,7 @@ module Google
|
||||||
property :end_timestamp, as: 'endTimestamp'
|
property :end_timestamp, as: 'endTimestamp'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
collection :license_resources, as: 'licenseResources', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
|
property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :plan, as: 'plan'
|
property :plan, as: 'plan'
|
||||||
|
@ -7176,6 +7184,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDuration
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :nanos, as: 'nanos'
|
||||||
|
property :seconds, :numeric_string => true, as: 'seconds'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GrpcServiceConfig
|
class GrpcServiceConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -9721,12 +9737,10 @@ module Google
|
||||||
property :i_pv4_range, as: 'IPv4Range'
|
property :i_pv4_range, as: 'IPv4Range'
|
||||||
property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
|
property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :cross_vm_encryption, as: 'crossVmEncryption'
|
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :gateway_i_pv4, as: 'gatewayIPv4'
|
property :gateway_i_pv4, as: 'gatewayIPv4'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :load_balancer_vm_encryption, as: 'loadBalancerVmEncryption'
|
|
||||||
property :mtu, as: 'mtu'
|
property :mtu, as: 'mtu'
|
||||||
property :multicast_mode, as: 'multicastMode'
|
property :multicast_mode, as: 'multicastMode'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
@ -10201,6 +10215,8 @@ module Google
|
||||||
class NodeGroupNode
|
class NodeGroupNode
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
|
||||||
|
|
||||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
||||||
|
|
||||||
collection :instances, as: 'instances'
|
collection :instances, as: 'instances'
|
||||||
|
@ -10305,6 +10321,8 @@ module Google
|
||||||
class NodeTemplate
|
class NodeTemplate
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
|
||||||
|
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
||||||
|
@ -13683,6 +13701,7 @@ module Google
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :nat_policy, as: 'natPolicy'
|
property :nat_policy, as: 'natPolicy'
|
||||||
|
property :network, as: 'network'
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
property :self_link_with_id, as: 'selfLinkWithId'
|
property :self_link_with_id, as: 'selfLinkWithId'
|
||||||
property :zone, as: 'zone'
|
property :zone, as: 'zone'
|
||||||
|
|
|
@ -5570,14 +5570,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified Operations resource until it is done or timeout, and
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# retrieves the specified Operations resource. 1. Immediately returns when the
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# operation is already done. 2. Waits for no more than the default deadline (2
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# minutes, subject to change) and then returns the current state of the
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# operation, which may be DONE or still in progress. 3. Is best-effort: a. The
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# server can wait less than the default deadline or zero seconds, in overload
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# situations. b. There is no guarantee that the operation is actually done when
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# returns. 4. User should be prepared to retry if the operation is not DONE.
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] operation
|
# @param [String] operation
|
||||||
|
@ -5756,14 +5759,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified Operations resource until it is done or timeout, and
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# retrieves the specified Operations resource. 1. Immediately returns when the
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# operation is already done. 2. Waits for no more than the default deadline (2
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# minutes, subject to change) and then returns the current state of the
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# operation, which may be DONE or still in progress. 3. Is best-effort: a. The
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# server can wait less than the default deadline or zero seconds, in overload
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# situations. b. There is no guarantee that the operation is actually done when
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# returns. 4. User should be prepared to retry if the operation is not DONE.
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
|
# operation is not DONE.
|
||||||
# @param [String] operation
|
# @param [String] operation
|
||||||
# Name of the Operations resource to return.
|
# Name of the Operations resource to return.
|
||||||
# @param [String] parent_id
|
# @param [String] parent_id
|
||||||
|
@ -24513,14 +24519,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified region-specific Operations resource until it is done
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# or timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -34649,14 +34657,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified zone-specific Operations resource until it is done or
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeBeta
|
module ComputeBeta
|
||||||
VERSION = 'Beta'
|
VERSION = 'Beta'
|
||||||
REVISION = '20191125'
|
REVISION = '20200104'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -298,6 +298,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AutoscalingPolicyScaleDownControl
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Backend
|
class Backend
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -928,6 +934,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GlobalNetworkEndpointGroupsDetachEndpointsRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GlobalSetLabelsRequest
|
class GlobalSetLabelsRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -940,6 +958,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDuration
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GuestAttributes
|
class GuestAttributes
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -3214,6 +3238,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ResourcePolicyGroupPlacementPolicy
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ResourcePolicyHourlyCycle
|
class ResourcePolicyHourlyCycle
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -5018,6 +5048,7 @@ module Google
|
||||||
property :device_name, as: 'deviceName'
|
property :device_name, as: 'deviceName'
|
||||||
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
||||||
|
|
||||||
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
||||||
|
|
||||||
property :index, as: 'index'
|
property :index, as: 'index'
|
||||||
|
@ -5212,6 +5243,8 @@ module Google
|
||||||
property :max_num_replicas, as: 'maxNumReplicas'
|
property :max_num_replicas, as: 'maxNumReplicas'
|
||||||
property :min_num_replicas, as: 'minNumReplicas'
|
property :min_num_replicas, as: 'minNumReplicas'
|
||||||
property :mode, as: 'mode'
|
property :mode, as: 'mode'
|
||||||
|
property :scale_down_control, as: 'scaleDownControl', class: Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl, decorator: Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -5240,6 +5273,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AutoscalingPolicyScaleDownControl
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :max_scaled_down_replicas, as: 'maxScaledDownReplicas', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
|
||||||
|
|
||||||
|
property :time_window, as: 'timeWindow', class: Google::Apis::ComputeBeta::GoogleDuration, decorator: Google::Apis::ComputeBeta::GoogleDuration::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Backend
|
class Backend
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -6301,6 +6344,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :enable, as: 'enable'
|
property :enable, as: 'enable'
|
||||||
|
property :metadata, as: 'metadata'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -6446,6 +6490,22 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GlobalNetworkEndpointGroupsDetachEndpointsRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GlobalSetLabelsRequest
|
class GlobalSetLabelsRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -6465,6 +6525,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDuration
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :nanos, as: 'nanos'
|
||||||
|
property :seconds, :numeric_string => true, as: 'seconds'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GuestAttributes
|
class GuestAttributes
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -7062,6 +7130,7 @@ module Google
|
||||||
|
|
||||||
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeBeta::ReservationAffinity, decorator: Google::Apis::ComputeBeta::ReservationAffinity::Representation
|
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeBeta::ReservationAffinity, decorator: Google::Apis::ComputeBeta::ReservationAffinity::Representation
|
||||||
|
|
||||||
|
collection :resource_policies, as: 'resourcePolicies'
|
||||||
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::Scheduling, decorator: Google::Apis::ComputeBeta::Scheduling::Representation
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::Scheduling, decorator: Google::Apis::ComputeBeta::Scheduling::Representation
|
||||||
|
|
||||||
property :self_link, as: 'selfLink'
|
property :self_link, as: 'selfLink'
|
||||||
|
@ -8714,6 +8783,7 @@ module Google
|
||||||
class NetworkEndpoint
|
class NetworkEndpoint
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :fqdn, as: 'fqdn'
|
||||||
property :instance, as: 'instance'
|
property :instance, as: 'instance'
|
||||||
property :ip_address, as: 'ipAddress'
|
property :ip_address, as: 'ipAddress'
|
||||||
property :port, as: 'port'
|
property :port, as: 'port'
|
||||||
|
@ -10544,6 +10614,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
property :group_placement_policy, as: 'groupPlacementPolicy', class: Google::Apis::ComputeBeta::ResourcePolicyGroupPlacementPolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicyGroupPlacementPolicy::Representation
|
||||||
|
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
@ -10597,6 +10669,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ResourcePolicyGroupPlacementPolicy
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
||||||
|
property :collocation, as: 'collocation'
|
||||||
|
property :vm_count, as: 'vmCount'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ResourcePolicyHourlyCycle
|
class ResourcePolicyHourlyCycle
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -11335,6 +11416,7 @@ module Google
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||||
|
|
|
@ -4787,6 +4787,393 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Attach a network endpoint to the specified network endpoint group.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] network_endpoint_group
|
||||||
|
# The name of the network endpoint group where you are attaching network
|
||||||
|
# endpoints to. It should comply with RFC1035.
|
||||||
|
# @param [Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsAttachEndpointsRequest] global_network_endpoint_groups_attach_endpoints_request_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::Operation]
|
||||||
|
#
|
||||||
|
# @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 attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation
|
||||||
|
command.request_object = global_network_endpoint_groups_attach_endpoints_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes the specified network endpoint group.Note that the NEG cannot be
|
||||||
|
# deleted if there are backend services referencing it.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] network_endpoint_group
|
||||||
|
# The name of the network endpoint group to delete. It should comply with
|
||||||
|
# RFC1035.
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::Operation]
|
||||||
|
#
|
||||||
|
# @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_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Detach the network endpoint from the specified network endpoint group.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] network_endpoint_group
|
||||||
|
# The name of the network endpoint group where you are removing network
|
||||||
|
# endpoints. It should comply with RFC1035.
|
||||||
|
# @param [Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsDetachEndpointsRequest] global_network_endpoint_groups_detach_endpoints_request_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::Operation]
|
||||||
|
#
|
||||||
|
# @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 detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation
|
||||||
|
command.request_object = global_network_endpoint_groups_detach_endpoints_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Returns the specified network endpoint group. Gets a list of available network
|
||||||
|
# endpoint groups by making a list() request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] network_endpoint_group
|
||||||
|
# The name of the network endpoint group. It should comply with RFC1035.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroup] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroup]
|
||||||
|
#
|
||||||
|
# @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_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Creates a network endpoint group in the specified project using the parameters
|
||||||
|
# that are included in the request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [Google::Apis::ComputeBeta::NetworkEndpointGroup] network_endpoint_group_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::Operation]
|
||||||
|
#
|
||||||
|
# @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 insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation
|
||||||
|
command.request_object = network_endpoint_group_object
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves the list of network endpoint groups that are located in the
|
||||||
|
# specified project.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @param [Fixnum] max_results
|
||||||
|
# The maximum number of results per page that should be returned. If the number
|
||||||
|
# of available results is larger than maxResults, Compute Engine returns a
|
||||||
|
# nextPageToken that can be used to get the next page of results in subsequent
|
||||||
|
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||||
|
# @param [String] order_by
|
||||||
|
# Sorts list results by a certain order. By default, results are returned in
|
||||||
|
# alphanumerical order based on the resource name.
|
||||||
|
# You can also sort results in descending order based on the creation timestamp
|
||||||
|
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||||
|
# creationTimestamp field in reverse chronological order (newest result first).
|
||||||
|
# Use this to sort resources like operations so that the newest operation is
|
||||||
|
# returned first.
|
||||||
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||||
|
# a previous list request to get the next page of results.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupList]
|
||||||
|
#
|
||||||
|
# @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_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['maxResults'] = max_results unless max_results.nil?
|
||||||
|
command.query['orderBy'] = order_by unless order_by.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?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Lists the network endpoints in the specified network endpoint group.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] network_endpoint_group
|
||||||
|
# The name of the network endpoint group from which you want to generate a list
|
||||||
|
# of included network endpoints. It should comply with RFC1035.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @param [Fixnum] max_results
|
||||||
|
# The maximum number of results per page that should be returned. If the number
|
||||||
|
# of available results is larger than maxResults, Compute Engine returns a
|
||||||
|
# nextPageToken that can be used to get the next page of results in subsequent
|
||||||
|
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||||
|
# @param [String] order_by
|
||||||
|
# Sorts list results by a certain order. By default, results are returned in
|
||||||
|
# alphanumerical order based on the resource name.
|
||||||
|
# You can also sort results in descending order based on the creation timestamp
|
||||||
|
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||||
|
# creationTimestamp field in reverse chronological order (newest result first).
|
||||||
|
# Use this to sort resources like operations so that the newest operation is
|
||||||
|
# returned first.
|
||||||
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||||
|
# a previous list request to get the next page of results.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints]
|
||||||
|
#
|
||||||
|
# @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_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['maxResults'] = max_results unless max_results.nil?
|
||||||
|
command.query['orderBy'] = order_by unless order_by.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?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Retrieves an aggregated list of all operations.
|
# Retrieves an aggregated list of all operations.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -5000,14 +5387,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified Operations resource until it is done or timeout, and
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# retrieves the specified Operations resource. 1. Immediately returns when the
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# operation is already done. 2. Waits for no more than the default deadline (2
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# minutes, subject to change) and then returns the current state of the
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# operation, which may be DONE or still in progress. 3. Is best-effort: a. The
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# server can wait less than the default deadline or zero seconds, in overload
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# situations. b. There is no guarantee that the operation is actually done when
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# returns. 4. User should be prepared to retry if the operation is not DONE.
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] operation
|
# @param [String] operation
|
||||||
|
@ -20324,14 +20714,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified region-specific Operations resource until it is done
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# or timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -30107,14 +30499,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified zone-specific Operations resource until it is done or
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||||
module ComputeV1
|
module ComputeV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191125'
|
REVISION = '20200104'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1912,6 +1912,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedInstanceInstanceHealth
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedInstanceLastAttempt
|
class ManagedInstanceLastAttempt
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2452,6 +2458,102 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PacketMirroring
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringAggregatedList
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringFilter
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringForwardingRuleInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringList
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfoInstanceInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfoSubnetInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringNetworkInfo
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringsScopedList
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class PathMatcher
|
class PathMatcher
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -4560,6 +4662,7 @@ module Google
|
||||||
property :device_name, as: 'deviceName'
|
property :device_name, as: 'deviceName'
|
||||||
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
property :disk_encryption_key, as: 'diskEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation
|
||||||
|
|
||||||
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation
|
||||||
|
|
||||||
property :index, as: 'index'
|
property :index, as: 'index'
|
||||||
|
@ -5774,11 +5877,14 @@ module Google
|
||||||
property :ip_address, as: 'IPAddress'
|
property :ip_address, as: 'IPAddress'
|
||||||
property :ip_protocol, as: 'IPProtocol'
|
property :ip_protocol, as: 'IPProtocol'
|
||||||
property :all_ports, as: 'allPorts'
|
property :all_ports, as: 'allPorts'
|
||||||
|
property :allow_global_access, as: 'allowGlobalAccess'
|
||||||
property :backend_service, as: 'backendService'
|
property :backend_service, as: 'backendService'
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :ip_version, as: 'ipVersion'
|
property :ip_version, as: 'ipVersion'
|
||||||
|
property :is_mirroring_collector, as: 'isMirroringCollector'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
||||||
collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeV1::MetadataFilter, decorator: Google::Apis::ComputeV1::MetadataFilter::Representation
|
collection :metadata_filters, as: 'metadataFilters', class: Google::Apis::ComputeV1::MetadataFilter, decorator: Google::Apis::ComputeV1::MetadataFilter::Representation
|
||||||
|
@ -7828,6 +7934,8 @@ module Google
|
||||||
property :current_action, as: 'currentAction'
|
property :current_action, as: 'currentAction'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :instance, as: 'instance'
|
property :instance, as: 'instance'
|
||||||
|
collection :instance_health, as: 'instanceHealth', class: Google::Apis::ComputeV1::ManagedInstanceInstanceHealth, decorator: Google::Apis::ComputeV1::ManagedInstanceInstanceHealth::Representation
|
||||||
|
|
||||||
property :instance_status, as: 'instanceStatus'
|
property :instance_status, as: 'instanceStatus'
|
||||||
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
|
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeV1::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Representation
|
||||||
|
|
||||||
|
@ -7836,6 +7944,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedInstanceInstanceHealth
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :detailed_health_state, as: 'detailedHealthState'
|
||||||
|
property :health_check, as: 'healthCheck'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedInstanceLastAttempt
|
class ManagedInstanceLastAttempt
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -8793,6 +8909,172 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class PacketMirroring
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :collector_ilb, as: 'collectorIlb', class: Google::Apis::ComputeV1::PacketMirroringForwardingRuleInfo, decorator: Google::Apis::ComputeV1::PacketMirroringForwardingRuleInfo::Representation
|
||||||
|
|
||||||
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :enable, as: 'enable'
|
||||||
|
property :filter, as: 'filter', class: Google::Apis::ComputeV1::PacketMirroringFilter, decorator: Google::Apis::ComputeV1::PacketMirroringFilter::Representation
|
||||||
|
|
||||||
|
property :id, :numeric_string => true, as: 'id'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :mirrored_resources, as: 'mirroredResources', class: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfo, decorator: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfo::Representation
|
||||||
|
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :network, as: 'network', class: Google::Apis::ComputeV1::PacketMirroringNetworkInfo, decorator: Google::Apis::ComputeV1::PacketMirroringNetworkInfo::Representation
|
||||||
|
|
||||||
|
property :priority, as: 'priority'
|
||||||
|
property :region, as: 'region'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringAggregatedList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
hash :items, as: 'items', class: Google::Apis::ComputeV1::PacketMirroringsScopedList, decorator: Google::Apis::ComputeV1::PacketMirroringsScopedList::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning, decorator: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::PacketMirroringAggregatedList::Warning::Datum::Representation
|
||||||
|
|
||||||
|
property :message, as: 'message'
|
||||||
|
end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :key, as: 'key'
|
||||||
|
property :value, as: 'value'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringFilter
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :ip_protocols, as: 'IPProtocols'
|
||||||
|
collection :cidr_ranges, as: 'cidrRanges'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringForwardingRuleInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :canonical_url, as: 'canonicalUrl'
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :id, as: 'id'
|
||||||
|
collection :items, as: 'items', class: Google::Apis::ComputeV1::PacketMirroring, decorator: Google::Apis::ComputeV1::PacketMirroring::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
property :self_link, as: 'selfLink'
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeV1::PacketMirroringList::Warning, decorator: Google::Apis::ComputeV1::PacketMirroringList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeV1::PacketMirroringList::Warning::Datum, decorator: Google::Apis::ComputeV1::PacketMirroringList::Warning::Datum::Representation
|
||||||
|
|
||||||
|
property :message, as: 'message'
|
||||||
|
end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :key, as: 'key'
|
||||||
|
property :value, as: 'value'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :instances, as: 'instances', class: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoInstanceInfo, decorator: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoInstanceInfo::Representation
|
||||||
|
|
||||||
|
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoSubnetInfo, decorator: Google::Apis::ComputeV1::PacketMirroringMirroredResourceInfoSubnetInfo::Representation
|
||||||
|
|
||||||
|
collection :tags, as: 'tags'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfoInstanceInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :canonical_url, as: 'canonicalUrl'
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringMirroredResourceInfoSubnetInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :canonical_url, as: 'canonicalUrl'
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringNetworkInfo
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :canonical_url, as: 'canonicalUrl'
|
||||||
|
property :url, as: 'url'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class PacketMirroringsScopedList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :packet_mirrorings, as: 'packetMirrorings', class: Google::Apis::ComputeV1::PacketMirroring, decorator: Google::Apis::ComputeV1::PacketMirroring::Representation
|
||||||
|
|
||||||
|
property :warning, as: 'warning', class: Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning, decorator: Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class Warning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :code, as: 'code'
|
||||||
|
collection :data, as: 'data', class: Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::PacketMirroringsScopedList::Warning::Datum::Representation
|
||||||
|
|
||||||
|
property :message, as: 'message'
|
||||||
|
end
|
||||||
|
|
||||||
|
class Datum
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :key, as: 'key'
|
||||||
|
property :value, as: 'value'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class PathMatcher
|
class PathMatcher
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -10139,6 +10421,7 @@ module Google
|
||||||
property :creation_timestamp, as: 'creationTimestamp'
|
property :creation_timestamp, as: 'creationTimestamp'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
|
property :download_bytes, :numeric_string => true, as: 'downloadBytes'
|
||||||
property :id, :numeric_string => true, as: 'id'
|
property :id, :numeric_string => true, as: 'id'
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||||
|
|
|
@ -3685,6 +3685,62 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Updates the specified forwarding rule with the data included in the request.
|
||||||
|
# This method supports PATCH semantics and uses the JSON merge patch format and
|
||||||
|
# processing rules. Currently, you can only patch the network_tier field.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region scoping this request.
|
||||||
|
# @param [String] forwarding_rule
|
||||||
|
# Name of the ForwardingRule resource to patch.
|
||||||
|
# @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Operation]
|
||||||
|
#
|
||||||
|
# @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_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
||||||
|
command.request_object = forwarding_rule_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Changes target URL for forwarding rule. The new target should be of the same
|
# Changes target URL for forwarding rule. The new target should be of the same
|
||||||
# type as the old target.
|
# type as the old target.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -4151,6 +4207,59 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Updates the specified forwarding rule with the data included in the request.
|
||||||
|
# This method supports PATCH semantics and uses the JSON merge patch format and
|
||||||
|
# processing rules. Currently, you can only patch the network_tier field.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] forwarding_rule
|
||||||
|
# Name of the ForwardingRule resource to patch.
|
||||||
|
# @param [Google::Apis::ComputeV1::ForwardingRule] forwarding_rule_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Operation]
|
||||||
|
#
|
||||||
|
# @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_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::ForwardingRule::Representation
|
||||||
|
command.request_object = forwarding_rule_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['forwardingRule'] = forwarding_rule unless forwarding_rule.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Changes target URL for the GlobalForwardingRule resource. The new target
|
# Changes target URL for the GlobalForwardingRule resource. The new target
|
||||||
# should be of the same type as the old target.
|
# should be of the same type as the old target.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
|
@ -4416,14 +4525,17 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified Operations resource until it is done or timeout, and
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# retrieves the specified Operations resource. 1. Immediately returns when the
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# operation is already done. 2. Waits for no more than the default deadline (2
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# minutes, subject to change) and then returns the current state of the
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# operation, which may be DONE or still in progress. 3. Is best-effort: a. The
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# server can wait less than the default deadline or zero seconds, in overload
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# situations. b. There is no guarantee that the operation is actually done when
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# returns. 4. User should be prepared to retry if the operation is not DONE.
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
# @param [String] operation
|
# @param [String] operation
|
||||||
|
@ -13280,6 +13392,392 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Retrieves an aggregated list of packetMirrorings.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @param [Fixnum] max_results
|
||||||
|
# The maximum number of results per page that should be returned. If the number
|
||||||
|
# of available results is larger than maxResults, Compute Engine returns a
|
||||||
|
# nextPageToken that can be used to get the next page of results in subsequent
|
||||||
|
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||||
|
# @param [String] order_by
|
||||||
|
# Sorts list results by a certain order. By default, results are returned in
|
||||||
|
# alphanumerical order based on the resource name.
|
||||||
|
# You can also sort results in descending order based on the creation timestamp
|
||||||
|
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||||
|
# creationTimestamp field in reverse chronological order (newest result first).
|
||||||
|
# Use this to sort resources like operations so that the newest operation is
|
||||||
|
# returned first.
|
||||||
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||||
|
# a previous list request to get the next page of results.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::PacketMirroringAggregatedList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::PacketMirroringAggregatedList]
|
||||||
|
#
|
||||||
|
# @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 aggregated_packet_mirroring_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::PacketMirroringAggregatedList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::PacketMirroringAggregatedList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['maxResults'] = max_results unless max_results.nil?
|
||||||
|
command.query['orderBy'] = order_by unless order_by.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?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes the specified PacketMirroring resource.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] packet_mirroring
|
||||||
|
# Name of the PacketMirroring resource to delete.
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Operation]
|
||||||
|
#
|
||||||
|
# @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_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Returns the specified PacketMirroring resource.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] packet_mirroring
|
||||||
|
# Name of the PacketMirroring resource to return.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::PacketMirroring] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::PacketMirroring]
|
||||||
|
#
|
||||||
|
# @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_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::PacketMirroring::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::PacketMirroring
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Creates a PacketMirroring resource in the specified project and region using
|
||||||
|
# the data included in the request.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [Google::Apis::ComputeV1::PacketMirroring] packet_mirroring_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Operation]
|
||||||
|
#
|
||||||
|
# @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 insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::PacketMirroring::Representation
|
||||||
|
command.request_object = packet_mirroring_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Retrieves a list of PacketMirroring resources available to the specified
|
||||||
|
# project and region.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] filter
|
||||||
|
# A filter expression that filters resources listed in the response. The
|
||||||
|
# expression must specify the field name, a comparison operator, and the value
|
||||||
|
# that you want to use for filtering. The value must be a string, a number, or a
|
||||||
|
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||||
|
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||||
|
# instances named example-instance by specifying name != example-instance.
|
||||||
|
# You can also filter nested fields. For example, you could specify scheduling.
|
||||||
|
# automaticRestart = false to include instances only if they are not scheduled
|
||||||
|
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||||
|
# on resource labels.
|
||||||
|
# To filter on multiple expressions, provide each separate expression within
|
||||||
|
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||||
|
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||||
|
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||||
|
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||||
|
# automaticRestart = true).
|
||||||
|
# @param [Fixnum] max_results
|
||||||
|
# The maximum number of results per page that should be returned. If the number
|
||||||
|
# of available results is larger than maxResults, Compute Engine returns a
|
||||||
|
# nextPageToken that can be used to get the next page of results in subsequent
|
||||||
|
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||||
|
# @param [String] order_by
|
||||||
|
# Sorts list results by a certain order. By default, results are returned in
|
||||||
|
# alphanumerical order based on the resource name.
|
||||||
|
# You can also sort results in descending order based on the creation timestamp
|
||||||
|
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||||
|
# creationTimestamp field in reverse chronological order (newest result first).
|
||||||
|
# Use this to sort resources like operations so that the newest operation is
|
||||||
|
# returned first.
|
||||||
|
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||||
|
# a previous list request to get the next page of results.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::PacketMirroringList] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::PacketMirroringList]
|
||||||
|
#
|
||||||
|
# @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_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options)
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::PacketMirroringList::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::PacketMirroringList
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.query['filter'] = filter unless filter.nil?
|
||||||
|
command.query['maxResults'] = max_results unless max_results.nil?
|
||||||
|
command.query['orderBy'] = order_by unless order_by.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?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Patches the specified PacketMirroring resource with the data included in the
|
||||||
|
# request. This method supports PATCH semantics and uses JSON merge patch format
|
||||||
|
# and processing rules.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# Name of the region for this request.
|
||||||
|
# @param [String] packet_mirroring
|
||||||
|
# Name of the PacketMirroring resource to patch.
|
||||||
|
# @param [Google::Apis::ComputeV1::PacketMirroring] packet_mirroring_object
|
||||||
|
# @param [String] request_id
|
||||||
|
# An optional request ID to identify requests. Specify a unique request ID so
|
||||||
|
# that if you must retry your request, the server will know to ignore the
|
||||||
|
# request if it has already been completed.
|
||||||
|
# For example, consider a situation where you make an initial request and the
|
||||||
|
# request times out. If you make the request again with the same request ID, the
|
||||||
|
# server can check if original operation with the same request ID was received,
|
||||||
|
# and if so, will ignore the second request. This prevents clients from
|
||||||
|
# accidentally creating duplicate commitments.
|
||||||
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||||
|
# supported (00000000-0000-0000-0000-000000000000).
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::Operation]
|
||||||
|
#
|
||||||
|
# @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_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::PacketMirroring::Representation
|
||||||
|
command.request_object = packet_mirroring_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::Operation
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
|
||||||
|
command.query['requestId'] = request_id unless request_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Returns permissions that a caller has on the specified resource.
|
||||||
|
# @param [String] project
|
||||||
|
# Project ID for this request.
|
||||||
|
# @param [String] region
|
||||||
|
# The name of the region for this request.
|
||||||
|
# @param [String] resource
|
||||||
|
# Name or id of the resource for this request.
|
||||||
|
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::ComputeV1::TestPermissionsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
||||||
|
#
|
||||||
|
# @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_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options)
|
||||||
|
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
||||||
|
command.request_object = test_permissions_request_object
|
||||||
|
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
||||||
|
command.params['project'] = project unless project.nil?
|
||||||
|
command.params['region'] = region unless region.nil?
|
||||||
|
command.params['resource'] = resource unless resource.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Disable this project as a shared VPC host project.
|
# Disable this project as a shared VPC host project.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -17026,14 +17524,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified region-specific Operations resource until it is done
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# or timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
@ -26035,14 +26535,16 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Waits for the specified zone-specific Operations resource until it is done or
|
# Waits for the specified Operation resource to return as DONE or for the
|
||||||
# timeout, and retrieves the specified Operations resource. 1. Immediately
|
# request to approach the 2 minute deadline, and retrieves the specified
|
||||||
# returns when the operation is already done. 2. Waits for no more than the
|
# Operation resource. This method differs from the GET method in that it waits
|
||||||
# default deadline (2 minutes, subject to change) and then returns the current
|
# for no more than the default deadline (2 minutes) and then returns the current
|
||||||
# state of the operation, which may be DONE or still in progress. 3. Is best-
|
# state of the operation, which might be DONE or still in progress.
|
||||||
# effort: a. The server can wait less than the default deadline or zero seconds,
|
# This method is called on a best-effort basis. Specifically:
|
||||||
# in overload situations. b. There is no guarantee that the operation is
|
# - In uncommon cases, when the server is overloaded, the request might return
|
||||||
# actually done when returns. 4. User should be prepared to retry if the
|
# before the default deadline is reached, or might return after zero seconds.
|
||||||
|
# - If the default deadline is reached, there is no guarantee that the operation
|
||||||
|
# is actually done when the method returns. Be prepared to retry if the
|
||||||
# operation is not DONE.
|
# operation is not DONE.
|
||||||
# @param [String] project
|
# @param [String] project
|
||||||
# Project ID for this request.
|
# Project ID for this request.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2
|
module DialogflowV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200104'
|
REVISION = '20200121'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -209,7 +209,7 @@ module Google
|
||||||
class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
|
class GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The canonical `values` of the entities to delete. Note that
|
# Required. The reference `values` of the entities to delete. Note that
|
||||||
# these are not fully-qualified names, i.e. they don't start with
|
# these are not fully-qualified names, i.e. they don't start with
|
||||||
# `projects/<Project ID>`.
|
# `projects/<Project ID>`.
|
||||||
# Corresponds to the JSON property `entityValues`
|
# Corresponds to the JSON property `entityValues`
|
||||||
|
@ -727,7 +727,7 @@ module Google
|
||||||
# For example, if the entity type is *vegetable*, the value could be
|
# For example, if the entity type is *vegetable*, the value could be
|
||||||
# *scallions*.
|
# *scallions*.
|
||||||
# For `KIND_MAP` entity types:
|
# For `KIND_MAP` entity types:
|
||||||
# * A canonical value to be used in place of synonyms.
|
# * A reference value to be used in place of synonyms.
|
||||||
# For `KIND_LIST` entity types:
|
# For `KIND_LIST` entity types:
|
||||||
# * A string that can contain references to other entity types (with or
|
# * A string that can contain references to other entity types (with or
|
||||||
# without aliases).
|
# without aliases).
|
||||||
|
@ -2897,8 +2897,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# Represents a session entity type.
|
||||||
# Extends or replaces a developer entity type at the user session level (we
|
# Extends or replaces a custom entity type at the user session level (we
|
||||||
# refer to the entity types defined at the agent level as "developer entity
|
# refer to the entity types defined at the agent level as "custom entity
|
||||||
# types").
|
# types").
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# Note: session entity types apply to all queries, regardless of the language.
|
||||||
class GoogleCloudDialogflowV2SessionEntityType
|
class GoogleCloudDialogflowV2SessionEntityType
|
||||||
|
@ -2911,7 +2911,7 @@ module Google
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
||||||
# Required. Indicates whether the additional data should override or
|
# Required. Indicates whether the additional data should override or
|
||||||
# supplement the developer entity type definition.
|
# supplement the custom entity type definition.
|
||||||
# Corresponds to the JSON property `entityOverrideMode`
|
# Corresponds to the JSON property `entityOverrideMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :entity_override_mode
|
attr_accessor :entity_override_mode
|
||||||
|
@ -3475,7 +3475,7 @@ module Google
|
||||||
# For example, if the entity type is *vegetable*, the value could be
|
# For example, if the entity type is *vegetable*, the value could be
|
||||||
# *scallions*.
|
# *scallions*.
|
||||||
# For `KIND_MAP` entity types:
|
# For `KIND_MAP` entity types:
|
||||||
# * A canonical value to be used in place of synonyms.
|
# * A reference value to be used in place of synonyms.
|
||||||
# For `KIND_LIST` entity types:
|
# For `KIND_LIST` entity types:
|
||||||
# * A string that can contain references to other entity types (with or
|
# * A string that can contain references to other entity types (with or
|
||||||
# without aliases).
|
# without aliases).
|
||||||
|
@ -5709,8 +5709,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# Represents a session entity type.
|
||||||
# Extends or replaces a developer entity type at the user session level (we
|
# Extends or replaces a custom entity type at the user session level (we
|
||||||
# refer to the entity types defined at the agent level as "developer entity
|
# refer to the entity types defined at the agent level as "custom entity
|
||||||
# types").
|
# types").
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# Note: session entity types apply to all queries, regardless of the language.
|
||||||
class GoogleCloudDialogflowV2beta1SessionEntityType
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
||||||
|
@ -5723,7 +5723,7 @@ module Google
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
||||||
# Required. Indicates whether the additional data should override or
|
# Required. Indicates whether the additional data should override or
|
||||||
# supplement the developer entity type definition.
|
# supplement the custom entity type definition.
|
||||||
# Corresponds to the JSON property `entityOverrideMode`
|
# Corresponds to the JSON property `entityOverrideMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :entity_override_mode
|
attr_accessor :entity_override_mode
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2beta1
|
module DialogflowV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20200104'
|
REVISION = '20200121'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -268,7 +268,7 @@ module Google
|
||||||
# For example, if the entity type is *vegetable*, the value could be
|
# For example, if the entity type is *vegetable*, the value could be
|
||||||
# *scallions*.
|
# *scallions*.
|
||||||
# For `KIND_MAP` entity types:
|
# For `KIND_MAP` entity types:
|
||||||
# * A canonical value to be used in place of synonyms.
|
# * A reference value to be used in place of synonyms.
|
||||||
# For `KIND_LIST` entity types:
|
# For `KIND_LIST` entity types:
|
||||||
# * A string that can contain references to other entity types (with or
|
# * A string that can contain references to other entity types (with or
|
||||||
# without aliases).
|
# without aliases).
|
||||||
|
@ -1932,8 +1932,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# Represents a session entity type.
|
||||||
# Extends or replaces a developer entity type at the user session level (we
|
# Extends or replaces a custom entity type at the user session level (we
|
||||||
# refer to the entity types defined at the agent level as "developer entity
|
# refer to the entity types defined at the agent level as "custom entity
|
||||||
# types").
|
# types").
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# Note: session entity types apply to all queries, regardless of the language.
|
||||||
class GoogleCloudDialogflowV2SessionEntityType
|
class GoogleCloudDialogflowV2SessionEntityType
|
||||||
|
@ -1946,7 +1946,7 @@ module Google
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
||||||
# Required. Indicates whether the additional data should override or
|
# Required. Indicates whether the additional data should override or
|
||||||
# supplement the developer entity type definition.
|
# supplement the custom entity type definition.
|
||||||
# Corresponds to the JSON property `entityOverrideMode`
|
# Corresponds to the JSON property `entityOverrideMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :entity_override_mode
|
attr_accessor :entity_override_mode
|
||||||
|
@ -2321,7 +2321,7 @@ module Google
|
||||||
class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
|
class GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Required. The canonical `values` of the entities to delete. Note that
|
# Required. The reference `values` of the entities to delete. Note that
|
||||||
# these are not fully-qualified names, i.e. they don't start with
|
# these are not fully-qualified names, i.e. they don't start with
|
||||||
# `projects/<Project ID>`.
|
# `projects/<Project ID>`.
|
||||||
# Corresponds to the JSON property `entityValues`
|
# Corresponds to the JSON property `entityValues`
|
||||||
|
@ -2883,7 +2883,7 @@ module Google
|
||||||
# For example, if the entity type is *vegetable*, the value could be
|
# For example, if the entity type is *vegetable*, the value could be
|
||||||
# *scallions*.
|
# *scallions*.
|
||||||
# For `KIND_MAP` entity types:
|
# For `KIND_MAP` entity types:
|
||||||
# * A canonical value to be used in place of synonyms.
|
# * A reference value to be used in place of synonyms.
|
||||||
# For `KIND_LIST` entity types:
|
# For `KIND_LIST` entity types:
|
||||||
# * A string that can contain references to other entity types (with or
|
# * A string that can contain references to other entity types (with or
|
||||||
# without aliases).
|
# without aliases).
|
||||||
|
@ -5776,8 +5776,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a session entity type.
|
# Represents a session entity type.
|
||||||
# Extends or replaces a developer entity type at the user session level (we
|
# Extends or replaces a custom entity type at the user session level (we
|
||||||
# refer to the entity types defined at the agent level as "developer entity
|
# refer to the entity types defined at the agent level as "custom entity
|
||||||
# types").
|
# types").
|
||||||
# Note: session entity types apply to all queries, regardless of the language.
|
# Note: session entity types apply to all queries, regardless of the language.
|
||||||
class GoogleCloudDialogflowV2beta1SessionEntityType
|
class GoogleCloudDialogflowV2beta1SessionEntityType
|
||||||
|
@ -5790,7 +5790,7 @@ module Google
|
||||||
attr_accessor :entities
|
attr_accessor :entities
|
||||||
|
|
||||||
# Required. Indicates whether the additional data should override or
|
# Required. Indicates whether the additional data should override or
|
||||||
# supplement the developer entity type definition.
|
# supplement the custom entity type definition.
|
||||||
# Corresponds to the JSON property `entityOverrideMode`
|
# Corresponds to the JSON property `entityOverrideMode`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :entity_override_mode
|
attr_accessor :entity_override_mode
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/bid-manager/
|
# @see https://developers.google.com/bid-manager/
|
||||||
module DoubleclickbidmanagerV1_1
|
module DoubleclickbidmanagerV1_1
|
||||||
VERSION = 'V1_1'
|
VERSION = 'V1_1'
|
||||||
REVISION = '20200106'
|
REVISION = '20200116'
|
||||||
|
|
||||||
# View and manage your reports in DoubleClick Bid Manager
|
# View and manage your reports in DoubleClick Bid Manager
|
||||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||||
|
|
|
@ -519,6 +519,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_run_timezone_code
|
attr_accessor :next_run_timezone_code
|
||||||
|
|
||||||
|
# When to start running the query. Not applicable to `ONE_TIME` frequency.
|
||||||
|
# Corresponds to the JSON property `startTimeMs`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :start_time_ms
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -529,6 +534,7 @@ module Google
|
||||||
@frequency = args[:frequency] if args.key?(:frequency)
|
@frequency = args[:frequency] if args.key?(:frequency)
|
||||||
@next_run_minute_of_day = args[:next_run_minute_of_day] if args.key?(:next_run_minute_of_day)
|
@next_run_minute_of_day = args[:next_run_minute_of_day] if args.key?(:next_run_minute_of_day)
|
||||||
@next_run_timezone_code = args[:next_run_timezone_code] if args.key?(:next_run_timezone_code)
|
@next_run_timezone_code = args[:next_run_timezone_code] if args.key?(:next_run_timezone_code)
|
||||||
|
@start_time_ms = args[:start_time_ms] if args.key?(:start_time_ms)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -283,6 +283,7 @@ module Google
|
||||||
property :frequency, as: 'frequency'
|
property :frequency, as: 'frequency'
|
||||||
property :next_run_minute_of_day, as: 'nextRunMinuteOfDay'
|
property :next_run_minute_of_day, as: 'nextRunMinuteOfDay'
|
||||||
property :next_run_timezone_code, as: 'nextRunTimezoneCode'
|
property :next_run_timezone_code, as: 'nextRunTimezoneCode'
|
||||||
|
property :start_time_ms, :numeric_string => true, as: 'startTimeMs'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/drive/
|
# @see https://developers.google.com/drive/
|
||||||
module DriveV2
|
module DriveV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20191213'
|
REVISION = '20200110'
|
||||||
|
|
||||||
# See, edit, create, and delete all of your Google Drive files
|
# See, edit, create, and delete all of your Google Drive files
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -3349,8 +3349,7 @@ module Google
|
||||||
class Revision
|
class Revision
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Short term download URL for the file. This will only be populated on files
|
#
|
||||||
# with content stored in Drive.
|
|
||||||
# Corresponds to the JSON property `downloadUrl`
|
# Corresponds to the JSON property `downloadUrl`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :download_url
|
attr_accessor :download_url
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
||||||
module JobsV3p1beta1
|
module JobsV3p1beta1
|
||||||
VERSION = 'V3p1beta1'
|
VERSION = 'V3p1beta1'
|
||||||
REVISION = '20200109'
|
REVISION = '20200122'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -939,14 +939,19 @@ module Google
|
||||||
|
|
||||||
# Required. Controls over how job documents get ranked on top of existing
|
# Required. Controls over how job documents get ranked on top of existing
|
||||||
# relevance
|
# relevance
|
||||||
# score (determined by API algorithm). The product of ranking expression
|
# score (determined by API algorithm). A combination of the ranking
|
||||||
# and relevance score is used to determine job's final ranking position.
|
# expression and relevance score is used to determine job's final ranking
|
||||||
|
# position.
|
||||||
# The syntax for this expression is a subset of Google SQL syntax.
|
# The syntax for this expression is a subset of Google SQL syntax.
|
||||||
# Supported operators are: +, -, *, /, where the left and right side of
|
# Supported operators are: +, -, *, /, where the left and right side of
|
||||||
# the operator is either a numeric Job.custom_attributes key,
|
# the operator is either a numeric Job.custom_attributes key,
|
||||||
# integer/double value or an expression that can be evaluated to a number.
|
# integer/double value or an expression that can be evaluated to a number.
|
||||||
# Parenthesis are supported to adjust calculation precedence. The
|
# Parenthesis are supported to adjust calculation precedence. The
|
||||||
# expression must be < 100 characters in length.
|
# expression must be < 100 characters in length.
|
||||||
|
# The expression is considered invalid for a job if the expression
|
||||||
|
# references custom attributes that are not populated on the job or if the
|
||||||
|
# expression results in a divide by zero. If an expression is invalid for a
|
||||||
|
# job, that job is demoted to the end of the results.
|
||||||
# Sample ranking expression
|
# Sample ranking expression
|
||||||
# (year + 25) * 0.25 - (freshness / 0.5)
|
# (year + 25) * 0.25 - (freshness / 0.5)
|
||||||
# Corresponds to the JSON property `rankingExpression`
|
# Corresponds to the JSON property `rankingExpression`
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200118'
|
REVISION = '20200124'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2135,28 +2135,10 @@ module Google
|
||||||
class GoogleIamV1Binding
|
class GoogleIamV1Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents an expression text. Example:
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# title: "User account presence"
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# description: "Determines whether the request has a user account"
|
||||||
# Example (Comparison):
|
# expression: "size(request.user) > 0"
|
||||||
# title: "Summary size limit"
|
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
|
||||||
# expression: "document.summary.size() < 100"
|
|
||||||
# Example (Equality):
|
|
||||||
# title: "Requestor is owner"
|
|
||||||
# description: "Determines if requestor is the document owner"
|
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
|
||||||
# Example (Logic):
|
|
||||||
# title: "Public documents"
|
|
||||||
# description: "Determine whether the document should be publicly visible"
|
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::MlV1::GoogleTypeExpr]
|
# @return [Google::Apis::MlV1::GoogleTypeExpr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
@ -2607,50 +2589,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents a textual expression in the Common Expression Language (CEL)
|
# Represents an expression text. Example:
|
||||||
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
# title: "User account presence"
|
||||||
# are documented at https://github.com/google/cel-spec.
|
# description: "Determines whether the request has a user account"
|
||||||
# Example (Comparison):
|
# expression: "size(request.user) > 0"
|
||||||
# title: "Summary size limit"
|
|
||||||
# description: "Determines if a summary is less than 100 chars"
|
|
||||||
# expression: "document.summary.size() < 100"
|
|
||||||
# Example (Equality):
|
|
||||||
# title: "Requestor is owner"
|
|
||||||
# description: "Determines if requestor is the document owner"
|
|
||||||
# expression: "document.owner == request.auth.claims.email"
|
|
||||||
# Example (Logic):
|
|
||||||
# title: "Public documents"
|
|
||||||
# description: "Determine whether the document should be publicly visible"
|
|
||||||
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
||||||
# Example (Data Manipulation):
|
|
||||||
# title: "Notification string"
|
|
||||||
# description: "Create a notification string with a timestamp."
|
|
||||||
# expression: "'New message received at ' + string(document.create_time)"
|
|
||||||
# The exact variables and functions that may be referenced within an expression
|
|
||||||
# are determined by the service that evaluates it. See the service
|
|
||||||
# documentation for additional information.
|
|
||||||
class GoogleTypeExpr
|
class GoogleTypeExpr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Optional. Description of the expression. This is a longer text which
|
# An optional description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in Common Expression Language
|
# Textual representation of an expression in
|
||||||
# syntax.
|
# 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`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# Optional. String indicating the location of the expression for error
|
# An optional string indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# Optional. Title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
|
|
@ -20,12 +20,13 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Secret Manager API
|
# Secret Manager API
|
||||||
#
|
#
|
||||||
# Stores, manages, and secures access to application secrets.
|
# Stores and manages access to application secrets. Provides convenience while
|
||||||
|
# improving security.
|
||||||
#
|
#
|
||||||
# @see https://cloud.google.com/secret-manager/
|
# @see https://cloud.google.com/secret-manager/
|
||||||
module SecretmanagerV1beta1
|
module SecretmanagerV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20191210'
|
REVISION = '20200118'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -203,10 +203,28 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::SecretmanagerV1beta1::Expr]
|
# @return [Google::Apis::SecretmanagerV1beta1::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
@ -322,34 +340,50 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An optional description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in
|
# Textual representation of an expression in Common Expression Language
|
||||||
# Common Expression Language syntax.
|
# syntax.
|
||||||
# The application context of the containing message determines which
|
|
||||||
# well-known feature set of CEL is supported.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# An optional string indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# An optional title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
|
|
@ -22,7 +22,8 @@ module Google
|
||||||
module SecretmanagerV1beta1
|
module SecretmanagerV1beta1
|
||||||
# Secret Manager API
|
# Secret Manager API
|
||||||
#
|
#
|
||||||
# Stores, manages, and secures access to application secrets.
|
# Stores and manages access to application secrets. Provides convenience while
|
||||||
|
# improving security.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/secretmanager_v1beta1'
|
# require 'google/apis/secretmanager_v1beta1'
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-management/
|
# @see https://cloud.google.com/service-management/
|
||||||
module ServicemanagementV1
|
module ServicemanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200115'
|
REVISION = '20200118'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -618,10 +618,28 @@ module Google
|
||||||
class Binding
|
class Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
# Corresponds to the JSON property `condition`
|
# Corresponds to the JSON property `condition`
|
||||||
# @return [Google::Apis::ServicemanagementV1::Expr]
|
# @return [Google::Apis::ServicemanagementV1::Expr]
|
||||||
attr_accessor :condition
|
attr_accessor :condition
|
||||||
|
@ -1462,34 +1480,50 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Represents an expression text. Example:
|
# Represents a textual expression in the Common Expression Language (CEL)
|
||||||
# title: "User account presence"
|
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
||||||
# description: "Determines whether the request has a user account"
|
# are documented at https://github.com/google/cel-spec.
|
||||||
# expression: "size(request.user) > 0"
|
# Example (Comparison):
|
||||||
|
# title: "Summary size limit"
|
||||||
|
# description: "Determines if a summary is less than 100 chars"
|
||||||
|
# expression: "document.summary.size() < 100"
|
||||||
|
# Example (Equality):
|
||||||
|
# title: "Requestor is owner"
|
||||||
|
# description: "Determines if requestor is the document owner"
|
||||||
|
# expression: "document.owner == request.auth.claims.email"
|
||||||
|
# Example (Logic):
|
||||||
|
# title: "Public documents"
|
||||||
|
# description: "Determine whether the document should be publicly visible"
|
||||||
|
# expression: "document.type != 'private' && document.type != 'internal'"
|
||||||
|
# Example (Data Manipulation):
|
||||||
|
# title: "Notification string"
|
||||||
|
# description: "Create a notification string with a timestamp."
|
||||||
|
# expression: "'New message received at ' + string(document.create_time)"
|
||||||
|
# The exact variables and functions that may be referenced within an expression
|
||||||
|
# are determined by the service that evaluates it. See the service
|
||||||
|
# documentation for additional information.
|
||||||
class Expr
|
class Expr
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# An optional description of the expression. This is a longer text which
|
# Optional. Description of the expression. This is a longer text which
|
||||||
# describes the expression, e.g. when hovered over it in a UI.
|
# describes the expression, e.g. when hovered over it in a UI.
|
||||||
# Corresponds to the JSON property `description`
|
# Corresponds to the JSON property `description`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
# Textual representation of an expression in
|
# Textual representation of an expression in Common Expression Language
|
||||||
# Common Expression Language syntax.
|
# syntax.
|
||||||
# The application context of the containing message determines which
|
|
||||||
# well-known feature set of CEL is supported.
|
|
||||||
# Corresponds to the JSON property `expression`
|
# Corresponds to the JSON property `expression`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :expression
|
attr_accessor :expression
|
||||||
|
|
||||||
# An optional string indicating the location of the expression for error
|
# Optional. String indicating the location of the expression for error
|
||||||
# reporting, e.g. a file name and a position in the file.
|
# reporting, e.g. a file name and a position in the file.
|
||||||
# Corresponds to the JSON property `location`
|
# Corresponds to the JSON property `location`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :location
|
attr_accessor :location
|
||||||
|
|
||||||
# An optional title for the expression, i.e. a short string describing
|
# 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
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
||||||
# expression.
|
# expression.
|
||||||
# Corresponds to the JSON property `title`
|
# Corresponds to the JSON property `title`
|
||||||
|
@ -3981,6 +4015,48 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The per-product per-project service identity for a service.
|
||||||
|
# Use this field to configure per-product per-project service identity.
|
||||||
|
# Example of a service identity configuration.
|
||||||
|
# usage:
|
||||||
|
# service_identity:
|
||||||
|
# - service_account_parent: "projects/123456789"
|
||||||
|
# display_name: "Cloud XXX Service Agent"
|
||||||
|
# description: "Used as the identity of Cloud XXX to access resources"
|
||||||
|
class ServiceIdentity
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. A user-specified opaque description of the service account.
|
||||||
|
# Must be less than or equal to 256 UTF-8 bytes.
|
||||||
|
# Corresponds to the JSON property `description`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :description
|
||||||
|
|
||||||
|
# Optional. A user-specified name for the service account.
|
||||||
|
# Must be less than or equal to 100 UTF-8 bytes.
|
||||||
|
# Corresponds to the JSON property `displayName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# A service account project that hosts the service accounts.
|
||||||
|
# An example name would be:
|
||||||
|
# `projects/123456789`
|
||||||
|
# Corresponds to the JSON property `serviceAccountParent`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :service_account_parent
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for `SetIamPolicy` method.
|
# Request message for `SetIamPolicy` method.
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -4534,6 +4610,18 @@ module Google
|
||||||
# @return [Array<Google::Apis::ServicemanagementV1::UsageRule>]
|
# @return [Array<Google::Apis::ServicemanagementV1::UsageRule>]
|
||||||
attr_accessor :rules
|
attr_accessor :rules
|
||||||
|
|
||||||
|
# The per-product per-project service identity for a service.
|
||||||
|
# Use this field to configure per-product per-project service identity.
|
||||||
|
# Example of a service identity configuration.
|
||||||
|
# usage:
|
||||||
|
# service_identity:
|
||||||
|
# - service_account_parent: "projects/123456789"
|
||||||
|
# display_name: "Cloud XXX Service Agent"
|
||||||
|
# description: "Used as the identity of Cloud XXX to access resources"
|
||||||
|
# Corresponds to the JSON property `serviceIdentity`
|
||||||
|
# @return [Google::Apis::ServicemanagementV1::ServiceIdentity]
|
||||||
|
attr_accessor :service_identity
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -4543,6 +4631,7 @@ module Google
|
||||||
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
||||||
@requirements = args[:requirements] if args.key?(:requirements)
|
@requirements = args[:requirements] if args.key?(:requirements)
|
||||||
@rules = args[:rules] if args.key?(:rules)
|
@rules = args[:rules] if args.key?(:rules)
|
||||||
|
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -448,6 +448,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ServiceIdentity
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1300,6 +1306,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ServiceIdentity
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :service_account_parent, as: 'serviceAccountParent'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1434,6 +1449,8 @@ module Google
|
||||||
collection :requirements, as: 'requirements'
|
collection :requirements, as: 'requirements'
|
||||||
collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation
|
collection :rules, as: 'rules', class: Google::Apis::ServicemanagementV1::UsageRule, decorator: Google::Apis::ServicemanagementV1::UsageRule::Representation
|
||||||
|
|
||||||
|
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServicemanagementV1::ServiceIdentity, decorator: Google::Apis::ServicemanagementV1::ServiceIdentity::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/sheets/
|
# @see https://developers.google.com/sheets/
|
||||||
module SheetsV4
|
module SheetsV4
|
||||||
VERSION = 'V4'
|
VERSION = 'V4'
|
||||||
REVISION = '20191213'
|
REVISION = '20200123'
|
||||||
|
|
||||||
# See, edit, create, and delete all of your Google Drive files
|
# See, edit, create, and delete all of your Google Drive files
|
||||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||||
|
|
|
@ -1207,6 +1207,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :negative_color
|
attr_accessor :negative_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `negativeColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :negative_color_style
|
||||||
|
|
||||||
# Position settings for text.
|
# Position settings for text.
|
||||||
# Corresponds to the JSON property `position`
|
# Corresponds to the JSON property `position`
|
||||||
# @return [Google::Apis::SheetsV4::TextPosition]
|
# @return [Google::Apis::SheetsV4::TextPosition]
|
||||||
|
@ -1319,6 +1324,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :positive_color
|
attr_accessor :positive_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `positiveColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :positive_color_style
|
||||||
|
|
||||||
# The format of a run of text in a cell.
|
# The format of a run of text in a cell.
|
||||||
# Absent values indicate that the field isn't specified.
|
# Absent values indicate that the field isn't specified.
|
||||||
# Corresponds to the JSON property `textFormat`
|
# Corresponds to the JSON property `textFormat`
|
||||||
|
@ -1334,8 +1344,10 @@ module Google
|
||||||
@comparison_type = args[:comparison_type] if args.key?(:comparison_type)
|
@comparison_type = args[:comparison_type] if args.key?(:comparison_type)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@negative_color = args[:negative_color] if args.key?(:negative_color)
|
@negative_color = args[:negative_color] if args.key?(:negative_color)
|
||||||
|
@negative_color_style = args[:negative_color_style] if args.key?(:negative_color_style)
|
||||||
@position = args[:position] if args.key?(:position)
|
@position = args[:position] if args.key?(:position)
|
||||||
@positive_color = args[:positive_color] if args.key?(:positive_color)
|
@positive_color = args[:positive_color] if args.key?(:positive_color)
|
||||||
|
@positive_color_style = args[:positive_color_style] if args.key?(:positive_color_style)
|
||||||
@text_format = args[:text_format] if args.key?(:text_format)
|
@text_format = args[:text_format] if args.key?(:text_format)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1528,6 +1540,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :color
|
attr_accessor :color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `colorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :color_style
|
||||||
|
|
||||||
# Properties that describe the style of a line.
|
# Properties that describe the style of a line.
|
||||||
# Corresponds to the JSON property `lineStyle`
|
# Corresponds to the JSON property `lineStyle`
|
||||||
# @return [Google::Apis::SheetsV4::LineStyle]
|
# @return [Google::Apis::SheetsV4::LineStyle]
|
||||||
|
@ -1566,6 +1583,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@color = args[:color] if args.key?(:color)
|
@color = args[:color] if args.key?(:color)
|
||||||
|
@color_style = args[:color_style] if args.key?(:color_style)
|
||||||
@line_style = args[:line_style] if args.key?(:line_style)
|
@line_style = args[:line_style] if args.key?(:line_style)
|
||||||
@series = args[:series] if args.key?(:series)
|
@series = args[:series] if args.key?(:series)
|
||||||
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
@target_axis = args[:target_axis] if args.key?(:target_axis)
|
||||||
|
@ -1748,10 +1766,9 @@ module Google
|
||||||
class BatchClearValuesByDataFilterResponse
|
class BatchClearValuesByDataFilterResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The ranges that were cleared, in A1 notation.
|
# The ranges that were cleared, in A1 notation. If the requests are for an
|
||||||
# (If the requests were for an unbounded range or a ranger larger
|
# unbounded range or a ranger larger than the bounds of the sheet, this is
|
||||||
# than the bounds of the sheet, this will be the actual ranges
|
# the actual ranges that were cleared, bounded to the sheet's limits.
|
||||||
# that were cleared, bounded to the sheet's limits.)
|
|
||||||
# Corresponds to the JSON property `clearedRanges`
|
# Corresponds to the JSON property `clearedRanges`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :cleared_ranges
|
attr_accessor :cleared_ranges
|
||||||
|
@ -1795,10 +1812,9 @@ module Google
|
||||||
class BatchClearValuesResponse
|
class BatchClearValuesResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The ranges that were cleared, in A1 notation.
|
# The ranges that were cleared, in A1 notation. If the requests are for an
|
||||||
# (If the requests were for an unbounded range or a ranger larger
|
# unbounded range or a ranger larger than the bounds of the sheet, this is
|
||||||
# than the bounds of the sheet, this will be the actual ranges
|
# the actual ranges that were cleared, bounded to the sheet's limits.
|
||||||
# that were cleared, bounded to the sheet's limits.)
|
|
||||||
# Corresponds to the JSON property `clearedRanges`
|
# Corresponds to the JSON property `clearedRanges`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :cleared_ranges
|
attr_accessor :cleared_ranges
|
||||||
|
@ -1825,8 +1841,7 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The data filters used to match the ranges of values to retrieve. Ranges
|
# The data filters used to match the ranges of values to retrieve. Ranges
|
||||||
# that match any of the specified data filters will be included in the
|
# that match any of the specified data filters are included in the response.
|
||||||
# response.
|
|
||||||
# Corresponds to the JSON property `dataFilters`
|
# Corresponds to the JSON property `dataFilters`
|
||||||
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
|
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
|
||||||
attr_accessor :data_filters
|
attr_accessor :data_filters
|
||||||
|
@ -1841,10 +1856,9 @@ module Google
|
||||||
|
|
||||||
# The major dimension that results should use.
|
# The major dimension that results should use.
|
||||||
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
||||||
# then a request that selects that range and sets `majorDimension=ROWS` will
|
# then a request that selects that range and sets `majorDimension=ROWS`
|
||||||
# return `[[1,2],[3,4]]`,
|
# returns `[[1,2],[3,4]]`, whereas a request that sets
|
||||||
# whereas a request that sets `majorDimension=COLUMNS` will return
|
# `majorDimension=COLUMNS` returns `[[1,3],[2,4]]`.
|
||||||
# `[[1,3],[2,4]]`.
|
|
||||||
# Corresponds to the JSON property `majorDimension`
|
# Corresponds to the JSON property `majorDimension`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :major_dimension
|
attr_accessor :major_dimension
|
||||||
|
@ -2002,8 +2016,8 @@ module Google
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# The new values to apply to the spreadsheet. If more than one range is
|
# The new values to apply to the spreadsheet. If more than one range is
|
||||||
# matched by the specified DataFilter the specified values will be
|
# matched by the specified DataFilter the specified values are applied to
|
||||||
# applied to all of those ranges.
|
# all of those ranges.
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Array<Google::Apis::SheetsV4::DataFilterValueRange>]
|
# @return [Array<Google::Apis::SheetsV4::DataFilterValueRange>]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
@ -2011,10 +2025,10 @@ module Google
|
||||||
# Determines if the update response should include the values
|
# Determines if the update response should include the values
|
||||||
# of the cells that were updated. By default, responses
|
# of the cells that were updated. By default, responses
|
||||||
# do not include the updated values. The `updatedData` field within
|
# do not include the updated values. The `updatedData` field within
|
||||||
# each of the BatchUpdateValuesResponse.responses will contain
|
# each of the BatchUpdateValuesResponse.responses contains the updated
|
||||||
# the updated values. If the range to write was larger than than the range
|
# values. If the range to write was larger than the range actually written,
|
||||||
# actually written, the response will include all values in the requested
|
# the response includes all values in the requested range (excluding trailing
|
||||||
# range (excluding trailing empty rows and columns).
|
# empty rows and columns).
|
||||||
# Corresponds to the JSON property `includeValuesInResponse`
|
# Corresponds to the JSON property `includeValuesInResponse`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :include_values_in_response
|
attr_accessor :include_values_in_response
|
||||||
|
@ -2117,10 +2131,10 @@ module Google
|
||||||
# Determines if the update response should include the values
|
# Determines if the update response should include the values
|
||||||
# of the cells that were updated. By default, responses
|
# of the cells that were updated. By default, responses
|
||||||
# do not include the updated values. The `updatedData` field within
|
# do not include the updated values. The `updatedData` field within
|
||||||
# each of the BatchUpdateValuesResponse.responses will contain
|
# each of the BatchUpdateValuesResponse.responses contains the updated
|
||||||
# the updated values. If the range to write was larger than than the range
|
# values. If the range to write was larger than the range actually written,
|
||||||
# actually written, the response will include all values in the requested
|
# the response includes all values in the requested range (excluding trailing
|
||||||
# range (excluding trailing empty rows and columns).
|
# empty rows and columns).
|
||||||
# Corresponds to the JSON property `includeValuesInResponse`
|
# Corresponds to the JSON property `includeValuesInResponse`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :include_values_in_response
|
attr_accessor :include_values_in_response
|
||||||
|
@ -2551,6 +2565,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :bubble_border_color
|
attr_accessor :bubble_border_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `bubbleBorderColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :bubble_border_color_style
|
||||||
|
|
||||||
# The data included in a domain or series.
|
# The data included in a domain or series.
|
||||||
# Corresponds to the JSON property `bubbleLabels`
|
# Corresponds to the JSON property `bubbleLabels`
|
||||||
# @return [Google::Apis::SheetsV4::ChartData]
|
# @return [Google::Apis::SheetsV4::ChartData]
|
||||||
|
@ -2612,6 +2631,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@bubble_border_color = args[:bubble_border_color] if args.key?(:bubble_border_color)
|
@bubble_border_color = args[:bubble_border_color] if args.key?(:bubble_border_color)
|
||||||
|
@bubble_border_color_style = args[:bubble_border_color_style] if args.key?(:bubble_border_color_style)
|
||||||
@bubble_labels = args[:bubble_labels] if args.key?(:bubble_labels)
|
@bubble_labels = args[:bubble_labels] if args.key?(:bubble_labels)
|
||||||
@bubble_max_radius_size = args[:bubble_max_radius_size] if args.key?(:bubble_max_radius_size)
|
@bubble_max_radius_size = args[:bubble_max_radius_size] if args.key?(:bubble_max_radius_size)
|
||||||
@bubble_min_radius_size = args[:bubble_min_radius_size] if args.key?(:bubble_min_radius_size)
|
@bubble_min_radius_size = args[:bubble_min_radius_size] if args.key?(:bubble_min_radius_size)
|
||||||
|
@ -3233,6 +3253,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :background_color
|
attr_accessor :background_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `backgroundColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :background_color_style
|
||||||
|
|
||||||
# The specification for a basic chart. See BasicChartType for the list
|
# The specification for a basic chart. See BasicChartType for the list
|
||||||
# of charts this supports.
|
# of charts this supports.
|
||||||
# Corresponds to the JSON property `basicChart`
|
# Corresponds to the JSON property `basicChart`
|
||||||
|
@ -3359,6 +3384,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
||||||
@background_color = args[:background_color] if args.key?(:background_color)
|
@background_color = args[:background_color] if args.key?(:background_color)
|
||||||
|
@background_color_style = args[:background_color_style] if args.key?(:background_color_style)
|
||||||
@basic_chart = args[:basic_chart] if args.key?(:basic_chart)
|
@basic_chart = args[:basic_chart] if args.key?(:basic_chart)
|
||||||
@bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart)
|
@bubble_chart = args[:bubble_chart] if args.key?(:bubble_chart)
|
||||||
@candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart)
|
@candlestick_chart = args[:candlestick_chart] if args.key?(:candlestick_chart)
|
||||||
|
@ -4065,9 +4091,9 @@ module Google
|
||||||
attr_accessor :major_dimension
|
attr_accessor :major_dimension
|
||||||
|
|
||||||
# The data to be written. If the provided values exceed any of the ranges
|
# The data to be written. If the provided values exceed any of the ranges
|
||||||
# matched by the data filter then the request will fail. If the provided
|
# matched by the data filter then the request fails. If the provided values
|
||||||
# values are less than the matched ranges only the specified values will be
|
# are less than the matched ranges only the specified values are written,
|
||||||
# written, existing values in the matched ranges will remain unaffected.
|
# existing values in the matched ranges remain unaffected.
|
||||||
# Corresponds to the JSON property `values`
|
# Corresponds to the JSON property `values`
|
||||||
# @return [Array<Array<Object>>]
|
# @return [Array<Array<Object>>]
|
||||||
attr_accessor :values
|
attr_accessor :values
|
||||||
|
@ -6106,6 +6132,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :bar_color
|
attr_accessor :bar_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `barColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :bar_color_style
|
||||||
|
|
||||||
# The data included in a domain or series.
|
# The data included in a domain or series.
|
||||||
# Corresponds to the JSON property `data`
|
# Corresponds to the JSON property `data`
|
||||||
# @return [Google::Apis::SheetsV4::ChartData]
|
# @return [Google::Apis::SheetsV4::ChartData]
|
||||||
|
@ -6118,6 +6149,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@bar_color = args[:bar_color] if args.key?(:bar_color)
|
@bar_color = args[:bar_color] if args.key?(:bar_color)
|
||||||
|
@bar_color_style = args[:bar_color_style] if args.key?(:bar_color_style)
|
||||||
@data = args[:data] if args.key?(:data)
|
@data = args[:data] if args.key?(:data)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -6848,6 +6880,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :node_color
|
attr_accessor :node_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `nodeColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :node_color_style
|
||||||
|
|
||||||
# The size of the org chart nodes.
|
# The size of the org chart nodes.
|
||||||
# Corresponds to the JSON property `nodeSize`
|
# Corresponds to the JSON property `nodeSize`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -6965,6 +7002,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :selected_node_color
|
attr_accessor :selected_node_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `selectedNodeColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :selected_node_color_style
|
||||||
|
|
||||||
# The data included in a domain or series.
|
# The data included in a domain or series.
|
||||||
# Corresponds to the JSON property `tooltips`
|
# Corresponds to the JSON property `tooltips`
|
||||||
# @return [Google::Apis::SheetsV4::ChartData]
|
# @return [Google::Apis::SheetsV4::ChartData]
|
||||||
|
@ -6978,9 +7020,11 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@node_color = args[:node_color] if args.key?(:node_color)
|
@node_color = args[:node_color] if args.key?(:node_color)
|
||||||
|
@node_color_style = args[:node_color_style] if args.key?(:node_color_style)
|
||||||
@node_size = args[:node_size] if args.key?(:node_size)
|
@node_size = args[:node_size] if args.key?(:node_size)
|
||||||
@parent_labels = args[:parent_labels] if args.key?(:parent_labels)
|
@parent_labels = args[:parent_labels] if args.key?(:parent_labels)
|
||||||
@selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color)
|
@selected_node_color = args[:selected_node_color] if args.key?(:selected_node_color)
|
||||||
|
@selected_node_color_style = args[:selected_node_color_style] if args.key?(:selected_node_color_style)
|
||||||
@tooltips = args[:tooltips] if args.key?(:tooltips)
|
@tooltips = args[:tooltips] if args.key?(:tooltips)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -8454,7 +8498,7 @@ module Google
|
||||||
|
|
||||||
# The data filters describing the criteria used to determine which
|
# The data filters describing the criteria used to determine which
|
||||||
# DeveloperMetadata entries to return. DeveloperMetadata matching any of the
|
# DeveloperMetadata entries to return. DeveloperMetadata matching any of the
|
||||||
# specified filters will be included in the response.
|
# specified filters are included in the response.
|
||||||
# Corresponds to the JSON property `dataFilters`
|
# Corresponds to the JSON property `dataFilters`
|
||||||
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
|
# @return [Array<Google::Apis::SheetsV4::DataFilter>]
|
||||||
attr_accessor :data_filters
|
attr_accessor :data_filters
|
||||||
|
@ -9514,8 +9558,8 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :primary_font_family
|
attr_accessor :primary_font_family
|
||||||
|
|
||||||
# The spreadsheet theme color pairs. For update users need to give all pairs
|
# The spreadsheet theme color pairs. To update you must provide all theme
|
||||||
# of theme colors.
|
# color pairs.
|
||||||
# Corresponds to the JSON property `themeColors`
|
# Corresponds to the JSON property `themeColors`
|
||||||
# @return [Array<Google::Apis::SheetsV4::ThemeColorPair>]
|
# @return [Array<Google::Apis::SheetsV4::ThemeColorPair>]
|
||||||
attr_accessor :theme_colors
|
attr_accessor :theme_colors
|
||||||
|
@ -9972,6 +10016,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :max_value_color
|
attr_accessor :max_value_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `maxValueColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :max_value_color_style
|
||||||
|
|
||||||
# Represents a color in the RGBA color space. This representation is designed
|
# Represents a color in the RGBA color space. This representation is designed
|
||||||
# for simplicity of conversion to/from color representations in various
|
# for simplicity of conversion to/from color representations in various
|
||||||
# languages over compactness; for example, the fields of this representation
|
# languages over compactness; for example, the fields of this representation
|
||||||
|
@ -10079,6 +10128,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :mid_value_color
|
attr_accessor :mid_value_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `midValueColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :mid_value_color_style
|
||||||
|
|
||||||
# Represents a color in the RGBA color space. This representation is designed
|
# Represents a color in the RGBA color space. This representation is designed
|
||||||
# for simplicity of conversion to/from color representations in various
|
# for simplicity of conversion to/from color representations in various
|
||||||
# languages over compactness; for example, the fields of this representation
|
# languages over compactness; for example, the fields of this representation
|
||||||
|
@ -10186,6 +10240,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :min_value_color
|
attr_accessor :min_value_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `minValueColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :min_value_color_style
|
||||||
|
|
||||||
# Represents a color in the RGBA color space. This representation is designed
|
# Represents a color in the RGBA color space. This representation is designed
|
||||||
# for simplicity of conversion to/from color representations in various
|
# for simplicity of conversion to/from color representations in various
|
||||||
# languages over compactness; for example, the fields of this representation
|
# languages over compactness; for example, the fields of this representation
|
||||||
|
@ -10293,6 +10352,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :no_data_color
|
attr_accessor :no_data_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `noDataColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :no_data_color_style
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -10300,9 +10364,13 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@max_value_color = args[:max_value_color] if args.key?(:max_value_color)
|
@max_value_color = args[:max_value_color] if args.key?(:max_value_color)
|
||||||
|
@max_value_color_style = args[:max_value_color_style] if args.key?(:max_value_color_style)
|
||||||
@mid_value_color = args[:mid_value_color] if args.key?(:mid_value_color)
|
@mid_value_color = args[:mid_value_color] if args.key?(:mid_value_color)
|
||||||
|
@mid_value_color_style = args[:mid_value_color_style] if args.key?(:mid_value_color_style)
|
||||||
@min_value_color = args[:min_value_color] if args.key?(:min_value_color)
|
@min_value_color = args[:min_value_color] if args.key?(:min_value_color)
|
||||||
|
@min_value_color_style = args[:min_value_color_style] if args.key?(:min_value_color_style)
|
||||||
@no_data_color = args[:no_data_color] if args.key?(:no_data_color)
|
@no_data_color = args[:no_data_color] if args.key?(:no_data_color)
|
||||||
|
@no_data_color_style = args[:no_data_color_style] if args.key?(:no_data_color_style)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -10427,6 +10495,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :header_color
|
attr_accessor :header_color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `headerColorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :header_color_style
|
||||||
|
|
||||||
# True to hide tooltips.
|
# True to hide tooltips.
|
||||||
# Corresponds to the JSON property `hideTooltips`
|
# Corresponds to the JSON property `hideTooltips`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -10493,6 +10566,7 @@ module Google
|
||||||
@color_data = args[:color_data] if args.key?(:color_data)
|
@color_data = args[:color_data] if args.key?(:color_data)
|
||||||
@color_scale = args[:color_scale] if args.key?(:color_scale)
|
@color_scale = args[:color_scale] if args.key?(:color_scale)
|
||||||
@header_color = args[:header_color] if args.key?(:header_color)
|
@header_color = args[:header_color] if args.key?(:header_color)
|
||||||
|
@header_color_style = args[:header_color_style] if args.key?(:header_color_style)
|
||||||
@hide_tooltips = args[:hide_tooltips] if args.key?(:hide_tooltips)
|
@hide_tooltips = args[:hide_tooltips] if args.key?(:hide_tooltips)
|
||||||
@hinted_levels = args[:hinted_levels] if args.key?(:hinted_levels)
|
@hinted_levels = args[:hinted_levels] if args.key?(:hinted_levels)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@ -11508,6 +11582,11 @@ module Google
|
||||||
# @return [Google::Apis::SheetsV4::Color]
|
# @return [Google::Apis::SheetsV4::Color]
|
||||||
attr_accessor :color
|
attr_accessor :color
|
||||||
|
|
||||||
|
# A color value.
|
||||||
|
# Corresponds to the JSON property `colorStyle`
|
||||||
|
# @return [Google::Apis::SheetsV4::ColorStyle]
|
||||||
|
attr_accessor :color_style
|
||||||
|
|
||||||
# The label of the column's legend.
|
# The label of the column's legend.
|
||||||
# Corresponds to the JSON property `label`
|
# Corresponds to the JSON property `label`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -11520,6 +11599,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@color = args[:color] if args.key?(:color)
|
@color = args[:color] if args.key?(:color)
|
||||||
|
@color_style = args[:color_style] if args.key?(:color_style)
|
||||||
@label = args[:label] if args.key?(:label)
|
@label = args[:label] if args.key?(:label)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1459,10 +1459,14 @@ module Google
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :negative_color, as: 'negativeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :negative_color, as: 'negativeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :negative_color_style, as: 'negativeColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :position, as: 'position', class: Google::Apis::SheetsV4::TextPosition, decorator: Google::Apis::SheetsV4::TextPosition::Representation
|
property :position, as: 'position', class: Google::Apis::SheetsV4::TextPosition, decorator: Google::Apis::SheetsV4::TextPosition::Representation
|
||||||
|
|
||||||
property :positive_color, as: 'positiveColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :positive_color, as: 'positiveColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :positive_color_style, as: 'positiveColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
|
property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -1496,6 +1500,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :color_style, as: 'colorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :line_style, as: 'lineStyle', class: Google::Apis::SheetsV4::LineStyle, decorator: Google::Apis::SheetsV4::LineStyle::Representation
|
property :line_style, as: 'lineStyle', class: Google::Apis::SheetsV4::LineStyle, decorator: Google::Apis::SheetsV4::LineStyle::Representation
|
||||||
|
|
||||||
property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
@ -1717,6 +1723,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bubble_border_color, as: 'bubbleBorderColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :bubble_border_color, as: 'bubbleBorderColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :bubble_border_color_style, as: 'bubbleBorderColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :bubble_labels, as: 'bubbleLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :bubble_labels, as: 'bubbleLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
|
||||||
property :bubble_max_radius_size, as: 'bubbleMaxRadiusSize'
|
property :bubble_max_radius_size, as: 'bubbleMaxRadiusSize'
|
||||||
|
@ -1862,6 +1870,8 @@ module Google
|
||||||
property :alt_text, as: 'altText'
|
property :alt_text, as: 'altText'
|
||||||
property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :background_color_style, as: 'backgroundColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation
|
property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation
|
||||||
|
|
||||||
property :bubble_chart, as: 'bubbleChart', class: Google::Apis::SheetsV4::BubbleChartSpec, decorator: Google::Apis::SheetsV4::BubbleChartSpec::Representation
|
property :bubble_chart, as: 'bubbleChart', class: Google::Apis::SheetsV4::BubbleChartSpec, decorator: Google::Apis::SheetsV4::BubbleChartSpec::Representation
|
||||||
|
@ -2469,6 +2479,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :bar_color, as: 'barColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :bar_color, as: 'barColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :bar_color_style, as: 'barColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :data, as: 'data', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -2609,11 +2621,15 @@ module Google
|
||||||
|
|
||||||
property :node_color, as: 'nodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :node_color, as: 'nodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :node_color_style, as: 'nodeColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :node_size, as: 'nodeSize'
|
property :node_size, as: 'nodeSize'
|
||||||
property :parent_labels, as: 'parentLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :parent_labels, as: 'parentLabels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
|
||||||
property :selected_node_color, as: 'selectedNodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :selected_node_color, as: 'selectedNodeColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :selected_node_color_style, as: 'selectedNodeColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :tooltips, as: 'tooltips', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :tooltips, as: 'tooltips', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -3229,12 +3245,20 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :max_value_color, as: 'maxValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :max_value_color, as: 'maxValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :max_value_color_style, as: 'maxValueColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :mid_value_color, as: 'midValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :mid_value_color, as: 'midValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :mid_value_color_style, as: 'midValueColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :min_value_color, as: 'minValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :min_value_color, as: 'minValueColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :min_value_color_style, as: 'minValueColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :no_data_color, as: 'noDataColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :no_data_color, as: 'noDataColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :no_data_color_style, as: 'noDataColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -3247,6 +3271,8 @@ module Google
|
||||||
|
|
||||||
property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :header_color_style, as: 'headerColorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :hide_tooltips, as: 'hideTooltips'
|
property :hide_tooltips, as: 'hideTooltips'
|
||||||
property :hinted_levels, as: 'hintedLevels'
|
property :hinted_levels, as: 'hintedLevels'
|
||||||
property :labels, as: 'labels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
property :labels, as: 'labels', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation
|
||||||
|
@ -3517,6 +3543,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation
|
||||||
|
|
||||||
|
property :color_style, as: 'colorStyle', class: Google::Apis::SheetsV4::ColorStyle, decorator: Google::Apis::SheetsV4::ColorStyle::Representation
|
||||||
|
|
||||||
property :label, as: 'label'
|
property :label, as: 'label'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -352,7 +352,7 @@ module Google
|
||||||
# The ID of the spreadsheet to update.
|
# The ID of the spreadsheet to update.
|
||||||
# @param [String] range
|
# @param [String] range
|
||||||
# The A1 notation of a range to search for a logical table of data.
|
# The A1 notation of a range to search for a logical table of data.
|
||||||
# Values will be appended after the last row of the table.
|
# Values are appended after the last row of the table.
|
||||||
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
|
# @param [Google::Apis::SheetsV4::ValueRange] value_range_object
|
||||||
# @param [Boolean] include_values_in_response
|
# @param [Boolean] include_values_in_response
|
||||||
# Determines if the update response should include the values
|
# Determines if the update response should include the values
|
||||||
|
@ -490,9 +490,8 @@ module Google
|
||||||
# @param [String] major_dimension
|
# @param [String] major_dimension
|
||||||
# The major dimension that results should use.
|
# The major dimension that results should use.
|
||||||
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
||||||
# then requesting `range=A1:B2,majorDimension=ROWS` will return
|
# then requesting `range=A1:B2,majorDimension=ROWS` returns `[[1,2],[3,4]]`,
|
||||||
# `[[1,2],[3,4]]`,
|
# whereas requesting `range=A1:B2,majorDimension=COLUMNS` returns
|
||||||
# whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
|
|
||||||
# `[[1,3],[2,4]]`.
|
# `[[1,3],[2,4]]`.
|
||||||
# @param [Array<String>, String] ranges
|
# @param [Array<String>, String] ranges
|
||||||
# The A1 notation of the values to retrieve.
|
# The A1 notation of the values to retrieve.
|
||||||
|
@ -690,10 +689,9 @@ module Google
|
||||||
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
# The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
|
||||||
# @param [String] major_dimension
|
# @param [String] major_dimension
|
||||||
# The major dimension that results should use.
|
# The major dimension that results should use.
|
||||||
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`,
|
# For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then
|
||||||
# then requesting `range=A1:B2,majorDimension=ROWS` will return
|
# requesting `range=A1:B2,majorDimension=ROWS` returns `[[1,2],[3,4]]`,
|
||||||
# `[[1,2],[3,4]]`,
|
# whereas requesting `range=A1:B2,majorDimension=COLUMNS` returns
|
||||||
# whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return
|
|
||||||
# `[[1,3],[2,4]]`.
|
# `[[1,3],[2,4]]`.
|
||||||
# @param [String] value_render_option
|
# @param [String] value_render_option
|
||||||
# How values should be represented in the output.
|
# How values should be represented in the output.
|
||||||
|
@ -741,9 +739,9 @@ module Google
|
||||||
# Determines if the update response should include the values
|
# Determines if the update response should include the values
|
||||||
# of the cells that were updated. By default, responses
|
# of the cells that were updated. By default, responses
|
||||||
# do not include the updated values.
|
# do not include the updated values.
|
||||||
# If the range to write was larger than than the range actually written,
|
# If the range to write was larger than the range actually written, the
|
||||||
# the response will include all values in the requested range (excluding
|
# response includes all values in the requested range (excluding trailing
|
||||||
# trailing empty rows and columns).
|
# empty rows and columns).
|
||||||
# @param [String] response_date_time_render_option
|
# @param [String] response_date_time_render_option
|
||||||
# Determines how dates, times, and durations in the response should be
|
# Determines how dates, times, and durations in the response should be
|
||||||
# rendered. This is ignored if response_value_render_option is
|
# rendered. This is ignored if response_value_render_option is
|
||||||
|
|
Loading…
Reference in New Issue