Autogenerated update (2020-05-19)

Update:
- apigee_v1
- dataproc_v1beta2
- datastore_v1
- datastore_v1beta3
- translate_v3
- verifiedaccess_v1
- websecurityscanner_v1
- websecurityscanner_v1alpha
- websecurityscanner_v1beta
This commit is contained in:
Google APIs 2020-05-19 00:38:03 +00:00
parent 485d5a422c
commit dce3908621
23 changed files with 120 additions and 71 deletions

View File

@ -31,7 +31,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/ # @see https://cloud.google.com/apigee-api-management/
module ApigeeV1 module ApigeeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200507' REVISION = '20200514'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2380,6 +2380,12 @@ module Google
class GoogleCloudApigeeV1ListDebugSessionsResponse class GoogleCloudApigeeV1ListDebugSessionsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Page token that you can include in a ListDebugSessionsRequest to
# retrieve the next page. If omitted, no subsequent pages exist.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
# Session info that includes debug session ID and the first transaction # Session info that includes debug session ID and the first transaction
# creation timestamp. # creation timestamp.
# Corresponds to the JSON property `sessions` # Corresponds to the JSON property `sessions`
@ -2392,6 +2398,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@sessions = args[:sessions] if args.key?(:sessions) @sessions = args[:sessions] if args.key?(:sessions)
end end
end end

View File

@ -1235,6 +1235,7 @@ module Google
class GoogleCloudApigeeV1ListDebugSessionsResponse class GoogleCloudApigeeV1ListDebugSessionsResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :sessions, as: 'sessions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session::Representation collection :sessions, as: 'sessions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session::Representation
end end

View File

@ -3291,6 +3291,12 @@ module Google
# to list debug sessions. Must be of the form: # to list debug sessions. Must be of the form:
# `organizations/`organization`/environments/`environment`/apis/`api`/revisions/ # `organizations/`organization`/environments/`environment`/apis/`api`/revisions/
# `revision``. # `revision``.
# @param [Fixnum] page_size
# Maximum number of debug sessions to return. The page size defaults
# to 25.
# @param [String] page_token
# Page token, returned from a previous ListDebugSessions call, that you
# can use to retrieve the next page.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -3308,11 +3314,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @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::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required # @raise [Google::Apis::AuthorizationError] Authorization is required
def list_organization_environment_api_revision_debugsessions(parent, fields: nil, quota_user: nil, options: nil, &block) def list_organization_environment_api_revision_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options) command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse
command.params['parent'] = parent unless parent.nil? command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil? command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/ # @see https://cloud.google.com/dataproc/
module DataprocV1beta2 module DataprocV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20200409' REVISION = '20200511'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1061,7 +1061,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# Corresponds to the JSON property `requestedPolicyVersion` # Corresponds to the JSON property `requestedPolicyVersion`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :requested_policy_version attr_accessor :requested_policy_version
@ -2452,10 +2454,13 @@ module Google
# binding binds one or more members to a single role. Members can be user # 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 # accounts, service accounts, Google groups, and domains (such as G Suite). A
# role is a named list of permissions; each role can be an IAM predefined role # role is a named list of permissions; each role can be an IAM predefined role
# or a user-created custom role.Optionally, a binding can specify a condition, # or a user-created custom role.For some types of Google Cloud resources, a
# which is a logical expression that allows access to a resource only if the # binding can also specify a condition, which is a logical expression that
# expression evaluates to true. A condition can add constraints based on # allows access to a resource only if the expression evaluates to true. A
# attributes of the request, the resource, or both.JSON example: # condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -2469,7 +2474,9 @@ module Google
# `, # `,
# ` # `
# "role": "roles/resourcemanager.organizationViewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"], # "members": [
# "user:eve@example.com"
# ],
# "condition": ` # "condition": `
# "title": "expirable access", # "title": "expirable access",
# "description": "Does not grant access after Sep 2020", # "description": "Does not grant access after Sep 2020",
@ -2537,7 +2544,9 @@ module Google
# allows you to overwrite a version 3 policy with a version 1 policy, and all of # 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 # 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 # any conditions, operations on that policy may specify any valid version or
# leave the field unset. # leave the field unset.To learn which resources support conditions in their IAM
# policies, see the IAM documentation (https://cloud.google.com/iam/help/
# conditions/resource-policies).
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -2801,10 +2810,13 @@ module Google
# binding binds one or more members to a single role. Members can be user # 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 # accounts, service accounts, Google groups, and domains (such as G Suite). A
# role is a named list of permissions; each role can be an IAM predefined role # role is a named list of permissions; each role can be an IAM predefined role
# or a user-created custom role.Optionally, a binding can specify a condition, # or a user-created custom role.For some types of Google Cloud resources, a
# which is a logical expression that allows access to a resource only if the # binding can also specify a condition, which is a logical expression that
# expression evaluates to true. A condition can add constraints based on # allows access to a resource only if the expression evaluates to true. A
# attributes of the request, the resource, or both.JSON example: # condition can add constraints based on attributes of the request, the resource,
# or both. To learn which resources support conditions in their IAM policies,
# see the IAM documentation (https://cloud.google.com/iam/help/conditions/
# resource-policies).JSON example:
# ` # `
# "bindings": [ # "bindings": [
# ` # `
@ -2818,7 +2830,9 @@ module Google
# `, # `,
# ` # `
# "role": "roles/resourcemanager.organizationViewer", # "role": "roles/resourcemanager.organizationViewer",
# "members": ["user:eve@example.com"], # "members": [
# "user:eve@example.com"
# ],
# "condition": ` # "condition": `
# "title": "expirable access", # "title": "expirable access",
# "description": "Does not grant access after Sep 2020", # "description": "Does not grant access after Sep 2020",

View File

@ -169,7 +169,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -242,8 +244,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -487,7 +489,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -668,8 +672,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -904,7 +908,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -977,8 +983,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -1280,7 +1286,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1479,8 +1487,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -1755,7 +1763,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1888,8 +1898,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -2143,7 +2153,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -2219,8 +2231,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.
@ -2423,7 +2435,9 @@ module Google
# Optional. The policy format version to be returned.Valid values are 0, 1, and # Optional. The policy format version to be returned.Valid values are 0, 1, and
# 3. Requests specifying an invalid value will be rejected.Requests for policies # 3. Requests specifying an invalid value will be rejected.Requests for policies
# with any conditional bindings must specify version 3. Policies without any # with any conditional bindings must specify version 3. Policies without any
# conditional bindings may specify any valid value or leave the field unset. # conditional bindings may specify any valid value or leave the field unset.To
# learn which resources support conditions in their IAM policies, see the IAM
# documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -2604,8 +2618,8 @@ module Google
end end
# Sets the access control policy on the specified resource. Replaces any # Sets the access control policy on the specified resource. Replaces any
# existing policy.Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
# PERMISSION_DENIED # errors.
# @param [String] resource # @param [String] resource
# REQUIRED: The resource for which the policy is being specified. See the # REQUIRED: The resource for which the policy is being specified. See the
# operation documentation for the appropriate value for this field. # operation documentation for the appropriate value for this field.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1 module DatastoreV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200216' REVISION = '20200510'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2219,7 +2219,7 @@ module Google
# A UTF-8 encoded string value. # A UTF-8 encoded string value.
# When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500
# bytes. # bytes.
# Otherwise, may be set to at least 1,000,000 bytes. # Otherwise, may be set to at most 1,000,000 bytes.
# Corresponds to the JSON property `stringValue` # Corresponds to the JSON property `stringValue`
# @return [String] # @return [String]
attr_accessor :string_value attr_accessor :string_value

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/datastore/ # @see https://cloud.google.com/datastore/
module DatastoreV1beta3 module DatastoreV1beta3
VERSION = 'V1beta3' VERSION = 'V1beta3'
REVISION = '20200216' REVISION = '20200510'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1854,7 +1854,7 @@ module Google
# A UTF-8 encoded string value. # A UTF-8 encoded string value.
# When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500
# bytes. # bytes.
# Otherwise, may be set to at least 1,000,000 bytes. # Otherwise, may be set to at most 1,000,000 bytes.
# Corresponds to the JSON property `stringValue` # Corresponds to the JSON property `stringValue`
# @return [String] # @return [String]
attr_accessor :string_value attr_accessor :string_value

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/translate/docs/quickstarts # @see https://cloud.google.com/translate/docs/quickstarts
module TranslateV3 module TranslateV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200306' REVISION = '20200515'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -18,15 +18,15 @@ require 'google/apis/verifiedaccess_v1/representations.rb'
module Google module Google
module Apis module Apis
# Verified Access API # Chrome Verified Access API
# #
# API for Verified Access chrome extension to provide credential verification # API for Verified Access chrome extension to provide credential verification
# for chrome devices connecting to an enterprise network # for chrome devices connecting to an enterprise network
# #
# @see https://www.google.com/work/chrome/ # @see https://developers.google.com/chrome/verified-access
module VerifiedaccessV1 module VerifiedaccessV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190718' REVISION = '20200512'
# Verify your enterprise credentials # Verify your enterprise credentials
AUTH_VERIFIEDACCESS = 'https://www.googleapis.com/auth/verifiedaccess' AUTH_VERIFIEDACCESS = 'https://www.googleapis.com/auth/verifiedaccess'

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google module Google
module Apis module Apis
module VerifiedaccessV1 module VerifiedaccessV1
# Verified Access API # Chrome Verified Access API
# #
# API for Verified Access chrome extension to provide credential verification # API for Verified Access chrome extension to provide credential verification
# for chrome devices connecting to an enterprise network # for chrome devices connecting to an enterprise network
@ -31,7 +31,7 @@ module Google
# Verifiedaccess = Google::Apis::VerifiedaccessV1 # Alias the module # Verifiedaccess = Google::Apis::VerifiedaccessV1 # Alias the module
# service = Verifiedaccess::VerifiedaccessService.new # service = Verifiedaccess::VerifiedaccessService.new
# #
# @see https://www.google.com/work/chrome/ # @see https://developers.google.com/chrome/verified-access
class VerifiedaccessService < Google::Apis::Core::BaseService class VerifiedaccessService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -22,10 +22,10 @@ module Google
# #
# Scans your Compute and App Engine apps for common web vulnerabilities. # Scans your Compute and App Engine apps for common web vulnerabilities.
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
module WebsecurityscannerV1 module WebsecurityscannerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200224' REVISION = '20200516'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -162,7 +162,8 @@ module Google
# Output only. The type of the Finding. # Output only. The type of the Finding.
# Detailed and up-to-date information on findings can be found here: # Detailed and up-to-date information on findings can be found here:
# https://cloud.google.com/security-scanner/docs/scan-result-details # https://cloud.google.com/security-command-center/docs/how-to-remediate-web-
# security-scanner-findings
# Corresponds to the JSON property `findingType` # Corresponds to the JSON property `findingType`
# @return [String] # @return [String]
attr_accessor :finding_type attr_accessor :finding_type
@ -579,8 +580,9 @@ module Google
# @return [Google::Apis::WebsecurityscannerV1::Authentication] # @return [Google::Apis::WebsecurityscannerV1::Authentication]
attr_accessor :authentication attr_accessor :authentication
# The blacklist URL patterns as described in # The excluded URL patterns as described in
# https://cloud.google.com/security-scanner/docs/excluded-urls # https://cloud.google.com/security-command-center/docs/how-to-use-web-security-
# scanner#excluding_urls
# Corresponds to the JSON property `blacklistPatterns` # Corresponds to the JSON property `blacklistPatterns`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :blacklist_patterns attr_accessor :blacklist_patterns
@ -590,13 +592,13 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Controls export of scan configurations and results to Cloud Security # Controls export of scan configurations and results to Security
# Command Center. # Command Center.
# Corresponds to the JSON property `exportToSecurityCommandCenter` # Corresponds to the JSON property `exportToSecurityCommandCenter`
# @return [String] # @return [String]
attr_accessor :export_to_security_command_center attr_accessor :export_to_security_command_center
# Whether the scan config is managed by Cloud Web Security Scanner, output # Whether the scan config is managed by Web Security Scanner, output
# only. # only.
# Corresponds to the JSON property `managedScan` # Corresponds to the JSON property `managedScan`
# @return [Boolean] # @return [Boolean]

View File

@ -30,7 +30,7 @@ module Google
# Websecurityscanner = Google::Apis::WebsecurityscannerV1 # Alias the module # Websecurityscanner = Google::Apis::WebsecurityscannerV1 # Alias the module
# service = Websecurityscanner::WebSecurityScannerService.new # service = Websecurityscanner::WebSecurityScannerService.new
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
class WebSecurityScannerService < Google::Apis::Core::BaseService class WebSecurityScannerService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -22,10 +22,10 @@ module Google
# #
# Scans your Compute and App Engine apps for common web vulnerabilities. # Scans your Compute and App Engine apps for common web vulnerabilities.
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
module WebsecurityscannerV1alpha module WebsecurityscannerV1alpha
VERSION = 'V1alpha' VERSION = 'V1alpha'
REVISION = '20200210' REVISION = '20200516'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -488,8 +488,9 @@ module Google
# @return [Google::Apis::WebsecurityscannerV1alpha::Authentication] # @return [Google::Apis::WebsecurityscannerV1alpha::Authentication]
attr_accessor :authentication attr_accessor :authentication
# The blacklist URL patterns as described in # The excluded URL patterns as described in
# https://cloud.google.com/security-scanner/docs/excluded-urls # https://cloud.google.com/security-command-center/docs/how-to-use-web-security-
# scanner#excluding_urls
# Corresponds to the JSON property `blacklistPatterns` # Corresponds to the JSON property `blacklistPatterns`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :blacklist_patterns attr_accessor :blacklist_patterns
@ -529,8 +530,8 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :starting_urls attr_accessor :starting_urls
# Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be # Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE
# used as a default. # will be used as a default.
# Corresponds to the JSON property `targetPlatforms` # Corresponds to the JSON property `targetPlatforms`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :target_platforms attr_accessor :target_platforms

View File

@ -30,7 +30,7 @@ module Google
# Websecurityscanner = Google::Apis::WebsecurityscannerV1alpha # Alias the module # Websecurityscanner = Google::Apis::WebsecurityscannerV1alpha # Alias the module
# service = Websecurityscanner::WebSecurityScannerService.new # service = Websecurityscanner::WebSecurityScannerService.new
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
class WebSecurityScannerService < Google::Apis::Core::BaseService class WebSecurityScannerService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -22,10 +22,10 @@ module Google
# #
# Scans your Compute and App Engine apps for common web vulnerabilities. # Scans your Compute and App Engine apps for common web vulnerabilities.
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
module WebsecurityscannerV1beta module WebsecurityscannerV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200224' REVISION = '20200516'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -161,7 +161,8 @@ module Google
# The type of the Finding. # The type of the Finding.
# Detailed and up-to-date information on findings can be found here: # Detailed and up-to-date information on findings can be found here:
# https://cloud.google.com/security-scanner/docs/scan-result-details # https://cloud.google.com/security-command-center/docs/how-to-remediate-web-
# security-scanner
# Corresponds to the JSON property `findingType` # Corresponds to the JSON property `findingType`
# @return [String] # @return [String]
attr_accessor :finding_type attr_accessor :finding_type
@ -573,8 +574,9 @@ module Google
# @return [Google::Apis::WebsecurityscannerV1beta::Authentication] # @return [Google::Apis::WebsecurityscannerV1beta::Authentication]
attr_accessor :authentication attr_accessor :authentication
# The blacklist URL patterns as described in # The excluded URL patterns as described in
# https://cloud.google.com/security-scanner/docs/excluded-urls # https://cloud.google.com/security-command-center/docs/how-to-use-web-security-
# scanner#excluding_urls
# Corresponds to the JSON property `blacklistPatterns` # Corresponds to the JSON property `blacklistPatterns`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :blacklist_patterns attr_accessor :blacklist_patterns
@ -584,7 +586,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_name attr_accessor :display_name
# Controls export of scan configurations and results to Cloud Security # Controls export of scan configurations and results to Security
# Command Center. # Command Center.
# Corresponds to the JSON property `exportToSecurityCommandCenter` # Corresponds to the JSON property `exportToSecurityCommandCenter`
# @return [String] # @return [String]
@ -596,7 +598,7 @@ module Google
# @return [Google::Apis::WebsecurityscannerV1beta::ScanRun] # @return [Google::Apis::WebsecurityscannerV1beta::ScanRun]
attr_accessor :latest_run attr_accessor :latest_run
# Whether the scan config is managed by Cloud Web Security Scanner, output # Whether the scan config is managed by Web Security Scanner, output
# only. # only.
# Corresponds to the JSON property `managedScan` # Corresponds to the JSON property `managedScan`
# @return [Boolean] # @return [Boolean]
@ -640,8 +642,8 @@ module Google
attr_accessor :static_ip_scan attr_accessor :static_ip_scan
alias_method :static_ip_scan?, :static_ip_scan alias_method :static_ip_scan?, :static_ip_scan
# Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be # Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE
# used as a default. # will be used as a default.
# Corresponds to the JSON property `targetPlatforms` # Corresponds to the JSON property `targetPlatforms`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :target_platforms attr_accessor :target_platforms

View File

@ -30,7 +30,7 @@ module Google
# Websecurityscanner = Google::Apis::WebsecurityscannerV1beta # Alias the module # Websecurityscanner = Google::Apis::WebsecurityscannerV1beta # Alias the module
# service = Websecurityscanner::WebSecurityScannerService.new # service = Websecurityscanner::WebSecurityScannerService.new
# #
# @see https://cloud.google.com/security-scanner/ # @see https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/
class WebSecurityScannerService < Google::Apis::Core::BaseService class WebSecurityScannerService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,