Returns the assets Resource.
Returns the operations Resource.
Returns the sources Resource.
getOrganizationSettings(name, x__xgafv=None)
Gets the settings for an organization.
updateOrganizationSettings(name, body, updateMask=None, x__xgafv=None)
Updates an organization's settings.
getOrganizationSettings(name, x__xgafv=None)
Gets the settings for an organization. Args: name: string, Name of the organization to get organization settings for. Its format is "organizations/[organization_id]/organizationSettings". (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # User specified settings that are attached to the Cloud Security Command # Center (Cloud SCC) organization. "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. "projectIds": [ # The project ids to use for filtering asset discovery. "A String", ], "inclusionMode": "A String", # The mode to use for filtering asset discovery. }, "name": "A String", # The relative resource name of the settings. See: # https://cloud.google.com/apis/design/resource_names#relative_resource_name # Example: # "organizations/123/organizationSettings". "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is # set to `true`, then discovery of assets will occur. If it is set to `false, # all historical assets will remain, but discovery of future assets will not # occur. }
updateOrganizationSettings(name, body, updateMask=None, x__xgafv=None)
Updates an organization's settings. Args: name: string, The relative resource name of the settings. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/123/organizationSettings". (required) body: object, The request body. (required) The object takes the form of: { # User specified settings that are attached to the Cloud Security Command # Center (Cloud SCC) organization. "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. "projectIds": [ # The project ids to use for filtering asset discovery. "A String", ], "inclusionMode": "A String", # The mode to use for filtering asset discovery. }, "name": "A String", # The relative resource name of the settings. See: # https://cloud.google.com/apis/design/resource_names#relative_resource_name # Example: # "organizations/123/organizationSettings". "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is # set to `true`, then discovery of assets will occur. If it is set to `false, # all historical assets will remain, but discovery of future assets will not # occur. } updateMask: string, The FieldMask to use when updating the settings resource. If empty all mutable fields will be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # User specified settings that are attached to the Cloud Security Command # Center (Cloud SCC) organization. "assetDiscoveryConfig": { # The configuration used for Asset Discovery runs. # The configuration used for Asset Discovery runs. "projectIds": [ # The project ids to use for filtering asset discovery. "A String", ], "inclusionMode": "A String", # The mode to use for filtering asset discovery. }, "name": "A String", # The relative resource name of the settings. See: # https://cloud.google.com/apis/design/resource_names#relative_resource_name # Example: # "organizations/123/organizationSettings". "enableAssetDiscovery": True or False, # A flag that indicates if Asset Discovery should be enabled. If the flag is # set to `true`, then discovery of assets will occur. If it is set to `false, # all historical assets will remain, but discovery of future assets will not # occur. }