generated/google/apis/securitycenter_v1/service.rb in google-api-client-0.31.0 vs generated/google/apis/securitycenter_v1/service.rb in google-api-client-0.32.0
- old
+ new
@@ -48,11 +48,12 @@
@batch_path = 'batch'
end
# Gets the settings for an organization.
# @param [String] name
- # Name of the organization to get organization settings for. Its format is
+ # Required. Name of the organization to get organization settings for. Its
+ # format is
# "organizations/[organization_id]/organizationSettings".
# @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
@@ -120,11 +121,11 @@
end
# Filters an organization's assets and groups them by their specified
# properties.
# @param [String] parent
- # Name of the organization to groupBy. Its format is
+ # Required. Name of the organization to groupBy. Its format is
# "organizations/[organization_id]".
# @param [Google::Apis::SecuritycenterV1::GroupAssetsRequest] group_assets_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -154,11 +155,11 @@
execute_or_queue_command(command, &block)
end
# Lists an organization's assets.
# @param [String] parent
- # Name of the organization assets should belong to. Its format is
+ # Required. Name of the organization assets should belong to. Its format is
# "organizations/[organization_id]".
# @param [String] compare_duration
# When compare_duration is set, the ListAssetsResult's "state_change"
# attribute is updated to indicate whether the asset was added, removed, or
# remained present during the compare_duration period of time that precedes
@@ -293,11 +294,11 @@
# operation.
# This API can only be called with limited frequency for an organization. If
# it is called too frequently the caller will receive a TOO_MANY_REQUESTS
# error.
# @param [String] parent
- # Name of the organization to run asset discovery for. Its format is
+ # Required. Name of the organization to run asset discovery for. Its format is
# "organizations/[organization_id]".
# @param [Google::Apis::SecuritycenterV1::RunAssetDiscoveryRequest] run_asset_discovery_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -526,11 +527,11 @@
execute_or_queue_command(command, &block)
end
# Creates a source.
# @param [String] parent
- # Resource name of the new source's parent. Its format should be
+ # Required. Resource name of the new source's parent. Its format should be
# "organizations/[organization_id]".
# @param [Google::Apis::SecuritycenterV1::Source] source_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -560,11 +561,11 @@
execute_or_queue_command(command, &block)
end
# Gets a source.
# @param [String] name
- # Relative resource name of the source. Its format is
+ # Required. Relative resource name of the source. Its format is
# "organizations/[organization_id]/source/[source_id]".
# @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
@@ -625,11 +626,11 @@
execute_or_queue_command(command, &block)
end
# Lists all sources belonging to an organization.
# @param [String] parent
- # Resource name of the parent of sources to list. Its format should be
+ # Required. Resource name of the parent of sources to list. Its format should be
# "organizations/[organization_id]".
# @param [Fixnum] page_size
# The maximum number of results to return in a single response. Default is
# 10, minimum is 1, maximum is 1000.
# @param [String] page_token
@@ -774,15 +775,15 @@
end
# Creates a finding. The corresponding source must exist for finding creation
# to succeed.
# @param [String] parent
- # Resource name of the new finding's parent. Its format should be
+ # Required. Resource name of the new finding's parent. Its format should be
# "organizations/[organization_id]/sources/[source_id]".
# @param [Google::Apis::SecuritycenterV1::Finding] finding_object
# @param [String] finding_id
- # Unique identifier provided by the client within the parent scope.
+ # Required. Unique identifier provided by the client within the parent scope.
# It must be alphanumeric and less than or equal to 32 characters and
# greater than 0 characters in length.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -816,11 +817,11 @@
# 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
# @param [String] parent
- # Name of the source to groupBy. Its format is
+ # 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/-
# @param [Google::Apis::SecuritycenterV1::GroupFindingsRequest] group_findings_request_object
# @param [String] fields
@@ -854,11 +855,11 @@
# Lists an organization or source's findings.
# To list across all sources provide a `-` as the source id.
# Example: /v1/organizations/123/sources/-/findings
# @param [String] parent
- # Name of the source the findings belong to. Its format is
+ # 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/-
# @param [String] compare_duration
# When compare_duration is set, the ListFindingsResult's "state_change"
@@ -1027,10 +1028,10 @@
execute_or_queue_command(command, &block)
end
# Updates the state of a finding.
# @param [String] name
- # The relative resource name of the finding. See:
+ # 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".
# @param [Google::Apis::SecuritycenterV1::SetFindingStateRequest] set_finding_state_request_object
# @param [String] fields