Autogenerated update (2020-02-26)
Update: - accessapproval_v1 - accessapproval_v1beta1 - androidmanagement_v1 - bigqueryreservation_v1 - bigqueryreservation_v1alpha2 - bigqueryreservation_v1beta1 - classroom_v1 - cloudkms_v1 - composer_v1beta1 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - digitalassetlinks_v1 - dlp_v2 - firestore_v1 - firestore_v1beta1 - firestore_v1beta2 - iam_v1 - language_v1 - language_v1beta1 - language_v1beta2 - securitycenter_v1 - securitycenter_v1beta1 - securitycenter_v1p1alpha1 - securitycenter_v1p1beta1 - speech_v1 - speech_v1p1beta1 - speech_v2beta1 - streetviewpublish_v1 - translate_v3
This commit is contained in:
parent
4dabe8b08a
commit
b9e9a8e2b8
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/access-approval/docs
|
||||
module AccessapprovalV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200207'
|
||||
REVISION = '20200225'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/access-approval/docs
|
||||
module AccessapprovalV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20191018'
|
||||
REVISION = '20200225'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200205'
|
||||
REVISION = '20200221'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200116'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1alpha2
|
||||
VERSION = 'V1alpha2'
|
||||
REVISION = '20200205'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryreservationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200205'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -49,7 +49,7 @@ module Google
|
|||
|
||||
# Retrieves a BI reservation.
|
||||
# @param [String] name
|
||||
# Name of the requested reservation, for example:
|
||||
# Required. Name of the requested reservation, for example:
|
||||
# `projects/`project_id`/locations/`location_id`/bireservation`
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -95,7 +95,8 @@ module Google
|
|||
# Note "-" cannot be used for projects
|
||||
# nor locations.
|
||||
# @param [String] parent
|
||||
# The resource name of the admin project(containing project and location),
|
||||
# Required. The resource name of the admin project(containing project and
|
||||
# location),
|
||||
# e.g.:
|
||||
# "projects/myproject/locations/US".
|
||||
# @param [Fixnum] page_size
|
||||
|
@ -182,7 +183,7 @@ module Google
|
|||
|
||||
# Creates a new capacity commitment resource.
|
||||
# @param [String] parent
|
||||
# Resource name of the parent reservation. E.g.,
|
||||
# Required. Resource name of the parent reservation. E.g.,
|
||||
# projects/myproject/locations/US
|
||||
# @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
|
||||
# @param [Boolean] enforce_single_admin_project_per_org
|
||||
|
@ -222,7 +223,7 @@ module Google
|
|||
# before its commitment_end_time will fail with the error code
|
||||
# `google.rpc.Code.FAILED_PRECONDITION`.
|
||||
# @param [String] name
|
||||
# Resource name of the capacity commitment to delete. E.g.,
|
||||
# Required. Resource name of the capacity commitment to delete. E.g.,
|
||||
# projects/myproject/locations/US/capacityCommitments/123
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -253,7 +254,7 @@ module Google
|
|||
|
||||
# Returns information about the capacity commitment.
|
||||
# @param [String] name
|
||||
# Resource name of the capacity commitment to retrieve. E.g.,
|
||||
# Required. Resource name of the capacity commitment to retrieve. E.g.,
|
||||
# projects/myproject/locations/US/capacityCommitments/123
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -284,7 +285,7 @@ module Google
|
|||
|
||||
# Lists all the capacity commitments for the admin project.
|
||||
# @param [String] parent
|
||||
# Resource name of the parent reservation. E.g.,
|
||||
# Required. Resource name of the parent reservation. E.g.,
|
||||
# projects/myproject/locations/US
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
|
@ -321,7 +322,7 @@ module Google
|
|||
|
||||
# Creates a new reservation resource.
|
||||
# @param [String] parent
|
||||
# Project, location. E.g.,
|
||||
# Required. Project, location. E.g.,
|
||||
# projects/myproject/locations/US
|
||||
# @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
|
||||
# @param [String] reservation_id
|
||||
|
@ -361,7 +362,7 @@ module Google
|
|||
# Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has
|
||||
# assignments.
|
||||
# @param [String] name
|
||||
# Resource name of the reservation to retrieve. E.g.,
|
||||
# Required. Resource name of the reservation to retrieve. E.g.,
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -392,7 +393,7 @@ module Google
|
|||
|
||||
# Returns information about the reservation.
|
||||
# @param [String] name
|
||||
# Resource name of the reservation to retrieve. E.g.,
|
||||
# Required. Resource name of the reservation to retrieve. E.g.,
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -423,7 +424,7 @@ module Google
|
|||
|
||||
# Lists all the reservations for the project in the specified location.
|
||||
# @param [String] parent
|
||||
# The parent resource name containing project and location, e.g.:
|
||||
# Required. The parent resource name containing project and location, e.g.:
|
||||
# "projects/myproject/locations/US"
|
||||
# @param [String] filter
|
||||
# Can be used to filter out reservations based on names, capacity, etc, e.g.:
|
||||
|
@ -508,7 +509,7 @@ module Google
|
|||
# Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment
|
||||
# does not match location of the reservation.
|
||||
# @param [String] parent
|
||||
# The parent resource name of the assignment
|
||||
# Required. The parent resource name of the assignment
|
||||
# E.g.: projects/myproject/locations/US/reservations/team1-prod
|
||||
# @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
|
||||
# @param [String] fields
|
||||
|
@ -551,7 +552,7 @@ module Google
|
|||
# deletion of <organizationA, res1>, queries from project1 will still use
|
||||
# res1, while queries from project2 will use on-demand mode.
|
||||
# @param [String] name
|
||||
# Name of the resource, e.g.:
|
||||
# Required. Name of the resource, e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -593,7 +594,7 @@ module Google
|
|||
# specified project and location will be listed. Note
|
||||
# "-" cannot be used for projects nor locations.
|
||||
# @param [String] parent
|
||||
# The parent resource name e.g.:
|
||||
# Required. The parent resource name e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod
|
||||
# Or:
|
||||
# projects/myproject/locations/US/reservations/-
|
||||
|
@ -637,7 +638,7 @@ module Google
|
|||
# Without the method customers might see some queries run on-demand which
|
||||
# might be unexpected.
|
||||
# @param [String] name
|
||||
# The resource name of the assignment,
|
||||
# Required. The resource name of the assignment,
|
||||
# e.g.:
|
||||
# projects/myproject/locations/US/reservations/team1-prod/assignments/123
|
||||
# @param [Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest] move_assignment_request_object
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/classroom/
|
||||
module ClassroomV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200218'
|
||||
REVISION = '20200222'
|
||||
|
||||
# View and manage announcements in Google Classroom
|
||||
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/kms/
|
||||
module CloudkmsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200221'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/composer/
|
||||
module ComposerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200207'
|
||||
REVISION = '20200219'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
class AllowedIpRange
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. User-provided description.
|
||||
# Optional. User-provided description. It must contain at most 300 characters.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20191201'
|
||||
REVISION = '20200216'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190804'
|
||||
REVISION = '20200216'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/datastore/
|
||||
module DatastoreV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20191201'
|
||||
REVISION = '20200216'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/digital-asset-links/
|
||||
module DigitalassetlinksV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190429'
|
||||
REVISION = '20200222'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200215'
|
||||
REVISION = '20200224'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2461,6 +2461,16 @@ module Google
|
|||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
||||
attr_accessor :info_type
|
||||
|
||||
# Time the job started that produced this finding.
|
||||
# Corresponds to the JSON property `jobCreateTime`
|
||||
# @return [String]
|
||||
attr_accessor :job_create_time
|
||||
|
||||
# The job that stored the finding.
|
||||
# Corresponds to the JSON property `jobName`
|
||||
# @return [String]
|
||||
attr_accessor :job_name
|
||||
|
||||
# Confidence of how likely it is that the `info_type` is correct.
|
||||
# Corresponds to the JSON property `likelihood`
|
||||
# @return [String]
|
||||
|
@ -2471,6 +2481,12 @@ module Google
|
|||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Location]
|
||||
attr_accessor :location
|
||||
|
||||
# Resource name in format projects/`id`/locations/`id`/inspectFindings/`id`
|
||||
# Populated only when viewing persisted findings.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The content that was found. Even if the content is not textual, it
|
||||
# may be converted to a textual representation here.
|
||||
# Provided if `include_quote` is true and the finding is
|
||||
|
@ -2485,6 +2501,16 @@ module Google
|
|||
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo]
|
||||
attr_accessor :quote_info
|
||||
|
||||
# The job that stored the finding.
|
||||
# Corresponds to the JSON property `resourceName`
|
||||
# @return [String]
|
||||
attr_accessor :resource_name
|
||||
|
||||
# Job trigger name, if applicable, for this finding.
|
||||
# Corresponds to the JSON property `triggerName`
|
||||
# @return [String]
|
||||
attr_accessor :trigger_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -2493,10 +2519,15 @@ module Google
|
|||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@info_type = args[:info_type] if args.key?(:info_type)
|
||||
@job_create_time = args[:job_create_time] if args.key?(:job_create_time)
|
||||
@job_name = args[:job_name] if args.key?(:job_name)
|
||||
@likelihood = args[:likelihood] if args.key?(:likelihood)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@quote = args[:quote] if args.key?(:quote)
|
||||
@quote_info = args[:quote_info] if args.key?(:quote_info)
|
||||
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
||||
@trigger_name = args[:trigger_name] if args.key?(:trigger_name)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1757,12 +1757,17 @@ module Google
|
|||
property :create_time, as: 'createTime'
|
||||
property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
|
||||
|
||||
property :job_create_time, as: 'jobCreateTime'
|
||||
property :job_name, as: 'jobName'
|
||||
property :likelihood, as: 'likelihood'
|
||||
property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Location, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Location::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :quote, as: 'quote'
|
||||
property :quote_info, as: 'quoteInfo', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo::Representation
|
||||
|
||||
property :resource_name, as: 'resourceName'
|
||||
property :trigger_name, as: 'triggerName'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200125'
|
||||
REVISION = '20200215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200126'
|
||||
REVISION = '20200216'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/firestore
|
||||
module FirestoreV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190804'
|
||||
REVISION = '20200215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/iam/
|
||||
module IamV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200221'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200215'
|
||||
REVISION = '20200222'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200215'
|
||||
REVISION = '20200222'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20200215'
|
||||
REVISION = '20200222'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200224'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200224'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -60,7 +60,7 @@ module Google
|
|||
# SCC organization -- they can be modified and viewed by all users who have
|
||||
# proper permissions on the organization.
|
||||
# Corresponds to the JSON property `securityMarks`
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
||||
attr_accessor :security_marks
|
||||
|
||||
# The time at which the asset was last updated, added, or deleted in Cloud
|
||||
|
@ -403,108 +403,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Cloud Security Command Center (Cloud SCC) finding.
|
||||
# A finding is a record of assessment data (security, risk, health or privacy)
|
||||
# ingested into Cloud SCC for presentation, notification, analysis,
|
||||
# policy testing, and enforcement. For example, an XSS vulnerability in an
|
||||
# App Engine application is a finding.
|
||||
class Finding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The additional taxonomy group within findings from a given source.
|
||||
# This field is immutable after creation time.
|
||||
# Example: "XSS_FLASH_INJECTION"
|
||||
# Corresponds to the JSON property `category`
|
||||
# @return [String]
|
||||
attr_accessor :category
|
||||
|
||||
# The time at which the finding was created in Cloud SCC.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The time at which the event took place. For example, if the finding
|
||||
# represents an open firewall it would capture the time the detector believes
|
||||
# the firewall became open. The accuracy is determined by the detector.
|
||||
# Corresponds to the JSON property `eventTime`
|
||||
# @return [String]
|
||||
attr_accessor :event_time
|
||||
|
||||
# The URI that, if available, points to a web page outside of Cloud SCC
|
||||
# where additional information about the finding can be found. This field is
|
||||
# guaranteed to be either empty or a well formed URL.
|
||||
# Corresponds to the JSON property `externalUri`
|
||||
# @return [String]
|
||||
attr_accessor :external_uri
|
||||
|
||||
# The relative resource name of this finding. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# Example:
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Immutable. The relative resource name of the source the finding belongs to.
|
||||
# See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# This field is immutable after creation time.
|
||||
# For example:
|
||||
# "organizations/`organization_id`/sources/`source_id`"
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
# For findings on Google Cloud Platform (GCP) resources, the full resource
|
||||
# name of the GCP resource this finding is for. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
# When the finding is for a non-GCP resource, the resourceName can be a
|
||||
# customer or partner defined string.
|
||||
# This field is immutable after creation time.
|
||||
# Corresponds to the JSON property `resourceName`
|
||||
# @return [String]
|
||||
attr_accessor :resource_name
|
||||
|
||||
# User specified security marks that are attached to the parent Cloud Security
|
||||
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
||||
# SCC organization -- they can be modified and viewed by all users who have
|
||||
# proper permissions on the organization.
|
||||
# Corresponds to the JSON property `securityMarks`
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
||||
attr_accessor :security_marks
|
||||
|
||||
# Source specific properties. These properties are managed by the source
|
||||
# that writes the finding. The key names in the source_properties map must be
|
||||
# between 1 and 255 characters, and must start with a letter and contain
|
||||
# alphanumeric characters or underscores only.
|
||||
# Corresponds to the JSON property `sourceProperties`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :source_properties
|
||||
|
||||
# The state of the finding.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@category = args[:category] if args.key?(:category)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@event_time = args[:event_time] if args.key?(:event_time)
|
||||
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@parent = args[:parent] if args.key?(:parent)
|
||||
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
||||
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
||||
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for `GetIamPolicy` method.
|
||||
class GetIamPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -573,6 +471,108 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Cloud Security Command Center (Cloud SCC) finding.
|
||||
# A finding is a record of assessment data (security, risk, health or privacy)
|
||||
# ingested into Cloud SCC for presentation, notification, analysis,
|
||||
# policy testing, and enforcement. For example, an XSS vulnerability in an
|
||||
# App Engine application is a finding.
|
||||
class GoogleCloudSecuritycenterV1beta1Finding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The additional taxonomy group within findings from a given source.
|
||||
# This field is immutable after creation time.
|
||||
# Example: "XSS_FLASH_INJECTION"
|
||||
# Corresponds to the JSON property `category`
|
||||
# @return [String]
|
||||
attr_accessor :category
|
||||
|
||||
# The time at which the finding was created in Cloud SCC.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The time at which the event took place. For example, if the finding
|
||||
# represents an open firewall it would capture the time the detector believes
|
||||
# the firewall became open. The accuracy is determined by the detector.
|
||||
# Corresponds to the JSON property `eventTime`
|
||||
# @return [String]
|
||||
attr_accessor :event_time
|
||||
|
||||
# The URI that, if available, points to a web page outside of Cloud SCC
|
||||
# where additional information about the finding can be found. This field is
|
||||
# guaranteed to be either empty or a well formed URL.
|
||||
# Corresponds to the JSON property `externalUri`
|
||||
# @return [String]
|
||||
attr_accessor :external_uri
|
||||
|
||||
# The relative resource name of this finding. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# Example:
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Immutable. The relative resource name of the source the finding belongs to.
|
||||
# See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# This field is immutable after creation time.
|
||||
# For example:
|
||||
# "organizations/`organization_id`/sources/`source_id`"
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
# For findings on Google Cloud Platform (GCP) resources, the full resource
|
||||
# name of the GCP resource this finding is for. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
||||
# When the finding is for a non-GCP resource, the resourceName can be a
|
||||
# customer or partner defined string.
|
||||
# This field is immutable after creation time.
|
||||
# Corresponds to the JSON property `resourceName`
|
||||
# @return [String]
|
||||
attr_accessor :resource_name
|
||||
|
||||
# User specified security marks that are attached to the parent Cloud Security
|
||||
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
||||
# SCC organization -- they can be modified and viewed by all users who have
|
||||
# proper permissions on the organization.
|
||||
# Corresponds to the JSON property `securityMarks`
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
||||
attr_accessor :security_marks
|
||||
|
||||
# Source specific properties. These properties are managed by the source
|
||||
# that writes the finding. The key names in the source_properties map must be
|
||||
# between 1 and 255 characters, and must start with a letter and contain
|
||||
# alphanumeric characters or underscores only.
|
||||
# Corresponds to the JSON property `sourceProperties`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :source_properties
|
||||
|
||||
# The state of the finding.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@category = args[:category] if args.key?(:category)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@event_time = args[:event_time] if args.key?(:event_time)
|
||||
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@parent = args[:parent] if args.key?(:parent)
|
||||
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
||||
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
||||
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# Response of asset discovery run
|
||||
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -598,6 +598,45 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# User specified security marks that are attached to the parent Cloud Security
|
||||
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
||||
# SCC organization -- they can be modified and viewed by all users who have
|
||||
# proper permissions on the organization.
|
||||
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Mutable user specified security marks belonging to the parent resource.
|
||||
# Constraints are as follows:
|
||||
# * Keys and values are treated as case insensitive
|
||||
# * Keys must be between 1 - 256 characters (inclusive)
|
||||
# * Keys must be letters, numbers, underscores, or dashes
|
||||
# * Values have leading and trailing whitespace trimmed, remaining
|
||||
# characters must be between 1 - 4096 characters (inclusive)
|
||||
# Corresponds to the JSON property `marks`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :marks
|
||||
|
||||
# The relative resource name of the SecurityMarks. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# Examples:
|
||||
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
||||
# securityMarks".
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@marks = args[:marks] if args.key?(:marks)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
|
||||
# Platform (GCP) resource.
|
||||
# The Asset is a Cloud SCC resource that captures information about a single
|
||||
|
@ -1333,7 +1372,7 @@ module Google
|
|||
|
||||
# Findings matching the list request.
|
||||
# Corresponds to the JSON property `findings`
|
||||
# @return [Array<Google::Apis::SecuritycenterV1beta1::Finding>]
|
||||
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding>]
|
||||
attr_accessor :findings
|
||||
|
||||
# Token to retrieve the next page of results, or empty if there are no more
|
||||
|
@ -1703,45 +1742,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# User specified security marks that are attached to the parent Cloud Security
|
||||
# Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
|
||||
# SCC organization -- they can be modified and viewed by all users who have
|
||||
# proper permissions on the organization.
|
||||
class SecurityMarks
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Mutable user specified security marks belonging to the parent resource.
|
||||
# Constraints are as follows:
|
||||
# * Keys and values are treated as case insensitive
|
||||
# * Keys must be between 1 - 256 characters (inclusive)
|
||||
# * Keys must be letters, numbers, underscores, or dashes
|
||||
# * Values have leading and trailing whitespace trimmed, remaining
|
||||
# characters must be between 1 - 4096 characters (inclusive)
|
||||
# Corresponds to the JSON property `marks`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :marks
|
||||
|
||||
# The relative resource name of the SecurityMarks. See:
|
||||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# Examples:
|
||||
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
||||
# securityMarks".
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@marks = args[:marks] if args.key?(:marks)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for updating a finding's state.
|
||||
class SetFindingStateRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -70,12 +70,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Finding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -94,12 +88,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1Finding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1p1beta1Asset
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -238,12 +244,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SecurityMarks
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetFindingStateRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -288,7 +288,7 @@ module Google
|
|||
hash :resource_properties, as: 'resourceProperties'
|
||||
property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties::Representation
|
||||
|
||||
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
|
@ -351,23 +351,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Finding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :category, as: 'category'
|
||||
property :create_time, as: 'createTime'
|
||||
property :event_time, as: 'eventTime'
|
||||
property :external_uri, as: 'externalUri'
|
||||
property :name, as: 'name'
|
||||
property :parent, as: 'parent'
|
||||
property :resource_name, as: 'resourceName'
|
||||
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
|
||||
hash :source_properties, as: 'sourceProperties'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -391,6 +374,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1Finding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :category, as: 'category'
|
||||
property :create_time, as: 'createTime'
|
||||
property :event_time, as: 'eventTime'
|
||||
property :external_uri, as: 'externalUri'
|
||||
property :name, as: 'name'
|
||||
property :parent, as: 'parent'
|
||||
property :resource_name, as: 'resourceName'
|
||||
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
|
||||
hash :source_properties, as: 'sourceProperties'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -399,6 +399,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :marks, as: 'marks'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudSecuritycenterV1p1beta1Asset
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -563,7 +571,7 @@ module Google
|
|||
class ListFindingsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :findings, as: 'findings', class: Google::Apis::SecuritycenterV1beta1::Finding, decorator: Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
collection :findings, as: 'findings', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :read_time, as: 'readTime'
|
||||
|
@ -640,14 +648,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SecurityMarks
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :marks, as: 'marks'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class SetFindingStateRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -305,7 +305,7 @@ module Google
|
|||
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
||||
# securityMarks".
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::SecurityMarks] security_marks_object
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] google_cloud_securitycenter_v1beta1_security_marks_object
|
||||
# @param [String] start_time
|
||||
# The time at which the updated SecurityMarks take effect.
|
||||
# @param [String] update_mask
|
||||
|
@ -319,20 +319,20 @@ module Google
|
|||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::SecurityMarks] parsed result object
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
||||
#
|
||||
# @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 update_organization_asset_security_marks(name, security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def update_organization_asset_security_marks(name, google_cloud_securitycenter_v1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
command.request_object = security_marks_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::SecurityMarks
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
command.request_object = google_cloud_securitycenter_v1beta1_security_marks_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['startTime'] = start_time unless start_time.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
|
@ -746,7 +746,7 @@ module Google
|
|||
# @param [String] parent
|
||||
# Required. Resource name of the new finding's parent. Its format should be
|
||||
# "organizations/[organization_id]/sources/[source_id]".
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::Finding] finding_object
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] google_cloud_securitycenter_v1beta1_finding_object
|
||||
# @param [String] finding_id
|
||||
# Required. Unique identifier provided by the client within the parent scope.
|
||||
# It must be alphanumeric and less than or equal to 32 characters and
|
||||
|
@ -760,20 +760,20 @@ module Google
|
|||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
|
||||
#
|
||||
# @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 create_organization_source_finding(parent, finding_object = nil, finding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def create_organization_source_finding(parent, google_cloud_securitycenter_v1beta1_finding_object = nil, finding_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+parent}/findings', options)
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
command.request_object = finding_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
command.request_object = google_cloud_securitycenter_v1beta1_finding_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['findingId'] = finding_id unless finding_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
|
@ -912,7 +912,7 @@ module Google
|
|||
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
||||
# Example:
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::Finding] finding_object
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] google_cloud_securitycenter_v1beta1_finding_object
|
||||
# @param [String] update_mask
|
||||
# The FieldMask to use when updating the finding resource. This field should
|
||||
# not be specified when creating a finding.
|
||||
|
@ -925,20 +925,20 @@ module Google
|
|||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
|
||||
#
|
||||
# @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 patch_organization_source_finding(name, finding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def patch_organization_source_finding(name, google_cloud_securitycenter_v1beta1_finding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
command.request_object = finding_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
command.request_object = google_cloud_securitycenter_v1beta1_finding_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
|
@ -962,10 +962,10 @@ module Google
|
|||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::Finding] parsed result object
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding]
|
||||
#
|
||||
# @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
|
||||
|
@ -974,8 +974,8 @@ module Google
|
|||
command = make_simple_command(:post, 'v1beta1/{+name}:setState', options)
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::SetFindingStateRequest::Representation
|
||||
command.request_object = set_finding_state_request_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::Finding
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
|
@ -990,7 +990,7 @@ module Google
|
|||
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
||||
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
||||
# securityMarks".
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::SecurityMarks] security_marks_object
|
||||
# @param [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] google_cloud_securitycenter_v1beta1_security_marks_object
|
||||
# @param [String] start_time
|
||||
# The time at which the updated SecurityMarks take effect.
|
||||
# @param [String] update_mask
|
||||
|
@ -1004,20 +1004,20 @@ module Google
|
|||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::SecurityMarks] parsed result object
|
||||
# @yieldparam result [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
||||
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
||||
#
|
||||
# @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 update_organization_source_finding_security_marks(name, security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def update_organization_source_finding_security_marks(name, google_cloud_securitycenter_v1beta1_security_marks_object = nil, start_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
command.request_object = security_marks_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::SecurityMarks::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::SecurityMarks
|
||||
command.request_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
command.request_object = google_cloud_securitycenter_v1beta1_security_marks_object
|
||||
command.response_representation = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks::Representation
|
||||
command.response_class = Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['startTime'] = start_time unless start_time.nil?
|
||||
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1p1alpha1
|
||||
VERSION = 'V1p1alpha1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200224'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200224'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200102'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20200212'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20191017'
|
||||
REVISION = '20200220'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://developers.google.com/streetview/publish/
|
||||
module StreetviewpublishV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200215'
|
||||
REVISION = '20200224'
|
||||
|
||||
# Publish and manage your 360 photos on Google Street View
|
||||
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
|
||||
|
|
|
@ -185,7 +185,7 @@ module Google
|
|||
# In addition to the photo requirements shown in
|
||||
# https://support.google.com/maps/answer/7012050?hl=en&ref_topic=6275604,
|
||||
# the photo must meet the following requirements:
|
||||
# * Photo Sphere XMP metadata must be included in the photo medadata. See
|
||||
# * Photo Sphere XMP metadata must be included in the photo metadata. See
|
||||
# https://developers.google.com/streetview/spherical-metadata for the
|
||||
# required fields.
|
||||
# * The pixel size of the photo must meet the size requirements listed in
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/translate/docs/quickstarts
|
||||
module TranslateV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200221'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
Loading…
Reference in New Issue