Skip to content

Commit

Permalink
Autogenerated update (2019-12-11)
Browse files Browse the repository at this point in the history
Update:
- androidmanagement_v1
- bigquerydatatransfer_v1
- chat_v1
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- iap_v1beta1
- ml_v1
- storagetransfer_v1
  • Loading branch information
googleapis-publisher committed Dec 11, 2019
1 parent 517bd97 commit 923277c
Show file tree
Hide file tree
Showing 17 changed files with 344 additions and 213 deletions.
2 changes: 1 addition & 1 deletion generated/google/apis/androidmanagement_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20191113'
REVISION = '20191207'

# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
Expand Down
11 changes: 7 additions & 4 deletions generated/google/apis/androidmanagement_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ class Enterprise
# @return [String]
attr_accessor :pubsub_topic

# Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported.
# Sign-in details of the enterprise.
# Corresponds to the JSON property `signinDetails`
# @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]
attr_accessor :signin_details
Expand Down Expand Up @@ -3007,13 +3007,15 @@ class StatusReportingSettings
attr_accessor :device_settings_enabled
alias_method :device_settings_enabled?, :device_settings_enabled

# Whether displays reporting is enabled.
# Whether displays reporting is enabled. Report data is not available for
# personally owned devices with work profiles.
# Corresponds to the JSON property `displayInfoEnabled`
# @return [Boolean]
attr_accessor :display_info_enabled
alias_method :display_info_enabled?, :display_info_enabled

# Whether hardware status reporting is enabled.
# Whether hardware status reporting is enabled. Report data is not available for
# personally owned devices with work profiles.
# Corresponds to the JSON property `hardwareStatusEnabled`
# @return [Boolean]
attr_accessor :hardware_status_enabled
Expand All @@ -3031,7 +3033,8 @@ class StatusReportingSettings
attr_accessor :network_info_enabled
alias_method :network_info_enabled?, :network_info_enabled

# Whether power management event reporting is enabled.
# Whether power management event reporting is enabled. Report data is not
# available for personally owned devices with work profiles.
# Corresponds to the JSON property `powerManagementEventsEnabled`
# @return [Boolean]
attr_accessor :power_management_events_enabled
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/bigquerydatatransfer_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20191103'
REVISION = '20191206'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
90 changes: 60 additions & 30 deletions generated/google/apis/bigquerydatatransfer_v1/service.rb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/chat_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/hangouts/chat
module ChatV1
VERSION = 'V1'
REVISION = '20180806'
REVISION = '20191205'
end
end
end
7 changes: 5 additions & 2 deletions generated/google/apis/chat_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,11 @@ def get_space_message(name, fields: nil, quota_user: nil, options: nil, &block)
# Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
# @param [Google::Apis::ChatV1::Message] message_object
# @param [String] update_mask
# Required. The field paths to be updated.
# Currently supported field paths: "text", "cards".
# Required. The field paths to be updated, comma separated if there are
# multiple.
# Currently supported field paths:
# * text
# * cards
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudtasks_v2beta2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta2
VERSION = 'V2beta2'
REVISION = '20191111'
REVISION = '20191202'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
116 changes: 75 additions & 41 deletions generated/google/apis/cloudtasks_v2beta2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,23 @@ class Binding
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# For example, `admins@example.com`.
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a user that has been recently deleted. For
# example, `alice@example.com?uid=123456789012345678901`. If the user is
# recovered, this value reverts to `user:`emailid`` and the recovered user
# retains the role in the binding.
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
# unique identifier) representing a service account that has been recently
# deleted. For example,
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
# If the service account is undeleted, this value reverts to
# `serviceAccount:`emailid`` and the undeleted service account retains the
# role in the binding.
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
# identifier) representing a Google group that has been recently
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
# the group is recovered, this value reverts to `group:`emailid`` and the
# recovered group retains the role in the binding.
# * `domain:`domain``: The G Suite domain (primary) that represents all the
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
Expand Down Expand Up @@ -916,16 +933,18 @@ def update!(**args)
end
end

# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
Expand All @@ -943,13 +962,15 @@ def update!(**args)
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ]
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
Expand All @@ -964,14 +985,16 @@ def update!(**args)
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# [IAM documentation](https://cloud.google.com/iam/docs/).
class Policy
include Google::Apis::Core::Hashable

# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
attr_accessor :bindings
Expand All @@ -983,26 +1006,31 @@ class Policy
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if the incoming policy version does not
# meet the requirements for modifying the stored policy.
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag

# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a binding (conditional or unconditional) from the stored
# conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, version compliance
# checks against the stored policy is skipped.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# that includes conditions
# **Important:** If you use IAM Conditions, you must include the `etag` field
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
# you to overwrite a version `3` policy with a version `1` policy, and all of
# the conditions in the version `3` policy are lost.
# If a policy does not include any conditions, operations on that policy may
# specify any valid version or leave the field unset.
# Corresponds to the JSON property `version`
# @return [Fixnum]
attr_accessor :version
Expand Down Expand Up @@ -1485,16 +1513,18 @@ def update!(**args)
class SetIamPolicyRequest
include Google::Apis::Core::Hashable

# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
# `members` to a single `role`. Members can be user accounts, service accounts,
# Google groups, and domains (such as G Suite). A `role` is a named list of
# permissions (defined by IAM or configured by users). A `binding` can
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
Expand All @@ -1512,13 +1542,15 @@ class SetIamPolicyRequest
# "condition": `
# "title": "expirable access",
# "description": "Does not grant access after Sep 2020",
# "expression": "request.time <
# timestamp('2020-10-01T00:00:00.000Z')",
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
# ",
# `
# `
# ]
# ],
# "etag": "BwWWja0YfJA=",
# "version": 3
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
Expand All @@ -1533,8 +1565,10 @@ class SetIamPolicyRequest
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# For a description of IAM and its features, see the
# [IAM developer's guide](https://cloud.google.com/iam/docs).
# [IAM documentation](https://cloud.google.com/iam/docs/).
# Corresponds to the JSON property `policy`
# @return [Google::Apis::CloudtasksV2beta2::Policy]
attr_accessor :policy
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudtasks_v2beta3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta3
VERSION = 'V2beta3'
REVISION = '20191111'
REVISION = '20191202'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
Loading

0 comments on commit 923277c

Please sign in to comment.