Autogenerated update (2020-01-24)

Update:
- acceleratedmobilepageurl_v1
- androidmanagement_v1
- binaryauthorization_v1
- binaryauthorization_v1beta1
- cloudasset_v1
- cloudasset_v1beta1
- cloudfunctions_v1
- cloudtasks_v2
- cloudtasks_v2beta2
- datafusion_v1beta1
- docs_v1
- iap_v1beta1
- ml_v1
- monitoring_v3
- oslogin_v1
- people_v1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
This commit is contained in:
Google APIs 2020-01-24 00:37:26 +00:00
parent c2185d8f79
commit 12ff9f6f65
40 changed files with 764 additions and 196 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/amp/cache/ # @see https://developers.google.com/amp/cache/
module AcceleratedmobilepageurlV1 module AcceleratedmobilepageurlV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180612' REVISION = '20200121'
end end
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management # @see https://developers.google.com/android/management
module AndroidmanagementV1 module AndroidmanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191214' REVISION = '20200117'
# Manage Android devices and apps for your customers # Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -1483,6 +1483,11 @@ module Google
class KioskCustomization class KioskCustomization
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Specifies whether the Settings app is allowed in kiosk mode.
# Corresponds to the JSON property `deviceSettings`
# @return [String]
attr_accessor :device_settings
# Sets the behavior of a device in kiosk mode when a user presses and holds ( # Sets the behavior of a device in kiosk mode when a user presses and holds (
# long-presses) the Power button. # long-presses) the Power button.
# Corresponds to the JSON property `powerButtonActions` # Corresponds to the JSON property `powerButtonActions`
@ -1513,6 +1518,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@device_settings = args[:device_settings] if args.key?(:device_settings)
@power_button_actions = args[:power_button_actions] if args.key?(:power_button_actions) @power_button_actions = args[:power_button_actions] if args.key?(:power_button_actions)
@status_bar = args[:status_bar] if args.key?(:status_bar) @status_bar = args[:status_bar] if args.key?(:status_bar)
@system_error_warnings = args[:system_error_warnings] if args.key?(:system_error_warnings) @system_error_warnings = args[:system_error_warnings] if args.key?(:system_error_warnings)
@ -2406,8 +2412,8 @@ module Google
# Whether the kiosk custom launcher is enabled. This replaces the home screen # Whether the kiosk custom launcher is enabled. This replaces the home screen
# with a launcher that locks down the device to the apps installed via the # with a launcher that locks down the device to the apps installed via the
# applications setting. Apps appear on a single page in alphabetical order. The # applications setting. Apps appear on a single page in alphabetical order. Use
# status bar is disabled when this is set. # kioskCustomization to further configure the kiosk device behavior.
# Corresponds to the JSON property `kioskCustomLauncherEnabled` # Corresponds to the JSON property `kioskCustomLauncherEnabled`
# @return [Boolean] # @return [Boolean]
attr_accessor :kiosk_custom_launcher_enabled attr_accessor :kiosk_custom_launcher_enabled

View File

@ -752,6 +752,7 @@ module Google
class KioskCustomization class KioskCustomization
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :device_settings, as: 'deviceSettings'
property :power_button_actions, as: 'powerButtonActions' property :power_button_actions, as: 'powerButtonActions'
property :status_bar, as: 'statusBar' property :status_bar, as: 'statusBar'
property :system_error_warnings, as: 'systemErrorWarnings' property :system_error_warnings, as: 'systemErrorWarnings'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/ # @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1 module BinaryauthorizationV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191213' 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'

View File

@ -186,10 +186,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::BinaryauthorizationV1::Expr] # @return [Google::Apis::BinaryauthorizationV1::Expr]
attr_accessor :condition attr_accessor :condition
@ -266,34 +284,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`

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/ # @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1 module BinaryauthorizationV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191206' 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'

View File

@ -186,10 +186,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::BinaryauthorizationV1beta1::Expr] # @return [Google::Apis::BinaryauthorizationV1beta1::Expr]
attr_accessor :condition attr_accessor :condition
@ -266,34 +284,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`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/asset-inventory/docs/quickstart # @see https://cloud.google.com/asset-inventory/docs/quickstart
module CloudassetV1 module CloudassetV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200110' 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'

View File

@ -348,10 +348,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::CloudassetV1::Expr] # @return [Google::Apis::CloudassetV1::Expr]
attr_accessor :condition attr_accessor :condition
@ -504,34 +522,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`
@ -1237,10 +1271,28 @@ module Google
class GoogleIdentityAccesscontextmanagerV1CustomLevel class GoogleIdentityAccesscontextmanagerV1CustomLevel
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::CloudassetV1::Expr] # @return [Google::Apis::CloudassetV1::Expr]
attr_accessor :expr attr_accessor :expr

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/asset-inventory/docs/quickstart # @see https://cloud.google.com/asset-inventory/docs/quickstart
module CloudassetV1beta1 module CloudassetV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200110' 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'

View File

@ -259,10 +259,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::CloudassetV1beta1::Expr] # @return [Google::Apis::CloudassetV1beta1::Expr]
attr_accessor :condition attr_accessor :condition
@ -367,34 +385,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`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/functions # @see https://cloud.google.com/functions
module CloudfunctionsV1 module CloudfunctionsV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200109' REVISION = '20200116'
# 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'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2 module CloudtasksV2
VERSION = 'V2' VERSION = 'V2'
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'

View File

@ -343,10 +343,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::CloudtasksV2::Expr] # @return [Google::Apis::CloudtasksV2::Expr]
attr_accessor :condition attr_accessor :condition
@ -457,34 +475,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`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/ # @see https://cloud.google.com/tasks/
module CloudtasksV2beta2 module CloudtasksV2beta2
VERSION = 'V2beta2' VERSION = 'V2beta2'
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'

View File

@ -440,10 +440,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::CloudtasksV2beta2::Expr] # @return [Google::Apis::CloudtasksV2beta2::Expr]
attr_accessor :condition attr_accessor :condition
@ -593,34 +611,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`

View File

@ -34,7 +34,7 @@ module Google
# @see https://cloud.google.com/data-fusion/docs # @see https://cloud.google.com/data-fusion/docs
module DatafusionV1beta1 module DatafusionV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200114' 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'

View File

@ -142,10 +142,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::DatafusionV1beta1::Expr] # @return [Google::Apis::DatafusionV1beta1::Expr]
attr_accessor :condition attr_accessor :condition
@ -235,34 +253,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`

View File

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

View File

@ -365,12 +365,19 @@ module Google
end end
# Creates a Footer. The new footer is applied to # Creates a Footer. The new footer is applied to
# the DocumentStyle. # the SectionStyle at the location of the
# SectionBreak if specificed, otherwise
# it is applied to the DocumentStyle.
# If a footer of the specified type already exists, a 400 bad request error # If a footer of the specified type already exists, a 400 bad request error
# is returned. # is returned.
class CreateFooterRequest class CreateFooterRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A particular location in the document.
# Corresponds to the JSON property `sectionBreakLocation`
# @return [Google::Apis::DocsV1::Location]
attr_accessor :section_break_location
# The type of footer to create. # The type of footer to create.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
@ -382,6 +389,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@section_break_location = args[:section_break_location] if args.key?(:section_break_location)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end
end end
@ -455,12 +463,19 @@ module Google
end end
# Creates a Header. The new header is applied to # Creates a Header. The new header is applied to
# the DocumentStyle. # the SectionStyle at the location of the
# SectionBreak if specificed, otherwise
# it is applied to the DocumentStyle.
# If a header of the specified type already exists, a 400 bad request error # If a header of the specified type already exists, a 400 bad request error
# is returned. # is returned.
class CreateHeaderRequest class CreateHeaderRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# A particular location in the document.
# Corresponds to the JSON property `sectionBreakLocation`
# @return [Google::Apis::DocsV1::Location]
attr_accessor :section_break_location
# The type of header to create. # The type of header to create.
# Corresponds to the JSON property `type` # Corresponds to the JSON property `type`
# @return [String] # @return [String]
@ -472,6 +487,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@section_break_location = args[:section_break_location] if args.key?(:section_break_location)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end
end end
@ -702,6 +718,56 @@ module Google
end end
end end
# Deletes a Footer from the document.
class DeleteFooterRequest
include Google::Apis::Core::Hashable
# The id of the footer to delete. If this footer is defined on
# DocumentStyle, the reference to
# this footer is removed, resulting in no footer of that type for
# the first section of the document. If this footer is defined on a
# SectionStyle, the reference to this
# footer is removed and the footer of that type is now continued from
# the previous section.
# Corresponds to the JSON property `footerId`
# @return [String]
attr_accessor :footer_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@footer_id = args[:footer_id] if args.key?(:footer_id)
end
end
# Deletes a Header from the document.
class DeleteHeaderRequest
include Google::Apis::Core::Hashable
# The id of the header to delete. If this header is defined on
# DocumentStyle, the reference to
# this header is removed, resulting in no header of that type for
# the first section of the document. If this header is defined on a
# SectionStyle, the reference to this
# header is removed and the header of that type is now continued from
# the previous section.
# Corresponds to the JSON property `headerId`
# @return [String]
attr_accessor :header_id
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@header_id = args[:header_id] if args.key?(:header_id)
end
end
# Deletes a NamedRange. # Deletes a NamedRange.
class DeleteNamedRangeRequest class DeleteNamedRangeRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1077,7 +1143,6 @@ module Google
# Indicates whether to use the even page header / footer IDs for the even # Indicates whether to use the even page header / footer IDs for the even
# pages. # pages.
# This property is read-only.
# Corresponds to the JSON property `useEvenPageHeaderFooter` # Corresponds to the JSON property `useEvenPageHeaderFooter`
# @return [Boolean] # @return [Boolean]
attr_accessor :use_even_page_header_footer attr_accessor :use_even_page_header_footer
@ -1085,7 +1150,6 @@ module Google
# Indicates whether to use the first page header / footer IDs for the first # Indicates whether to use the first page header / footer IDs for the first
# page. # page.
# This property is read-only.
# Corresponds to the JSON property `useFirstPageHeaderFooter` # Corresponds to the JSON property `useFirstPageHeaderFooter`
# @return [Boolean] # @return [Boolean]
attr_accessor :use_first_page_header_footer attr_accessor :use_first_page_header_footer
@ -3951,7 +4015,9 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Creates a Footer. The new footer is applied to # Creates a Footer. The new footer is applied to
# the DocumentStyle. # the SectionStyle at the location of the
# SectionBreak if specificed, otherwise
# it is applied to the DocumentStyle.
# If a footer of the specified type already exists, a 400 bad request error # If a footer of the specified type already exists, a 400 bad request error
# is returned. # is returned.
# Corresponds to the JSON property `createFooter` # Corresponds to the JSON property `createFooter`
@ -3968,7 +4034,9 @@ module Google
attr_accessor :create_footnote attr_accessor :create_footnote
# Creates a Header. The new header is applied to # Creates a Header. The new header is applied to
# the DocumentStyle. # the SectionStyle at the location of the
# SectionBreak if specificed, otherwise
# it is applied to the DocumentStyle.
# If a header of the specified type already exists, a 400 bad request error # If a header of the specified type already exists, a 400 bad request error
# is returned. # is returned.
# Corresponds to the JSON property `createHeader` # Corresponds to the JSON property `createHeader`
@ -3998,6 +4066,16 @@ module Google
# @return [Google::Apis::DocsV1::DeleteContentRangeRequest] # @return [Google::Apis::DocsV1::DeleteContentRangeRequest]
attr_accessor :delete_content_range attr_accessor :delete_content_range
# Deletes a Footer from the document.
# Corresponds to the JSON property `deleteFooter`
# @return [Google::Apis::DocsV1::DeleteFooterRequest]
attr_accessor :delete_footer
# Deletes a Header from the document.
# Corresponds to the JSON property `deleteHeader`
# @return [Google::Apis::DocsV1::DeleteHeaderRequest]
attr_accessor :delete_header
# Deletes a NamedRange. # Deletes a NamedRange.
# Corresponds to the JSON property `deleteNamedRange` # Corresponds to the JSON property `deleteNamedRange`
# @return [Google::Apis::DocsV1::DeleteNamedRangeRequest] # @return [Google::Apis::DocsV1::DeleteNamedRangeRequest]
@ -4152,6 +4230,8 @@ module Google
@create_named_range = args[:create_named_range] if args.key?(:create_named_range) @create_named_range = args[:create_named_range] if args.key?(:create_named_range)
@create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets)
@delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range) @delete_content_range = args[:delete_content_range] if args.key?(:delete_content_range)
@delete_footer = args[:delete_footer] if args.key?(:delete_footer)
@delete_header = args[:delete_header] if args.key?(:delete_header)
@delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range)
@delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets)
@delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object) @delete_positioned_object = args[:delete_positioned_object] if args.key?(:delete_positioned_object)
@ -4337,22 +4417,103 @@ module Google
# The section's columns properties. # The section's columns properties.
# If empty, the section contains one column with the default properties in # If empty, the section contains one column with the default properties in
# the Docs editor. # the Docs editor.
# A section can be updated to have no more than three columns.
# When updating this property, setting a concrete value is required.
# Unsetting this property will result in a 400 bad request error.
# Corresponds to the JSON property `columnProperties` # Corresponds to the JSON property `columnProperties`
# @return [Array<Google::Apis::DocsV1::SectionColumnProperties>] # @return [Array<Google::Apis::DocsV1::SectionColumnProperties>]
attr_accessor :column_properties attr_accessor :column_properties
# The style of column separators. # The style of column separators.
# This style can be set even when there is one column in the section. # This style can be set even when there is one column in the section.
# When updating this property, setting a concrete value is required.
# Unsetting this property results in a 400 bad request error.
# Corresponds to the JSON property `columnSeparatorStyle` # Corresponds to the JSON property `columnSeparatorStyle`
# @return [String] # @return [String]
attr_accessor :column_separator_style attr_accessor :column_separator_style
# The content direction of this section. If unset, the value defaults to # The content direction of this section. If unset, the value defaults to
# LEFT_TO_RIGHT. # LEFT_TO_RIGHT.
# When updating this property, setting a concrete value is required.
# Unsetting this property results in a 400 bad request error.
# Corresponds to the JSON property `contentDirection` # Corresponds to the JSON property `contentDirection`
# @return [String] # @return [String]
attr_accessor :content_direction attr_accessor :content_direction
# The ID of the default footer. If unset, the value inherits from the
# previous SectionBreak's SectionStyle.
# If the value is unset in the first SectionBreak, it inherits from
# DocumentStyle's default_footer_id.
# This property is read-only.
# Corresponds to the JSON property `defaultFooterId`
# @return [String]
attr_accessor :default_footer_id
# The ID of the default header. If unset, the value inherits from the
# previous SectionBreak's SectionStyle.
# If the value is unset in the first SectionBreak, it inherits from
# DocumentStyle's default_header_id.
# This property is read-only.
# Corresponds to the JSON property `defaultHeaderId`
# @return [String]
attr_accessor :default_header_id
# The ID of the footer used only for even pages. If the value of
# DocumentStyle's use_even_page_header_footer is true,
# this value is used for the footers on even pages in the section. If it
# is false, the footers on even pages uses the default_footer_id. If unset, the
# value
# inherits from the previous SectionBreak's SectionStyle. If the value is unset
# in
# the first SectionBreak, it inherits from DocumentStyle's
# even_page_footer_id.
# This property is read-only.
# Corresponds to the JSON property `evenPageFooterId`
# @return [String]
attr_accessor :even_page_footer_id
# The ID of the header used only for even pages. If the value of
# DocumentStyle's use_even_page_header_footer is true,
# this value is used for the headers on even pages in the section. If it
# is false, the headers on even pages uses the default_header_id. If unset, the
# value
# inherits from the previous SectionBreak's SectionStyle. If the value is unset
# in
# the first SectionBreak, it inherits from DocumentStyle's
# even_page_header_id.
# This property is read-only.
# Corresponds to the JSON property `evenPageHeaderId`
# @return [String]
attr_accessor :even_page_header_id
# The ID of the footer used only for the first page of the section.
# If use_first_page_header_footer is true,
# this value is used for the footer on the first page of the section. If
# it is false, the footer on the first page of the section uses the
# default_footer_id.
# If unset, the value inherits from the previous SectionBreak's SectionStyle. If
# the value is unset in
# the first SectionBreak, it inherits from DocumentStyle's
# first_page_footer_id.
# This property is read-only.
# Corresponds to the JSON property `firstPageFooterId`
# @return [String]
attr_accessor :first_page_footer_id
# The ID of the header used only for the first page of the section.
# If use_first_page_header_footer is true,
# this value is used for the header on the first page of the section. If
# it is false, the header on the first page of the section uses the
# default_header_id.
# If unset, the value inherits from the previous SectionBreak's SectionStyle. If
# the value is unset in
# the first SectionBreak, it inherits from DocumentStyle's
# first_page_header_id.
# This property is read-only.
# Corresponds to the JSON property `firstPageHeaderId`
# @return [String]
attr_accessor :first_page_header_id
# A magnitude in a single direction in the specified units. # A magnitude in a single direction in the specified units.
# Corresponds to the JSON property `marginBottom` # Corresponds to the JSON property `marginBottom`
# @return [Google::Apis::DocsV1::Dimension] # @return [Google::Apis::DocsV1::Dimension]
@ -4388,6 +4549,18 @@ module Google
# @return [String] # @return [String]
attr_accessor :section_type attr_accessor :section_type
# Indicates whether to use the first page header / footer IDs for the first
# page of the section. If unset, it inherits from DocumentStyle's
# use_first_page_header_footer for the
# first section. If the value is unset for subsequent sectors, it should be
# interpreted as false.
# When updating this property, setting a concrete value is required.
# Unsetting this property results in a 400 bad request error.
# Corresponds to the JSON property `useFirstPageHeaderFooter`
# @return [Boolean]
attr_accessor :use_first_page_header_footer
alias_method :use_first_page_header_footer?, :use_first_page_header_footer
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -4397,6 +4570,12 @@ module Google
@column_properties = args[:column_properties] if args.key?(:column_properties) @column_properties = args[:column_properties] if args.key?(:column_properties)
@column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style) @column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style)
@content_direction = args[:content_direction] if args.key?(:content_direction) @content_direction = args[:content_direction] if args.key?(:content_direction)
@default_footer_id = args[:default_footer_id] if args.key?(:default_footer_id)
@default_header_id = args[:default_header_id] if args.key?(:default_header_id)
@even_page_footer_id = args[:even_page_footer_id] if args.key?(:even_page_footer_id)
@even_page_header_id = args[:even_page_header_id] if args.key?(:even_page_header_id)
@first_page_footer_id = args[:first_page_footer_id] if args.key?(:first_page_footer_id)
@first_page_header_id = args[:first_page_header_id] if args.key?(:first_page_header_id)
@margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom) @margin_bottom = args[:margin_bottom] if args.key?(:margin_bottom)
@margin_footer = args[:margin_footer] if args.key?(:margin_footer) @margin_footer = args[:margin_footer] if args.key?(:margin_footer)
@margin_header = args[:margin_header] if args.key?(:margin_header) @margin_header = args[:margin_header] if args.key?(:margin_header)
@ -4404,6 +4583,7 @@ module Google
@margin_right = args[:margin_right] if args.key?(:margin_right) @margin_right = args[:margin_right] if args.key?(:margin_right)
@margin_top = args[:margin_top] if args.key?(:margin_top) @margin_top = args[:margin_top] if args.key?(:margin_top)
@section_type = args[:section_type] if args.key?(:section_type) @section_type = args[:section_type] if args.key?(:section_type)
@use_first_page_header_footer = args[:use_first_page_header_footer] if args.key?(:use_first_page_header_footer)
end end
end end

View File

@ -154,6 +154,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DeleteFooterRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteHeaderRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeleteNamedRangeRequest class DeleteNamedRangeRequest
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -986,6 +998,8 @@ module Google
class CreateFooterRequest class CreateFooterRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :section_break_location, as: 'sectionBreakLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
property :type, as: 'type' property :type, as: 'type'
end end
end end
@ -1017,6 +1031,8 @@ module Google
class CreateHeaderRequest class CreateHeaderRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :section_break_location, as: 'sectionBreakLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
property :type, as: 'type' property :type, as: 'type'
end end
end end
@ -1083,6 +1099,20 @@ module Google
end end
end end
class DeleteFooterRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :footer_id, as: 'footerId'
end
end
class DeleteHeaderRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :header_id, as: 'headerId'
end
end
class DeleteNamedRangeRequest class DeleteNamedRangeRequest
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1946,6 +1976,10 @@ module Google
property :delete_content_range, as: 'deleteContentRange', class: Google::Apis::DocsV1::DeleteContentRangeRequest, decorator: Google::Apis::DocsV1::DeleteContentRangeRequest::Representation property :delete_content_range, as: 'deleteContentRange', class: Google::Apis::DocsV1::DeleteContentRangeRequest, decorator: Google::Apis::DocsV1::DeleteContentRangeRequest::Representation
property :delete_footer, as: 'deleteFooter', class: Google::Apis::DocsV1::DeleteFooterRequest, decorator: Google::Apis::DocsV1::DeleteFooterRequest::Representation
property :delete_header, as: 'deleteHeader', class: Google::Apis::DocsV1::DeleteHeaderRequest, decorator: Google::Apis::DocsV1::DeleteHeaderRequest::Representation
property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::DocsV1::DeleteNamedRangeRequest, decorator: Google::Apis::DocsV1::DeleteNamedRangeRequest::Representation property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::DocsV1::DeleteNamedRangeRequest, decorator: Google::Apis::DocsV1::DeleteNamedRangeRequest::Representation
property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::DocsV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::DocsV1::DeleteParagraphBulletsRequest::Representation property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::DocsV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::DocsV1::DeleteParagraphBulletsRequest::Representation
@ -2053,6 +2087,12 @@ module Google
property :column_separator_style, as: 'columnSeparatorStyle' property :column_separator_style, as: 'columnSeparatorStyle'
property :content_direction, as: 'contentDirection' property :content_direction, as: 'contentDirection'
property :default_footer_id, as: 'defaultFooterId'
property :default_header_id, as: 'defaultHeaderId'
property :even_page_footer_id, as: 'evenPageFooterId'
property :even_page_header_id, as: 'evenPageHeaderId'
property :first_page_footer_id, as: 'firstPageFooterId'
property :first_page_header_id, as: 'firstPageHeaderId'
property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
@ -2066,6 +2106,7 @@ module Google
property :margin_top, as: 'marginTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation property :margin_top, as: 'marginTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
property :section_type, as: 'sectionType' property :section_type, as: 'sectionType'
property :use_first_page_header_footer, as: 'useFirstPageHeaderFooter'
end end
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap # @see https://cloud.google.com/iap
module IapV1beta1 module IapV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20191206' 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'

View File

@ -26,10 +26,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::IapV1beta1::Expr] # @return [Google::Apis::IapV1beta1::Expr]
attr_accessor :condition attr_accessor :condition
@ -87,34 +105,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`

View File

@ -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 = '20200103' 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'

View File

@ -2135,10 +2135,28 @@ module Google
class GoogleIamV1Binding class GoogleIamV1Binding
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::MlV1::GoogleTypeExpr] # @return [Google::Apis::MlV1::GoogleTypeExpr]
attr_accessor :condition attr_accessor :condition
@ -2589,34 +2607,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 GoogleTypeExpr class GoogleTypeExpr
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`

View File

@ -30,7 +30,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/ # @see https://cloud.google.com/monitoring/api/
module MonitoringV3 module MonitoringV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200104' 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'

View File

@ -2682,6 +2682,11 @@ module Google
# @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>] # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
attr_accessor :labels attr_accessor :labels
# The product launch stage for channels of this type.
# Corresponds to the JSON property `launchStage`
# @return [String]
attr_accessor :launch_stage
# The full REST resource name for this descriptor. The syntax is: # The full REST resource name for this descriptor. The syntax is:
# projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] # projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE]
# In the above, [TYPE] is the value of the type field. # In the above, [TYPE] is the value of the type field.
@ -2704,6 +2709,7 @@ module Google
@description = args[:description] if args.key?(:description) @description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type) @type = args[:type] if args.key?(:type)
end end

View File

@ -1182,6 +1182,7 @@ module Google
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation
property :launch_stage, as: 'launchStage'
property :name, as: 'name' property :name, as: 'name'
property :type, as: 'type' property :type, as: 'type'
end end

View File

@ -21,12 +21,11 @@ module Google
# Cloud OS Login API # Cloud OS Login API
# #
# You can use OS Login to manage access to your VM instances using IAM roles. # You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
# #
# @see https://cloud.google.com/compute/docs/oslogin/ # @see https://cloud.google.com/compute/docs/oslogin/
module OsloginV1 module OsloginV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191030' 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'

View File

@ -23,7 +23,6 @@ module Google
# Cloud OS Login API # Cloud OS Login API
# #
# You can use OS Login to manage access to your VM instances using IAM roles. # You can use OS Login to manage access to your VM instances using IAM roles.
# For more information, read [OS Login](/compute/docs/oslogin/).
# #
# @example # @example
# require 'google/apis/oslogin_v1' # require 'google/apis/oslogin_v1'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/people/ # @see https://developers.google.com/people/
module PeopleV1 module PeopleV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20191230' REVISION = '20200122'
# See, edit, download, and permanently delete your contacts # See, edit, download, and permanently delete your contacts
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'

View File

@ -305,7 +305,7 @@ module Google
attr_accessor :name attr_accessor :name
# The resource name for the contact group, assigned by the server. An ASCII # The resource name for the contact group, assigned by the server. An ASCII
# string, in the form of `contactGroups/`<var>contact_group_id</var>. # string, in the form of `contactGroups/`contact_group_id``.
# Corresponds to the JSON property `resourceName` # Corresponds to the JSON property `resourceName`
# @return [String] # @return [String]
attr_accessor :resource_name attr_accessor :resource_name
@ -337,7 +337,7 @@ module Google
attr_accessor :contact_group_id attr_accessor :contact_group_id
# The resource name for the contact group, assigned by the server. An ASCII # The resource name for the contact group, assigned by the server. An ASCII
# string, in the form of `contactGroups/`<var>contact_group_id</var>. # string, in the form of `contactGroups/`contact_group_id``.
# Only contact_group_resource_name can be used for modifying memberships. # Only contact_group_resource_name can be used for modifying memberships.
# Any contact group membership can be removed, but only user group or # Any contact group membership can be removed, but only user group or
# "myContacts" or "starred" system groups memberships can be added. A # "myContacts" or "starred" system groups memberships can be added. A
@ -749,7 +749,7 @@ module Google
end end
end end
# # The response to a get request for a list of people by resource name.
class GetPeopleResponse class GetPeopleResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -858,7 +858,7 @@ module Google
end end
end end
# # The response to a request for the authenticated user's connections.
class ListConnectionsResponse class ListConnectionsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1004,14 +1004,14 @@ module Google
class ModifyContactGroupMembersRequest class ModifyContactGroupMembersRequest
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The resource names of the contact people to add in the form of # Optional. The resource names of the contact people to add in the form of
# `people/`<var>person_id</var>. # `people/`person_id``.
# Corresponds to the JSON property `resourceNamesToAdd` # Corresponds to the JSON property `resourceNamesToAdd`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names_to_add attr_accessor :resource_names_to_add
# The resource names of the contact people to remove in the form of # Optional. The resource names of the contact people to remove in the form of
# `people/`<var>person_id</var>. # `people/`person_id``.
# Corresponds to the JSON property `resourceNamesToRemove` # Corresponds to the JSON property `resourceNamesToRemove`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :resource_names_to_remove attr_accessor :resource_names_to_remove
@ -1342,7 +1342,7 @@ module Google
# @return [Array<Google::Apis::PeopleV1::Address>] # @return [Array<Google::Apis::PeopleV1::Address>]
attr_accessor :addresses attr_accessor :addresses
# Output only. **DEPRECATED** (Please use `person.ageRanges` instead)** # Output only. **DEPRECATED** (Please use `person.ageRanges` instead)
# The person's age range. # The person's age range.
# Corresponds to the JSON property `ageRange` # Corresponds to the JSON property `ageRange`
# @return [String] # @return [String]
@ -1471,7 +1471,7 @@ module Google
# The resource name for the person, assigned by the server. An ASCII string # The resource name for the person, assigned by the server. An ASCII string
# with a max length of 27 characters, in the form of # with a max length of 27 characters, in the form of
# `people/`<var>person_id</var>. # `people/`person_id``.
# Corresponds to the JSON property `resourceName` # Corresponds to the JSON property `resourceName`
# @return [String] # @return [String]
attr_accessor :resource_name attr_accessor :resource_name
@ -1724,9 +1724,10 @@ module Google
attr_accessor :metadata attr_accessor :metadata
# The URL of the photo. You can change the desired size by appending a query # The URL of the photo. You can change the desired size by appending a query
# parameter `sz=`<var>size</var> at the end of the url. Example: # parameter `sz=`size`` at the end of the url, where `size` is the size in
# `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/ # pixels. Example:
# 00gzXvDBYqw/s100/photo.jpg?sz=50` # https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/
# 00gzXvDBYqw/s100/photo.jpg?sz=50
# Corresponds to the JSON property `url` # Corresponds to the JSON property `url`
# @return [String] # @return [String]
attr_accessor :url attr_accessor :url

View File

@ -190,11 +190,11 @@ module Google
# 1 and # 1 and
# 1000, inclusive. Defaults to 30 if not set or set to 0. # 1000, inclusive. Defaults to 30 if not set or set to 0.
# @param [String] page_token # @param [String] page_token
# The next_page_token value returned from a previous call to # Optional. The next_page_token value returned from a previous call to
# [ListContactGroups](/people/api/rest/v1/contactgroups/list). # [ListContactGroups](/people/api/rest/v1/contactgroups/list).
# Requests the next page of resources. # Requests the next page of resources.
# @param [String] sync_token # @param [String] sync_token
# A sync token, returned by a previous call to `contactgroups.list`. # Optional. A sync token, returned by a previous call to `contactgroups.list`.
# Only resources changed since the sync token was created will be returned. # Only resources changed since the sync token was created will be returned.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -229,7 +229,7 @@ module Google
# user. # user.
# @param [String] resource_name # @param [String] resource_name
# The resource name for the contact group, assigned by the server. An ASCII # The resource name for the contact group, assigned by the server. An ASCII
# string, in the form of `contactGroups/`<var>contact_group_id</var>. # string, in the form of `contactGroups/`contact_group_id``.
# @param [Google::Apis::PeopleV1::UpdateContactGroupRequest] update_contact_group_request_object # @param [Google::Apis::PeopleV1::UpdateContactGroupRequest] update_contact_group_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -261,7 +261,6 @@ module Google
end end
# Modify the members of a contact group owned by the authenticated user. # Modify the members of a contact group owned by the authenticated user.
# <br>
# The only system contact groups that can have members added are # The only system contact groups that can have members added are
# `contactGroups/myContacts` and `contactGroups/starred`. Other system # `contactGroups/myContacts` and `contactGroups/starred`. Other system
# contact groups are deprecated and can only have contacts removed. # contact groups are deprecated and can only have contacts removed.
@ -424,13 +423,12 @@ module Google
# Provides information about a person by specifying a resource name. Use # Provides information about a person by specifying a resource name. Use
# `people/me` to indicate the authenticated user. # `people/me` to indicate the authenticated user.
# <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] resource_name # @param [String] resource_name
# Required. The resource name of the person to provide information about. # Required. The resource name of the person to provide information about.
# - To get information about the authenticated user, specify `people/me`. # - To get information about the authenticated user, specify `people/me`.
# - To get information about a google account, specify # - To get information about a google account, specify
# `people/`<var>account_id</var>. # `people/`account_id``.
# - To get information about a contact, specify the resource name that # - To get information about a contact, specify the resource name that
# identifies the contact as returned by # identifies the contact as returned by
# [`people.connections.list`](/people/api/rest/v1/people.connections/list). # [`people.connections.list`](/people/api/rest/v1/people.connections/list).
@ -504,7 +502,6 @@ module Google
# Provides information about a list of specific people by specifying a list # Provides information about a list of specific people by specifying a list
# of requested resource names. Use `people/me` to indicate the authenticated # of requested resource names. Use `people/me` to indicate the authenticated
# user. # user.
# <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] person_fields # @param [String] person_fields
# Required. A field mask to restrict which fields on each person are returned. # Required. A field mask to restrict which fields on each person are returned.
@ -548,7 +545,7 @@ module Google
# Required. The resource names of the people to provide information about. # Required. The resource names of the people to provide information about.
# - To get information about the authenticated user, specify `people/me`. # - To get information about the authenticated user, specify `people/me`.
# - To get information about a google account, specify # - To get information about a google account, specify
# `people/`<var>account_id</var>. # `people/`account_id``.
# - To get information about a contact, specify the resource name that # - To get information about a contact, specify the resource name that
# identifies the contact as returned by # identifies the contact as returned by
# [`people.connections.list`](/people/api/rest/v1/people.connections/list). # [`people.connections.list`](/people/api/rest/v1/people.connections/list).
@ -585,10 +582,8 @@ module Google
# Update contact data for an existing contact person. Any non-contact data # Update contact data for an existing contact person. Any non-contact data
# will not be modified. # will not be modified.
# The request throws a 400 error if `updatePersonFields` is not specified. # The request throws a 400 error if `updatePersonFields` is not specified.
# <br>
# The request throws a 400 error if `person.metadata.sources` is not # The request throws a 400 error if `person.metadata.sources` is not
# specified for the contact to be updated. # specified for the contact to be updated.
# <br>
# The request throws a 400 error with an error with reason # The request throws a 400 error with an error with reason
# `"failedPrecondition"` if `person.metadata.sources.etag` is different than # `"failedPrecondition"` if `person.metadata.sources.etag` is different than
# the contact's etag, which indicates the contact has changed since its data # the contact's etag, which indicates the contact has changed since its data
@ -597,7 +592,7 @@ module Google
# @param [String] resource_name # @param [String] resource_name
# The resource name for the person, assigned by the server. An ASCII string # The resource name for the person, assigned by the server. An ASCII string
# with a max length of 27 characters, in the form of # with a max length of 27 characters, in the form of
# `people/`<var>person_id</var>. # `people/`person_id``.
# @param [Google::Apis::PeopleV1::Person] person_object # @param [Google::Apis::PeopleV1::Person] person_object
# @param [String] update_person_fields # @param [String] update_person_fields
# Required. A field mask to restrict which fields on the person are updated. # Required. A field mask to restrict which fields on the person are updated.
@ -689,7 +684,6 @@ module Google
# Provides a list of the authenticated user's contacts merged with any # Provides a list of the authenticated user's contacts merged with any
# connected profiles. # connected profiles.
# <br>
# The request throws a 400 error if 'personFields' is not specified. # The request throws a 400 error if 'personFields' is not specified.
# @param [String] resource_name # @param [String] resource_name
# Required. The resource name to return connections for. Only `people/me` is # Required. The resource name to return connections for. Only `people/me` is
@ -699,7 +693,7 @@ module Google
# are # are
# between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0. # between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0.
# @param [String] page_token # @param [String] page_token
# The token of the page to be returned. # Optional. The token of the page to be returned.
# @param [String] person_fields # @param [String] person_fields
# Required. A field mask to restrict which fields on each person are returned. # Required. A field mask to restrict which fields on each person are returned.
# Multiple # Multiple
@ -739,15 +733,17 @@ module Google
# path should start with `person.`: for example, `person.names` or # path should start with `person.`: for example, `person.names` or
# `person.photos`. # `person.photos`.
# @param [Boolean] request_sync_token # @param [Boolean] request_sync_token
# Whether the response should include a sync token, which can be used to get # Optional. Whether the response should include a sync token, which can be used
# to get
# all changes since the last request. For subsequent sync requests use the # all changes since the last request. For subsequent sync requests use the
# `sync_token` param instead. Initial sync requests that specify # `sync_token` param instead. Initial sync requests that specify
# `request_sync_token` have an additional rate limit. # `request_sync_token` have an additional rate limit.
# @param [String] sort_order # @param [String] sort_order
# The order in which the connections should be sorted. Defaults to # Optional. The order in which the connections should be sorted. Defaults to
# `LAST_MODIFIED_ASCENDING`. # `LAST_MODIFIED_ASCENDING`.
# @param [String] sync_token # @param [String] sync_token
# A sync token returned by a previous call to `people.connections.list`. # Optional. A sync token returned by a previous call to `people.connections.list`
# .
# Only resources changed since the sync token was created will be returned. # Only resources changed since the sync token was created will be returned.
# Sync requests that specify `sync_token` have an additional rate limit. # Sync requests that specify `sync_token` have an additional rate limit.
# @param [String] fields # @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1 module RemotebuildexecutionV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200102' 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'

View File

@ -2115,6 +2115,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :machine_type attr_accessor :machine_type
# The maximum number of actions a worker can execute concurrently.
# Corresponds to the JSON property `maxConcurrentActions`
# @return [Fixnum]
attr_accessor :max_concurrent_actions
# Minimum CPU platform to use when creating the worker. # Minimum CPU platform to use when creating the worker.
# See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms). # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
# Corresponds to the JSON property `minCpuPlatform` # Corresponds to the JSON property `minCpuPlatform`
@ -2150,6 +2155,7 @@ module Google
@disk_type = args[:disk_type] if args.key?(:disk_type) @disk_type = args[:disk_type] if args.key?(:disk_type)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type) @machine_type = args[:machine_type] if args.key?(:machine_type)
@max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@network_access = args[:network_access] if args.key?(:network_access) @network_access = args[:network_access] if args.key?(:network_access)
@reserved = args[:reserved] if args.key?(:reserved) @reserved = args[:reserved] if args.key?(:reserved)

View File

@ -806,6 +806,7 @@ module Google
property :disk_type, as: 'diskType' property :disk_type, as: 'diskType'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :machine_type, as: 'machineType' property :machine_type, as: 'machineType'
property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
property :min_cpu_platform, as: 'minCpuPlatform' property :min_cpu_platform, as: 'minCpuPlatform'
property :network_access, as: 'networkAccess' property :network_access, as: 'networkAccess'
property :reserved, as: 'reserved' property :reserved, as: 'reserved'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/remote-build-execution/docs/ # @see https://cloud.google.com/remote-build-execution/docs/
module RemotebuildexecutionV1alpha module RemotebuildexecutionV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20200102' 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'

View File

@ -2096,6 +2096,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :machine_type attr_accessor :machine_type
# The maximum number of actions a worker can execute concurrently.
# Corresponds to the JSON property `maxConcurrentActions`
# @return [Fixnum]
attr_accessor :max_concurrent_actions
# Minimum CPU platform to use when creating the worker. # Minimum CPU platform to use when creating the worker.
# See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms). # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
# Corresponds to the JSON property `minCpuPlatform` # Corresponds to the JSON property `minCpuPlatform`
@ -2131,6 +2136,7 @@ module Google
@disk_type = args[:disk_type] if args.key?(:disk_type) @disk_type = args[:disk_type] if args.key?(:disk_type)
@labels = args[:labels] if args.key?(:labels) @labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type) @machine_type = args[:machine_type] if args.key?(:machine_type)
@max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@network_access = args[:network_access] if args.key?(:network_access) @network_access = args[:network_access] if args.key?(:network_access)
@reserved = args[:reserved] if args.key?(:reserved) @reserved = args[:reserved] if args.key?(:reserved)

View File

@ -775,6 +775,7 @@ module Google
property :disk_type, as: 'diskType' property :disk_type, as: 'diskType'
hash :labels, as: 'labels' hash :labels, as: 'labels'
property :machine_type, as: 'machineType' property :machine_type, as: 'machineType'
property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
property :min_cpu_platform, as: 'minCpuPlatform' property :min_cpu_platform, as: 'minCpuPlatform'
property :network_access, as: 'networkAccess' property :network_access, as: 'networkAccess'
property :reserved, as: 'reserved' property :reserved, as: 'reserved'