Skip to content

Commit

Permalink
Autogenerated update (2019-07-10)
Browse files Browse the repository at this point in the history
Update:
- accesscontextmanager_v1
- accesscontextmanager_v1beta
- cloudbilling_v1
- cloudprivatecatalogproducer_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- content_v2
- content_v2_1
- healthcare_v1beta1
- iap_v1
- iap_v1beta1
- ml_v1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- slides_v1
- vision_v1
- vision_v1p1beta1
- vision_v1p2beta1
  • Loading branch information
googleapis-publisher committed Jul 10, 2019
1 parent d828b4b commit ce5b6f9
Show file tree
Hide file tree
Showing 60 changed files with 12,308 additions and 3,228 deletions.
2 changes: 1 addition & 1 deletion generated/google/apis/accesscontextmanager_v1.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1
VERSION = 'V1'
REVISION = '20190529'
REVISION = '20190704'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/accesscontextmanager_v1/service.rb
Expand Up @@ -401,7 +401,7 @@ def list_access_policy_access_levels(parent, access_level_format: nil, page_size
# `accessPolicies/`policy_id`/accessLevels/`short_name``
# @param [Google::Apis::AccesscontextmanagerV1::AccessLevel] access_level_object
# @param [String] update_mask
# Required. Mask to control which fields get updated. Must be non-empty.
# Required. Mask to control which fields get updated. Must be non-empty.
# @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/accesscontextmanager_v1beta.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20190617'
REVISION = '20190704'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
Expand Up @@ -401,7 +401,7 @@ def list_access_policy_access_levels(parent, access_level_format: nil, page_size
# `accessPolicies/`policy_id`/accessLevels/`short_name``
# @param [Google::Apis::AccesscontextmanagerV1beta::AccessLevel] access_level_object
# @param [String] update_mask
# Required. Mask to control which fields get updated. Must be non-empty.
# Required. Mask to control which fields get updated. Must be non-empty.
# @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/cloudbilling_v1.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/billing/
module CloudbillingV1
VERSION = 'V1'
REVISION = '20190702'
REVISION = '20190709'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
20 changes: 10 additions & 10 deletions generated/google/apis/cloudbilling_v1/classes.rb
Expand Up @@ -72,7 +72,7 @@ def update!(**args)
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
Expand All @@ -84,24 +84,24 @@ def update!(**args)
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
# `,
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class AuditConfig
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -135,7 +135,7 @@ def update!(**args)
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
Expand All @@ -144,7 +144,7 @@ def update!(**args)
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class AuditLogConfig
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -248,7 +248,7 @@ class Binding
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
Expand Down Expand Up @@ -569,7 +569,7 @@ class Policy
# 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 blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
Expand Down
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/private-catalog/
module CloudprivatecatalogproducerV1beta1
VERSION = 'V1beta1'
REVISION = '20190531'
REVISION = '20190704'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
Expand Up @@ -598,7 +598,7 @@ def update!(**args)
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
Expand All @@ -610,24 +610,24 @@ def update!(**args)
# ]
# `,
# `
# "service": "fooservice.googleapis.com"
# "service": "sampleservice.googleapis.com"
# "audit_log_configs": [
# `
# "log_type": "DATA_READ",
# `,
# `
# "log_type": "DATA_WRITE",
# "exempted_members": [
# "user:bar@gmail.com"
# "user:aliya@example.com"
# ]
# `
# ]
# `
# ]
# `
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
# bar@gmail.com from DATA_WRITE logging.
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
# logging. It also exempts jose@example.com from DATA_READ logging, and
# aliya@example.com from DATA_WRITE logging.
class GoogleIamV1AuditConfig
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -661,7 +661,7 @@ def update!(**args)
# `
# "log_type": "DATA_READ",
# "exempted_members": [
# "user:foo@gmail.com"
# "user:jose@example.com"
# ]
# `,
# `
Expand All @@ -670,7 +670,7 @@ def update!(**args)
# ]
# `
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
# foo@gmail.com from DATA_READ logging.
# jose@example.com from DATA_READ logging.
class GoogleIamV1AuditLogConfig
include Google::Apis::Core::Hashable

Expand All @@ -681,6 +681,14 @@ class GoogleIamV1AuditLogConfig
# @return [Array<String>]
attr_accessor :exempted_members

# Specifies whether principals can be exempted for the same LogType in
# lower-level resource policies. If true, any lower-level exemptions will
# be ignored.
# Corresponds to the JSON property `ignoreChildExemptions`
# @return [Boolean]
attr_accessor :ignore_child_exemptions
alias_method :ignore_child_exemptions?, :ignore_child_exemptions

# The log type that this config enables.
# Corresponds to the JSON property `logType`
# @return [String]
Expand All @@ -693,6 +701,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
@log_type = args[:log_type] if args.key?(:log_type)
end
end
Expand All @@ -716,7 +725,7 @@ class GoogleIamV1Binding
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
Expand Down Expand Up @@ -804,7 +813,7 @@ class GoogleIamV1Policy
# 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 blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
Expand Down
Expand Up @@ -294,6 +294,7 @@ class GoogleIamV1AuditLogConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :exempted_members, as: 'exemptedMembers'
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
property :log_type, as: 'logType'
end
end
Expand Down
Expand Up @@ -151,6 +151,11 @@ def get_catalog(name, fields: nil, quota_user: nil, options: nil, &block)
# @param [String] resource
# REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -168,11 +173,12 @@ def get_catalog(name, fields: nil, quota_user: nil, options: nil, &block)
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_catalog_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
def get_catalog_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
command.response_representation = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy::Representation
command.response_class = Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Policy
command.params['resource'] = resource unless resource.nil?
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/compute_alpha.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeAlpha
VERSION = 'Alpha'
REVISION = '20190618'
REVISION = '20190624'

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

0 comments on commit ce5b6f9

Please sign in to comment.