From 12ff9f6f658194da9a5affd2ffe0e45b4b6a58fd Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 24 Jan 2020 00:37:26 +0000 Subject: [PATCH] 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 --- .../apis/acceleratedmobilepageurl_v1.rb | 2 +- generated/google/apis/androidmanagement_v1.rb | 2 +- .../apis/androidmanagement_v1/classes.rb | 10 +- .../androidmanagement_v1/representations.rb | 1 + .../google/apis/binaryauthorization_v1.rb | 2 +- .../apis/binaryauthorization_v1/classes.rb | 64 ++++-- .../apis/binaryauthorization_v1beta1.rb | 2 +- .../binaryauthorization_v1beta1/classes.rb | 64 ++++-- generated/google/apis/cloudasset_v1.rb | 2 +- .../google/apis/cloudasset_v1/classes.rb | 90 ++++++-- generated/google/apis/cloudasset_v1beta1.rb | 2 +- .../google/apis/cloudasset_v1beta1/classes.rb | 64 ++++-- generated/google/apis/cloudfunctions_v1.rb | 2 +- generated/google/apis/cloudtasks_v2.rb | 2 +- .../google/apis/cloudtasks_v2/classes.rb | 64 ++++-- generated/google/apis/cloudtasks_v2beta2.rb | 2 +- .../google/apis/cloudtasks_v2beta2/classes.rb | 64 ++++-- generated/google/apis/datafusion_v1beta1.rb | 2 +- .../google/apis/datafusion_v1beta1/classes.rb | 64 ++++-- generated/google/apis/docs_v1.rb | 2 +- generated/google/apis/docs_v1/classes.rb | 192 +++++++++++++++++- .../google/apis/docs_v1/representations.rb | 41 ++++ generated/google/apis/iap_v1beta1.rb | 2 +- generated/google/apis/iap_v1beta1/classes.rb | 64 ++++-- generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 64 ++++-- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 6 + .../apis/monitoring_v3/representations.rb | 1 + generated/google/apis/oslogin_v1.rb | 3 +- generated/google/apis/oslogin_v1/service.rb | 1 - generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 27 +-- generated/google/apis/people_v1/service.rb | 28 ++- .../google/apis/remotebuildexecution_v1.rb | 2 +- .../apis/remotebuildexecution_v1/classes.rb | 6 + .../representations.rb | 1 + .../apis/remotebuildexecution_v1alpha.rb | 2 +- .../remotebuildexecution_v1alpha/classes.rb | 6 + .../representations.rb | 1 + 40 files changed, 764 insertions(+), 196 deletions(-) diff --git a/generated/google/apis/acceleratedmobilepageurl_v1.rb b/generated/google/apis/acceleratedmobilepageurl_v1.rb index 681834533..2d99d42f1 100644 --- a/generated/google/apis/acceleratedmobilepageurl_v1.rb +++ b/generated/google/apis/acceleratedmobilepageurl_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/amp/cache/ module AcceleratedmobilepageurlV1 VERSION = 'V1' - REVISION = '20180612' + REVISION = '20200121' end end end diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 7f88785aa..2449020e7 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20191214' + REVISION = '20200117' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index 3fe98be22..7b51e6d7b 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -1483,6 +1483,11 @@ module Google class KioskCustomization 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 ( # long-presses) the Power button. # Corresponds to the JSON property `powerButtonActions` @@ -1513,6 +1518,7 @@ module Google # Update properties of this object 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) @status_bar = args[:status_bar] if args.key?(:status_bar) @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 # 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 - # status bar is disabled when this is set. + # applications setting. Apps appear on a single page in alphabetical order. Use + # kioskCustomization to further configure the kiosk device behavior. # Corresponds to the JSON property `kioskCustomLauncherEnabled` # @return [Boolean] attr_accessor :kiosk_custom_launcher_enabled diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb index 85655d3ce..acfc6ea9c 100644 --- a/generated/google/apis/androidmanagement_v1/representations.rb +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -752,6 +752,7 @@ module Google class KioskCustomization # @private class Representation < Google::Apis::Core::JsonRepresentation + property :device_settings, as: 'deviceSettings' property :power_button_actions, as: 'powerButtonActions' property :status_bar, as: 'statusBar' property :system_error_warnings, as: 'systemErrorWarnings' diff --git a/generated/google/apis/binaryauthorization_v1.rb b/generated/google/apis/binaryauthorization_v1.rb index b109d9b1a..d6fd3f837 100644 --- a/generated/google/apis/binaryauthorization_v1.rb +++ b/generated/google/apis/binaryauthorization_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/binary-authorization/ module BinaryauthorizationV1 VERSION = 'V1' - REVISION = '20191213' + REVISION = '20200117' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/binaryauthorization_v1/classes.rb b/generated/google/apis/binaryauthorization_v1/classes.rb index a5e61c82a..02d79b4b7 100644 --- a/generated/google/apis/binaryauthorization_v1/classes.rb +++ b/generated/google/apis/binaryauthorization_v1/classes.rb @@ -186,10 +186,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::BinaryauthorizationV1::Expr] attr_accessor :condition @@ -266,34 +284,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/binaryauthorization_v1beta1.rb b/generated/google/apis/binaryauthorization_v1beta1.rb index 1d42eb40d..c2b730616 100644 --- a/generated/google/apis/binaryauthorization_v1beta1.rb +++ b/generated/google/apis/binaryauthorization_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/binary-authorization/ module BinaryauthorizationV1beta1 VERSION = 'V1beta1' - REVISION = '20191206' + REVISION = '20200117' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/binaryauthorization_v1beta1/classes.rb b/generated/google/apis/binaryauthorization_v1beta1/classes.rb index 79b14fd9d..d6d7a5eb1 100644 --- a/generated/google/apis/binaryauthorization_v1beta1/classes.rb +++ b/generated/google/apis/binaryauthorization_v1beta1/classes.rb @@ -186,10 +186,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::BinaryauthorizationV1beta1::Expr] attr_accessor :condition @@ -266,34 +284,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/cloudasset_v1.rb b/generated/google/apis/cloudasset_v1.rb index 451bb07b8..86cafd7ce 100644 --- a/generated/google/apis/cloudasset_v1.rb +++ b/generated/google/apis/cloudasset_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1 VERSION = 'V1' - REVISION = '20200110' + REVISION = '20200118' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudasset_v1/classes.rb b/generated/google/apis/cloudasset_v1/classes.rb index e3c600dfa..a006c1d04 100644 --- a/generated/google/apis/cloudasset_v1/classes.rb +++ b/generated/google/apis/cloudasset_v1/classes.rb @@ -348,10 +348,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::CloudassetV1::Expr] attr_accessor :condition @@ -504,34 +522,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` @@ -1237,10 +1271,28 @@ module Google class GoogleIdentityAccesscontextmanagerV1CustomLevel include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::CloudassetV1::Expr] attr_accessor :expr diff --git a/generated/google/apis/cloudasset_v1beta1.rb b/generated/google/apis/cloudasset_v1beta1.rb index 74d1e1543..0b886667a 100644 --- a/generated/google/apis/cloudasset_v1beta1.rb +++ b/generated/google/apis/cloudasset_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/asset-inventory/docs/quickstart module CloudassetV1beta1 VERSION = 'V1beta1' - REVISION = '20200110' + REVISION = '20200118' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudasset_v1beta1/classes.rb b/generated/google/apis/cloudasset_v1beta1/classes.rb index b8bcf6d97..95ec1e486 100644 --- a/generated/google/apis/cloudasset_v1beta1/classes.rb +++ b/generated/google/apis/cloudasset_v1beta1/classes.rb @@ -259,10 +259,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::CloudassetV1beta1::Expr] attr_accessor :condition @@ -367,34 +385,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb index 4aed26f20..4149240f3 100644 --- a/generated/google/apis/cloudfunctions_v1.rb +++ b/generated/google/apis/cloudfunctions_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1 VERSION = 'V1' - REVISION = '20200109' + REVISION = '20200116' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2.rb b/generated/google/apis/cloudtasks_v2.rb index 77ce65d0f..28706527e 100644 --- a/generated/google/apis/cloudtasks_v2.rb +++ b/generated/google/apis/cloudtasks_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2 VERSION = 'V2' - REVISION = '20191202' + REVISION = '20200117' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2/classes.rb b/generated/google/apis/cloudtasks_v2/classes.rb index c3d24d64d..a9033f466 100644 --- a/generated/google/apis/cloudtasks_v2/classes.rb +++ b/generated/google/apis/cloudtasks_v2/classes.rb @@ -343,10 +343,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::CloudtasksV2::Expr] attr_accessor :condition @@ -457,34 +475,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index a5772acd9..0a3b099a5 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20191202' + REVISION = '20200117' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 48d74c191..ff03f4b6a 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -440,10 +440,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::CloudtasksV2beta2::Expr] attr_accessor :condition @@ -593,34 +611,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/datafusion_v1beta1.rb b/generated/google/apis/datafusion_v1beta1.rb index 2a760b71a..930d87f3c 100644 --- a/generated/google/apis/datafusion_v1beta1.rb +++ b/generated/google/apis/datafusion_v1beta1.rb @@ -34,7 +34,7 @@ module Google # @see https://cloud.google.com/data-fusion/docs module DatafusionV1beta1 VERSION = 'V1beta1' - REVISION = '20200114' + REVISION = '20200122' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/datafusion_v1beta1/classes.rb b/generated/google/apis/datafusion_v1beta1/classes.rb index 6d3ed6c2d..7ea87a376 100644 --- a/generated/google/apis/datafusion_v1beta1/classes.rb +++ b/generated/google/apis/datafusion_v1beta1/classes.rb @@ -142,10 +142,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::DatafusionV1beta1::Expr] attr_accessor :condition @@ -235,34 +253,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb index f854a12ca..d0407c82d 100644 --- a/generated/google/apis/docs_v1.rb +++ b/generated/google/apis/docs_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/docs/ module DocsV1 VERSION = 'V1' - REVISION = '20200107' + REVISION = '20200121' # View and manage your Google Docs documents AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' diff --git a/generated/google/apis/docs_v1/classes.rb b/generated/google/apis/docs_v1/classes.rb index 18c63fda8..920fa93d1 100644 --- a/generated/google/apis/docs_v1/classes.rb +++ b/generated/google/apis/docs_v1/classes.rb @@ -365,12 +365,19 @@ module Google end # 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 # is returned. class CreateFooterRequest 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. # Corresponds to the JSON property `type` # @return [String] @@ -382,6 +389,7 @@ module Google # Update properties of this object def update!(**args) + @section_break_location = args[:section_break_location] if args.key?(:section_break_location) @type = args[:type] if args.key?(:type) end end @@ -455,12 +463,19 @@ module Google end # 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 # is returned. class CreateHeaderRequest 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. # Corresponds to the JSON property `type` # @return [String] @@ -472,6 +487,7 @@ module Google # Update properties of this object def update!(**args) + @section_break_location = args[:section_break_location] if args.key?(:section_break_location) @type = args[:type] if args.key?(:type) end end @@ -702,6 +718,56 @@ module Google 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. class DeleteNamedRangeRequest include Google::Apis::Core::Hashable @@ -1077,7 +1143,6 @@ module Google # Indicates whether to use the even page header / footer IDs for the even # pages. - # This property is read-only. # Corresponds to the JSON property `useEvenPageHeaderFooter` # @return [Boolean] 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 # page. - # This property is read-only. # Corresponds to the JSON property `useFirstPageHeaderFooter` # @return [Boolean] attr_accessor :use_first_page_header_footer @@ -3951,7 +4015,9 @@ module Google include Google::Apis::Core::Hashable # 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 # is returned. # Corresponds to the JSON property `createFooter` @@ -3968,7 +4034,9 @@ module Google attr_accessor :create_footnote # 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 # is returned. # Corresponds to the JSON property `createHeader` @@ -3998,6 +4066,16 @@ module Google # @return [Google::Apis::DocsV1::DeleteContentRangeRequest] 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. # Corresponds to the JSON property `deleteNamedRange` # @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_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_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_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) @@ -4337,22 +4417,103 @@ module Google # The section's columns properties. # If empty, the section contains one column with the default properties in # 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` # @return [Array] attr_accessor :column_properties # The style of column separators. # 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` # @return [String] attr_accessor :column_separator_style # The content direction of this section. If unset, the value defaults to # 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` # @return [String] 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. # Corresponds to the JSON property `marginBottom` # @return [Google::Apis::DocsV1::Dimension] @@ -4388,6 +4549,18 @@ module Google # @return [String] 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) update!(**args) end @@ -4397,6 +4570,12 @@ module Google @column_properties = args[:column_properties] if args.key?(:column_properties) @column_separator_style = args[:column_separator_style] if args.key?(:column_separator_style) @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_footer = args[:margin_footer] if args.key?(:margin_footer) @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_top = args[:margin_top] if args.key?(:margin_top) @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 diff --git a/generated/google/apis/docs_v1/representations.rb b/generated/google/apis/docs_v1/representations.rb index 5c05f4c18..10a8bfc6e 100644 --- a/generated/google/apis/docs_v1/representations.rb +++ b/generated/google/apis/docs_v1/representations.rb @@ -154,6 +154,18 @@ module Google include Google::Apis::Core::JsonObjectSupport 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 Representation < Google::Apis::Core::JsonRepresentation; end @@ -986,6 +998,8 @@ module Google class CreateFooterRequest # @private 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' end end @@ -1017,6 +1031,8 @@ module Google class CreateHeaderRequest # @private 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' end end @@ -1083,6 +1099,20 @@ module Google 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 # @private 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_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_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 :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_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 :section_type, as: 'sectionType' + property :use_first_page_header_footer, as: 'useFirstPageHeaderFooter' end end diff --git a/generated/google/apis/iap_v1beta1.rb b/generated/google/apis/iap_v1beta1.rb index 6ee97e14a..859b1a743 100644 --- a/generated/google/apis/iap_v1beta1.rb +++ b/generated/google/apis/iap_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/iap module IapV1beta1 VERSION = 'V1beta1' - REVISION = '20191206' + REVISION = '20200117' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iap_v1beta1/classes.rb b/generated/google/apis/iap_v1beta1/classes.rb index 15343a655..256a0d8c1 100644 --- a/generated/google/apis/iap_v1beta1/classes.rb +++ b/generated/google/apis/iap_v1beta1/classes.rb @@ -26,10 +26,28 @@ module Google class Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::IapV1beta1::Expr] attr_accessor :condition @@ -87,34 +105,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index e91b92e43..f798f1e68 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20200103' + REVISION = '20200118' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 00336a121..2060c8f97 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -2135,10 +2135,28 @@ module Google class GoogleIamV1Binding include Google::Apis::Core::Hashable - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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` # @return [Google::Apis::MlV1::GoogleTypeExpr] attr_accessor :condition @@ -2589,34 +2607,50 @@ module Google end end - # Represents an expression text. Example: - # title: "User account presence" - # description: "Determines whether the request has a user account" - # expression: "size(request.user) > 0" + # Represents a textual expression in the Common Expression Language (CEL) + # syntax. CEL is a C-like expression language. The syntax and semantics of CEL + # are documented at https://github.com/google/cel-spec. + # 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 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Textual representation of an expression in - # Common Expression Language syntax. - # The application context of the containing message determines which - # well-known feature set of CEL is supported. + # Textual representation of an expression in Common Expression Language + # syntax. # Corresponds to the JSON property `expression` # @return [String] 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. # Corresponds to the JSON property `location` # @return [String] 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 # expression. # Corresponds to the JSON property `title` diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index 00773a2ff..8d2941334 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -30,7 +30,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20200104' + REVISION = '20200120' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 9414c770b..24378eb22 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -2682,6 +2682,11 @@ module Google # @return [Array] 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: # projects/[PROJECT_ID]/notificationChannelDescriptors/[TYPE] # In the above, [TYPE] is the value of the type field. @@ -2704,6 +2709,7 @@ module Google @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @labels = args[:labels] if args.key?(:labels) + @launch_stage = args[:launch_stage] if args.key?(:launch_stage) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index d382dc66f..058609753 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -1182,6 +1182,7 @@ module Google property :display_name, as: 'displayName' 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 :type, as: 'type' end diff --git a/generated/google/apis/oslogin_v1.rb b/generated/google/apis/oslogin_v1.rb index d1d583cad..ac6ae63eb 100644 --- a/generated/google/apis/oslogin_v1.rb +++ b/generated/google/apis/oslogin_v1.rb @@ -21,12 +21,11 @@ module Google # Cloud OS Login API # # 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/ module OsloginV1 VERSION = 'V1' - REVISION = '20191030' + REVISION = '20200120' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/oslogin_v1/service.rb b/generated/google/apis/oslogin_v1/service.rb index 10e9dcfed..4ae26d50f 100644 --- a/generated/google/apis/oslogin_v1/service.rb +++ b/generated/google/apis/oslogin_v1/service.rb @@ -23,7 +23,6 @@ module Google # Cloud OS Login API # # 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 # require 'google/apis/oslogin_v1' diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 9e4c46857..d61f5bd88 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20191230' + REVISION = '20200122' # See, edit, download, and permanently delete your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index b2c8405b1..e22d38c8f 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -305,7 +305,7 @@ module Google attr_accessor :name # The resource name for the contact group, assigned by the server. An ASCII - # string, in the form of `contactGroups/`contact_group_id. + # string, in the form of `contactGroups/`contact_group_id``. # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name @@ -337,7 +337,7 @@ module Google attr_accessor :contact_group_id # The resource name for the contact group, assigned by the server. An ASCII - # string, in the form of `contactGroups/`contact_group_id. + # string, in the form of `contactGroups/`contact_group_id``. # Only contact_group_resource_name can be used for modifying memberships. # Any contact group membership can be removed, but only user group or # "myContacts" or "starred" system groups memberships can be added. A @@ -749,7 +749,7 @@ module Google end end - # + # The response to a get request for a list of people by resource name. class GetPeopleResponse include Google::Apis::Core::Hashable @@ -858,7 +858,7 @@ module Google end end - # + # The response to a request for the authenticated user's connections. class ListConnectionsResponse include Google::Apis::Core::Hashable @@ -1004,14 +1004,14 @@ module Google class ModifyContactGroupMembersRequest include Google::Apis::Core::Hashable - # The resource names of the contact people to add in the form of - # `people/`person_id. + # Optional. The resource names of the contact people to add in the form of + # `people/`person_id``. # Corresponds to the JSON property `resourceNamesToAdd` # @return [Array] attr_accessor :resource_names_to_add - # The resource names of the contact people to remove in the form of - # `people/`person_id. + # Optional. The resource names of the contact people to remove in the form of + # `people/`person_id``. # Corresponds to the JSON property `resourceNamesToRemove` # @return [Array] attr_accessor :resource_names_to_remove @@ -1342,7 +1342,7 @@ module Google # @return [Array] attr_accessor :addresses - # Output only. **DEPRECATED** (Please use `person.ageRanges` instead)** + # Output only. **DEPRECATED** (Please use `person.ageRanges` instead) # The person's age range. # Corresponds to the JSON property `ageRange` # @return [String] @@ -1471,7 +1471,7 @@ module Google # The resource name for the person, assigned by the server. An ASCII string # with a max length of 27 characters, in the form of - # `people/`person_id. + # `people/`person_id``. # Corresponds to the JSON property `resourceName` # @return [String] attr_accessor :resource_name @@ -1724,9 +1724,10 @@ module Google attr_accessor :metadata # The URL of the photo. You can change the desired size by appending a query - # parameter `sz=`size at the end of the url. Example: - # `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/ - # 00gzXvDBYqw/s100/photo.jpg?sz=50` + # parameter `sz=`size`` at the end of the url, where `size` is the size in + # pixels. Example: + # https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/ + # 00gzXvDBYqw/s100/photo.jpg?sz=50 # Corresponds to the JSON property `url` # @return [String] attr_accessor :url diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 6606137b0..cd0d7171a 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -190,11 +190,11 @@ module Google # 1 and # 1000, inclusive. Defaults to 30 if not set or set to 0. # @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). # Requests the next page of resources. # @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. # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -229,7 +229,7 @@ module Google # user. # @param [String] resource_name # The resource name for the contact group, assigned by the server. An ASCII - # string, in the form of `contactGroups/`contact_group_id. + # string, in the form of `contactGroups/`contact_group_id``. # @param [Google::Apis::PeopleV1::UpdateContactGroupRequest] update_contact_group_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -261,7 +261,6 @@ module Google end # Modify the members of a contact group owned by the authenticated user. - #
# The only system contact groups that can have members added are # `contactGroups/myContacts` and `contactGroups/starred`. Other system # 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 # `people/me` to indicate the authenticated user. - #
# The request throws a 400 error if 'personFields' is not specified. # @param [String] resource_name # 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 a google account, specify - # `people/`account_id. + # `people/`account_id``. # - To get information about a contact, specify the resource name that # identifies the contact as returned by # [`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 # of requested resource names. Use `people/me` to indicate the authenticated # user. - #
# The request throws a 400 error if 'personFields' is not specified. # @param [String] person_fields # 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. # - To get information about the authenticated user, specify `people/me`. # - To get information about a google account, specify - # `people/`account_id. + # `people/`account_id``. # - To get information about a contact, specify the resource name that # identifies the contact as returned by # [`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 # will not be modified. # The request throws a 400 error if `updatePersonFields` is not specified. - #
# The request throws a 400 error if `person.metadata.sources` is not # specified for the contact to be updated. - #
# The request throws a 400 error with an error with reason # `"failedPrecondition"` if `person.metadata.sources.etag` is different than # the contact's etag, which indicates the contact has changed since its data @@ -597,7 +592,7 @@ module Google # @param [String] resource_name # The resource name for the person, assigned by the server. An ASCII string # with a max length of 27 characters, in the form of - # `people/`person_id. + # `people/`person_id``. # @param [Google::Apis::PeopleV1::Person] person_object # @param [String] update_person_fields # 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 # connected profiles. - #
# The request throws a 400 error if 'personFields' is not specified. # @param [String] resource_name # Required. The resource name to return connections for. Only `people/me` is @@ -699,7 +693,7 @@ module Google # are # between 1 and 2000, inclusive. Defaults to 100 if not set or set to 0. # @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 # Required. A field mask to restrict which fields on each person are returned. # Multiple @@ -739,15 +733,17 @@ module Google # path should start with `person.`: for example, `person.names` or # `person.photos`. # @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 # `sync_token` param instead. Initial sync requests that specify # `request_sync_token` have an additional rate limit. # @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`. # @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. # Sync requests that specify `sync_token` have an additional rate limit. # @param [String] fields diff --git a/generated/google/apis/remotebuildexecution_v1.rb b/generated/google/apis/remotebuildexecution_v1.rb index 28b3a3f4c..2dce73cfb 100644 --- a/generated/google/apis/remotebuildexecution_v1.rb +++ b/generated/google/apis/remotebuildexecution_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1 VERSION = 'V1' - REVISION = '20200102' + REVISION = '20200121' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1/classes.rb b/generated/google/apis/remotebuildexecution_v1/classes.rb index 0738820f9..a3ae069c1 100644 --- a/generated/google/apis/remotebuildexecution_v1/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1/classes.rb @@ -2115,6 +2115,11 @@ module Google # @return [String] 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. # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms). # Corresponds to the JSON property `minCpuPlatform` @@ -2150,6 +2155,7 @@ module Google @disk_type = args[:disk_type] if args.key?(:disk_type) @labels = args[:labels] if args.key?(:labels) @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) @network_access = args[:network_access] if args.key?(:network_access) @reserved = args[:reserved] if args.key?(:reserved) diff --git a/generated/google/apis/remotebuildexecution_v1/representations.rb b/generated/google/apis/remotebuildexecution_v1/representations.rb index 42fdaaeef..d055a3627 100644 --- a/generated/google/apis/remotebuildexecution_v1/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1/representations.rb @@ -806,6 +806,7 @@ module Google property :disk_type, as: 'diskType' hash :labels, as: 'labels' property :machine_type, as: 'machineType' + property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions' property :min_cpu_platform, as: 'minCpuPlatform' property :network_access, as: 'networkAccess' property :reserved, as: 'reserved' diff --git a/generated/google/apis/remotebuildexecution_v1alpha.rb b/generated/google/apis/remotebuildexecution_v1alpha.rb index 6b19badc5..466cbf206 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/remote-build-execution/docs/ module RemotebuildexecutionV1alpha VERSION = 'V1alpha' - REVISION = '20200102' + REVISION = '20200121' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb index ecc10b528..ecab3087c 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/classes.rb @@ -2096,6 +2096,11 @@ module Google # @return [String] 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. # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms). # Corresponds to the JSON property `minCpuPlatform` @@ -2131,6 +2136,7 @@ module Google @disk_type = args[:disk_type] if args.key?(:disk_type) @labels = args[:labels] if args.key?(:labels) @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) @network_access = args[:network_access] if args.key?(:network_access) @reserved = args[:reserved] if args.key?(:reserved) diff --git a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb index 38bbbd437..4a39daffb 100644 --- a/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +++ b/generated/google/apis/remotebuildexecution_v1alpha/representations.rb @@ -775,6 +775,7 @@ module Google property :disk_type, as: 'diskType' hash :labels, as: 'labels' property :machine_type, as: 'machineType' + property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions' property :min_cpu_platform, as: 'minCpuPlatform' property :network_access, as: 'networkAccess' property :reserved, as: 'reserved'