diff --git a/generated/google/apis/accessapproval_v1.rb b/generated/google/apis/accessapproval_v1.rb index 67c99e444..2e669e0f5 100644 --- a/generated/google/apis/accessapproval_v1.rb +++ b/generated/google/apis/accessapproval_v1.rb @@ -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' diff --git a/generated/google/apis/accessapproval_v1beta1.rb b/generated/google/apis/accessapproval_v1beta1.rb index 4b976f581..b3f4a64a4 100644 --- a/generated/google/apis/accessapproval_v1beta1.rb +++ b/generated/google/apis/accessapproval_v1beta1.rb @@ -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' diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 91a8fcfd3..2f3b6e1e0 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -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' diff --git a/generated/google/apis/bigqueryreservation_v1.rb b/generated/google/apis/bigqueryreservation_v1.rb index b7908a717..f2278640b 100644 --- a/generated/google/apis/bigqueryreservation_v1.rb +++ b/generated/google/apis/bigqueryreservation_v1.rb @@ -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' diff --git a/generated/google/apis/bigqueryreservation_v1alpha2.rb b/generated/google/apis/bigqueryreservation_v1alpha2.rb index 55de552fd..1769869f7 100644 --- a/generated/google/apis/bigqueryreservation_v1alpha2.rb +++ b/generated/google/apis/bigqueryreservation_v1alpha2.rb @@ -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' diff --git a/generated/google/apis/bigqueryreservation_v1beta1.rb b/generated/google/apis/bigqueryreservation_v1beta1.rb index dc8e415fb..4f86f95f9 100644 --- a/generated/google/apis/bigqueryreservation_v1beta1.rb +++ b/generated/google/apis/bigqueryreservation_v1beta1.rb @@ -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' diff --git a/generated/google/apis/bigqueryreservation_v1beta1/service.rb b/generated/google/apis/bigqueryreservation_v1beta1/service.rb index 5b0c9b09a..a5439796c 100644 --- a/generated/google/apis/bigqueryreservation_v1beta1/service.rb +++ b/generated/google/apis/bigqueryreservation_v1beta1/service.rb @@ -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 , 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 diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index 000949767..3c9643287 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -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' diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index a7d0ab71d..846ed351e 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -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' diff --git a/generated/google/apis/composer_v1beta1.rb b/generated/google/apis/composer_v1beta1.rb index 2f9a43cf5..aa6574332 100644 --- a/generated/google/apis/composer_v1beta1.rb +++ b/generated/google/apis/composer_v1beta1.rb @@ -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' diff --git a/generated/google/apis/composer_v1beta1/classes.rb b/generated/google/apis/composer_v1beta1/classes.rb index 893eb727e..e7cf1ec8c 100644 --- a/generated/google/apis/composer_v1beta1/classes.rb +++ b/generated/google/apis/composer_v1beta1/classes.rb @@ -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 diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb index fc6501801..1c0d8c561 100644 --- a/generated/google/apis/datastore_v1.rb +++ b/generated/google/apis/datastore_v1.rb @@ -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' diff --git a/generated/google/apis/datastore_v1beta1.rb b/generated/google/apis/datastore_v1beta1.rb index 8e0e27eea..323970745 100644 --- a/generated/google/apis/datastore_v1beta1.rb +++ b/generated/google/apis/datastore_v1beta1.rb @@ -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' diff --git a/generated/google/apis/datastore_v1beta3.rb b/generated/google/apis/datastore_v1beta3.rb index a56a5bb73..53d954c31 100644 --- a/generated/google/apis/datastore_v1beta3.rb +++ b/generated/google/apis/datastore_v1beta3.rb @@ -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' diff --git a/generated/google/apis/digitalassetlinks_v1.rb b/generated/google/apis/digitalassetlinks_v1.rb index 60dc7ae6c..801413c6a 100644 --- a/generated/google/apis/digitalassetlinks_v1.rb +++ b/generated/google/apis/digitalassetlinks_v1.rb @@ -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 diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index 89f6cd772..cede8b0ab 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -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' diff --git a/generated/google/apis/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 4664c5858..813ca36b6 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -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 diff --git a/generated/google/apis/dlp_v2/representations.rb b/generated/google/apis/dlp_v2/representations.rb index fe6aea84d..644b03935 100644 --- a/generated/google/apis/dlp_v2/representations.rb +++ b/generated/google/apis/dlp_v2/representations.rb @@ -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 diff --git a/generated/google/apis/firestore_v1.rb b/generated/google/apis/firestore_v1.rb index ef28f5aa3..bb0a837b6 100644 --- a/generated/google/apis/firestore_v1.rb +++ b/generated/google/apis/firestore_v1.rb @@ -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' diff --git a/generated/google/apis/firestore_v1beta1.rb b/generated/google/apis/firestore_v1beta1.rb index 76134c49f..f60a3741c 100644 --- a/generated/google/apis/firestore_v1beta1.rb +++ b/generated/google/apis/firestore_v1beta1.rb @@ -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' diff --git a/generated/google/apis/firestore_v1beta2.rb b/generated/google/apis/firestore_v1beta2.rb index fff7c7c8d..b7ef1ece3 100644 --- a/generated/google/apis/firestore_v1beta2.rb +++ b/generated/google/apis/firestore_v1beta2.rb @@ -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' diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index cab677a6a..65bbd2381 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -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' diff --git a/generated/google/apis/language_v1.rb b/generated/google/apis/language_v1.rb index cca14fa55..bbc78466b 100644 --- a/generated/google/apis/language_v1.rb +++ b/generated/google/apis/language_v1.rb @@ -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' diff --git a/generated/google/apis/language_v1beta1.rb b/generated/google/apis/language_v1beta1.rb index 3161d496b..268261538 100644 --- a/generated/google/apis/language_v1beta1.rb +++ b/generated/google/apis/language_v1beta1.rb @@ -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' diff --git a/generated/google/apis/language_v1beta2.rb b/generated/google/apis/language_v1beta2.rb index 8d09868e3..258a81433 100644 --- a/generated/google/apis/language_v1beta2.rb +++ b/generated/google/apis/language_v1beta2.rb @@ -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' diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index 8bb304315..59be5ebd0 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -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' diff --git a/generated/google/apis/securitycenter_v1beta1.rb b/generated/google/apis/securitycenter_v1beta1.rb index 7e1dc511d..ba3394848 100644 --- a/generated/google/apis/securitycenter_v1beta1.rb +++ b/generated/google/apis/securitycenter_v1beta1.rb @@ -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' diff --git a/generated/google/apis/securitycenter_v1beta1/classes.rb b/generated/google/apis/securitycenter_v1beta1/classes.rb index 2e1161c7c..e47a5a765 100644 --- a/generated/google/apis/securitycenter_v1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1beta1/classes.rb @@ -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] - 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] + 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] + 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] + # @return [Array] 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] - 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 diff --git a/generated/google/apis/securitycenter_v1beta1/representations.rb b/generated/google/apis/securitycenter_v1beta1/representations.rb index 48017bcc1..49f135b84 100644 --- a/generated/google/apis/securitycenter_v1beta1/representations.rb +++ b/generated/google/apis/securitycenter_v1beta1/representations.rb @@ -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 diff --git a/generated/google/apis/securitycenter_v1beta1/service.rb b/generated/google/apis/securitycenter_v1beta1/service.rb index 71797db8e..9c7314e55 100644 --- a/generated/google/apis/securitycenter_v1beta1/service.rb +++ b/generated/google/apis/securitycenter_v1beta1/service.rb @@ -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? diff --git a/generated/google/apis/securitycenter_v1p1alpha1.rb b/generated/google/apis/securitycenter_v1p1alpha1.rb index 9ea56f6a7..67fa34111 100644 --- a/generated/google/apis/securitycenter_v1p1alpha1.rb +++ b/generated/google/apis/securitycenter_v1p1alpha1.rb @@ -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' diff --git a/generated/google/apis/securitycenter_v1p1beta1.rb b/generated/google/apis/securitycenter_v1p1beta1.rb index 6f01d2845..813fc440d 100644 --- a/generated/google/apis/securitycenter_v1p1beta1.rb +++ b/generated/google/apis/securitycenter_v1p1beta1.rb @@ -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' diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 7c0f8ee69..93fe1e1c6 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -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' diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index 110782219..845ff438a 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -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' diff --git a/generated/google/apis/speech_v2beta1.rb b/generated/google/apis/speech_v2beta1.rb index 7994ebca5..3df5d85df 100644 --- a/generated/google/apis/speech_v2beta1.rb +++ b/generated/google/apis/speech_v2beta1.rb @@ -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' diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index 928319de8..8eed990de 100644 --- a/generated/google/apis/streetviewpublish_v1.rb +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -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' diff --git a/generated/google/apis/streetviewpublish_v1/service.rb b/generated/google/apis/streetviewpublish_v1/service.rb index f2b36a249..acdb204c6 100644 --- a/generated/google/apis/streetviewpublish_v1/service.rb +++ b/generated/google/apis/streetviewpublish_v1/service.rb @@ -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 diff --git a/generated/google/apis/translate_v3.rb b/generated/google/apis/translate_v3.rb index 23a580728..757e0023d 100644 --- a/generated/google/apis/translate_v3.rb +++ b/generated/google/apis/translate_v3.rb @@ -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'