Autogenerated update (2019-12-12)

Update:
- cloudiot_v1
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- cloudsearch_v1
- cloudtasks_v2
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- dlp_v2
- iap_v1
- serviceconsumermanagement_v1
This commit is contained in:
Google APIs committed 2019-12-12 00:37:33 +00:00
1 parent 923277c6a7
commit 26bb4d3f05
30 files changed
+1470 -411

No files matched your search

@@ -187,7 +187,7 @@ module Google
class BatchCreateNotesRequest
include Google::Apis::Core::Hashable
# The notes to create. Max allowed length is 1000.
# Required. The notes to create. Max allowed length is 1000.
# Corresponds to the JSON property `notes`
# @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>]
attr_accessor :notes
@@ -225,7 +225,7 @@ module Google
class BatchCreateOccurrencesRequest
include Google::Apis::Core::Hashable
# The occurrences to create. Max allowed length is 1000.
# Required. The occurrences to create. Max allowed length is 1000.
# Corresponds to the JSON property `occurrences`
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>]
attr_accessor :occurrences
@@ -283,6 +283,23 @@ module Google
# 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`
@@ -2125,16 +2142,18 @@ module Google
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": [
# `
@@ -2152,13 +2171,15 @@ module Google
# "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
@@ -2173,14 +2194,16 @@ module Google
# 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::ContaineranalysisV1beta1::Binding>]
attr_accessor :bindings
@@ -2192,26 +2215,31 @@ module Google
# 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
@@ -2391,16 +2419,18 @@ module Google
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": [
# `
@@ -2418,13 +2448,15 @@ module Google
# "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
@@ -2439,8 +2471,10 @@ module Google
# 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::ContaineranalysisV1beta1::Policy]
attr_accessor :policy
@@ -50,7 +50,8 @@ module Google
# Creates new notes in batch.
# @param [String] parent
# The name of the project in the form of `projects/[PROJECT_ID]`, under which
# Required. The name of the project in the form of `projects/[PROJECT_ID]`,
# under which
# the notes are to be created.
# @param [Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesRequest] batch_create_notes_request_object
# @param [String] fields
@@ -84,11 +85,12 @@ module Google
# Creates a new note.
# @param [String] parent
# The name of the project in the form of `projects/[PROJECT_ID]`, under which
# Required. The name of the project in the form of `projects/[PROJECT_ID]`,
# under which
# the note is to be created.
# @param [Google::Apis::ContaineranalysisV1beta1::Note] note_object
# @param [String] note_id
# The ID to use for this note.
# Required. The ID to use for this note.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -121,7 +123,7 @@ module Google
# Deletes the specified note.
# @param [String] name
# The name of the note in the form of
# Required. The name of the note in the form of
# `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -152,7 +154,7 @@ module Google
# Gets the specified note.
# @param [String] name
# The name of the note in the form of
# Required. The name of the note in the form of
# `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -223,7 +225,7 @@ module Google
# Lists notes for the specified project.
# @param [String] parent
# The name of the project to list notes for in the form of
# Required. The name of the project to list notes for in the form of
# `projects/[PROJECT_ID]`.
# @param [String] filter
# The filter expression.
@@ -264,7 +266,7 @@ module Google
# Updates the specified note.
# @param [String] name
# The name of the note in the form of
# Required. The name of the note in the form of
# `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
# @param [Google::Apis::ContaineranalysisV1beta1::Note] note_object
# @param [String] update_mask
@@ -382,7 +384,7 @@ module Google
# this method to get all occurrences across consumer projects referencing the
# specified note.
# @param [String] name
# The name of the note to list occurrences for in the form of
# Required. The name of the note to list occurrences for in the form of
# `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
# @param [String] filter
# The filter expression.
@@ -422,7 +424,8 @@ module Google
# Creates new occurrences in batch.
# @param [String] parent
# The name of the project in the form of `projects/[PROJECT_ID]`, under which
# Required. The name of the project in the form of `projects/[PROJECT_ID]`,
# under which
# the occurrences are to be created.
# @param [Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesRequest] batch_create_occurrences_request_object
# @param [String] fields
@@ -456,7 +459,8 @@ module Google
# Creates a new occurrence.
# @param [String] parent
# The name of the project in the form of `projects/[PROJECT_ID]`, under which
# Required. The name of the project in the form of `projects/[PROJECT_ID]`,
# under which
# the occurrence is to be created.
# @param [Google::Apis::ContaineranalysisV1beta1::Occurrence] occurrence_object
# @param [String] fields
@@ -492,7 +496,7 @@ module Google
# occurrence when the occurrence is no longer applicable for the given
# resource.
# @param [String] name
# The name of the occurrence in the form of
# Required. The name of the occurrence in the form of
# `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -523,7 +527,7 @@ module Google
# Gets the specified occurrence.
# @param [String] name
# The name of the occurrence in the form of
# Required. The name of the occurrence in the form of
# `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -595,7 +599,7 @@ module Google
# Gets the note attached to the specified occurrence. Consumer projects can
# use this method to get a note that belongs to a provider project.
# @param [String] name
# The name of the occurrence in the form of
# Required. The name of the occurrence in the form of
# `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -626,7 +630,8 @@ module Google
# Gets a summary of the number and severity of occurrences.
# @param [String] parent
# The name of the project to get a vulnerability summary for in the form of
# Required. The name of the project to get a vulnerability summary for in the
# form of
# `projects/[PROJECT_ID]`.
# @param [String] filter
# The filter expression.
@@ -660,7 +665,7 @@ module Google
# Lists occurrences for the specified project.
# @param [String] parent
# The name of the project to list occurrences for in the form of
# Required. The name of the project to list occurrences for in the form of
# `projects/[PROJECT_ID]`.
# @param [String] filter
# The filter expression.
@@ -701,7 +706,7 @@ module Google
# Updates the specified occurrence.
# @param [String] name
# The name of the occurrence in the form of
# Required. The name of the occurrence in the form of
# `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
# @param [Google::Apis::ContaineranalysisV1beta1::Occurrence] occurrence_object
# @param [String] update_mask
@@ -817,7 +822,7 @@ module Google
# Gets the specified scan configuration.
# @param [String] name
# The name of the scan configuration in the form of
# Required. The name of the scan configuration in the form of
# `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -848,10 +853,11 @@ module Google
# Lists scan configurations for the specified project.
# @param [String] parent
# The name of the project to list scan configurations for in the form of
# Required. The name of the project to list scan configurations for in the form
# of
# `projects/[PROJECT_ID]`.
# @param [String] filter
# The filter expression.
# Required. The filter expression.
# @param [Fixnum] page_size
# The number of scan configs to return in the list.
# @param [String] page_token
@@ -888,7 +894,7 @@ module Google
# Updates the specified scan configuration.
# @param [String] name
# The name of the scan configuration in the form of
# Required. The name of the scan configuration in the form of
# `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`.
# @param [Google::Apis::ContaineranalysisV1beta1::ScanConfig] scan_config_object
# @param [String] fields