generated/google/apis/securitycenter_v1/service.rb in google-api-client-0.34.0 vs generated/google/apis/securitycenter_v1/service.rb in google-api-client-0.34.1
- old
+ new
@@ -83,11 +83,11 @@
# Updates an organization's settings.
# @param [String] name
# The relative resource name of the settings. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Example:
- # "organizations/123/organizationSettings".
+ # "organizations/`organization_id`/organizationSettings".
# @param [Google::Apis::SecuritycenterV1::OrganizationSettings] organization_settings_object
# @param [String] update_mask
# The FieldMask to use when updating the settings resource.
# If empty all mutable fields will be updated.
# @param [String] fields
@@ -331,12 +331,13 @@
# Updates security marks.
# @param [String] name
# The relative resource name of the SecurityMarks. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Examples:
- # "organizations/123/assets/456/securityMarks"
- # "organizations/123/sources/456/findings/789/securityMarks".
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
+ # securityMarks".
# @param [Google::Apis::SecuritycenterV1::SecurityMarks] security_marks_object
# @param [String] start_time
# The time at which the updated SecurityMarks take effect.
# If not set uses current server time. Updates will be applied to the
# SecurityMarks that are active immediately preceding this time.
@@ -669,11 +670,11 @@
# Updates a source.
# @param [String] name
# The relative resource name of this source. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Example:
- # "organizations/123/sources/456"
+ # "organizations/`organization_id`/sources/`source_id`"
# @param [Google::Apis::SecuritycenterV1::Source] source_object
# @param [String] update_mask
# The FieldMask to use when updating the source resource.
# If empty all mutable fields will be updated.
# @param [String] fields
@@ -815,16 +816,16 @@
end
# Filters an organization or source's findings and groups them by their
# specified properties.
# To group across all sources provide a `-` as the source id.
- # Example: /v1/organizations/123/sources/-/findings
+ # Example: /v1/organizations/`organization_id`/sources/-/findings
# @param [String] parent
# Required. Name of the source to groupBy. Its format is
# "organizations/[organization_id]/sources/[source_id]". To groupBy across
# all sources provide a source_id of `-`. For example:
- # organizations/123/sources/-
+ # organizations/`organization_id`/sources/-
# @param [Google::Apis::SecuritycenterV1::GroupFindingsRequest] group_findings_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -853,16 +854,16 @@
execute_or_queue_command(command, &block)
end
# Lists an organization or source's findings.
# To list across all sources provide a `-` as the source id.
- # Example: /v1/organizations/123/sources/-/findings
+ # Example: /v1/organizations/`organization_id`/sources/-/findings
# @param [String] parent
# Required. Name of the source the findings belong to. Its format is
# "organizations/[organization_id]/sources/[source_id]". To list across all
# sources provide a source_id of `-`. For example:
- # organizations/123/sources/-
+ # organizations/`organization_id`/sources/-
# @param [String] compare_duration
# When compare_duration is set, the ListFindingsResult's "state_change"
# attribute is updated to indicate whether the finding had its state changed,
# the finding's state remained unchanged, or if the finding was added in any
# state during the compare_duration period of time that precedes the
@@ -987,11 +988,11 @@
# finding creation to succeed.
# @param [String] name
# The relative resource name of this finding. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Example:
- # "organizations/123/sources/456/findings/789"
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
# @param [Google::Apis::SecuritycenterV1::Finding] 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.
# When updating a finding, an empty mask is treated as updating all mutable
@@ -1031,11 +1032,11 @@
# Updates the state of a finding.
# @param [String] name
# Required. The relative resource name of the finding. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Example:
- # "organizations/123/sources/456/finding/789".
+ # "organizations/`organization_id`/sources/`source_id`/finding/`finding_id`".
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
@@ -1067,11 +1068,12 @@
# Updates security marks.
# @param [String] name
# The relative resource name of the SecurityMarks. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
# Examples:
- # "organizations/123/assets/456/securityMarks"
- # "organizations/123/sources/456/findings/789/securityMarks".
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
+ # securityMarks".
# @param [Google::Apis::SecuritycenterV1::SecurityMarks] security_marks_object
# @param [String] start_time
# The time at which the updated SecurityMarks take effect.
# If not set uses current server time. Updates will be applied to the
# SecurityMarks that are active immediately preceding this time.