diff --git a/google/cloud/securitycenter_v1/gapic/enums.py b/google/cloud/securitycenter_v1/gapic/enums.py index 4c1d9277..7a314985 100644 --- a/google/cloud/securitycenter_v1/gapic/enums.py +++ b/google/cloud/securitycenter_v1/gapic/enums.py @@ -21,8 +21,8 @@ class NullValue(enum.IntEnum): """ - ``NullValue`` is a singleton enumeration to represent the null value for - the ``Value`` type union. + ``NullValue`` is a singleton enumeration to represent the null value + for the ``Value`` type union. The JSON representation for ``NullValue`` is JSON ``null``. @@ -58,7 +58,7 @@ class StateChange(enum.IntEnum): When querying across two points in time this describes the change between the two points: ADDED, REMOVED, or ACTIVE. If there was no - compare\_duration supplied in the request the state change will be: + compare_duration supplied in the request the state change will be: UNUSED Attributes: @@ -84,7 +84,7 @@ class StateChange(enum.IntEnum): finding between the two points: CHANGED, UNCHANGED, ADDED, or REMOVED. Findings can not be deleted, so REMOVED implies that the finding at timestamp does not match the filter specified, but it did at timestamp - - compare\_duration. If there was no compare\_duration supplied in the + compare_duration. If there was no compare_duration supplied in the request the state change will be: UNUSED Attributes: @@ -94,8 +94,8 @@ class StateChange(enum.IntEnum): UNCHANGED (int): The finding has not changed state between the points in time and existed at both points. ADDED (int): The finding was created between the points in time. - REMOVED (int): The finding at timestamp does not match the filter specified, but it did - at timestamp - compare\_duration. + REMOVED (int): The finding at timestamp does not match the filter specified, but it + did at timestamp - compare_duration. """ UNUSED = 0 @@ -109,9 +109,9 @@ class OrganizationSettings(object): class AssetDiscoveryConfig(object): class InclusionMode(enum.IntEnum): """ - The mode of inclusion when running Asset Discovery. Asset discovery can - be limited by explicitly identifying projects to be included or - excluded. If INCLUDE\_ONLY is set, then only those projects within the + The mode of inclusion when running Asset Discovery. Asset discovery + can be limited by explicitly identifying projects to be included or + excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects diff --git a/google/cloud/securitycenter_v1/gapic/security_center_client.py b/google/cloud/securitycenter_v1/gapic/security_center_client.py index 0c66279c..b14a83bd 100644 --- a/google/cloud/securitycenter_v1/gapic/security_center_client.py +++ b/google/cloud/securitycenter_v1/gapic/security_center_client.py @@ -403,25 +403,25 @@ def group_assets( Args: parent (str): Required. Name of the organization to groupBy. Its format is - "organizations/[organization\_id]". + "organizations/[organization_id]". group_by (str): Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: - "security\_center\_properties.resource\_project,security\_center\_properties.project". + "security_center_properties.resource_project,security_center_properties.project". - The following fields are supported when compare\_duration is not set: + The following fields are supported when compare_duration is not set: - - security\_center\_properties.resource\_project - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent - - security\_center\_properties.resource\_parent\_display\_name + - security_center_properties.resource_project + - security_center_properties.resource_project_display_name + - security_center_properties.resource_type + - security_center_properties.resource_parent + - security_center_properties.resource_parent_display_name - The following fields are supported when compare\_duration is set: + The following fields are supported when compare_duration is set: - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_parent\_display\_name + - security_center_properties.resource_type + - security_center_properties.resource_project_display_name + - security_center_properties.resource_parent_display_name filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -432,9 +432,9 @@ def group_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -452,68 +452,67 @@ def group_assets( - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - update_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" "update\_time - = 1560208038000" + Examples: "update_time = "2019-06-10T16:07:18-07:00"" "update_time = + 1560208038000" - - create\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "create\_time = "2019-06-10T16:07:18-07:00"" "create\_time - = 1560208038000" + Examples: "create_time = "2019-06-10T16:07:18-07:00"" "create_time = + 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` + - iam_policy.policy_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` + - security_center_properties.resource_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, ``:`` + - security_center_properties.resource_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_type: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - - security\_center\_properties.resource\_parent: ``=``, ``:`` + - security_center_properties.resource_parent: ``=``, ``:`` - - security\_center\_properties.resource\_parent\_display\_name: ``=``, - ``:`` + - security_center_properties.resource_parent_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` + - security_center_properties.resource_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: ``=``, + - security_center_properties.resource_project_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` + - security_center_properties.resource_owners: ``=``, ``:`` For example, ``resource_properties.size = 100`` is a valid filter string. - compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.Duration]): When compare\_duration is set, the GroupResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.Duration]): When compare_duration is set, the GroupResult's "state_change" property is updated to indicate whether the asset was added, removed, or - remained present during the compare\_duration period of time that - precedes the read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + remained present during the compare_duration period of time that + precedes the read_time. This is the time between (read_time - + compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "ADDED": indicates that the asset was not present at the start of - compare\_duration, but present at reference\_time. + compare_duration, but present at reference_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at reference\_time. + compare_duration, but not present at reference_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - reference\_time. + the end of the time period defined by compare_duration and + reference_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - assets present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + assets present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. @@ -614,11 +613,11 @@ def group_findings( metadata=None, ): """ - Filters an organization or source's findings and groups them by their - specified properties. + 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/{organization\_id}/sources/-/findings + /v1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1 @@ -646,23 +645,24 @@ def group_findings( Args: parent (str): 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/{organization\_id}/sources/- - group_by (str): Required. Expression that defines what assets fields to use for grouping - (including ``state_change``). The string value should follow SQL syntax: - comma separated list of fields. For example: "parent,resource\_name". + "organizations/[organization_id]/sources/[source_id]". To groupBy across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- + group_by (str): Required. Expression that defines what assets fields to use for + grouping (including ``state_change``). The string value should follow + SQL syntax: comma separated list of fields. For example: + "parent,resource_name". The following fields are supported: - - resource\_name + - resource_name - category - state - parent - The following fields are supported when compare\_duration is set: + The following fields are supported when compare_duration is set: - - state\_change + - state_change filter_ (str): Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -672,8 +672,8 @@ def group_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -693,23 +693,23 @@ def group_findings( - parent: ``=``, ``:`` - - resource\_name: ``=``, ``:`` + - resource_name: ``=``, ``:`` - state: ``=``, ``:`` - category: ``=``, ``:`` - - external\_uri: ``=``, ``:`` + - external_uri: ``=``, ``:`` - - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = + Examples: "event_time = "2019-06-10T16:07:18-07:00"" "event_time = 1560208038000" - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - source\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. read_time (Union[dict, ~google.cloud.securitycenter_v1.types.Timestamp]): Time used as a reference point when filtering findings. The filter is @@ -719,36 +719,36 @@ def group_findings( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.Duration]): When compare\_duration is set, the GroupResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.Duration]): When compare_duration is set, the GroupResult'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 during the compare\_duration period of time that precedes the - read\_time. This is the time between (read\_time - compare\_duration) - and read\_time. + added during the compare_duration period of time that precedes the + read_time. This is the time between (read_time - compare_duration) and + read_time. - The state\_change value is derived based on the presence and state of - the finding at the two points in time. Intermediate state changes - between the two times don't affect the result. For example, the results - aren't affected if the finding is made inactive and then active again. + The state_change value is derived based on the presence and state of the + finding at the two points in time. Intermediate state changes between + the two times don't affect the result. For example, the results aren't + affected if the finding is made inactive and then active again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "CHANGED": indicates that the finding was present and matched the - given filter at the start of compare\_duration, but changed its state - at read\_time. + given filter at the start of compare_duration, but changed its state + at read_time. - "UNCHANGED": indicates that the finding was present and matched the - given filter at the start of compare\_duration and did not change - state at read\_time. + given filter at the start of compare_duration and did not change + state at read_time. - "ADDED": indicates that the finding did not match the given filter or - was not present at the start of compare\_duration, but was present at - read\_time. + was not present at the start of compare_duration, but was present at + read_time. - "REMOVED": indicates that the finding was present and matched the - filter at the start of compare\_duration, but did not match the - filter at read\_time. + filter at the start of compare_duration, but did not match the filter + at read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - findings present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + findings present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. @@ -856,8 +856,8 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. - permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with - wildcards (such as '*' or 'storage.*') are not allowed. For more + permissions (list[str]): The set of permissions to check for the ``resource``. Permissions + with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM Overview `__. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -934,9 +934,9 @@ def create_source( >>> response = client.create_source(parent, source) Args: - parent (str): Required. Resource name of the new source's parent. Its format should be - "organizations/[organization\_id]". - source (Union[dict, ~google.cloud.securitycenter_v1.types.Source]): Required. The Source being created, only the display\_name and + parent (str): Required. Resource name of the new source's parent. Its format + should be "organizations/[organization_id]". + source (Union[dict, ~google.cloud.securitycenter_v1.types.Source]): Required. The Source being created, only the display_name and description will be used. All other fields will be ignored. If a dict is provided, it must be of the same form as the protobuf @@ -1020,13 +1020,13 @@ def create_finding( >>> response = client.create_finding(parent, finding_id, finding) Args: - parent (str): Required. Resource name of the new finding's parent. Its format should - be "organizations/[organization\_id]/sources/[source\_id]". + parent (str): Required. Resource name of the new finding's parent. Its format + should be "organizations/[organization_id]/sources/[source_id]". finding_id (str): 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. - finding (Union[dict, ~google.cloud.securitycenter_v1.types.Finding]): Required. The Finding being created. The name and security\_marks will - be ignored as they are both output only fields on this resource. + finding (Union[dict, ~google.cloud.securitycenter_v1.types.Finding]): Required. The Finding being created. The name and security_marks + will be ignored as they are both output only fields on this resource. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Finding` @@ -1109,7 +1109,7 @@ def create_notification_config( Args: parent (str): Required. Resource name of the new notification config's parent. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". config_id (str): Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric @@ -1193,7 +1193,7 @@ def delete_notification_config( Args: name (str): Required. Name of the notification config to delete. Its format is - "organizations/[organization\_id]/notificationConfigs/[config\_id]". + "organizations/[organization_id]/notificationConfigs/[config_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1262,7 +1262,7 @@ def get_notification_config( Args: name (str): Required. Name of the notification config to get. Its format is - "organizations/[organization\_id]/notificationConfigs/[config\_id]". + "organizations/[organization_id]/notificationConfigs/[config_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1331,8 +1331,8 @@ def get_organization_settings( >>> response = client.get_organization_settings(name) Args: - name (str): Required. Name of the organization to get organization settings for. Its - format is "organizations/[organization\_id]/organizationSettings". + name (str): Required. Name of the organization to get organization settings for. + Its format is "organizations/[organization_id]/organizationSettings". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1402,7 +1402,7 @@ def get_source( Args: name (str): Required. Relative resource name of the source. Its format is - "organizations/[organization\_id]/source/[source\_id]". + "organizations/[organization_id]/source/[source_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1489,8 +1489,8 @@ def list_assets( ... pass Args: - parent (str): Required. Name of the organization assets should belong to. Its format - is "organizations/[organization\_id]". + parent (str): Required. Name of the organization assets should belong to. Its + format is "organizations/[organization_id]". filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -1501,9 +1501,9 @@ def list_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1521,63 +1521,60 @@ def list_assets( - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - update_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" "update\_time - = 1560208038000" + Examples: "update_time = "2019-06-10T16:07:18-07:00"" "update_time = + 1560208038000" - - create\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "create\_time = "2019-06-10T16:07:18-07:00"" "create\_time - = 1560208038000" + Examples: "create_time = "2019-06-10T16:07:18-07:00"" "create_time = + 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` + - iam_policy.policy_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` + - security_center_properties.resource_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, ``:`` + - security_center_properties.resource_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_type: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - - security\_center\_properties.resource\_parent: ``=``, ``:`` + - security_center_properties.resource_parent: ``=``, ``:`` - - security\_center\_properties.resource\_parent\_display\_name: ``=``, - ``:`` + - security_center_properties.resource_parent_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` + - security_center_properties.resource_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: ``=``, + - security_center_properties.resource_project_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` + - security_center_properties.resource_owners: ``=``, ``:`` For example, ``resource_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,resource\_properties.a\_property". Redundant space characters in - the syntax are insignificant. "name - desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. - - The following fields are supported: name update\_time - resource\_properties security\_marks.marks - security\_center\_properties.resource\_name - security\_center\_properties.resource\_display\_name - security\_center\_properties.resource\_parent - security\_center\_properties.resource\_parent\_display\_name - security\_center\_properties.resource\_project - security\_center\_properties.resource\_project\_display\_name - security\_center\_properties.resource\_type + desc,resource_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,resource_properties.a_property" and + " name desc , resource_properties.a_property " are equivalent. + + The following fields are supported: name update_time resource_properties + security_marks.marks security_center_properties.resource_name + security_center_properties.resource_display_name + security_center_properties.resource_parent + security_center_properties.resource_parent_display_name + security_center_properties.resource_project + security_center_properties.resource_project_display_name + security_center_properties.resource_type read_time (Union[dict, ~google.cloud.securitycenter_v1.types.Timestamp]): Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of @@ -1585,30 +1582,29 @@ def list_assets( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.Duration]): When compare\_duration is set, the ListAssetsResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.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 the read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + or remained present during the compare_duration period of time that + precedes the read_time. This is the time between (read_time - + compare_duration) and read_time. - The state\_change value is derived based on the presence of the asset at + The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "ADDED": indicates that the asset was not present at the start of - compare\_duration, but present at read\_time. + compare_duration, but present at read_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. + compare_duration, but not present at read_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. + the end of the time period defined by compare_duration and read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - assets present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + assets present at read_time. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Duration` @@ -1709,7 +1705,7 @@ def list_findings( Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1/organizations/{organization\_id}/sources/-/findings + /v1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1 @@ -1734,9 +1730,9 @@ def list_findings( Args: parent (str): 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/{organization\_id}/sources/- + "organizations/[organization_id]/sources/[source_id]". To list across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter_ (str): Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -1746,8 +1742,8 @@ def list_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1763,29 +1759,29 @@ def list_findings( The following field and operator combinations are supported: - name: ``=`` parent: ``=``, ``:`` resource\_name: ``=``, ``:`` state: - ``=``, ``:`` category: ``=``, ``:`` external\_uri: ``=``, ``:`` - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + name: ``=`` parent: ``=``, ``:`` resource_name: ``=``, ``:`` state: + ``=``, ``:`` category: ``=``, ``:`` external_uri: ``=``, ``:`` + event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = + Examples: "event_time = "2019-06-10T16:07:18-07:00"" "event_time = 1560208038000" - security\_marks.marks: ``=``, ``:`` source\_properties: ``=``, ``:``, + security_marks.marks: ``=``, ``:`` source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,source\_properties.a\_property". Redundant space characters in the - syntax are insignificant. "name desc,source\_properties.a\_property" and - " name desc , source\_properties.a\_property " are equivalent. + desc,source_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,source_properties.a_property" and " + name desc , source_properties.a_property " are equivalent. The following fields are supported: name parent state category - resource\_name event\_time source\_properties security\_marks.marks + resource_name event_time source_properties security_marks.marks read_time (Union[dict, ~google.cloud.securitycenter_v1.types.Timestamp]): Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the @@ -1793,36 +1789,36 @@ def list_findings( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.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 read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + compare_duration (Union[dict, ~google.cloud.securitycenter_v1.types.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 read_time. This is the time between (read_time - + compare_duration) and read_time. - The state\_change value is derived based on the presence and state of - the finding at the two points in time. Intermediate state changes - between the two times don't affect the result. For example, the results - aren't affected if the finding is made inactive and then active again. + The state_change value is derived based on the presence and state of the + finding at the two points in time. Intermediate state changes between + the two times don't affect the result. For example, the results aren't + affected if the finding is made inactive and then active again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "CHANGED": indicates that the finding was present and matched the - given filter at the start of compare\_duration, but changed its state - at read\_time. + given filter at the start of compare_duration, but changed its state + at read_time. - "UNCHANGED": indicates that the finding was present and matched the - given filter at the start of compare\_duration and did not change - state at read\_time. + given filter at the start of compare_duration and did not change + state at read_time. - "ADDED": indicates that the finding did not match the given filter or - was not present at the start of compare\_duration, but was present at - read\_time. + was not present at the start of compare_duration, but was present at + read_time. - "REMOVED": indicates that the finding was present and matched the - filter at the start of compare\_duration, but did not match the - filter at read\_time. + filter at the start of compare_duration, but did not match the filter + at read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - findings present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + findings present at read_time. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.Duration` @@ -1940,7 +1936,7 @@ def list_notification_configs( Args: parent (str): Required. Name of the organization to list notification configs. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -2044,7 +2040,7 @@ def list_sources( Args: parent (str): Required. Resource name of the parent of sources to list. Its format - should be "organizations/[organization\_id]". + should be "organizations/[organization_id]". page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -2127,7 +2123,7 @@ def run_asset_discovery( 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. + TOO_MANY_REQUESTS error. Example: >>> from google.cloud import securitycenter_v1 @@ -2149,7 +2145,7 @@ def run_asset_discovery( Args: parent (str): Required. Name of the organization to run asset discovery for. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2234,9 +2230,9 @@ def set_finding_state( Args: name (str): Required. The relative resource name of the finding. See: - https://cloud.google.com/apis/design/resource\_names#relative\_resource\_name + https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - "organizations/{organization\_id}/sources/{source\_id}/finding/{finding\_id}". + "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". state (~google.cloud.securitycenter_v1.types.State): Required. The desired State of the finding. start_time (Union[dict, ~google.cloud.securitycenter_v1.types.Timestamp]): Required. The time at which the updated state takes effect. @@ -2398,8 +2394,7 @@ def update_finding( Args: finding (Union[dict, ~google.cloud.securitycenter_v1.types.Finding]): Required. The finding resource to update or create if it does not - already exist. parent, security\_marks, and update\_time will be - ignored. + already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must be alphanumeric and less than or equal to 32 characters and greater than 0 @@ -2411,9 +2406,9 @@ def update_finding( should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all - mutable fields and replacing source\_properties. Individual - source\_properties can be added/updated by using "source\_properties." - in the field mask. + mutable fields and replacing source_properties. Individual + source_properties can be added/updated by using "source_properties." in + the field mask. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.FieldMask` @@ -2750,7 +2745,7 @@ def update_security_marks( The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated - using "marks.". + using "marks.". If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1.types.FieldMask` diff --git a/google/cloud/securitycenter_v1/gapic/transports/security_center_grpc_transport.py b/google/cloud/securitycenter_v1/gapic/transports/security_center_grpc_transport.py index 8f9c9e15..943e699d 100644 --- a/google/cloud/securitycenter_v1/gapic/transports/security_center_grpc_transport.py +++ b/google/cloud/securitycenter_v1/gapic/transports/security_center_grpc_transport.py @@ -151,11 +151,11 @@ def group_assets(self): def group_findings(self): """Return the gRPC stub for :meth:`SecurityCenterClient.group_findings`. - Filters an organization or source's findings and groups them by their - specified properties. + 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/{organization\_id}/sources/-/findings + /v1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -289,7 +289,7 @@ def list_findings(self): Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1/organizations/{organization\_id}/sources/-/findings + /v1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -333,7 +333,7 @@ def run_asset_discovery(self): 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. + TOO_MANY_REQUESTS error. Returns: Callable: A callable which accepts the appropriate diff --git a/google/cloud/securitycenter_v1/proto/asset_pb2.py b/google/cloud/securitycenter_v1/proto/asset_pb2.py index 43386120..555b1cdd 100644 --- a/google/cloud/securitycenter_v1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1/proto/asset_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/asset.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -28,12 +25,8 @@ name="google/cloud/securitycenter_v1/proto/asset.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n0google/cloud/securitycenter_v1/proto/asset.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x92\x07\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x62\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32>.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties\x12Z\n\x13resource_properties\x18\x07 \x03(\x0b\x32=.google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry\x12\x45\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\niam_policy\x18\x0b \x01(\x0b\x32/.google.cloud.securitycenter.v1.Asset.IamPolicy\x1a\x80\x02\n\x18SecurityCenterProperties\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x12\x1d\n\x15resource_display_name\x18\x06 \x01(\t\x12$\n\x1cresource_parent_display_name\x18\x07 \x01(\t\x12%\n\x1dresource_project_display_name\x18\x08 \x01(\t\x1a \n\tIamPolicy\x12\x13\n\x0bpolicy_blob\x18\x01 \x01(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:U\xea\x41R\n#securitycenter.googleapis.com/Asset\x12+organizations/{organization}/assets/{asset}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n0google/cloud/securitycenter_v1/proto/asset.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x92\x07\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x62\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32>.google.cloud.securitycenter.v1.Asset.SecurityCenterProperties\x12Z\n\x13resource_properties\x18\x07 \x03(\x0b\x32=.google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry\x12\x45\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\niam_policy\x18\x0b \x01(\x0b\x32/.google.cloud.securitycenter.v1.Asset.IamPolicy\x1a\x80\x02\n\x18SecurityCenterProperties\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x12\x1d\n\x15resource_display_name\x18\x06 \x01(\t\x12$\n\x1cresource_parent_display_name\x18\x07 \x01(\t\x12%\n\x1dresource_project_display_name\x18\x08 \x01(\t\x1a \n\tIamPolicy\x12\x13\n\x0bpolicy_blob\x18\x01 \x01(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:U\xea\x41R\n#securitycenter.googleapis.com/Asset\x12+organizations/{organization}/assets/{asset}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -60,7 +53,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -78,7 +71,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -96,7 +89,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -114,7 +107,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -150,7 +143,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -168,7 +161,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -186,7 +179,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -224,7 +217,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -262,7 +255,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -293,7 +286,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -318,7 +311,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -443,9 +436,7 @@ _ASSET_RESOURCEPROPERTIESENTRY, ], enum_types=[], - serialized_options=_b( - "\352AR\n#securitycenter.googleapis.com/Asset\022+organizations/{organization}/assets/{asset}" - ), + serialized_options=b"\352AR\n#securitycenter.googleapis.com/Asset\022+organizations/{organization}/assets/{asset}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -484,21 +475,23 @@ Asset = _reflection.GeneratedProtocolMessageType( "Asset", (_message.Message,), - dict( - SecurityCenterProperties=_reflection.GeneratedProtocolMessageType( + { + "SecurityCenterProperties": _reflection.GeneratedProtocolMessageType( "SecurityCenterProperties", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, - __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed by Cloud - SCC and cannot be modified by the user. + { + "DESCRIPTOR": _ASSET_SECURITYCENTERPROPERTIES, + "__module__": "google.cloud.securitycenter_v1.proto.asset_pb2", + "__doc__": """Cloud SCC managed properties. These properties are managed + by Cloud SCC and cannot be modified by the user. + + Attributes: resource_name: The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: ht - tps://cloud.google.com/apis/design/resource\_names#full\_resou - rce\_name + tps://cloud.google.com/apis/design/resource_names#full_resourc + e_name resource_type: The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field @@ -506,12 +499,12 @@ is immutable after create time. resource_parent: The full resource name of the immediate parent of the - resource. See: https://cloud.google.com/apis/design/resource\_ - names#full\_resource\_name + resource. See: https://cloud.google.com/apis/design/resource_n + ames#full_resource_name resource_project: The full resource name of the project the resource belongs to. - See: https://cloud.google.com/apis/design/resource\_names#full - \_resource\_name + See: https://cloud.google.com/apis/design/resource_names#full_ + resource_name resource_owners: Owners of the Google Cloud resource. resource_display_name: @@ -523,17 +516,19 @@ resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset.SecurityCenterProperties) - ), + }, ), - IamPolicy=_reflection.GeneratedProtocolMessageType( + "IamPolicy": _reflection.GeneratedProtocolMessageType( "IamPolicy", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_IAMPOLICY, - __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""IAM Policy information associated with the GCP resource described by - the Cloud SCC asset. This information is managed and defined by the - GCP resource and cannot be modified by the user. + { + "DESCRIPTOR": _ASSET_IAMPOLICY, + "__module__": "google.cloud.securitycenter_v1.proto.asset_pb2", + "__doc__": """IAM Policy information associated with the GCP resource + described by the Cloud SCC asset. This information is managed and + defined by the GCP resource and cannot be modified by the user. + + Attributes: policy_blob: The JSON representation of the Policy associated with the @@ -542,30 +537,32 @@ format details. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset.IamPolicy) - ), + }, ), - ResourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + "ResourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "ResourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_RESOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1.proto.asset_pb2" + { + "DESCRIPTOR": _ASSET_RESOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1.proto.asset_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset.ResourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_ASSET, - __module__="google.cloud.securitycenter_v1.proto.asset_pb2", - __doc__="""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 GCP resource. All modifications to - an Asset are only within the context of Cloud SCC and don't affect the - referenced GCP resource. + "DESCRIPTOR": _ASSET, + "__module__": "google.cloud.securitycenter_v1.proto.asset_pb2", + "__doc__": """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 GCP resource. All modifications to an Asset are only within the + context of Cloud SCC and don’t affect the referenced GCP resource. + + Attributes: name: The relative resource name of this asset. See: https://cloud.g - oogle.com/apis/design/resource\_names#relative\_resource\_name - Example: - "organizations/{organization\_id}/assets/{asset\_id}". + oogle.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/assets/{asset_id}”. security_center_properties: Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user. @@ -589,7 +586,7 @@ user. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Asset) - ), + }, ) _sym_db.RegisterMessage(Asset) _sym_db.RegisterMessage(Asset.SecurityCenterProperties) diff --git a/google/cloud/securitycenter_v1/proto/finding_pb2.py b/google/cloud/securitycenter_v1/proto/finding_pb2.py index ed48cfe9..81b4c0e0 100644 --- a/google/cloud/securitycenter_v1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1/proto/finding_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/finding.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -29,12 +26,8 @@ name="google/cloud/securitycenter_v1/proto/finding.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n2google/cloud/securitycenter_v1/proto/finding.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12X\n\x11source_properties\x18\x07 \x03(\x0b\x32=.google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry\x12J\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n2google/cloud/securitycenter_v1/proto/finding.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa4\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12<\n\x05state\x18\x04 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12X\n\x11source_properties\x18\x07 \x03(\x0b\x32=.google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry\x12J\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, @@ -90,7 +83,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -121,7 +114,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -146,7 +139,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -164,7 +157,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -182,7 +175,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -218,7 +211,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -236,7 +229,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -278,7 +271,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -321,9 +314,7 @@ extensions=[], nested_types=[_FINDING_SOURCEPROPERTIESENTRY,], enum_types=[_FINDING_STATE,], - serialized_options=_b( - "\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}" - ), + serialized_options=b"\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -358,49 +349,51 @@ Finding = _reflection.GeneratedProtocolMessageType( "Finding", (_message.Message,), - dict( - SourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "SourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "SourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_FINDING_SOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1.proto.finding_pb2" + { + "DESCRIPTOR": _FINDING_SOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1.proto.finding_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_FINDING, - __module__="google.cloud.securitycenter_v1.proto.finding_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) finding. A finding is a - record of assessment data like security, risk, health, or privacy, - that is ingested into Cloud SCC for presentation, notification, + "DESCRIPTOR": _FINDING, + "__module__": "google.cloud.securitycenter_v1.proto.finding_pb2", + "__doc__": """Cloud Security Command Center (Cloud SCC) finding. + + A finding is a record of assessment data like security, risk, health, or + privacy, that is ingested into Cloud SCC for presentation, notification, analysis, policy testing, and enforcement. For example, a cross-site - scripting (XSS) vulnerability in an App Engine application is a - finding. + scripting (XSS) vulnerability in an App Engine application is a finding. + + Attributes: name: The relative resource name of this finding. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: "organizations/{organization\_id}/sources/{source\ - _id}/findings/{finding\_id}" + .google.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/sources/{source_id}/ + findings/{finding_id}” parent: 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}" + to. See: https://cloud.google.com/apis/design/resource_names#r + elative_resource_name This field is immutable after creation + time. For example: + “organizations/{organization_id}/sources/{source_id}” resource_name: 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. + 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. state: The state of the finding. category: The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: - "XSS\_FLASH\_INJECTION" + “XSS_FLASH_INJECTION” external_uri: The URI that, if available, points to a web page outside of Cloud SCC where additional information about the finding can @@ -409,7 +402,7 @@ source_properties: 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, + source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only. security_marks: @@ -425,7 +418,7 @@ The time at which the finding was created in Cloud SCC. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Finding) - ), + }, ) _sym_db.RegisterMessage(Finding) _sym_db.RegisterMessage(Finding.SourcePropertiesEntry) diff --git a/google/cloud/securitycenter_v1/proto/notification_config_pb2.py b/google/cloud/securitycenter_v1/proto/notification_config_pb2.py index 94a0ff8c..fddfbd8f 100644 --- a/google/cloud/securitycenter_v1/proto/notification_config_pb2.py +++ b/google/cloud/securitycenter_v1/proto/notification_config_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/notification_config.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -24,12 +21,8 @@ name="google/cloud/securitycenter_v1/proto/notification_config.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1B\027NotificationConfigProtoP\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1\352A@\n\033pubsub.googleapis.com/Topic\022!projects/{project}/topics/{topic}' - ), - serialized_pb=_b( - '\n>google/cloud/securitycenter_v1/proto/notification_config.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto"\xa0\x03\n\x12NotificationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x36\n\x0cpubsub_topic\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x1c\n\x0fservice_account\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12^\n\x10streaming_config\x18\x05 \x01(\x0b\x32\x42.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfigH\x00\x1a!\n\x0fStreamingConfig\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t:}\xea\x41z\n0securitycenter.googleapis.com/NotificationConfig\x12\x46organizations/{organization}/notificationConfigs/{notification_config}B\x0f\n\rnotify_configB\xb6\x02\n"com.google.cloud.securitycenter.v1B\x17NotificationConfigProtoP\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1B\027NotificationConfigProtoP\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1\352A@\n\033pubsub.googleapis.com/Topic\022!projects/{project}/topics/{topic}', + serialized_pb=b'\n>google/cloud/securitycenter_v1/proto/notification_config.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto"\xa0\x03\n\x12NotificationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x36\n\x0cpubsub_topic\x18\x03 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x1c\n\x0fservice_account\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12^\n\x10streaming_config\x18\x05 \x01(\x0b\x32\x42.google.cloud.securitycenter.v1.NotificationConfig.StreamingConfigH\x00\x1a!\n\x0fStreamingConfig\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t:}\xea\x41z\n0securitycenter.googleapis.com/NotificationConfig\x12\x46organizations/{organization}/notificationConfigs/{notification_config}B\x0f\n\rnotify_configB\xb6\x02\n"com.google.cloud.securitycenter.v1B\x17NotificationConfigProtoP\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, @@ -54,7 +47,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -92,7 +85,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -110,7 +103,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -128,13 +121,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\372A\035\n\033pubsub.googleapis.com/Topic"), + serialized_options=b"\372A\035\n\033pubsub.googleapis.com/Topic", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -146,13 +139,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -177,9 +170,7 @@ extensions=[], nested_types=[_NOTIFICATIONCONFIG_STREAMINGCONFIG,], enum_types=[], - serialized_options=_b( - "\352Az\n0securitycenter.googleapis.com/NotificationConfig\022Forganizations/{organization}/notificationConfigs/{notification_config}" - ), + serialized_options=b"\352Az\n0securitycenter.googleapis.com/NotificationConfig\022Forganizations/{organization}/notificationConfigs/{notification_config}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -212,15 +203,17 @@ NotificationConfig = _reflection.GeneratedProtocolMessageType( "NotificationConfig", (_message.Message,), - dict( - StreamingConfig=_reflection.GeneratedProtocolMessageType( + { + "StreamingConfig": _reflection.GeneratedProtocolMessageType( "StreamingConfig", (_message.Message,), - dict( - DESCRIPTOR=_NOTIFICATIONCONFIG_STREAMINGCONFIG, - __module__="google.cloud.securitycenter_v1.proto.notification_config_pb2", - __doc__="""The config for streaming-based notifications, which send each event as - soon as it is detected. + { + "DESCRIPTOR": _NOTIFICATIONCONFIG_STREAMINGCONFIG, + "__module__": "google.cloud.securitycenter_v1.proto.notification_config_pb2", + "__doc__": """The config for streaming-based notifications, which send + each event as soon as it is detected. + + Attributes: filter: Expression that defines the filter to apply across @@ -239,29 +232,33 @@ literals ``true`` and ``false`` without quotes. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.NotificationConfig.StreamingConfig) - ), + }, ), - DESCRIPTOR=_NOTIFICATIONCONFIG, - __module__="google.cloud.securitycenter_v1.proto.notification_config_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) notification configs. A - notification config is a Cloud SCC resource that contains the + "DESCRIPTOR": _NOTIFICATIONCONFIG, + "__module__": "google.cloud.securitycenter_v1.proto.notification_config_pb2", + "__doc__": """Cloud Security Command Center (Cloud SCC) notification + configs. + + A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc. + + Attributes: name: The relative resource name of this notification config. See: h - ttps://cloud.google.com/apis/design/resource\_names#relative\_ - resource\_name Example: "organizations/{organization\_id}/noti - ficationConfigs/notify\_public\_bucket". + ttps://cloud.google.com/apis/design/resource_names#relative_re + source_name Example: “organizations/{organization_id}/notifica + tionConfigs/notify_public_bucket”. description: The description of the notification config (max of 1024 characters). pubsub_topic: The PubSub topic to send notifications to. Its format is - "projects/[project\_id]/topics/[topic]". + “projects/[project_id]/topics/[topic]”. service_account: Output only. The service account that needs - "pubsub.topics.publish" permission to publish to the PubSub + “pubsub.topics.publish” permission to publish to the PubSub topic. notify_config: The config for triggering notifications. @@ -269,7 +266,7 @@ The config for triggering streaming-based notifications. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.NotificationConfig) - ), + }, ) _sym_db.RegisterMessage(NotificationConfig) _sym_db.RegisterMessage(NotificationConfig.StreamingConfig) diff --git a/google/cloud/securitycenter_v1/proto/notification_message_pb2.py b/google/cloud/securitycenter_v1/proto/notification_message_pb2.py index 25e0d028..29fc1cf7 100644 --- a/google/cloud/securitycenter_v1/proto/notification_message_pb2.py +++ b/google/cloud/securitycenter_v1/proto/notification_message_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/notification_message.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -25,12 +22,8 @@ name="google/cloud/securitycenter_v1/proto/notification_message.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1B\030NotificationMessageProtoP\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n?google/cloud/securitycenter_v1/proto/notification_message.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x32google/cloud/securitycenter_v1/proto/finding.proto"|\n\x13NotificationMessage\x12 \n\x18notification_config_name\x18\x01 \x01(\t\x12:\n\x07\x66inding\x18\x02 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingH\x00\x42\x07\n\x05\x65ventB\xf4\x01\n"com.google.cloud.securitycenter.v1B\x18NotificationMessageProtoP\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1B\030NotificationMessageProtoP\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n?google/cloud/securitycenter_v1/proto/notification_message.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x32google/cloud/securitycenter_v1/proto/finding.proto"|\n\x13NotificationMessage\x12 \n\x18notification_config_name\x18\x01 \x01(\t\x12:\n\x07\x66inding\x18\x02 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingH\x00\x42\x07\n\x05\x65ventB\xf4\x01\n"com.google.cloud.securitycenter.v1B\x18NotificationMessageProtoP\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_finding__pb2.DESCRIPTOR, @@ -54,7 +47,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -119,10 +112,12 @@ NotificationMessage = _reflection.GeneratedProtocolMessageType( "NotificationMessage", (_message.Message,), - dict( - DESCRIPTOR=_NOTIFICATIONMESSAGE, - __module__="google.cloud.securitycenter_v1.proto.notification_message_pb2", - __doc__="""Cloud SCC's Notification + { + "DESCRIPTOR": _NOTIFICATIONMESSAGE, + "__module__": "google.cloud.securitycenter_v1.proto.notification_message_pb2", + "__doc__": """Cloud SCC’s Notification + + Attributes: notification_config_name: Name of the notification config that generated current @@ -130,11 +125,11 @@ event: Notification Event. finding: - If it's a Finding based notification config, this field will + If it’s a Finding based notification config, this field will be populated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.NotificationMessage) - ), + }, ) _sym_db.RegisterMessage(NotificationMessage) diff --git a/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py index 90a33974..3376ac58 100644 --- a/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1/proto/organization_settings_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/organization_settings.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1/proto/organization_settings.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n@google/cloud/securitycenter_v1/proto/organization_settings.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x8a\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12i\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32I.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig\x1a\xec\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12o\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32W.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n@google/cloud/securitycenter_v1/proto/organization_settings.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x8a\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12i\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32I.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig\x1a\xec\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12o\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32W.google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -136,7 +129,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -185,9 +178,7 @@ extensions=[], nested_types=[_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG,], enum_types=[], - serialized_options=_b( - "\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings" - ), + serialized_options=b"\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -212,14 +203,16 @@ OrganizationSettings = _reflection.GeneratedProtocolMessageType( "OrganizationSettings", (_message.Message,), - dict( - AssetDiscoveryConfig=_reflection.GeneratedProtocolMessageType( + { + "AssetDiscoveryConfig": _reflection.GeneratedProtocolMessageType( "AssetDiscoveryConfig", (_message.Message,), - dict( - DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, - __module__="google.cloud.securitycenter_v1.proto.organization_settings_pb2", - __doc__="""The configuration used for Asset Discovery runs. + { + "DESCRIPTOR": _ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, + "__module__": "google.cloud.securitycenter_v1.proto.organization_settings_pb2", + "__doc__": """The configuration used for Asset Discovery runs. + + Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -227,18 +220,20 @@ The mode to use for filtering asset discovery. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.OrganizationSettings.AssetDiscoveryConfig) - ), + }, ), - DESCRIPTOR=_ORGANIZATIONSETTINGS, - __module__="google.cloud.securitycenter_v1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud Security - Command Center (Cloud SCC) organization. + "DESCRIPTOR": _ORGANIZATIONSETTINGS, + "__module__": "google.cloud.securitycenter_v1.proto.organization_settings_pb2", + "__doc__": """User specified settings that are attached to the Cloud + Security Command Center (Cloud SCC) organization. + + Attributes: name: The relative resource name of the settings. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: - "organizations/{organization\_id}/organizationSettings". + .google.com/apis/design/resource_names#relative_resource_name + Example: + “organizations/{organization_id}/organizationSettings”. enable_asset_discovery: A flag that indicates if Asset Discovery should be enabled. If the flag is set to ``true``, then discovery of assets will @@ -248,7 +243,7 @@ The configuration used for Asset Discovery runs. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.OrganizationSettings) - ), + }, ) _sym_db.RegisterMessage(OrganizationSettings) _sym_db.RegisterMessage(OrganizationSettings.AssetDiscoveryConfig) diff --git a/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py index 699afce5..3fb28697 100644 --- a/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1/proto/run_asset_discovery_response_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\nGgoogle/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto"\xe7\x01\n\x19RunAssetDiscoveryResponse\x12N\n\x05state\x18\x01 \x01(\x0e\x32?.google.cloud.securitycenter.v1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\nGgoogle/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto"\xe7\x01\n\x19RunAssetDiscoveryResponse\x12N\n\x05state\x18\x01 \x01(\x0e\x32?.google.cloud.securitycenter.v1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, @@ -138,10 +131,12 @@ RunAssetDiscoveryResponse = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryResponse", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.run_asset_discovery_response_pb2", - __doc__="""Response of asset discovery run + { + "DESCRIPTOR": _RUNASSETDISCOVERYRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.run_asset_discovery_response_pb2", + "__doc__": """Response of asset discovery run + + Attributes: state: The state of an asset discovery run. @@ -149,7 +144,7 @@ The duration between asset discovery run start and end """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.RunAssetDiscoveryResponse) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryResponse) diff --git a/google/cloud/securitycenter_v1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1/proto/security_marks_pb2.py index bda8d7b8..fe2a77bf 100644 --- a/google/cloud/securitycenter_v1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1/proto/security_marks_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/security_marks.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1/proto/security_marks.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n9google/cloud/securitycenter_v1/proto/security_marks.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\xd3\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12G\n\x05marks\x18\x02 \x03(\x0b\x32\x38.google.cloud.securitycenter.v1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n9google/cloud/securitycenter_v1/proto/security_marks.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\xd3\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12G\n\x05marks\x18\x02 \x03(\x0b\x32\x38.google.cloud.securitycenter.v1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -52,7 +45,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -70,7 +63,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -83,7 +76,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -108,7 +101,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -139,9 +132,7 @@ extensions=[], nested_types=[_SECURITYMARKS_MARKSENTRY,], enum_types=[], - serialized_options=_b( - "\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks" - ), + serialized_options=b"\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -158,29 +149,31 @@ SecurityMarks = _reflection.GeneratedProtocolMessageType( "SecurityMarks", (_message.Message,), - dict( - MarksEntry=_reflection.GeneratedProtocolMessageType( + { + "MarksEntry": _reflection.GeneratedProtocolMessageType( "MarksEntry", (_message.Message,), - dict( - DESCRIPTOR=_SECURITYMARKS_MARKSENTRY, - __module__="google.cloud.securitycenter_v1.proto.security_marks_pb2" + { + "DESCRIPTOR": _SECURITYMARKS_MARKSENTRY, + "__module__": "google.cloud.securitycenter_v1.proto.security_marks_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.SecurityMarks.MarksEntry) - ), + }, ), - DESCRIPTOR=_SECURITYMARKS, - __module__="google.cloud.securitycenter_v1.proto.security_marks_pb2", - __doc__="""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. + "DESCRIPTOR": _SECURITYMARKS, + "__module__": "google.cloud.securitycenter_v1.proto.security_marks_pb2", + "__doc__": """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. + + Attributes: name: The relative resource name of the SecurityMarks. See: https:// - cloud.google.com/apis/design/resource\_names#relative\_resourc - e\_name Examples: "organizations/{organization\_id}/assets/{as - set\_id}/securityMarks" "organizations/{organization\_id}/sour - ces/{source\_id}/findings/{finding\_id}/securityMarks". + cloud.google.com/apis/design/resource_names#relative_resource_ + name Examples: “organizations/{organization_id}/assets/{asset_ + id}/securityMarks” “organizations/{organization_id}/sources/{s + ource_id}/findings/{finding_id}/securityMarks”. marks: Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are @@ -191,7 +184,7 @@ - 4096 characters (inclusive) """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.SecurityMarks) - ), + }, ) _sym_db.RegisterMessage(SecurityMarks) _sym_db.RegisterMessage(SecurityMarks.MarksEntry) diff --git a/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py index e83e87cc..edc2d80d 100644 --- a/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1/proto/securitycenter_service_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/securitycenter_service.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -51,17 +48,14 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.cloud.securitycenter_v1.proto.run_asset_discovery_response_pb2 import * DESCRIPTOR = _descriptor.FileDescriptor( name="google/cloud/securitycenter_v1/proto/securitycenter_service.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\nAgoogle/cloud/securitycenter_v1/proto/securitycenter_service.proto\x12\x1egoogle.cloud.securitycenter.v1\x1aGgoogle/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/securitycenter_v1/proto/asset.proto\x1a\x32google/cloud/securitycenter_v1/proto/finding.proto\x1a>google/cloud/securitycenter_v1/proto/notification_config.proto\x1a@google/cloud/securitycenter_v1/proto/organization_settings.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x31google/cloud/securitycenter_v1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xac\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x07\x66inding\x18\x03 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02"\xd9\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13notification_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02"\x9c\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12;\n\x06source\x18\x02 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\x90\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xb8\x01\n\x13GroupAssetsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\x86\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xba\x01\n\x15GroupFindingsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xb8\x01\n\x0bGroupResult\x12O\n\nproperties\x18\x01 \x03(\x0b\x32;.google.cloud.securitycenter.v1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"\x8c\x01\n\x1fListNotificationConfigsResponse\x12P\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"g\n\x13ListSourcesResponse\x12\x37\n\x07sources\x18\x01 \x03(\x0b\x32&.google.cloud.securitycenter.v1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xbf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xc3\x03\n\x12ListAssetsResponse\x12`\n\x13list_assets_results\x18\x01 \x03(\x0b\x32\x43.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xee\x01\n\x10ListAssetsResult\x12\x34\n\x05\x61sset\x18\x01 \x01(\x0b\x32%.google.cloud.securitycenter.v1.Asset\x12\x65\n\x0cstate_change\x18\x02 \x01(\x0e\x32O.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03"\xb5\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xc9\x05\n\x14ListFindingsResponse\x12\x66\n\x15list_findings_results\x18\x01 \x03(\x0b\x32G.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xec\x03\n\x12ListFindingsResult\x12\x38\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.Finding\x12i\n\x0cstate_change\x18\x02 \x01(\x0e\x32S.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange\x12\x62\n\x08resource\x18\x03 \x01(\x0b\x32P.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource\x1a~\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04"\xcd\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x86\x01\n\x14UpdateFindingRequest\x12=\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xa8\x01\n\x1fUpdateNotificationConfigRequest\x12T\n\x13notification_config\x18\x01 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xae\x01\n!UpdateOrganizationSettingsRequest\x12X\n\x15organization_settings\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x83\x01\n\x13UpdateSourceRequest\x12;\n\x06source\x18\x01 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc9\x01\n\x1aUpdateSecurityMarksRequest\x12J\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xd6&\n\x0eSecurityCenter\x12\xb1\x01\n\x0c\x43reateSource\x12\x33.google.cloud.securitycenter.v1.CreateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"D\x82\xd3\xe4\x93\x02."$/v1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xcc\x01\n\rCreateFinding\x12\x34.google.cloud.securitycenter.v1.CreateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding"\\\x82\xd3\xe4\x93\x02:"//v1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\x12\xa3\x02\n\x18\x43reateNotificationConfig\x12?.google.cloud.securitycenter.v1.CreateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"\x91\x01\x82\xd3\xe4\x93\x02G"0/v1/{parent=organizations/*}/notificationConfigs:\x13notification_config\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x12\xb4\x01\n\x18\x44\x65leteNotificationConfig\x12?.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty"?\x82\xd3\xe4\x93\x02\x32*0/v1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\x96\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"K\x82\xd3\xe4\x93\x02:"5/v1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xca\x01\n\x15GetNotificationConfig\x12<.google.cloud.securitycenter.v1.GetNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\xcf\x01\n\x17GetOrganizationSettings\x12>.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=organizations/*/organizationSettings}\xda\x41\x04name\x12\x9a\x01\n\tGetSource\x12\x30.google.cloud.securitycenter.v1.GetSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"3\x82\xd3\xe4\x93\x02&\x12$/v1/{name=organizations/*/sources/*}\xda\x41\x04name\x12\xac\x01\n\x0bGroupAssets\x12\x32.google.cloud.securitycenter.v1.GroupAssetsRequest\x1a\x33.google.cloud.securitycenter.v1.GroupAssetsResponse"4\x82\xd3\xe4\x93\x02.")/v1/{parent=organizations/*}/assets:group:\x01*\x12\xd0\x01\n\rGroupFindings\x12\x34.google.cloud.securitycenter.v1.GroupFindingsRequest\x1a\x35.google.cloud.securitycenter.v1.GroupFindingsResponse"R\x82\xd3\xe4\x93\x02:"5/v1/{parent=organizations/*/sources/*}/findings:group:\x01*\xda\x41\x0fparent,group_by\x12\xa0\x01\n\nListAssets\x12\x31.google.cloud.securitycenter.v1.ListAssetsRequest\x1a\x32.google.cloud.securitycenter.v1.ListAssetsResponse"+\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=organizations/*}/assets\x12\xb2\x01\n\x0cListFindings\x12\x33.google.cloud.securitycenter.v1.ListFindingsRequest\x1a\x34.google.cloud.securitycenter.v1.ListFindingsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=organizations/*/sources/*}/findings\x12\xdd\x01\n\x17ListNotificationConfigs\x12>.google.cloud.securitycenter.v1.ListNotificationConfigsRequest\x1a?.google.cloud.securitycenter.v1.ListNotificationConfigsResponse"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=organizations/*}/notificationConfigs\xda\x41\x06parent\x12\xad\x01\n\x0bListSources\x12\x32.google.cloud.securitycenter.v1.ListSourcesRequest\x1a\x33.google.cloud.securitycenter.v1.ListSourcesResponse"5\x82\xd3\xe4\x93\x02&\x12$/v1/{parent=organizations/*}/sources\xda\x41\x06parent\x12\x87\x02\n\x11RunAssetDiscovery\x12\x38.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation"\x98\x01\x82\xd3\xe4\x93\x02\x35"0/v1/{parent=organizations/*}/assets:runDiscovery:\x01*\xda\x41\x06parent\xca\x41Q\n8google.cloud.securitycenter.v1.RunAssetDiscoveryResponse\x12\x15google.protobuf.Empty\x12\xcf\x01\n\x0fSetFindingState\x12\x36.google.cloud.securitycenter.v1.SetFindingStateRequest\x1a\'.google.cloud.securitycenter.v1.Finding"[\x82\xd3\xe4\x93\x02="8/v1/{name=organizations/*/sources/*/findings/*}:setState:\x01*\xda\x41\x15name,state,start_time\x12\x9d\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"R\x82\xd3\xe4\x93\x02:"5/v1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xc8\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"]\x82\xd3\xe4\x93\x02@";/v1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xc2\x01\n\rUpdateFinding\x12\x34.google.cloud.securitycenter.v1.UpdateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding"R\x82\xd3\xe4\x93\x02\x42\x32\x37/v1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66inding\xda\x41\x07\x66inding\x12\xab\x02\n\x18UpdateNotificationConfig\x12?.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"\x99\x01\x82\xd3\xe4\x93\x02[2D/v1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x12\x93\x02\n\x1aUpdateOrganizationSettings\x12\x41.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings"|\x82\xd3\xe4\x93\x02^2E/v1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\xda\x41\x15organization_settings\x12\xb1\x01\n\x0cUpdateSource\x12\x33.google.cloud.securitycenter.v1.UpdateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"D\x82\xd3\xe4\x93\x02\x35\x32+/v1/{source.name=organizations/*/sources/*}:\x06source\xda\x41\x06source\x12\xcd\x02\n\x13UpdateSecurityMarks\x12:.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest\x1a-.google.cloud.securitycenter.v1.SecurityMarks"\xca\x01\x82\xd3\xe4\x93\x02\xb2\x01\x32@/v1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZ^2L/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\xda\x41\x0esecurity_marks\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\nAgoogle/cloud/securitycenter_v1/proto/securitycenter_service.proto\x12\x1egoogle.cloud.securitycenter.v1\x1aGgoogle/cloud/securitycenter_v1/proto/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/securitycenter_v1/proto/asset.proto\x1a\x32google/cloud/securitycenter_v1/proto/finding.proto\x1a>google/cloud/securitycenter_v1/proto/notification_config.proto\x1a@google/cloud/securitycenter_v1/proto/organization_settings.proto\x1a\x39google/cloud/securitycenter_v1/proto/security_marks.proto\x1a\x31google/cloud/securitycenter_v1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xac\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12=\n\x07\x66inding\x18\x03 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02"\xd9\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x13notification_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02"\x9c\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12;\n\x06source\x18\x02 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\x90\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xb8\x01\n\x13GroupAssetsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\x86\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xba\x01\n\x15GroupFindingsResponse\x12\x45\n\x10group_by_results\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xb8\x01\n\x0bGroupResult\x12O\n\nproperties\x18\x01 \x03(\x0b\x32;.google.cloud.securitycenter.v1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"\x8c\x01\n\x1fListNotificationConfigsResponse\x12P\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"g\n\x13ListSourcesResponse\x12\x37\n\x07sources\x18\x01 \x03(\x0b\x32&.google.cloud.securitycenter.v1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xbf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xc3\x03\n\x12ListAssetsResponse\x12`\n\x13list_assets_results\x18\x01 \x03(\x0b\x32\x43.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xee\x01\n\x10ListAssetsResult\x12\x34\n\x05\x61sset\x18\x01 \x01(\x0b\x32%.google.cloud.securitycenter.v1.Asset\x12\x65\n\x0cstate_change\x18\x02 \x01(\x0e\x32O.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03"\xb5\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xc9\x05\n\x14ListFindingsResponse\x12\x66\n\x15list_findings_results\x18\x01 \x03(\x0b\x32G.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xec\x03\n\x12ListFindingsResult\x12\x38\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.Finding\x12i\n\x0cstate_change\x18\x02 \x01(\x0e\x32S.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange\x12\x62\n\x08resource\x18\x03 \x01(\x0b\x32P.google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource\x1a~\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04"\xcd\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12\x41\n\x05state\x18\x02 \x01(\x0e\x32-.google.cloud.securitycenter.v1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x86\x01\n\x14UpdateFindingRequest\x12=\n\x07\x66inding\x18\x01 \x01(\x0b\x32\'.google.cloud.securitycenter.v1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xa8\x01\n\x1fUpdateNotificationConfigRequest\x12T\n\x13notification_config\x18\x01 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xae\x01\n!UpdateOrganizationSettingsRequest\x12X\n\x15organization_settings\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x83\x01\n\x13UpdateSourceRequest\x12;\n\x06source\x18\x01 \x01(\x0b\x32&.google.cloud.securitycenter.v1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xc9\x01\n\x1aUpdateSecurityMarksRequest\x12J\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xd6&\n\x0eSecurityCenter\x12\xb1\x01\n\x0c\x43reateSource\x12\x33.google.cloud.securitycenter.v1.CreateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"D\x82\xd3\xe4\x93\x02."$/v1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xcc\x01\n\rCreateFinding\x12\x34.google.cloud.securitycenter.v1.CreateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding"\\\x82\xd3\xe4\x93\x02:"//v1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\x12\xa3\x02\n\x18\x43reateNotificationConfig\x12?.google.cloud.securitycenter.v1.CreateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"\x91\x01\x82\xd3\xe4\x93\x02G"0/v1/{parent=organizations/*}/notificationConfigs:\x13notification_config\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x12\xb4\x01\n\x18\x44\x65leteNotificationConfig\x12?.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty"?\x82\xd3\xe4\x93\x02\x32*0/v1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\x96\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"K\x82\xd3\xe4\x93\x02:"5/v1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xca\x01\n\x15GetNotificationConfig\x12<.google.cloud.securitycenter.v1.GetNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\xcf\x01\n\x17GetOrganizationSettings\x12>.google.cloud.securitycenter.v1.GetOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings">\x82\xd3\xe4\x93\x02\x31\x12//v1/{name=organizations/*/organizationSettings}\xda\x41\x04name\x12\x9a\x01\n\tGetSource\x12\x30.google.cloud.securitycenter.v1.GetSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"3\x82\xd3\xe4\x93\x02&\x12$/v1/{name=organizations/*/sources/*}\xda\x41\x04name\x12\xac\x01\n\x0bGroupAssets\x12\x32.google.cloud.securitycenter.v1.GroupAssetsRequest\x1a\x33.google.cloud.securitycenter.v1.GroupAssetsResponse"4\x82\xd3\xe4\x93\x02.")/v1/{parent=organizations/*}/assets:group:\x01*\x12\xd0\x01\n\rGroupFindings\x12\x34.google.cloud.securitycenter.v1.GroupFindingsRequest\x1a\x35.google.cloud.securitycenter.v1.GroupFindingsResponse"R\x82\xd3\xe4\x93\x02:"5/v1/{parent=organizations/*/sources/*}/findings:group:\x01*\xda\x41\x0fparent,group_by\x12\xa0\x01\n\nListAssets\x12\x31.google.cloud.securitycenter.v1.ListAssetsRequest\x1a\x32.google.cloud.securitycenter.v1.ListAssetsResponse"+\x82\xd3\xe4\x93\x02%\x12#/v1/{parent=organizations/*}/assets\x12\xb2\x01\n\x0cListFindings\x12\x33.google.cloud.securitycenter.v1.ListFindingsRequest\x1a\x34.google.cloud.securitycenter.v1.ListFindingsResponse"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{parent=organizations/*/sources/*}/findings\x12\xdd\x01\n\x17ListNotificationConfigs\x12>.google.cloud.securitycenter.v1.ListNotificationConfigsRequest\x1a?.google.cloud.securitycenter.v1.ListNotificationConfigsResponse"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=organizations/*}/notificationConfigs\xda\x41\x06parent\x12\xad\x01\n\x0bListSources\x12\x32.google.cloud.securitycenter.v1.ListSourcesRequest\x1a\x33.google.cloud.securitycenter.v1.ListSourcesResponse"5\x82\xd3\xe4\x93\x02&\x12$/v1/{parent=organizations/*}/sources\xda\x41\x06parent\x12\x87\x02\n\x11RunAssetDiscovery\x12\x38.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation"\x98\x01\x82\xd3\xe4\x93\x02\x35"0/v1/{parent=organizations/*}/assets:runDiscovery:\x01*\xda\x41\x06parent\xca\x41Q\n8google.cloud.securitycenter.v1.RunAssetDiscoveryResponse\x12\x15google.protobuf.Empty\x12\xcf\x01\n\x0fSetFindingState\x12\x36.google.cloud.securitycenter.v1.SetFindingStateRequest\x1a\'.google.cloud.securitycenter.v1.Finding"[\x82\xd3\xe4\x93\x02="8/v1/{name=organizations/*/sources/*/findings/*}:setState:\x01*\xda\x41\x15name,state,start_time\x12\x9d\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"R\x82\xd3\xe4\x93\x02:"5/v1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xc8\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"]\x82\xd3\xe4\x93\x02@";/v1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xc2\x01\n\rUpdateFinding\x12\x34.google.cloud.securitycenter.v1.UpdateFindingRequest\x1a\'.google.cloud.securitycenter.v1.Finding"R\x82\xd3\xe4\x93\x02\x42\x32\x37/v1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66inding\xda\x41\x07\x66inding\x12\xab\x02\n\x18UpdateNotificationConfig\x12?.google.cloud.securitycenter.v1.UpdateNotificationConfigRequest\x1a\x32.google.cloud.securitycenter.v1.NotificationConfig"\x99\x01\x82\xd3\xe4\x93\x02[2D/v1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x12\x93\x02\n\x1aUpdateOrganizationSettings\x12\x41.google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest\x1a\x34.google.cloud.securitycenter.v1.OrganizationSettings"|\x82\xd3\xe4\x93\x02^2E/v1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\xda\x41\x15organization_settings\x12\xb1\x01\n\x0cUpdateSource\x12\x33.google.cloud.securitycenter.v1.UpdateSourceRequest\x1a&.google.cloud.securitycenter.v1.Source"D\x82\xd3\xe4\x93\x02\x35\x32+/v1/{source.name=organizations/*/sources/*}:\x06source\xda\x41\x06source\x12\xcd\x02\n\x13UpdateSecurityMarks\x12:.google.cloud.securitycenter.v1.UpdateSecurityMarksRequest\x1a-.google.cloud.securitycenter.v1.SecurityMarks"\xca\x01\x82\xd3\xe4\x93\x02\xb2\x01\x32@/v1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZ^2L/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\xda\x41\x0esecurity_marks\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1P\x00\x62\x06proto3', dependencies=[ google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_run__asset__discovery__response__pb2.DESCRIPTOR, google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -83,6 +77,9 @@ google_dot_protobuf_dot_struct__pb2.DESCRIPTOR, google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, ], + public_dependencies=[ + google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_run__asset__discovery__response__pb2.DESCRIPTOR, + ], ) @@ -158,15 +155,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -178,13 +173,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -202,7 +197,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -235,15 +230,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -255,13 +248,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -279,7 +272,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -312,15 +305,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -338,7 +329,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -371,15 +362,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig" - ), + serialized_options=b"\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig", file=DESCRIPTOR, ), ], @@ -412,15 +401,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig" - ), + serialized_options=b"\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig", file=DESCRIPTOR, ), ], @@ -453,15 +440,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A4\n2securitycenter.googleapis.com/OrganizationSettings" - ), + serialized_options=b"\340A\002\372A4\n2securitycenter.googleapis.com/OrganizationSettings", file=DESCRIPTOR, ), ], @@ -494,15 +479,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), ], @@ -535,15 +518,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -555,7 +536,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -573,13 +554,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -627,7 +608,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -720,7 +701,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -777,15 +758,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -797,7 +776,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -815,13 +794,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -869,7 +848,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -962,7 +941,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1019,7 +998,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1050,7 +1029,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -1132,15 +1111,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1152,7 +1129,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1227,7 +1204,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1266,15 +1243,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1286,7 +1261,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1361,7 +1336,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1400,15 +1375,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1420,7 +1393,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1438,7 +1411,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1498,7 +1471,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\001"), + serialized_options=b"\340A\001", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1510,7 +1483,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1659,7 +1632,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1716,15 +1689,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1736,7 +1707,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1754,7 +1725,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1814,7 +1785,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\001"), + serialized_options=b"\340A\001", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1826,7 +1797,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1883,7 +1854,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1901,7 +1872,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1919,7 +1890,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1937,7 +1908,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1955,7 +1926,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2103,7 +2074,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2160,15 +2131,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A'\n%securitycenter.googleapis.com/Finding" - ), + serialized_options=b"\340A\002\372A'\n%securitycenter.googleapis.com/Finding", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2186,7 +2155,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2204,7 +2173,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -2237,15 +2206,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), ], @@ -2284,7 +2251,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2341,7 +2308,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2398,7 +2365,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2455,7 +2422,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2512,7 +2479,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2773,40 +2740,44 @@ CreateFindingRequest = _reflection.GeneratedProtocolMessageType( "CreateFindingRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEFINDINGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a finding. + { + "DESCRIPTOR": _CREATEFINDINGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a finding. + + Attributes: parent: - Required. Resource name of the new finding's parent. Its + Required. Resource name of the new finding’s parent. Its format should be - "organizations/[organization\_id]/sources/[source\_id]". + “organizations/[organization_id]/sources/[source_id]”. 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 greater than 0 characters in length. finding: Required. The Finding being created. The name and - security\_marks will be ignored as they are both output only + security_marks will be ignored as they are both output only fields on this resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateFindingRequest) - ), + }, ) _sym_db.RegisterMessage(CreateFindingRequest) CreateNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "CreateNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a notification config. + { + "DESCRIPTOR": _CREATENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a notification config. + + Attributes: parent: - Required. Resource name of the new notification config's - parent. Its format is "organizations/[organization\_id]". + Required. Resource name of the new notification config’s + parent. Its format is “organizations/[organization_id]”. config_id: Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and @@ -2817,112 +2788,124 @@ only fields on this resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(CreateNotificationConfigRequest) CreateSourceRequest = _reflection.GeneratedProtocolMessageType( "CreateSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATESOURCEREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a source. + { + "DESCRIPTOR": _CREATESOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a source. + + Attributes: parent: - Required. Resource name of the new source's parent. Its format - should be "organizations/[organization\_id]". + Required. Resource name of the new source’s parent. Its format + should be “organizations/[organization_id]”. source: - Required. The Source being created, only the display\_name and + Required. The Source being created, only the display_name and description will be used. All other fields will be ignored. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.CreateSourceRequest) - ), + }, ) _sym_db.RegisterMessage(CreateSourceRequest) DeleteNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "DeleteNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for deleting a notification config. + { + "DESCRIPTOR": _DELETENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for deleting a notification config. + + Attributes: name: Required. Name of the notification config to delete. Its - format is "organizations/[organization\_id]/notificationConfig - s/[config\_id]". + format is “organizations/[organization_id]/notificationConfigs + /[config_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.DeleteNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteNotificationConfigRequest) GetNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "GetNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETNOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting a notification config. + { + "DESCRIPTOR": _GETNOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting a notification config. + + Attributes: name: Required. Name of the notification config to get. Its format - is "organizations/[organization\_id]/notificationConfigs/[conf - ig\_id]". + is “organizations/[organization_id]/notificationConfigs/[confi + g_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(GetNotificationConfigRequest) GetOrganizationSettingsRequest = _reflection.GeneratedProtocolMessageType( "GetOrganizationSettingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETORGANIZATIONSETTINGSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting organization settings. + { + "DESCRIPTOR": _GETORGANIZATIONSETTINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting organization settings. + + Attributes: name: Required. Name of the organization to get organization settings for. Its format is - "organizations/[organization\_id]/organizationSettings". + “organizations/[organization_id]/organizationSettings”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetOrganizationSettingsRequest) - ), + }, ) _sym_db.RegisterMessage(GetOrganizationSettingsRequest) GetSourceRequest = _reflection.GeneratedProtocolMessageType( "GetSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETSOURCEREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting a source. + { + "DESCRIPTOR": _GETSOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting a source. + + Attributes: name: Required. Relative resource name of the source. Its format is - "organizations/[organization\_id]/source/[source\_id]". + “organizations/[organization_id]/source/[source_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GetSourceRequest) - ), + }, ) _sym_db.RegisterMessage(GetSourceRequest) GroupAssetsRequest = _reflection.GeneratedProtocolMessageType( "GroupAssetsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GROUPASSETSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for grouping by assets. + { + "DESCRIPTOR": _GROUPASSETSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for grouping by assets. + + Attributes: parent: Required. Name of the organization to groupBy. Its format is - "organizations/[organization\_id]". + “organizations/[organization_id]”. filter: Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via @@ -2932,84 +2915,78 @@ may have a ``-`` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka The supported operators are: - - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. The following - field and operator combinations are supported: - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. The following field and operator combinations + are supported: - name: ``=`` - update_time: ``=``, ``>``, + ``<``, ``>=``, ``<=`` Usage: This should be milliseconds + since epoch or an RFC3339 string. Examples: “update_time = + "2019-06-10T16:07:18-07:00"” “update_time = 1560208038000” + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" - "update\_time = 1560208038000" - create\_time: ``=``, ``>``, - ``<``, ``>=``, ``<=`` Usage: This should be milliseconds - since epoch or an RFC3339 string. Examples: "create\_time = - "2019-06-10T16:07:18-07:00"" "create\_time = 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, - ``<=`` - security\_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, - ``:`` - security\_center\_properties.resource\_type: ``=``, - ``:`` - security\_center\_properties.resource\_parent: ``=``, - ``:`` - - security\_center\_properties.resource\_parent\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` - For example, ``resource_properties.size = 100`` is a valid - filter string. + Examples: “create_time = "2019-06-10T16:07:18-07:00"” + “create_time = 1560208038000” - iam_policy.policy_blob: + ``=``, ``:`` - resource_properties: ``=``, ``:``, ``>``, + ``<``, ``>=``, ``<=`` - security_marks.marks: ``=``, ``:`` - + security_center_properties.resource_name: ``=``, ``:`` - + security_center_properties.resource_display_name: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - + security_center_properties.resource_parent: ``=``, ``:`` - + security_center_properties.resource_parent_display_name: + ``=``, ``:`` - security_center_properties.resource_project: + ``=``, ``:`` - + security_center_properties.resource_project_display_name: + ``=``, ``:`` - security_center_properties.resource_owners: + ``=``, ``:`` For example, ``resource_properties.size = 100`` + is a valid filter string. group_by: Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma - separated list of fields. For example: "security\_center\_prop - erties.resource\_project,security\_center\_properties.project" - . The following fields are supported when compare\_duration - is not set: - security\_center\_properties.resource\_project - - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent - - security\_center\_properties.resource\_parent\_display\_name - The following fields are supported when compare\_duration is - set: - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_project\_display\_name - - - security\_center\_properties.resource\_parent\_display\_name + separated list of fields. For example: “security_center_proper + ties.resource_project,security_center_properties.project”. + The following fields are supported when compare_duration is + not set: - security_center_properties.resource_project - + security_center_properties.resource_project_display_name - + security_center_properties.resource_type - + security_center_properties.resource_parent - + security_center_properties.resource_parent_display_name The + following fields are supported when compare_duration is set: + - security_center_properties.resource_type - + security_center_properties.resource_project_display_name - + security_center_properties.resource_parent_display_name compare_duration: - When compare\_duration is set, the GroupResult's - "state\_change" property is updated to indicate whether the - asset was added, removed, or remained present during the - compare\_duration period of time that precedes the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state change value is derived based on the - presence of the asset at the two points in time. Intermediate - state changes between the two times don't affect the result. - For example, the results aren't affected if the asset is - removed and re-created again. Possible "state\_change" values - when compare\_duration is specified: - "ADDED": indicates - that the asset was not present at the start of - compare\_duration, but present at reference\_time. - - "REMOVED": indicates that the asset was present at the start - of compare\_duration, but not present at reference\_time. - - "ACTIVE": indicates that the asset was present at both the - start and the end of the time period defined by - compare\_duration and reference\_time. If - compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set - for all assets present at read\_time. If this field is set + When compare_duration is set, the GroupResult’s “state_change” + property is updated to indicate whether the asset was added, + removed, or remained present during the compare_duration + period of time that precedes the read_time. This is the time + between (read_time - compare_duration) and read_time. The + state change value is derived based on the presence of the + asset at the two points in time. Intermediate state changes + between the two times don’t affect the result. For example, + the results aren’t affected if the asset is removed and re- + created again. Possible “state_change” values when + compare_duration is specified: - “ADDED”: indicates that the + asset was not present at the start of compare_duration, but + present at reference_time. - “REMOVED”: indicates that the + asset was present at the start of compare_duration, but not + present at reference_time. - “ACTIVE”: indicates that the + asset was present at both the start and the end of the time + period defined by compare_duration and reference_time. If + compare_duration is not specified, then the only possible + state_change is “UNUSED”, which will be the state_change set + for all assets present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. page_token: The value returned by the last ``GroupAssetsResponse``; indicates that this is a continuation of a prior @@ -3020,17 +2997,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsRequest) GroupAssetsResponse = _reflection.GeneratedProtocolMessageType( "GroupAssetsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for grouping by assets. + { + "DESCRIPTOR": _GROUPASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for grouping by assets. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -3046,23 +3025,25 @@ The total number of results matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsResponse) GroupFindingsRequest = _reflection.GeneratedProtocolMessageType( "GroupFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for grouping by findings. + { + "DESCRIPTOR": _GROUPFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for grouping by findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To + groupBy across all sources provide a source_id of ``-``. For + example: organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -3071,7 +3052,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -3079,56 +3060,56 @@ without quotes. - boolean literals ``true`` and ``false`` without quotes. The following field and operator combinations are supported: - name: ``=`` - parent: ``=``, ``:`` - - resource\_name: ``=``, ``:`` - state: ``=``, ``:`` - - category: ``=``, ``:`` - external\_uri: ``=``, ``:`` - - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This - should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" - "event\_time = 1560208038000" - security\_marks.marks: - ``=``, ``:`` - source\_properties: ``=``, ``:``, ``>``, - ``<``, ``>=``, ``<=`` For example, ``source_properties.size = - 100`` is a valid filter string. + resource_name: ``=``, ``:`` - state: ``=``, ``:`` - + category: ``=``, ``:`` - external_uri: ``=``, ``:`` - + event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: + This should be milliseconds since epoch or an RFC3339 string. + Examples: “event_time = "2019-06-10T16:07:18-07:00"” + “event_time = 1560208038000” - security_marks.marks: + ``=``, ``:`` - source_properties: ``=``, ``:``, ``>``, ``<``, + ``>=``, ``<=`` For example, ``source_properties.size = 100`` + is a valid filter string. group_by: Required. Expression that defines what assets fields to use for grouping (including ``state_change``). The string value should follow SQL syntax: comma separated list of fields. For - example: "parent,resource\_name". The following fields are - supported: - resource\_name - category - state - parent - The following fields are supported when compare\_duration is - set: - state\_change + example: “parent,resource_name”. The following fields are + supported: - resource_name - category - state - parent + The following fields are supported when compare_duration is + set: - state_change read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. compare_duration: - When compare\_duration is set, the GroupResult'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 during the - compare\_duration period of time that precedes the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the - presence and state of the finding at the two points in time. - Intermediate state changes between the two times don't affect - the result. For example, the results aren't affected if the - finding is made inactive and then active again. Possible - "state\_change" values when compare\_duration is specified: - - "CHANGED": indicates that the finding was present and matched - the given filter at the start of compare\_duration, but - changed its state at read\_time. - "UNCHANGED": indicates - that the finding was present and matched the given filter - at the start of compare\_duration and did not change state - at read\_time. - "ADDED": indicates that the finding did not + When compare_duration is set, the GroupResult’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 during the compare_duration period of + time that precedes the read_time. This is the time between + (read_time - compare_duration) and read_time. The + state_change value is derived based on the presence and state + of the finding at the two points in time. Intermediate state + changes between the two times don’t affect the result. For + example, the results aren’t affected if the finding is made + inactive and then active again. Possible “state_change” + values when compare_duration is specified: - “CHANGED”: + indicates that the finding was present and matched the + given filter at the start of compare_duration, but changed its + state at read_time. - “UNCHANGED”: indicates that the + finding was present and matched the given filter at the + start of compare_duration and did not change state at + read_time. - “ADDED”: indicates that the finding did not match the given filter or was not present at the start of - compare\_duration, but was present at read\_time. - - "REMOVED": indicates that the finding was present and matched - the filter at the start of compare\_duration, but did not - match the filter at read\_time. If compare\_duration is - not specified, then the only possible state\_change is - "UNUSED", which will be the state\_change set for all findings - present at read\_time. If this field is set then - ``state_change`` must be a specified field in ``group_by``. + compare_duration, but was present at read_time. - + “REMOVED”: indicates that the finding was present and matched + the filter at the start of compare_duration, but did not + match the filter at read_time. If compare_duration is not + specified, then the only possible state_change is “UNUSED”, + which will be the state_change set for all findings present at + read_time. If this field is set then ``state_change`` must be + a specified field in ``group_by``. page_token: The value returned by the last ``GroupFindingsResponse``; indicates that this is a continuation of a prior @@ -3139,17 +3120,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsRequest) GroupFindingsResponse = _reflection.GeneratedProtocolMessageType( "GroupFindingsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for group by findings. + { + "DESCRIPTOR": _GROUPFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for group by findings. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -3165,26 +3148,29 @@ The total number of results matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsResponse) GroupResult = _reflection.GeneratedProtocolMessageType( "GroupResult", (_message.Message,), - dict( - PropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "PropertiesEntry": _reflection.GeneratedProtocolMessageType( "PropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_GROUPRESULT_PROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2" + { + "DESCRIPTOR": _GROUPRESULT_PROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupResult.PropertiesEntry) - ), - ), - DESCRIPTOR=_GROUPRESULT, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy request. + }, + ), + "DESCRIPTOR": _GROUPRESULT, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the properties and count of a groupBy + request. + + Attributes: properties: Properties matching the groupBy fields in the request. @@ -3192,7 +3178,7 @@ Total count of resources for the given properties. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.GroupResult) - ), + }, ) _sym_db.RegisterMessage(GroupResult) _sym_db.RegisterMessage(GroupResult.PropertiesEntry) @@ -3200,14 +3186,16 @@ ListNotificationConfigsRequest = _reflection.GeneratedProtocolMessageType( "ListNotificationConfigsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTNOTIFICATIONCONFIGSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing notification configs. + { + "DESCRIPTOR": _LISTNOTIFICATIONCONFIGSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing notification configs. + + Attributes: parent: Required. Name of the organization to list notification - configs. Its format is "organizations/[organization\_id]". + configs. Its format is “organizations/[organization_id]”. page_token: The value returned by the last ``ListNotificationConfigsResponse``; indicates that this is a @@ -3218,17 +3206,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListNotificationConfigsRequest) - ), + }, ) _sym_db.RegisterMessage(ListNotificationConfigsRequest) ListNotificationConfigsResponse = _reflection.GeneratedProtocolMessageType( "ListNotificationConfigsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTNOTIFICATIONCONFIGSRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing notification configs. + { + "DESCRIPTOR": _LISTNOTIFICATIONCONFIGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing notification configs. + + Attributes: notification_configs: Notification configs belonging to the requested parent. @@ -3237,21 +3227,23 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListNotificationConfigsResponse) - ), + }, ) _sym_db.RegisterMessage(ListNotificationConfigsResponse) ListSourcesRequest = _reflection.GeneratedProtocolMessageType( "ListSourcesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing sources. + + Attributes: parent: Required. Resource name of the parent of sources to list. Its - format should be "organizations/[organization\_id]". + format should be “organizations/[organization_id]”. page_token: The value returned by the last ``ListSourcesResponse``; indicates that this is a continuation of a prior @@ -3262,17 +3254,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListSourcesRequest) - ), + }, ) _sym_db.RegisterMessage(ListSourcesRequest) ListSourcesResponse = _reflection.GeneratedProtocolMessageType( "ListSourcesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing sources. + + Attributes: sources: Sources belonging to the requested parent. @@ -3281,21 +3275,23 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListSourcesResponse) - ), + }, ) _sym_db.RegisterMessage(ListSourcesResponse) ListAssetsRequest = _reflection.GeneratedProtocolMessageType( "ListAssetsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing assets. + { + "DESCRIPTOR": _LISTASSETSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing assets. + + Attributes: parent: Required. Name of the organization assets should belong to. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. filter: Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via @@ -3305,84 +3301,82 @@ may have a ``-`` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka The supported operators are: - - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. The following - are the allowed field and operator combinations: - name: - ``=`` - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` - Usage: This should be milliseconds since epoch or an RFC3339 - string. Examples: "update\_time = "2019-06-10T16:07:18-07:00"" - "update\_time = 1560208038000" - create\_time: ``=``, ``>``, - ``<``, ``>=``, ``<=`` Usage: This should be milliseconds - since epoch or an RFC3339 string. Examples: "create\_time = - "2019-06-10T16:07:18-07:00"" "create\_time = 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, - ``<=`` - security\_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, - ``:`` - security\_center\_properties.resource\_type: ``=``, - ``:`` - security\_center\_properties.resource\_parent: ``=``, - ``:`` - - security\_center\_properties.resource\_parent\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` - For example, ``resource_properties.size = 100`` is a valid - filter string. + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. The following are the allowed field and + operator combinations: - name: ``=`` - update_time: ``=``, + ``>``, ``<``, ``>=``, ``<=`` Usage: This should be + milliseconds since epoch or an RFC3339 string. Examples: + “update_time = "2019-06-10T16:07:18-07:00"” “update_time = + 1560208038000” - create_time: ``=``, ``>``, ``<``, ``>=``, + ``<=`` Usage: This should be milliseconds since epoch or + an RFC3339 string. Examples: “create_time = + "2019-06-10T16:07:18-07:00"” “create_time = 1560208038000” + - iam_policy.policy_blob: ``=``, ``:`` - + resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, + ``<=`` - security_marks.marks: ``=``, ``:`` - + security_center_properties.resource_name: ``=``, ``:`` - + security_center_properties.resource_display_name: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - + security_center_properties.resource_parent: ``=``, ``:`` - + security_center_properties.resource_parent_display_name: + ``=``, ``:`` - security_center_properties.resource_project: + ``=``, ``:`` - + security_center_properties.resource_project_display_name: + ``=``, ``:`` - security_center_properties.resource_owners: + ``=``, ``:`` For example, ``resource_properties.size = 100`` + is a valid filter string. order_by: Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,resource\_properties.a\_property". - Redundant space characters in the syntax are insignificant. - "name desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. The - following fields are supported: name update\_time - resource\_properties security\_marks.marks - security\_center\_properties.resource\_name - security\_center\_properties.resource\_display\_name - security\_center\_properties.resource\_parent - security\_center\_properties.resource\_parent\_display\_name - security\_center\_properties.resource\_project - security\_center\_properties.resource\_project\_display\_name - security\_center\_properties.resource\_type + example: “name desc,resource_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,resource_properties.a_property” and " name desc , + resource_properties.a_property " are equivalent. The + following fields are supported: name update_time + resource_properties security_marks.marks + security_center_properties.resource_name + security_center_properties.resource_display_name + security_center_properties.resource_parent + security_center_properties.resource_parent_display_name + security_center_properties.resource_project + security_center_properties.resource_project_display_name + security_center_properties.resource_type read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. compare_duration: - When compare\_duration is set, the ListAssetsResult's - "state\_change" attribute is updated to indicate whether the + 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 the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the + compare_duration period of time that precedes the read_time. + This is the time between (read_time - compare_duration) and + read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate - state changes between the two times don't affect the result. - For example, the results aren't affected if the asset is - removed and re-created again. Possible "state\_change" values - when compare\_duration is specified: - "ADDED": indicates + state changes between the two times don’t affect the result. + For example, the results aren’t affected if the asset is + removed and re-created again. Possible “state_change” values + when compare_duration is specified: - “ADDED”: indicates that the asset was not present at the start of - compare\_duration, but present at read\_time. - "REMOVED": + compare_duration, but present at read_time. - “REMOVED”: indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. - "ACTIVE": + compare_duration, but not present at read_time. - “ACTIVE”: indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. If compare\_duration is not specified, then the - only possible state\_change is "UNUSED", which will be the - state\_change set for all assets present at read\_time. + the end of the time period defined by compare_duration and + read_time. If compare_duration is not specified, then the + only possible state_change is “UNUSED”, which will be the + state_change set for all assets present at read_time. field_mask: Optional. A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list @@ -3397,21 +3391,23 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(ListAssetsRequest) ListAssetsResponse = _reflection.GeneratedProtocolMessageType( "ListAssetsResponse", (_message.Message,), - dict( - ListAssetsResult=_reflection.GeneratedProtocolMessageType( + { + "ListAssetsResult": _reflection.GeneratedProtocolMessageType( "ListAssetsResult", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Result containing the Asset and its State. + { + "DESCRIPTOR": _LISTASSETSRESPONSE_LISTASSETSRESULT, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the Asset and its State. + + Attributes: asset: Asset matching the search request. @@ -3419,11 +3415,13 @@ State change of the asset between the points in time. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult) - ), + }, ), - DESCRIPTOR=_LISTASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing assets. + "DESCRIPTOR": _LISTASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing assets. + + Attributes: list_assets_results: Assets matching the list request. @@ -3436,7 +3434,7 @@ The total number of assets matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(ListAssetsResponse) _sym_db.RegisterMessage(ListAssetsResponse.ListAssetsResult) @@ -3444,17 +3442,19 @@ ListFindingsRequest = _reflection.GeneratedProtocolMessageType( "ListFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing findings. + { + "DESCRIPTOR": _LISTFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To list + across all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -3463,7 +3463,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -3471,61 +3471,60 @@ without quotes. - boolean literals ``true`` and ``false`` without quotes. The following field and operator combinations are supported: name: ``=`` parent: ``=``, ``:`` - resource\_name: ``=``, ``:`` state: ``=``, ``:`` category: - ``=``, ``:`` external\_uri: ``=``, ``:`` event\_time: ``=``, + resource_name: ``=``, ``:`` state: ``=``, ``:`` category: + ``=``, ``:`` external_uri: ``=``, ``:`` event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: - "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = - 1560208038000" security\_marks.marks: ``=``, ``:`` - source\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + “event_time = "2019-06-10T16:07:18-07:00"” “event_time = + 1560208038000” security_marks.marks: ``=``, ``:`` + source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. order_by: Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,source\_properties.a\_property". Redundant - space characters in the syntax are insignificant. "name - desc,source\_properties.a\_property" and " name desc , - source\_properties.a\_property " are equivalent. The - following fields are supported: name parent state category - resource\_name event\_time source\_properties - security\_marks.marks + example: “name desc,source_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,source_properties.a_property” and " name desc , + source_properties.a_property " are equivalent. The following + fields are supported: name parent state category resource_name + event_time source_properties security_marks.marks read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. 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 + 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 read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the + compare_duration period of time that precedes the read_time. + This is the time between (read_time - compare_duration) and + read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. - Intermediate state changes between the two times don't affect - the result. For example, the results aren't affected if the + Intermediate state changes between the two times don’t affect + the result. For example, the results aren’t affected if the finding is made inactive and then active again. Possible - "state\_change" values when compare\_duration is specified: - - "CHANGED": indicates that the finding was present and matched - the given filter at the start of compare\_duration, but - changed its state at read\_time. - "UNCHANGED": indicates + “state_change” values when compare_duration is specified: - + “CHANGED”: indicates that the finding was present and matched + the given filter at the start of compare_duration, but + changed its state at read_time. - “UNCHANGED”: indicates that the finding was present and matched the given filter - at the start of compare\_duration and did not change state - at read\_time. - "ADDED": indicates that the finding did not + at the start of compare_duration and did not change state + at read_time. - “ADDED”: indicates that the finding did not match the given filter or was not present at the start of - compare\_duration, but was present at read\_time. - - "REMOVED": indicates that the finding was present and matched - the filter at the start of compare\_duration, but did not - match the filter at read\_time. If compare\_duration is - not specified, then the only possible state\_change is - "UNUSED", which will be the state\_change set for all findings - present at read\_time. + compare_duration, but was present at read_time. - + “REMOVED”: indicates that the finding was present and matched + the filter at the start of compare_duration, but did not + match the filter at read_time. If compare_duration is not + specified, then the only possible state_change is “UNUSED”, + which will be the state_change set for all findings present at + read_time. field_mask: Optional. A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all @@ -3540,30 +3539,32 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(ListFindingsRequest) ListFindingsResponse = _reflection.GeneratedProtocolMessageType( "ListFindingsResponse", (_message.Message,), - dict( - ListFindingsResult=_reflection.GeneratedProtocolMessageType( + { + "ListFindingsResult": _reflection.GeneratedProtocolMessageType( "ListFindingsResult", (_message.Message,), - dict( - Resource=_reflection.GeneratedProtocolMessageType( + { + "Resource": _reflection.GeneratedProtocolMessageType( "Resource", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Information related to the Google Cloud Platform (GCP) resource that - is associated with this finding. + { + "DESCRIPTOR": _LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Information related to the Google Cloud Platform (GCP) + resource that is associated with this finding. + + Attributes: name: The full resource name of the resource. See: https://cloud.goo - gle.com/apis/design/resource\_names#full\_resource\_name + gle.com/apis/design/resource_names#full_resource_name project_name: The full resource name of project that the resource belongs to. @@ -3571,16 +3572,18 @@ The human readable name of project that the resource belongs to. parent_name: - The full resource name of resource's parent. + The full resource name of resource’s parent. parent_display_name: - The human readable name of resource's parent. + The human readable name of resource’s parent. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource) - ), + }, ), - DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Result containing the Finding and its StateChange. + "DESCRIPTOR": _LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the Finding and its StateChange. + + Attributes: finding: Finding matching the search request. @@ -3590,11 +3593,13 @@ Output only. Resource that is associated with this finding. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult) - ), + }, ), - DESCRIPTOR=_LISTFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing findings. + "DESCRIPTOR": _LISTFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing findings. + + Attributes: list_findings_results: Findings matching the list request. @@ -3607,7 +3612,7 @@ The total number of findings matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.ListFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(ListFindingsResponse) _sym_db.RegisterMessage(ListFindingsResponse.ListFindingsResult) @@ -3616,54 +3621,61 @@ SetFindingStateRequest = _reflection.GeneratedProtocolMessageType( "SetFindingStateRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETFINDINGSTATEREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a finding's state. + { + "DESCRIPTOR": _SETFINDINGSTATEREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a finding’s state. + + Attributes: name: Required. The relative resource name of the finding. See: http - s://cloud.google.com/apis/design/resource\_names#relative\_res - ource\_name Example: "organizations/{organization\_id}/sources - /{source\_id}/finding/{finding\_id}". + s://cloud.google.com/apis/design/resource_names#relative_resou + rce_name Example: “organizations/{organization_id}/sources/{so + urce_id}/finding/{finding_id}”. state: Required. The desired State of the finding. start_time: Required. The time at which the updated state takes effect. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.SetFindingStateRequest) - ), + }, ) _sym_db.RegisterMessage(SetFindingStateRequest) RunAssetDiscoveryRequest = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryRequest", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an organization. + { + "DESCRIPTOR": _RUNASSETDISCOVERYREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for running asset discovery for an + organization. + + Attributes: parent: Required. Name of the organization to run asset discovery for. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.RunAssetDiscoveryRequest) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryRequest) UpdateFindingRequest = _reflection.GeneratedProtocolMessageType( "UpdateFindingRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEFINDINGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating or creating a finding. + { + "DESCRIPTOR": _UPDATEFINDINGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating or creating a finding. + + Attributes: finding: Required. The finding resource to update or create if it does - not already exist. parent, security\_marks, and update\_time + not already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in @@ -3672,22 +3684,24 @@ 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 fields and replacing source\_properties. Individual - source\_properties can be added/updated by using - "source\_properties." in the field mask. + mutable fields and replacing source_properties. Individual + source_properties can be added/updated by using + “source_properties.” in the field mask. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.UpdateFindingRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateFindingRequest) UpdateNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "UpdateNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a notification config. + { + "DESCRIPTOR": _UPDATENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a notification config. + + Attributes: notification_config: Required. The notification config to update. @@ -3696,17 +3710,19 @@ If empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.UpdateNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateNotificationConfigRequest) UpdateOrganizationSettingsRequest = _reflection.GeneratedProtocolMessageType( "UpdateOrganizationSettingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating an organization's settings. + { + "DESCRIPTOR": _UPDATEORGANIZATIONSETTINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating an organization’s settings. + + Attributes: organization_settings: Required. The organization settings resource to update. @@ -3715,17 +3731,19 @@ empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateOrganizationSettingsRequest) UpdateSourceRequest = _reflection.GeneratedProtocolMessageType( "UpdateSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESOURCEREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a source. + { + "DESCRIPTOR": _UPDATESOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a source. + + Attributes: source: Required. The source resource to update. @@ -3734,25 +3752,27 @@ empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.UpdateSourceRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSourceRequest) UpdateSecurityMarksRequest = _reflection.GeneratedProtocolMessageType( "UpdateSecurityMarksRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, - __module__="google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a SecurityMarks resource. + { + "DESCRIPTOR": _UPDATESECURITYMARKSREQUEST, + "__module__": "google.cloud.securitycenter_v1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a SecurityMarks resource. + + Attributes: security_marks: Required. The security marks resource to update. update_mask: The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. - If empty or set to "marks", all marks will be replaced. - Individual marks can be updated using "marks.". + If empty or set to “marks”, all marks will be replaced. + Individual marks can be updated using “marks.”. start_time: The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to @@ -3760,7 +3780,7 @@ time. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.UpdateSecurityMarksRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSecurityMarksRequest) @@ -3806,9 +3826,7 @@ full_name="google.cloud.securitycenter.v1.SecurityCenter", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), + serialized_options=b"\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", serialized_start=6412, serialized_end=11362, methods=[ @@ -3819,9 +3837,7 @@ containing_service=None, input_type=_CREATESOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - '\202\323\344\223\002."$/v1/{parent=organizations/*}/sources:\006source\332A\rparent,source' - ), + serialized_options=b'\202\323\344\223\002."$/v1/{parent=organizations/*}/sources:\006source\332A\rparent,source', ), _descriptor.MethodDescriptor( name="CreateFinding", @@ -3830,9 +3846,7 @@ containing_service=None, input_type=_CREATEFINDINGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - '\202\323\344\223\002:"//v1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding' - ), + serialized_options=b'\202\323\344\223\002:"//v1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding', ), _descriptor.MethodDescriptor( name="CreateNotificationConfig", @@ -3841,9 +3855,7 @@ containing_service=None, input_type=_CREATENOTIFICATIONCONFIGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_notification__config__pb2._NOTIFICATIONCONFIG, - serialized_options=_b( - '\202\323\344\223\002G"0/v1/{parent=organizations/*}/notificationConfigs:\023notification_config\332A$parent,config_id,notification_config\332A\032parent,notification_config' - ), + serialized_options=b'\202\323\344\223\002G"0/v1/{parent=organizations/*}/notificationConfigs:\023notification_config\332A$parent,config_id,notification_config\332A\032parent,notification_config', ), _descriptor.MethodDescriptor( name="DeleteNotificationConfig", @@ -3852,9 +3864,7 @@ containing_service=None, input_type=_DELETENOTIFICATIONCONFIGREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, - serialized_options=_b( - "\202\323\344\223\0022*0/v1/{name=organizations/*/notificationConfigs/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\0022*0/v1/{name=organizations/*/notificationConfigs/*}\332A\004name", ), _descriptor.MethodDescriptor( name="GetIamPolicy", @@ -3863,9 +3873,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._GETIAMPOLICYREQUEST, output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY, - serialized_options=_b( - '\202\323\344\223\002:"5/v1/{resource=organizations/*/sources/*}:getIamPolicy:\001*\332A\010resource' - ), + serialized_options=b'\202\323\344\223\002:"5/v1/{resource=organizations/*/sources/*}:getIamPolicy:\001*\332A\010resource', ), _descriptor.MethodDescriptor( name="GetNotificationConfig", @@ -3874,9 +3882,7 @@ containing_service=None, input_type=_GETNOTIFICATIONCONFIGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_notification__config__pb2._NOTIFICATIONCONFIG, - serialized_options=_b( - "\202\323\344\223\0022\0220/v1/{name=organizations/*/notificationConfigs/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\0022\0220/v1/{name=organizations/*/notificationConfigs/*}\332A\004name", ), _descriptor.MethodDescriptor( name="GetOrganizationSettings", @@ -3885,9 +3891,7 @@ containing_service=None, input_type=_GETORGANIZATIONSETTINGSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_organization__settings__pb2._ORGANIZATIONSETTINGS, - serialized_options=_b( - "\202\323\344\223\0021\022//v1/{name=organizations/*/organizationSettings}\332A\004name" - ), + serialized_options=b"\202\323\344\223\0021\022//v1/{name=organizations/*/organizationSettings}\332A\004name", ), _descriptor.MethodDescriptor( name="GetSource", @@ -3896,9 +3900,7 @@ containing_service=None, input_type=_GETSOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - "\202\323\344\223\002&\022$/v1/{name=organizations/*/sources/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\002&\022$/v1/{name=organizations/*/sources/*}\332A\004name", ), _descriptor.MethodDescriptor( name="GroupAssets", @@ -3907,9 +3909,7 @@ containing_service=None, input_type=_GROUPASSETSREQUEST, output_type=_GROUPASSETSRESPONSE, - serialized_options=_b( - '\202\323\344\223\002.")/v1/{parent=organizations/*}/assets:group:\001*' - ), + serialized_options=b'\202\323\344\223\002.")/v1/{parent=organizations/*}/assets:group:\001*', ), _descriptor.MethodDescriptor( name="GroupFindings", @@ -3918,9 +3918,7 @@ containing_service=None, input_type=_GROUPFINDINGSREQUEST, output_type=_GROUPFINDINGSRESPONSE, - serialized_options=_b( - '\202\323\344\223\002:"5/v1/{parent=organizations/*/sources/*}/findings:group:\001*\332A\017parent,group_by' - ), + serialized_options=b'\202\323\344\223\002:"5/v1/{parent=organizations/*/sources/*}/findings:group:\001*\332A\017parent,group_by', ), _descriptor.MethodDescriptor( name="ListAssets", @@ -3929,9 +3927,7 @@ containing_service=None, input_type=_LISTASSETSREQUEST, output_type=_LISTASSETSRESPONSE, - serialized_options=_b( - "\202\323\344\223\002%\022#/v1/{parent=organizations/*}/assets" - ), + serialized_options=b"\202\323\344\223\002%\022#/v1/{parent=organizations/*}/assets", ), _descriptor.MethodDescriptor( name="ListFindings", @@ -3940,9 +3936,7 @@ containing_service=None, input_type=_LISTFINDINGSREQUEST, output_type=_LISTFINDINGSRESPONSE, - serialized_options=_b( - "\202\323\344\223\0021\022//v1/{parent=organizations/*/sources/*}/findings" - ), + serialized_options=b"\202\323\344\223\0021\022//v1/{parent=organizations/*/sources/*}/findings", ), _descriptor.MethodDescriptor( name="ListNotificationConfigs", @@ -3951,9 +3945,7 @@ containing_service=None, input_type=_LISTNOTIFICATIONCONFIGSREQUEST, output_type=_LISTNOTIFICATIONCONFIGSRESPONSE, - serialized_options=_b( - "\202\323\344\223\0022\0220/v1/{parent=organizations/*}/notificationConfigs\332A\006parent" - ), + serialized_options=b"\202\323\344\223\0022\0220/v1/{parent=organizations/*}/notificationConfigs\332A\006parent", ), _descriptor.MethodDescriptor( name="ListSources", @@ -3962,9 +3954,7 @@ containing_service=None, input_type=_LISTSOURCESREQUEST, output_type=_LISTSOURCESRESPONSE, - serialized_options=_b( - "\202\323\344\223\002&\022$/v1/{parent=organizations/*}/sources\332A\006parent" - ), + serialized_options=b"\202\323\344\223\002&\022$/v1/{parent=organizations/*}/sources\332A\006parent", ), _descriptor.MethodDescriptor( name="RunAssetDiscovery", @@ -3973,9 +3963,7 @@ containing_service=None, input_type=_RUNASSETDISCOVERYREQUEST, output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b( - '\202\323\344\223\0025"0/v1/{parent=organizations/*}/assets:runDiscovery:\001*\332A\006parent\312AQ\n8google.cloud.securitycenter.v1.RunAssetDiscoveryResponse\022\025google.protobuf.Empty' - ), + serialized_options=b'\202\323\344\223\0025"0/v1/{parent=organizations/*}/assets:runDiscovery:\001*\332A\006parent\312AQ\n8google.cloud.securitycenter.v1.RunAssetDiscoveryResponse\022\025google.protobuf.Empty', ), _descriptor.MethodDescriptor( name="SetFindingState", @@ -3984,9 +3972,7 @@ containing_service=None, input_type=_SETFINDINGSTATEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - '\202\323\344\223\002="8/v1/{name=organizations/*/sources/*/findings/*}:setState:\001*\332A\025name,state,start_time' - ), + serialized_options=b'\202\323\344\223\002="8/v1/{name=organizations/*/sources/*/findings/*}:setState:\001*\332A\025name,state,start_time', ), _descriptor.MethodDescriptor( name="SetIamPolicy", @@ -3995,9 +3981,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._SETIAMPOLICYREQUEST, output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY, - serialized_options=_b( - '\202\323\344\223\002:"5/v1/{resource=organizations/*/sources/*}:setIamPolicy:\001*\332A\017resource,policy' - ), + serialized_options=b'\202\323\344\223\002:"5/v1/{resource=organizations/*/sources/*}:setIamPolicy:\001*\332A\017resource,policy', ), _descriptor.MethodDescriptor( name="TestIamPermissions", @@ -4006,9 +3990,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSREQUEST, output_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSRESPONSE, - serialized_options=_b( - '\202\323\344\223\002@";/v1/{resource=organizations/*/sources/*}:testIamPermissions:\001*\332A\024resource,permissions' - ), + serialized_options=b'\202\323\344\223\002@";/v1/{resource=organizations/*/sources/*}:testIamPermissions:\001*\332A\024resource,permissions', ), _descriptor.MethodDescriptor( name="UpdateFinding", @@ -4017,9 +3999,7 @@ containing_service=None, input_type=_UPDATEFINDINGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - "\202\323\344\223\002B27/v1/{finding.name=organizations/*/sources/*/findings/*}:\007finding\332A\007finding" - ), + serialized_options=b"\202\323\344\223\002B27/v1/{finding.name=organizations/*/sources/*/findings/*}:\007finding\332A\007finding", ), _descriptor.MethodDescriptor( name="UpdateNotificationConfig", @@ -4028,9 +4008,7 @@ containing_service=None, input_type=_UPDATENOTIFICATIONCONFIGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_notification__config__pb2._NOTIFICATIONCONFIG, - serialized_options=_b( - "\202\323\344\223\002[2D/v1/{notification_config.name=organizations/*/notificationConfigs/*}:\023notification_config\332A\023notification_config\332A\037notification_config,update_mask" - ), + serialized_options=b"\202\323\344\223\002[2D/v1/{notification_config.name=organizations/*/notificationConfigs/*}:\023notification_config\332A\023notification_config\332A\037notification_config,update_mask", ), _descriptor.MethodDescriptor( name="UpdateOrganizationSettings", @@ -4039,9 +4017,7 @@ containing_service=None, input_type=_UPDATEORGANIZATIONSETTINGSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_organization__settings__pb2._ORGANIZATIONSETTINGS, - serialized_options=_b( - "\202\323\344\223\002^2E/v1/{organization_settings.name=organizations/*/organizationSettings}:\025organization_settings\332A\025organization_settings" - ), + serialized_options=b"\202\323\344\223\002^2E/v1/{organization_settings.name=organizations/*/organizationSettings}:\025organization_settings\332A\025organization_settings", ), _descriptor.MethodDescriptor( name="UpdateSource", @@ -4050,9 +4026,7 @@ containing_service=None, input_type=_UPDATESOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - "\202\323\344\223\00252+/v1/{source.name=organizations/*/sources/*}:\006source\332A\006source" - ), + serialized_options=b"\202\323\344\223\00252+/v1/{source.name=organizations/*/sources/*}:\006source\332A\006source", ), _descriptor.MethodDescriptor( name="UpdateSecurityMarks", @@ -4061,9 +4035,7 @@ containing_service=None, input_type=_UPDATESECURITYMARKSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1_dot_proto_dot_security__marks__pb2._SECURITYMARKS, - serialized_options=_b( - "\202\323\344\223\002\262\0012@/v1/{security_marks.name=organizations/*/assets/*/securityMarks}:\016security_marksZ^2L/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\016security_marks\332A\016security_marks" - ), + serialized_options=b"\202\323\344\223\002\262\0012@/v1/{security_marks.name=organizations/*/assets/*/securityMarks}:\016security_marksZ^2L/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\016security_marks\332A\016security_marks", ), ], ) diff --git a/google/cloud/securitycenter_v1/proto/source_pb2.py b/google/cloud/securitycenter_v1/proto/source_pb2.py index 68cb1ac2..90703db8 100644 --- a/google/cloud/securitycenter_v1/proto/source_pb2.py +++ b/google/cloud/securitycenter_v1/proto/source_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1/proto/source.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1/proto/source.proto", package="google.cloud.securitycenter.v1", syntax="proto3", - serialized_options=_b( - '\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1' - ), - serialized_pb=_b( - '\n1google/cloud/securitycenter_v1/proto/source.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x9b\x01\n\x06Source\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:X\xea\x41U\n$securitycenter.googleapis.com/Source\x12-organizations/{organization}/sources/{source}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3' - ), + serialized_options=b'\n"com.google.cloud.securitycenter.v1P\001ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Google::Cloud::SecurityCenter::V1', + serialized_pb=b'\n1google/cloud/securitycenter_v1/proto/source.proto\x12\x1egoogle.cloud.securitycenter.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x9b\x01\n\x06Source\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:X\xea\x41U\n$securitycenter.googleapis.com/Source\x12-organizations/{organization}/sources/{source}B\xda\x01\n"com.google.cloud.securitycenter.v1P\x01ZLgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter\xaa\x02\x1eGoogle.Cloud.SecurityCenter.V1\xca\x02\x1eGoogle\\Cloud\\SecurityCenter\\V1\xea\x02!Google::Cloud::SecurityCenter::V1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -52,7 +45,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -70,7 +63,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -88,7 +81,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -101,9 +94,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b( - "\352AU\n$securitycenter.googleapis.com/Source\022-organizations/{organization}/sources/{source}" - ), + serialized_options=b"\352AU\n$securitycenter.googleapis.com/Source\022-organizations/{organization}/sources/{source}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -118,35 +109,36 @@ Source = _reflection.GeneratedProtocolMessageType( "Source", (_message.Message,), - dict( - DESCRIPTOR=_SOURCE, - __module__="google.cloud.securitycenter_v1.proto.source_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) finding source. A finding - source is an entity or a mechanism that can produce a finding. A - source is like a container of findings that come from the same - scanner, logger, monitor, and other tools. + { + "DESCRIPTOR": _SOURCE, + "__module__": "google.cloud.securitycenter_v1.proto.source_pb2", + "__doc__": """Cloud Security Command Center’s (Cloud SCC) finding + source. A finding source is an entity or a mechanism that can produce a + finding. A source is like a container of findings that come from the + same scanner, logger, monitor, and other tools. + + Attributes: name: The relative resource name of this source. See: https://cloud. - google.com/apis/design/resource\_names#relative\_resource\_nam - e Example: - "organizations/{organization\_id}/sources/{source\_id}" + google.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/sources/{source_id}” display_name: - The source's display name. A source's display name must be + The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the - same parent can't share the same display name. The display + same parent can’t share the same display name. The display name must have a length between 1 and 64 characters (inclusive). description: The description of the source (max of 1024 characters). - Example: "Web Security Scanner is a web security scanner for + Example: “Web Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed - content (HTTP in HTTPS), and outdated or insecure libraries." + content (HTTP in HTTPS), and outdated or insecure libraries.” """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.Source) - ), + }, ) _sym_db.RegisterMessage(Source) diff --git a/google/cloud/securitycenter_v1beta1/gapic/enums.py b/google/cloud/securitycenter_v1beta1/gapic/enums.py index 26ae8e32..f82dd6da 100644 --- a/google/cloud/securitycenter_v1beta1/gapic/enums.py +++ b/google/cloud/securitycenter_v1beta1/gapic/enums.py @@ -21,8 +21,8 @@ class NullValue(enum.IntEnum): """ - ``NullValue`` is a singleton enumeration to represent the null value for - the ``Value`` type union. + ``NullValue`` is a singleton enumeration to represent the null value + for the ``Value`` type union. The JSON representation for ``NullValue`` is JSON ``null``. @@ -58,7 +58,7 @@ class State(enum.IntEnum): When querying across two points in time this describes the change between the two points: ADDED, REMOVED, or ACTIVE. If there was no - compare\_duration supplied in the request the state should be: UNUSED + compare_duration supplied in the request the state should be: UNUSED Attributes: STATE_UNSPECIFIED (int): Unspecified state. @@ -79,9 +79,9 @@ class OrganizationSettings(object): class AssetDiscoveryConfig(object): class InclusionMode(enum.IntEnum): """ - The mode of inclusion when running Asset Discovery. Asset discovery can - be limited by explicitly identifying projects to be included or - excluded. If INCLUDE\_ONLY is set, then only those projects within the + The mode of inclusion when running Asset Discovery. Asset discovery + can be limited by explicitly identifying projects to be included or + excluded. If INCLUDE_ONLY is set, then only those projects within the organization and their children are discovered during asset discovery. If EXCLUDE is set, then projects that don't match those projects are discovered during asset discovery. If neither are set, then all projects @@ -99,3 +99,22 @@ class InclusionMode(enum.IntEnum): INCLUSION_MODE_UNSPECIFIED = 0 INCLUDE_ONLY = 1 EXCLUDE = 2 + + +class RunAssetDiscoveryResponse(object): + class State(enum.IntEnum): + """ + The state of an asset discovery run. + + Attributes: + STATE_UNSPECIFIED (int): Asset discovery run state was unspecified. + COMPLETED (int): Asset discovery run completed successfully. + SUPERSEDED (int): Asset discovery run was cancelled with tasks still pending, as another + run for the same organization was started with a higher priority. + TERMINATED (int): Asset discovery run was killed and terminated. + """ + + STATE_UNSPECIFIED = 0 + COMPLETED = 1 + SUPERSEDED = 2 + TERMINATED = 3 diff --git a/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py b/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py index badf0e39..72660006 100644 --- a/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py +++ b/google/cloud/securitycenter_v1beta1/gapic/security_center_client.py @@ -279,9 +279,9 @@ def create_source( >>> response = client.create_source(parent, source) Args: - parent (str): Required. Resource name of the new source's parent. Its format should be - "organizations/[organization\_id]". - source (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Source]): Required. The Source being created, only the display\_name and + parent (str): Required. Resource name of the new source's parent. Its format + should be "organizations/[organization_id]". + source (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Source]): Required. The Source being created, only the display_name and description will be used. All other fields will be ignored. If a dict is provided, it must be of the same form as the protobuf @@ -365,13 +365,13 @@ def create_finding( >>> response = client.create_finding(parent, finding_id, finding) Args: - parent (str): Required. Resource name of the new finding's parent. Its format should - be "organizations/[organization\_id]/sources/[source\_id]". + parent (str): Required. Resource name of the new finding's parent. Its format + should be "organizations/[organization_id]/sources/[source_id]". finding_id (str): 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. - finding (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Finding]): Required. The Finding being created. The name and security\_marks will - be ignored as they are both output only fields on this resource. + finding (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Finding]): Required. The Finding being created. The name and security_marks + will be ignored as they are both output only fields on this resource. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1beta1.types.Finding` @@ -523,8 +523,8 @@ def get_organization_settings( >>> response = client.get_organization_settings(name) Args: - name (str): Required. Name of the organization to get organization settings for. Its - format is "organizations/[organization\_id]/organizationSettings". + name (str): Required. Name of the organization to get organization settings for. + Its format is "organizations/[organization_id]/organizationSettings". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -594,7 +594,7 @@ def get_source( Args: name (str): Required. Relative resource name of the source. Its format is - "organizations/[organization\_id]/source/[source\_id]". + "organizations/[organization_id]/source/[source_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -685,21 +685,21 @@ def group_assets( Args: parent (str): Required. Name of the organization to groupBy. Its format is - "organizations/[organization\_id]". + "organizations/[organization_id]". group_by (str): Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: - "security\_center\_properties.resource\_project,security\_center\_properties.project". + "security_center_properties.resource_project,security_center_properties.project". - The following fields are supported when compare\_duration is not set: + The following fields are supported when compare_duration is not set: - - security\_center\_properties.resource\_project - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent + - security_center_properties.resource_project + - security_center_properties.resource_type + - security_center_properties.resource_parent - The following fields are supported when compare\_duration is set: + The following fields are supported when compare_duration is set: - - security\_center\_properties.resource\_type + - security_center_properties.resource_type filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are not supported, and ``OR`` @@ -710,9 +710,9 @@ def group_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -728,26 +728,26 @@ def group_assets( For example, ``resource_properties.size = 100`` is a valid filter string. - compare_duration (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Duration]): When compare\_duration is set, the Asset's "state" property is updated - to indicate whether the asset was added, removed, or remained present - during the compare\_duration period of time that precedes the - read\_time. This is the time between (read\_time - compare\_duration) - and read\_time. + compare_duration (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Duration]): When compare_duration is set, the Asset's "state" property is + updated to indicate whether the asset was added, removed, or remained + present during the compare_duration period of time that precedes the + read_time. This is the time between (read_time - compare_duration) and + read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state" values when compare\_duration is specified: + Possible "state" values when compare_duration is specified: - "ADDED": indicates that the asset was not present before - compare\_duration, but present at reference\_time. + compare_duration, but present at reference_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at reference\_time. + compare_duration, but not present at reference_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - reference\_time. + the end of the time period defined by compare_duration and + reference_time. This field is ignored if ``state`` is not a field in ``group_by``. @@ -846,11 +846,11 @@ def group_findings( metadata=None, ): """ - Filters an organization or source's findings and groups them by their - specified properties. + 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: - /v1beta1/organizations/{organization\_id}/sources/-/findings + /v1beta1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1beta1 @@ -878,16 +878,17 @@ def group_findings( Args: parent (str): 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/{organization\_id}/sources/- - group_by (str): Required. Expression that defines what assets fields to use for grouping - (including ``state``). The string value should follow SQL syntax: comma - separated list of fields. For example: "parent,resource\_name". + "organizations/[organization_id]/sources/[source_id]". To groupBy across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- + group_by (str): Required. Expression that defines what assets fields to use for + grouping (including ``state``). The string value should follow SQL + syntax: comma separated list of fields. For example: + "parent,resource_name". The following fields are supported: - - resource\_name + - resource_name - category - state - parent @@ -900,8 +901,8 @@ def group_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1034,8 +1035,8 @@ def list_assets( ... pass Args: - parent (str): Required. Name of the organization assets should belong to. Its format - is "organizations/[organization\_id]". + parent (str): Required. Name of the organization assets should belong to. Its + format is "organizations/[organization_id]". filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are not supported, and ``OR`` @@ -1046,9 +1047,9 @@ def list_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1064,15 +1065,14 @@ def list_assets( For example, ``resource_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,resource\_properties.a\_property". Redundant space characters in - the syntax are insignificant. "name - desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. + desc,resource_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,resource_properties.a_property" and + " name desc , resource_properties.a_property " are equivalent. read_time (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Timestamp]): Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of @@ -1080,29 +1080,28 @@ def list_assets( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1beta1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Duration]): When compare\_duration is set, the ListAssetResult's "state" attribute - is updated to indicate whether the asset was added, removed, or remained - present during the compare\_duration period of time that precedes the - read\_time. This is the time between (read\_time - compare\_duration) - and read\_time. + compare_duration (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Duration]): When compare_duration is set, the ListAssetResult's "state" + attribute is updated to indicate whether the asset was added, removed, + or remained present during the compare_duration period of time that + precedes the read_time. This is the time between (read_time - + compare_duration) and read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state" values when compare\_duration is specified: + Possible "state" values when compare_duration is specified: - "ADDED": indicates that the asset was not present before - compare\_duration, but present at read\_time. + compare_duration, but present at read_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. + compare_duration, but not present at read_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. + the end of the time period defined by compare_duration and read_time. - If compare\_duration is not specified, then the only possible state is - "UNUSED", which indicates that the asset is present at read\_time. + If compare_duration is not specified, then the only possible state is + "UNUSED", which indicates that the asset is present at read_time. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1beta1.types.Duration` @@ -1203,7 +1202,7 @@ def list_findings( Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1beta1/organizations/{organization\_id}/sources/-/findings + /v1beta1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1beta1 @@ -1228,9 +1227,9 @@ def list_findings( Args: parent (str): 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/{organization\_id}/sources/- + "organizations/[organization_id]/sources/[source_id]". To list across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter_ (str): Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are not supported, and ``OR`` @@ -1240,8 +1239,8 @@ def list_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1256,14 +1255,14 @@ def list_findings( - boolean literals ``true`` and ``false`` without quotes. For example, ``source_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,source\_properties.a\_property". Redundant space characters in the - syntax are insignificant. "name desc,source\_properties.a\_property" and - " name desc , source\_properties.a\_property " are equivalent. + desc,source_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,source_properties.a_property" and " + name desc , source_properties.a_property " are equivalent. read_time (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Timestamp]): Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the @@ -1384,7 +1383,7 @@ def list_sources( Args: parent (str): Required. Resource name of the parent of sources to list. Its format - should be "organizations/[organization\_id]". + should be "organizations/[organization_id]". page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -1467,7 +1466,7 @@ def run_asset_discovery( 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. + TOO_MANY_REQUESTS error. Example: >>> from google.cloud import securitycenter_v1beta1 @@ -1489,7 +1488,7 @@ def run_asset_discovery( Args: parent (str): Required. Name of the organization to run asset discovery for. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -1574,9 +1573,9 @@ def set_finding_state( Args: name (str): Required. The relative resource name of the finding. See: - https://cloud.google.com/apis/design/resource\_names#relative\_resource\_name + https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - "organizations/{organization\_id}/sources/{source\_id}/finding/{finding\_id}". + "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". state (~google.cloud.securitycenter_v1beta1.types.State): Required. The desired State of the finding. start_time (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Timestamp]): Required. The time at which the updated state takes effect. @@ -1739,8 +1738,8 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. - permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with - wildcards (such as '*' or 'storage.*') are not allowed. For more + permissions (list[str]): The set of permissions to check for the ``resource``. Permissions + with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM Overview `__. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -1817,8 +1816,7 @@ def update_finding( Args: finding (Union[dict, ~google.cloud.securitycenter_v1beta1.types.Finding]): Required. The finding resource to update or create if it does not - already exist. parent, security\_marks, and update\_time will be - ignored. + already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must alphanumeric and less than or equal to 32 characters and greater than 0 diff --git a/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py b/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py index 7132ba25..a18012db 100644 --- a/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py +++ b/google/cloud/securitycenter_v1beta1/gapic/transports/security_center_grpc_transport.py @@ -204,11 +204,11 @@ def group_assets(self): def group_findings(self): """Return the gRPC stub for :meth:`SecurityCenterClient.group_findings`. - Filters an organization or source's findings and groups them by their - specified properties. + 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: - /v1beta1/organizations/{organization\_id}/sources/-/findings + /v1beta1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -237,7 +237,7 @@ def list_findings(self): Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1beta1/organizations/{organization\_id}/sources/-/findings + /v1beta1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -268,7 +268,7 @@ def run_asset_discovery(self): 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. + TOO_MANY_REQUESTS error. Returns: Callable: A callable which accepts the appropriate diff --git a/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py b/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py index d5488e2c..52c57fd9 100644 --- a/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/asset_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/asset.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -28,12 +25,8 @@ name="google/cloud/securitycenter_v1beta1/proto/asset.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - "\n5google/cloud/securitycenter_v1beta1/proto/asset.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\"\xfc\x04\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32\x43.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties\x12_\n\x13resource_properties\x18\x07 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry\x12J\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x99\x01\n\x18SecurityCenterProperties\x12\x1a\n\rresource_name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x42~\n'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3" - ), + serialized_options=b"\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter", + serialized_pb=b"\n5google/cloud/securitycenter_v1beta1/proto/asset.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\"\xfc\x04\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12g\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32\x43.google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties\x12_\n\x13resource_properties\x18\x07 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry\x12J\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x99\x01\n\x18SecurityCenterProperties\x12\x1a\n\rresource_name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\x42~\n'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3", dependencies=[ google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_security__marks__pb2.DESCRIPTOR, @@ -60,13 +53,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\005"), + serialized_options=b"\340A\005", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -78,7 +71,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -96,7 +89,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -114,7 +107,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -170,7 +163,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -201,7 +194,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -226,7 +219,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -366,21 +359,23 @@ Asset = _reflection.GeneratedProtocolMessageType( "Asset", (_message.Message,), - dict( - SecurityCenterProperties=_reflection.GeneratedProtocolMessageType( + { + "SecurityCenterProperties": _reflection.GeneratedProtocolMessageType( "SecurityCenterProperties", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, - __module__="google.cloud.securitycenter_v1beta1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed by Cloud - SCC and cannot be modified by the user. + { + "DESCRIPTOR": _ASSET_SECURITYCENTERPROPERTIES, + "__module__": "google.cloud.securitycenter_v1beta1.proto.asset_pb2", + "__doc__": """Cloud SCC managed properties. These properties are managed + by Cloud SCC and cannot be modified by the user. + + Attributes: resource_name: Immutable. The full resource name of the GCP resource this asset represents. This field is immutable after create time. - See: https://cloud.google.com/apis/design/resource\_names#full - \_resource\_name + See: https://cloud.google.com/apis/design/resource_names#full_ + resource_name resource_type: The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field @@ -388,40 +383,42 @@ is immutable after create time. resource_parent: The full resource name of the immediate parent of the - resource. See: https://cloud.google.com/apis/design/resource\_ - names#full\_resource\_name + resource. See: https://cloud.google.com/apis/design/resource_n + ames#full_resource_name resource_project: The full resource name of the project the resource belongs to. - See: https://cloud.google.com/apis/design/resource\_names#full - \_resource\_name + See: https://cloud.google.com/apis/design/resource_names#full_ + resource_name resource_owners: Owners of the Google Cloud resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.Asset.SecurityCenterProperties) - ), + }, ), - ResourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + "ResourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "ResourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_RESOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1beta1.proto.asset_pb2" + { + "DESCRIPTOR": _ASSET_RESOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1beta1.proto.asset_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.Asset.ResourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_ASSET, - __module__="google.cloud.securitycenter_v1beta1.proto.asset_pb2", - __doc__="""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 GCP resource. All modifications to - an Asset are only within the context of Cloud SCC and don't affect the - referenced GCP resource. + "DESCRIPTOR": _ASSET, + "__module__": "google.cloud.securitycenter_v1beta1.proto.asset_pb2", + "__doc__": """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 GCP resource. All modifications to an Asset are only within the + context of Cloud SCC and don’t affect the referenced GCP resource. + + Attributes: name: The relative resource name of this asset. See: https://cloud.g - oogle.com/apis/design/resource\_names#relative\_resource\_name - Example: - "organizations/{organization\_id}/assets/{asset\_id}". + oogle.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/assets/{asset_id}”. security_center_properties: Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user. @@ -440,7 +437,7 @@ deleted in Cloud SCC. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.Asset) - ), + }, ) _sym_db.RegisterMessage(Asset) _sym_db.RegisterMessage(Asset.SecurityCenterProperties) diff --git a/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py b/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py index 08db0c07..1f10b340 100644 --- a/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/finding_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/finding.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -29,12 +26,8 @@ name="google/cloud/securitycenter_v1beta1/proto/finding.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - '\n7google/cloud/securitycenter_v1beta1/proto/finding.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto"\xb8\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x06parent\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32\x32.google.cloud.securitycenter.v1beta1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12]\n\x11source_properties\x18\x07 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry\x12O\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3' - ), + serialized_options=b"\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter", + serialized_pb=b'\n7google/cloud/securitycenter_v1beta1/proto/finding.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto"\xb8\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x06parent\x18\x02 \x01(\tB\x03\xe0\x41\x05\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x41\n\x05state\x18\x04 \x01(\x0e\x32\x32.google.cloud.securitycenter.v1beta1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12]\n\x11source_properties\x18\x07 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry\x12O\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3', dependencies=[ google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -90,7 +83,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -121,7 +114,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -146,7 +139,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -164,13 +157,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\005"), + serialized_options=b"\340A\005", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -182,7 +175,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -218,7 +211,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -236,7 +229,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -278,7 +271,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -321,9 +314,7 @@ extensions=[], nested_types=[_FINDING_SOURCEPROPERTIESENTRY,], enum_types=[_FINDING_STATE,], - serialized_options=_b( - "\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}" - ), + serialized_options=b"\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -358,48 +349,51 @@ Finding = _reflection.GeneratedProtocolMessageType( "Finding", (_message.Message,), - dict( - SourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "SourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "SourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_FINDING_SOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1beta1.proto.finding_pb2" + { + "DESCRIPTOR": _FINDING_SOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1beta1.proto.finding_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.Finding.SourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_FINDING, - __module__="google.cloud.securitycenter_v1beta1.proto.finding_pb2", - __doc__="""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. + "DESCRIPTOR": _FINDING, + "__module__": "google.cloud.securitycenter_v1beta1.proto.finding_pb2", + "__doc__": """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. + + Attributes: name: The relative resource name of this finding. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: "organizations/{organization\_id}/sources/{source\ - _id}/findings/{finding\_id}" + .google.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/sources/{source_id}/ + findings/{finding_id}” parent: 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}" + resource_names#relative_resource_name This field is immutable + after creation time. For example: + “organizations/{organization_id}/sources/{source_id}” resource_name: 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. + 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. state: The state of the finding. category: The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: - "XSS\_FLASH\_INJECTION" + “XSS_FLASH_INJECTION” external_uri: The URI that, if available, points to a web page outside of Cloud SCC where additional information about the finding can @@ -408,7 +402,7 @@ source_properties: 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, + source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only. security_marks: @@ -424,7 +418,7 @@ The time at which the finding was created in Cloud SCC. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.Finding) - ), + }, ) _sym_db.RegisterMessage(Finding) _sym_db.RegisterMessage(Finding.SourcePropertiesEntry) diff --git a/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py index 63e4e487..531612e3 100644 --- a/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/organization_settings_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/organization_settings.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1beta1/proto/organization_settings.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - '\nEgoogle/cloud/securitycenter_v1beta1/proto/organization_settings.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto"\x94\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12n\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32N.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig\x1a\xf1\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12t\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32\\.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3' - ), + serialized_options=b"\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter", + serialized_pb=b'\nEgoogle/cloud/securitycenter_v1beta1/proto/organization_settings.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto"\x94\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12n\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32N.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig\x1a\xf1\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12t\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32\\.google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3', dependencies=[ google_dot_api_dot_resource__pb2.DESCRIPTOR, google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -136,7 +129,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -185,9 +178,7 @@ extensions=[], nested_types=[_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG,], enum_types=[], - serialized_options=_b( - "\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings" - ), + serialized_options=b"\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -212,14 +203,16 @@ OrganizationSettings = _reflection.GeneratedProtocolMessageType( "OrganizationSettings", (_message.Message,), - dict( - AssetDiscoveryConfig=_reflection.GeneratedProtocolMessageType( + { + "AssetDiscoveryConfig": _reflection.GeneratedProtocolMessageType( "AssetDiscoveryConfig", (_message.Message,), - dict( - DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, - __module__="google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", - __doc__="""The configuration used for Asset Discovery runs. + { + "DESCRIPTOR": _ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, + "__module__": "google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", + "__doc__": """The configuration used for Asset Discovery runs. + + Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -227,18 +220,20 @@ The mode to use for filtering asset discovery. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.OrganizationSettings.AssetDiscoveryConfig) - ), + }, ), - DESCRIPTOR=_ORGANIZATIONSETTINGS, - __module__="google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud Security - Command Center (Cloud SCC) organization. + "DESCRIPTOR": _ORGANIZATIONSETTINGS, + "__module__": "google.cloud.securitycenter_v1beta1.proto.organization_settings_pb2", + "__doc__": """User specified settings that are attached to the Cloud + Security Command Center (Cloud SCC) organization. + + Attributes: name: The relative resource name of the settings. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: - "organizations/{organization\_id}/organizationSettings". + .google.com/apis/design/resource_names#relative_resource_name + Example: + “organizations/{organization_id}/organizationSettings”. enable_asset_discovery: A flag that indicates if Asset Discovery should be enabled. If the flag is set to ``true``, then discovery of assets will @@ -248,7 +243,7 @@ The configuration used for Asset Discovery runs. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.OrganizationSettings) - ), + }, ) _sym_db.RegisterMessage(OrganizationSettings) _sym_db.RegisterMessage(OrganizationSettings.AssetDiscoveryConfig) diff --git a/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py index f1c9cab5..6424d8af 100644 --- a/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - '\nLgoogle/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto"\xec\x01\n\x19RunAssetDiscoveryResponse\x12S\n\x05state\x18\x01 \x01(\x0e\x32\x44.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3' - ), + serialized_options=b"\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter", + serialized_pb=b'\nLgoogle/cloud/securitycenter_v1beta1/proto/run_asset_discovery_response.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/api/annotations.proto"\xec\x01\n\x19RunAssetDiscoveryResponse\x12S\n\x05state\x18\x01 \x01(\x0e\x32\x44.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42~\n\'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3', dependencies=[ google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -138,10 +131,12 @@ RunAssetDiscoveryResponse = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryResponse", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.run_asset_discovery_response_pb2", - __doc__="""Response of asset discovery run + { + "DESCRIPTOR": _RUNASSETDISCOVERYRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.run_asset_discovery_response_pb2", + "__doc__": """Response of asset discovery run + + Attributes: state: The state of an asset discovery run. @@ -149,7 +144,7 @@ The duration between asset discovery run start and end """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.RunAssetDiscoveryResponse) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryResponse) diff --git a/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py index e479c3b1..9d6fbb70 100644 --- a/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/security_marks_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/security_marks.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1beta1/proto/security_marks.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - "\n>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xd8\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\x05marks\x18\x02 \x03(\x0b\x32=.google.cloud.securitycenter.v1beta1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB~\n'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3" - ), + serialized_options=b"\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter", + serialized_pb=b"\n>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xd8\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12L\n\x05marks\x18\x02 \x03(\x0b\x32=.google.cloud.securitycenter.v1beta1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB~\n'com.google.cloud.securitycenter.v1beta1P\x01ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenterb\x06proto3", dependencies=[ google_dot_api_dot_resource__pb2.DESCRIPTOR, google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -52,7 +45,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -70,7 +63,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -83,7 +76,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -108,7 +101,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -139,9 +132,7 @@ extensions=[], nested_types=[_SECURITYMARKS_MARKSENTRY,], enum_types=[], - serialized_options=_b( - "\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks" - ), + serialized_options=b"\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -158,29 +149,31 @@ SecurityMarks = _reflection.GeneratedProtocolMessageType( "SecurityMarks", (_message.Message,), - dict( - MarksEntry=_reflection.GeneratedProtocolMessageType( + { + "MarksEntry": _reflection.GeneratedProtocolMessageType( "MarksEntry", (_message.Message,), - dict( - DESCRIPTOR=_SECURITYMARKS_MARKSENTRY, - __module__="google.cloud.securitycenter_v1beta1.proto.security_marks_pb2" + { + "DESCRIPTOR": _SECURITYMARKS_MARKSENTRY, + "__module__": "google.cloud.securitycenter_v1beta1.proto.security_marks_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.SecurityMarks.MarksEntry) - ), + }, ), - DESCRIPTOR=_SECURITYMARKS, - __module__="google.cloud.securitycenter_v1beta1.proto.security_marks_pb2", - __doc__="""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. + "DESCRIPTOR": _SECURITYMARKS, + "__module__": "google.cloud.securitycenter_v1beta1.proto.security_marks_pb2", + "__doc__": """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. + + Attributes: name: The relative resource name of the SecurityMarks. See: https:// - cloud.google.com/apis/design/resource\_names#relative\_resourc - e\_name Examples: "organizations/{organization\_id}/assets/{as - set\_id}/securityMarks" "organizations/{organization\_id}/sour - ces/{source\_id}/findings/{finding\_id}/securityMarks". + cloud.google.com/apis/design/resource_names#relative_resource_ + name Examples: “organizations/{organization_id}/assets/{asset_ + id}/securityMarks” “organizations/{organization_id}/sources/{s + ource_id}/findings/{finding_id}/securityMarks”. marks: Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are @@ -191,7 +184,7 @@ - 4096 characters (inclusive) """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.SecurityMarks) - ), + }, ) _sym_db.RegisterMessage(SecurityMarks) _sym_db.RegisterMessage(SecurityMarks.MarksEntry) diff --git a/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py index e4e55e53..68263300 100644 --- a/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1beta1/proto/securitycenter_service_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1beta1/proto/securitycenter_service.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -50,12 +47,8 @@ name="google/cloud/securitycenter_v1beta1/proto/securitycenter_service.proto", package="google.cloud.securitycenter.v1beta1", syntax="proto3", - serialized_options=_b( - "\n'com.google.cloud.securitycenter.v1beta1P\001ZQgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1;securitycenter" - ), - serialized_pb=_b( - '\nFgoogle/cloud/securitycenter_v1beta1/proto/securitycenter_service.proto\x12#google.cloud.securitycenter.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/securitycenter_v1beta1/proto/asset.proto\x1a\x37google/cloud/securitycenter_v1beta1/proto/finding.proto\x1a\x45google/cloud/securitycenter_v1beta1/proto/organization_settings.proto\x1a>google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x36google/cloud/securitycenter_v1beta1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb1\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x07\x66inding\x18\x03 \x01(\x0b\x32,.google.cloud.securitycenter.v1beta1.FindingB\x03\xe0\x41\x02"\xa1\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12@\n\x06source\x18\x02 \x01(\x0b\x32+.google.cloud.securitycenter.v1beta1.SourceB\x03\xe0\x41\x02"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\x90\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xa9\x01\n\x13GroupAssetsResponse\x12J\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.securitycenter.v1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t"\xd1\x01\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x11\n\tpage_size\x18\x06 \x01(\x05"\xab\x01\n\x15GroupFindingsResponse\x12J\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.securitycenter.v1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t"\xbd\x01\n\x0bGroupResult\x12T\n\nproperties\x18\x01 \x03(\x0b\x32@.google.cloud.securitycenter.v1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"l\n\x13ListSourcesResponse\x12<\n\x07sources\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xbf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xd6\x03\n\x12ListAssetsResponse\x12\x65\n\x13list_assets_results\x18\x01 \x03(\x0b\x32H.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12\x39\n\x05\x61sset\x18\x01 \x01(\x0b\x32*.google.cloud.securitycenter.v1beta1.Asset\x12]\n\x05state\x18\x02 \x01(\x0e\x32N.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State"N\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04"\x80\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\nfield_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"\xb2\x01\n\x14ListFindingsResponse\x12>\n\x08\x66indings\x18\x01 \x03(\x0b\x32,.google.cloud.securitycenter.v1beta1.Finding\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xd2\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32\x32.google.cloud.securitycenter.v1beta1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x8b\x01\n\x14UpdateFindingRequest\x12\x42\n\x07\x66inding\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1beta1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb3\x01\n!UpdateOrganizationSettingsRequest\x12]\n\x15organization_settings\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1beta1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x88\x01\n\x13UpdateSourceRequest\x12@\n\x06source\x18\x01 \x01(\x0b\x32+.google.cloud.securitycenter.v1beta1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xce\x01\n\x1aUpdateSecurityMarksRequest\x12O\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xeb\x1e\n\x0eSecurityCenter\x12\xc0\x01\n\x0c\x43reateSource\x12\x38.google.cloud.securitycenter.v1beta1.CreateSourceRequest\x1a+.google.cloud.securitycenter.v1beta1.Source"I\x82\xd3\xe4\x93\x02\x33")/v1beta1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xdb\x01\n\rCreateFinding\x12\x39.google.cloud.securitycenter.v1beta1.CreateFindingRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"a\x82\xd3\xe4\x93\x02?"4/v1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\x12\x9b\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"P\x82\xd3\xe4\x93\x02?":/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xde\x01\n\x17GetOrganizationSettings\x12\x43.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest\x1a\x39.google.cloud.securitycenter.v1beta1.OrganizationSettings"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{name=organizations/*/organizationSettings}\xda\x41\x04name\x12\xa9\x01\n\tGetSource\x12\x35.google.cloud.securitycenter.v1beta1.GetSourceRequest\x1a+.google.cloud.securitycenter.v1beta1.Source"8\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{name=organizations/*/sources/*}\xda\x41\x04name\x12\xbb\x01\n\x0bGroupAssets\x12\x37.google.cloud.securitycenter.v1beta1.GroupAssetsRequest\x1a\x38.google.cloud.securitycenter.v1beta1.GroupAssetsResponse"9\x82\xd3\xe4\x93\x02\x33"./v1beta1/{parent=organizations/*}/assets:group:\x01*\x12\xdf\x01\n\rGroupFindings\x12\x39.google.cloud.securitycenter.v1beta1.GroupFindingsRequest\x1a:.google.cloud.securitycenter.v1beta1.GroupFindingsResponse"W\x82\xd3\xe4\x93\x02?":/v1beta1/{parent=organizations/*/sources/*}/findings:group:\x01*\xda\x41\x0fparent,group_by\x12\xaf\x01\n\nListAssets\x12\x36.google.cloud.securitycenter.v1beta1.ListAssetsRequest\x1a\x37.google.cloud.securitycenter.v1beta1.ListAssetsResponse"0\x82\xd3\xe4\x93\x02*\x12(/v1beta1/{parent=organizations/*}/assets\x12\xc1\x01\n\x0cListFindings\x12\x38.google.cloud.securitycenter.v1beta1.ListFindingsRequest\x1a\x39.google.cloud.securitycenter.v1beta1.ListFindingsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{parent=organizations/*/sources/*}/findings\x12\xbc\x01\n\x0bListSources\x12\x37.google.cloud.securitycenter.v1beta1.ListSourcesRequest\x1a\x38.google.cloud.securitycenter.v1beta1.ListSourcesResponse":\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{parent=organizations/*}/sources\xda\x41\x06parent\x12\xed\x01\n\x11RunAssetDiscovery\x12=.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation"z\x82\xd3\xe4\x93\x02:"5/v1beta1/{parent=organizations/*}/assets:runDiscovery:\x01*\xda\x41\x06parent\xca\x41.\n\x15google.protobuf.Empty\x12\x15google.protobuf.Empty\x12\xde\x01\n\x0fSetFindingState\x12;.google.cloud.securitycenter.v1beta1.SetFindingStateRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"`\x82\xd3\xe4\x93\x02\x42"=/v1beta1/{name=organizations/*/sources/*/findings/*}:setState:\x01*\xda\x41\x15name,state,start_time\x12\xa2\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"W\x82\xd3\xe4\x93\x02?":/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xcd\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"b\x82\xd3\xe4\x93\x02\x45"@/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xd1\x01\n\rUpdateFinding\x12\x39.google.cloud.securitycenter.v1beta1.UpdateFindingRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"W\x82\xd3\xe4\x93\x02G2google/cloud/securitycenter_v1beta1/proto/security_marks.proto\x1a\x36google/cloud/securitycenter_v1beta1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb1\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\x07\x66inding\x18\x03 \x01(\x0b\x32,.google.cloud.securitycenter.v1beta1.FindingB\x03\xe0\x41\x02"\xa1\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12@\n\x06source\x18\x02 \x01(\x0b\x32+.google.cloud.securitycenter.v1beta1.SourceB\x03\xe0\x41\x02"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\x90\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xa9\x01\n\x13GroupAssetsResponse\x12J\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.securitycenter.v1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t"\xd1\x01\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\npage_token\x18\x05 \x01(\t\x12\x11\n\tpage_size\x18\x06 \x01(\x05"\xab\x01\n\x15GroupFindingsResponse\x12J\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x30.google.cloud.securitycenter.v1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t"\xbd\x01\n\x0bGroupResult\x12T\n\nproperties\x18\x01 \x03(\x0b\x32@.google.cloud.securitycenter.v1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"l\n\x13ListSourcesResponse\x12<\n\x07sources\x18\x01 \x03(\x0b\x32+.google.cloud.securitycenter.v1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xbf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xd6\x03\n\x12ListAssetsResponse\x12\x65\n\x13list_assets_results\x18\x01 \x03(\x0b\x32H.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12\x39\n\x05\x61sset\x18\x01 \x01(\x0b\x32*.google.cloud.securitycenter.v1beta1.Asset\x12]\n\x05state\x18\x02 \x01(\x0e\x32N.google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult.State"N\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06UNUSED\x10\x01\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04"\x80\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\nfield_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"\xb2\x01\n\x14ListFindingsResponse\x12>\n\x08\x66indings\x18\x01 \x03(\x0b\x32,.google.cloud.securitycenter.v1beta1.Finding\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xd2\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32\x32.google.cloud.securitycenter.v1beta1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x8b\x01\n\x14UpdateFindingRequest\x12\x42\n\x07\x66inding\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1beta1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb3\x01\n!UpdateOrganizationSettingsRequest\x12]\n\x15organization_settings\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1beta1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x88\x01\n\x13UpdateSourceRequest\x12@\n\x06source\x18\x01 \x01(\x0b\x32+.google.cloud.securitycenter.v1beta1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xce\x01\n\x1aUpdateSecurityMarksRequest\x12O\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x32.google.cloud.securitycenter.v1beta1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xeb\x1e\n\x0eSecurityCenter\x12\xc0\x01\n\x0c\x43reateSource\x12\x38.google.cloud.securitycenter.v1beta1.CreateSourceRequest\x1a+.google.cloud.securitycenter.v1beta1.Source"I\x82\xd3\xe4\x93\x02\x33")/v1beta1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xdb\x01\n\rCreateFinding\x12\x39.google.cloud.securitycenter.v1beta1.CreateFindingRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"a\x82\xd3\xe4\x93\x02?"4/v1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\x12\x9b\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"P\x82\xd3\xe4\x93\x02?":/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xde\x01\n\x17GetOrganizationSettings\x12\x43.google.cloud.securitycenter.v1beta1.GetOrganizationSettingsRequest\x1a\x39.google.cloud.securitycenter.v1beta1.OrganizationSettings"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{name=organizations/*/organizationSettings}\xda\x41\x04name\x12\xa9\x01\n\tGetSource\x12\x35.google.cloud.securitycenter.v1beta1.GetSourceRequest\x1a+.google.cloud.securitycenter.v1beta1.Source"8\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{name=organizations/*/sources/*}\xda\x41\x04name\x12\xbb\x01\n\x0bGroupAssets\x12\x37.google.cloud.securitycenter.v1beta1.GroupAssetsRequest\x1a\x38.google.cloud.securitycenter.v1beta1.GroupAssetsResponse"9\x82\xd3\xe4\x93\x02\x33"./v1beta1/{parent=organizations/*}/assets:group:\x01*\x12\xdf\x01\n\rGroupFindings\x12\x39.google.cloud.securitycenter.v1beta1.GroupFindingsRequest\x1a:.google.cloud.securitycenter.v1beta1.GroupFindingsResponse"W\x82\xd3\xe4\x93\x02?":/v1beta1/{parent=organizations/*/sources/*}/findings:group:\x01*\xda\x41\x0fparent,group_by\x12\xaf\x01\n\nListAssets\x12\x36.google.cloud.securitycenter.v1beta1.ListAssetsRequest\x1a\x37.google.cloud.securitycenter.v1beta1.ListAssetsResponse"0\x82\xd3\xe4\x93\x02*\x12(/v1beta1/{parent=organizations/*}/assets\x12\xc1\x01\n\x0cListFindings\x12\x38.google.cloud.securitycenter.v1beta1.ListFindingsRequest\x1a\x39.google.cloud.securitycenter.v1beta1.ListFindingsResponse"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{parent=organizations/*/sources/*}/findings\x12\xbc\x01\n\x0bListSources\x12\x37.google.cloud.securitycenter.v1beta1.ListSourcesRequest\x1a\x38.google.cloud.securitycenter.v1beta1.ListSourcesResponse":\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{parent=organizations/*}/sources\xda\x41\x06parent\x12\xed\x01\n\x11RunAssetDiscovery\x12=.google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest\x1a\x1d.google.longrunning.Operation"z\x82\xd3\xe4\x93\x02:"5/v1beta1/{parent=organizations/*}/assets:runDiscovery:\x01*\xda\x41\x06parent\xca\x41.\n\x15google.protobuf.Empty\x12\x15google.protobuf.Empty\x12\xde\x01\n\x0fSetFindingState\x12;.google.cloud.securitycenter.v1beta1.SetFindingStateRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"`\x82\xd3\xe4\x93\x02\x42"=/v1beta1/{name=organizations/*/sources/*/findings/*}:setState:\x01*\xda\x41\x15name,state,start_time\x12\xa2\x01\n\x0cSetIamPolicy\x12".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"W\x82\xd3\xe4\x93\x02?":/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xcd\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse"b\x82\xd3\xe4\x93\x02\x45"@/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xd1\x01\n\rUpdateFinding\x12\x39.google.cloud.securitycenter.v1beta1.UpdateFindingRequest\x1a,.google.cloud.securitycenter.v1beta1.Finding"W\x82\xd3\xe4\x93\x02G2``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. For example, - ``resource_properties.size = 100`` is a valid filter string. + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. For example, ``resource_properties.size = + 100`` is a valid filter string. group_by: Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma - separated list of fields. For example: "security\_center\_prop - erties.resource\_project,security\_center\_properties.project" - . The following fields are supported when compare\_duration - is not set: - security\_center\_properties.resource\_project - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent The following - fields are supported when compare\_duration is set: - - security\_center\_properties.resource\_type + separated list of fields. For example: “security_center_proper + ties.resource_project,security_center_properties.project”. + The following fields are supported when compare_duration is + not set: - security_center_properties.resource_project - + security_center_properties.resource_type - + security_center_properties.resource_parent The following + fields are supported when compare_duration is set: - + security_center_properties.resource_type compare_duration: - When compare\_duration is set, the Asset's "state" property is + When compare_duration is set, the Asset’s “state” property is updated to indicate whether the asset was added, removed, or - remained present during the compare\_duration period of time - that precedes the read\_time. This is the time between - (read\_time - compare\_duration) and read\_time. The state - value is derived based on the presence of the asset at the two + remained present during the compare_duration period of time + that precedes the read_time. This is the time between + (read_time - compare_duration) and read_time. The state value + is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two - times don't affect the result. For example, the results aren't + times don’t affect the result. For example, the results aren’t affected if the asset is removed and re-created again. - Possible "state" values when compare\_duration is specified: - - "ADDED": indicates that the asset was not present before - compare\_duration, but present at reference\_time. - - "REMOVED": indicates that the asset was present at the start - of compare\_duration, but not present at reference\_time. - - "ACTIVE": indicates that the asset was present at both the + Possible “state” values when compare_duration is specified: - + “ADDED”: indicates that the asset was not present before + compare_duration, but present at reference_time. - “REMOVED”: + indicates that the asset was present at the start of + compare_duration, but not present at reference_time. - + “ACTIVE”: indicates that the asset was present at both the start and the end of the time period defined by - compare\_duration and reference\_time. This field is - ignored if ``state`` is not a field in ``group_by``. + compare_duration and reference_time. This field is ignored + if ``state`` is not a field in ``group_by``. read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. page_token: The value returned by the last ``GroupAssetsResponse``; indicates that this is a continuation of a prior @@ -2233,17 +2214,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsRequest) GroupAssetsResponse = _reflection.GeneratedProtocolMessageType( "GroupAssetsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for grouping by assets. + { + "DESCRIPTOR": _GROUPASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for grouping by assets. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -2257,23 +2240,25 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsResponse) GroupFindingsRequest = _reflection.GeneratedProtocolMessageType( "GroupFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for grouping by findings. + { + "DESCRIPTOR": _GROUPFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for grouping by findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To + groupBy across all sources provide a source_id of ``-``. For + example: organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -2282,7 +2267,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -2294,13 +2279,13 @@ Required. Expression that defines what assets fields to use for grouping (including ``state``). The string value should follow SQL syntax: comma separated list of fields. For - example: "parent,resource\_name". The following fields are - supported: - resource\_name - category - state - parent + example: “parent,resource_name”. The following fields are + supported: - resource_name - category - state - parent read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. page_token: The value returned by the last ``GroupFindingsResponse``; indicates that this is a continuation of a prior @@ -2311,17 +2296,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsRequest) GroupFindingsResponse = _reflection.GeneratedProtocolMessageType( "GroupFindingsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for group by findings. + { + "DESCRIPTOR": _GROUPFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for group by findings. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -2335,26 +2322,29 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsResponse) GroupResult = _reflection.GeneratedProtocolMessageType( "GroupResult", (_message.Message,), - dict( - PropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "PropertiesEntry": _reflection.GeneratedProtocolMessageType( "PropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_GROUPRESULT_PROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2" + { + "DESCRIPTOR": _GROUPRESULT_PROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupResult.PropertiesEntry) - ), - ), - DESCRIPTOR=_GROUPRESULT, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy request. + }, + ), + "DESCRIPTOR": _GROUPRESULT, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the properties and count of a groupBy + request. + + Attributes: properties: Properties matching the groupBy fields in the request. @@ -2362,7 +2352,7 @@ Total count of resources for the given properties. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.GroupResult) - ), + }, ) _sym_db.RegisterMessage(GroupResult) _sym_db.RegisterMessage(GroupResult.PropertiesEntry) @@ -2370,14 +2360,16 @@ ListSourcesRequest = _reflection.GeneratedProtocolMessageType( "ListSourcesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing sources. + + Attributes: parent: Required. Resource name of the parent of sources to list. Its - format should be "organizations/[organization\_id]". + format should be “organizations/[organization_id]”. page_token: The value returned by the last ``ListSourcesResponse``; indicates that this is a continuation of a prior @@ -2388,17 +2380,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListSourcesRequest) - ), + }, ) _sym_db.RegisterMessage(ListSourcesRequest) ListSourcesResponse = _reflection.GeneratedProtocolMessageType( "ListSourcesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing sources. + + Attributes: sources: Sources belonging to the requested parent. @@ -2407,21 +2401,23 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListSourcesResponse) - ), + }, ) _sym_db.RegisterMessage(ListSourcesResponse) ListAssetsRequest = _reflection.GeneratedProtocolMessageType( "ListAssetsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing assets. + { + "DESCRIPTOR": _LISTASSETSREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing assets. + + Attributes: parent: Required. Name of the organization assets should belong to. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. filter: Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via @@ -2431,51 +2427,51 @@ may have a ``-`` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka The supported operators are: - - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. For example, - ``resource_properties.size = 100`` is a valid filter string. + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. For example, ``resource_properties.size = + 100`` is a valid filter string. order_by: Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,resource\_properties.a\_property". - Redundant space characters in the syntax are insignificant. - "name desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. + example: “name desc,resource_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,resource_properties.a_property” and " name desc , + resource_properties.a_property " are equivalent. read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. compare_duration: - When compare\_duration is set, the ListAssetResult's "state" + When compare_duration is set, the ListAssetResult’s “state” attribute is updated to indicate whether the asset was added, - removed, or remained present during the compare\_duration - period of time that precedes the read\_time. This is the time - between (read\_time - compare\_duration) and read\_time. The + removed, or remained present during the compare_duration + period of time that precedes the read_time. This is the time + between (read_time - compare_duration) and read_time. The state value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the - two times don't affect the result. For example, the results - aren't affected if the asset is removed and re-created again. - Possible "state" values when compare\_duration is specified: - - "ADDED": indicates that the asset was not present before - compare\_duration, but present at read\_time. - "REMOVED": + two times don’t affect the result. For example, the results + aren’t affected if the asset is removed and re-created again. + Possible “state” values when compare_duration is specified: - + “ADDED”: indicates that the asset was not present before + compare_duration, but present at read_time. - “REMOVED”: indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. - "ACTIVE": + compare_duration, but not present at read_time. - “ACTIVE”: indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. If compare\_duration is not specified, then the - only possible state is "UNUSED", which indicates that the - asset is present at read\_time. + the end of the time period defined by compare_duration and + read_time. If compare_duration is not specified, then the + only possible state is “UNUSED”, which indicates that the + asset is present at read_time. field_mask: Optional. A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list @@ -2490,21 +2486,23 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(ListAssetsRequest) ListAssetsResponse = _reflection.GeneratedProtocolMessageType( "ListAssetsResponse", (_message.Message,), - dict( - ListAssetsResult=_reflection.GeneratedProtocolMessageType( + { + "ListAssetsResult": _reflection.GeneratedProtocolMessageType( "ListAssetsResult", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the Asset and its State. + { + "DESCRIPTOR": _LISTASSETSRESPONSE_LISTASSETSRESULT, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the Asset and its State. + + Attributes: asset: Asset matching the search request. @@ -2512,11 +2510,13 @@ State of the asset. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListAssetsResponse.ListAssetsResult) - ), + }, ), - DESCRIPTOR=_LISTASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing assets. + "DESCRIPTOR": _LISTASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing assets. + + Attributes: list_assets_results: Assets matching the list request. @@ -2529,7 +2529,7 @@ The total number of assets matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(ListAssetsResponse) _sym_db.RegisterMessage(ListAssetsResponse.ListAssetsResult) @@ -2537,17 +2537,19 @@ ListFindingsRequest = _reflection.GeneratedProtocolMessageType( "ListFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing findings. + { + "DESCRIPTOR": _LISTFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To list + across all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -2556,7 +2558,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -2568,18 +2570,18 @@ Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,source\_properties.a\_property". Redundant - space characters in the syntax are insignificant. "name - desc,source\_properties.a\_property" and " name desc , - source\_properties.a\_property " are equivalent. + example: “name desc,source_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,source_properties.a_property” and " name desc , + source_properties.a_property " are equivalent. read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. field_mask: Optional. A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all @@ -2594,17 +2596,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(ListFindingsRequest) ListFindingsResponse = _reflection.GeneratedProtocolMessageType( "ListFindingsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing findings. + { + "DESCRIPTOR": _LISTFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing findings. + + Attributes: findings: Findings matching the list request. @@ -2617,61 +2621,68 @@ The total number of findings matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.ListFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(ListFindingsResponse) SetFindingStateRequest = _reflection.GeneratedProtocolMessageType( "SetFindingStateRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETFINDINGSTATEREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a finding's state. + { + "DESCRIPTOR": _SETFINDINGSTATEREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a finding’s state. + + Attributes: name: Required. The relative resource name of the finding. See: http - s://cloud.google.com/apis/design/resource\_names#relative\_res - ource\_name Example: "organizations/{organization\_id}/sources - /{source\_id}/finding/{finding\_id}". + s://cloud.google.com/apis/design/resource_names#relative_resou + rce_name Example: “organizations/{organization_id}/sources/{so + urce_id}/finding/{finding_id}”. state: Required. The desired State of the finding. start_time: Required. The time at which the updated state takes effect. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.SetFindingStateRequest) - ), + }, ) _sym_db.RegisterMessage(SetFindingStateRequest) RunAssetDiscoveryRequest = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryRequest", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an organization. + { + "DESCRIPTOR": _RUNASSETDISCOVERYREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for running asset discovery for an + organization. + + Attributes: parent: Required. Name of the organization to run asset discovery for. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.RunAssetDiscoveryRequest) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryRequest) UpdateFindingRequest = _reflection.GeneratedProtocolMessageType( "UpdateFindingRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEFINDINGREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating or creating a finding. + { + "DESCRIPTOR": _UPDATEFINDINGREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating or creating a finding. + + Attributes: finding: Required. The finding resource to update or create if it does - not already exist. parent, security\_marks, and update\_time + not already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must alphanumeric and less than or equal to 32 characters and greater than 0 characters in length. @@ -2680,17 +2691,19 @@ field should not be specified when creating a finding. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.UpdateFindingRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateFindingRequest) UpdateOrganizationSettingsRequest = _reflection.GeneratedProtocolMessageType( "UpdateOrganizationSettingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating an organization's settings. + { + "DESCRIPTOR": _UPDATEORGANIZATIONSETTINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating an organization’s settings. + + Attributes: organization_settings: Required. The organization settings resource to update. @@ -2698,17 +2711,19 @@ The FieldMask to use when updating the settings resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.UpdateOrganizationSettingsRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateOrganizationSettingsRequest) UpdateSourceRequest = _reflection.GeneratedProtocolMessageType( "UpdateSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESOURCEREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a source. + { + "DESCRIPTOR": _UPDATESOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a source. + + Attributes: source: Required. The source resource to update. @@ -2716,17 +2731,19 @@ The FieldMask to use when updating the source resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.UpdateSourceRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSourceRequest) UpdateSecurityMarksRequest = _reflection.GeneratedProtocolMessageType( "UpdateSecurityMarksRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, - __module__="google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a SecurityMarks resource. + { + "DESCRIPTOR": _UPDATESECURITYMARKSREQUEST, + "__module__": "google.cloud.securitycenter_v1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a SecurityMarks resource. + + Attributes: security_marks: Required. The security marks resource to update. @@ -2737,7 +2754,7 @@ The time at which the updated SecurityMarks take effect. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1beta1.UpdateSecurityMarksRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSecurityMarksRequest) @@ -2776,9 +2793,7 @@ full_name="google.cloud.securitycenter.v1beta1.SecurityCenter", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), + serialized_options=b"\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", serialized_start=4810, serialized_end=8757, methods=[ @@ -2789,9 +2804,7 @@ containing_service=None, input_type=_CREATESOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - '\202\323\344\223\0023")/v1beta1/{parent=organizations/*}/sources:\006source\332A\rparent,source' - ), + serialized_options=b'\202\323\344\223\0023")/v1beta1/{parent=organizations/*}/sources:\006source\332A\rparent,source', ), _descriptor.MethodDescriptor( name="CreateFinding", @@ -2800,9 +2813,7 @@ containing_service=None, input_type=_CREATEFINDINGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - '\202\323\344\223\002?"4/v1beta1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding' - ), + serialized_options=b'\202\323\344\223\002?"4/v1beta1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding', ), _descriptor.MethodDescriptor( name="GetIamPolicy", @@ -2811,9 +2822,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._GETIAMPOLICYREQUEST, output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY, - serialized_options=_b( - '\202\323\344\223\002?":/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\001*\332A\010resource' - ), + serialized_options=b'\202\323\344\223\002?":/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy:\001*\332A\010resource', ), _descriptor.MethodDescriptor( name="GetOrganizationSettings", @@ -2822,9 +2831,7 @@ containing_service=None, input_type=_GETORGANIZATIONSETTINGSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_organization__settings__pb2._ORGANIZATIONSETTINGS, - serialized_options=_b( - "\202\323\344\223\0026\0224/v1beta1/{name=organizations/*/organizationSettings}\332A\004name" - ), + serialized_options=b"\202\323\344\223\0026\0224/v1beta1/{name=organizations/*/organizationSettings}\332A\004name", ), _descriptor.MethodDescriptor( name="GetSource", @@ -2833,9 +2840,7 @@ containing_service=None, input_type=_GETSOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - "\202\323\344\223\002+\022)/v1beta1/{name=organizations/*/sources/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\002+\022)/v1beta1/{name=organizations/*/sources/*}\332A\004name", ), _descriptor.MethodDescriptor( name="GroupAssets", @@ -2844,9 +2849,7 @@ containing_service=None, input_type=_GROUPASSETSREQUEST, output_type=_GROUPASSETSRESPONSE, - serialized_options=_b( - '\202\323\344\223\0023"./v1beta1/{parent=organizations/*}/assets:group:\001*' - ), + serialized_options=b'\202\323\344\223\0023"./v1beta1/{parent=organizations/*}/assets:group:\001*', ), _descriptor.MethodDescriptor( name="GroupFindings", @@ -2855,9 +2858,7 @@ containing_service=None, input_type=_GROUPFINDINGSREQUEST, output_type=_GROUPFINDINGSRESPONSE, - serialized_options=_b( - '\202\323\344\223\002?":/v1beta1/{parent=organizations/*/sources/*}/findings:group:\001*\332A\017parent,group_by' - ), + serialized_options=b'\202\323\344\223\002?":/v1beta1/{parent=organizations/*/sources/*}/findings:group:\001*\332A\017parent,group_by', ), _descriptor.MethodDescriptor( name="ListAssets", @@ -2866,9 +2867,7 @@ containing_service=None, input_type=_LISTASSETSREQUEST, output_type=_LISTASSETSRESPONSE, - serialized_options=_b( - "\202\323\344\223\002*\022(/v1beta1/{parent=organizations/*}/assets" - ), + serialized_options=b"\202\323\344\223\002*\022(/v1beta1/{parent=organizations/*}/assets", ), _descriptor.MethodDescriptor( name="ListFindings", @@ -2877,9 +2876,7 @@ containing_service=None, input_type=_LISTFINDINGSREQUEST, output_type=_LISTFINDINGSRESPONSE, - serialized_options=_b( - "\202\323\344\223\0026\0224/v1beta1/{parent=organizations/*/sources/*}/findings" - ), + serialized_options=b"\202\323\344\223\0026\0224/v1beta1/{parent=organizations/*/sources/*}/findings", ), _descriptor.MethodDescriptor( name="ListSources", @@ -2888,9 +2885,7 @@ containing_service=None, input_type=_LISTSOURCESREQUEST, output_type=_LISTSOURCESRESPONSE, - serialized_options=_b( - "\202\323\344\223\002+\022)/v1beta1/{parent=organizations/*}/sources\332A\006parent" - ), + serialized_options=b"\202\323\344\223\002+\022)/v1beta1/{parent=organizations/*}/sources\332A\006parent", ), _descriptor.MethodDescriptor( name="RunAssetDiscovery", @@ -2899,9 +2894,7 @@ containing_service=None, input_type=_RUNASSETDISCOVERYREQUEST, output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b( - '\202\323\344\223\002:"5/v1beta1/{parent=organizations/*}/assets:runDiscovery:\001*\332A\006parent\312A.\n\025google.protobuf.Empty\022\025google.protobuf.Empty' - ), + serialized_options=b'\202\323\344\223\002:"5/v1beta1/{parent=organizations/*}/assets:runDiscovery:\001*\332A\006parent\312A.\n\025google.protobuf.Empty\022\025google.protobuf.Empty', ), _descriptor.MethodDescriptor( name="SetFindingState", @@ -2910,9 +2903,7 @@ containing_service=None, input_type=_SETFINDINGSTATEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - '\202\323\344\223\002B"=/v1beta1/{name=organizations/*/sources/*/findings/*}:setState:\001*\332A\025name,state,start_time' - ), + serialized_options=b'\202\323\344\223\002B"=/v1beta1/{name=organizations/*/sources/*/findings/*}:setState:\001*\332A\025name,state,start_time', ), _descriptor.MethodDescriptor( name="SetIamPolicy", @@ -2921,9 +2912,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._SETIAMPOLICYREQUEST, output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY, - serialized_options=_b( - '\202\323\344\223\002?":/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\001*\332A\017resource,policy' - ), + serialized_options=b'\202\323\344\223\002?":/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy:\001*\332A\017resource,policy', ), _descriptor.MethodDescriptor( name="TestIamPermissions", @@ -2932,9 +2921,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSREQUEST, output_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._TESTIAMPERMISSIONSRESPONSE, - serialized_options=_b( - '\202\323\344\223\002E"@/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\001*\332A\024resource,permissions' - ), + serialized_options=b'\202\323\344\223\002E"@/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions:\001*\332A\024resource,permissions', ), _descriptor.MethodDescriptor( name="UpdateFinding", @@ -2943,9 +2930,7 @@ containing_service=None, input_type=_UPDATEFINDINGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1beta1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - "\202\323\344\223\002G2>> response = client.create_source(parent, source) Args: - parent (str): Required. Resource name of the new source's parent. Its format should be - "organizations/[organization\_id]". - source (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Source]): Required. The Source being created, only the display\_name and + parent (str): Required. Resource name of the new source's parent. Its format + should be "organizations/[organization_id]". + source (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Source]): Required. The Source being created, only the display_name and description will be used. All other fields will be ignored. If a dict is provided, it must be of the same form as the protobuf @@ -373,13 +373,13 @@ def create_finding( >>> response = client.create_finding(parent, finding_id, finding) Args: - parent (str): Required. Resource name of the new finding's parent. Its format should - be "organizations/[organization\_id]/sources/[source\_id]". + parent (str): Required. Resource name of the new finding's parent. Its format + should be "organizations/[organization_id]/sources/[source_id]". finding_id (str): 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. - finding (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Finding]): Required. The Finding being created. The name and security\_marks will - be ignored as they are both output only fields on this resource. + finding (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Finding]): Required. The Finding being created. The name and security_marks + will be ignored as they are both output only fields on this resource. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Finding` @@ -462,7 +462,7 @@ def create_notification_config( Args: parent (str): Required. Resource name of the new notification config's parent. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". config_id (str): Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and contains alphanumeric @@ -546,7 +546,7 @@ def delete_notification_config( Args: name (str): Required. Name of the notification config to delete. Its format is - "organizations/[organization\_id]/notificationConfigs/[config\_id]". + "organizations/[organization_id]/notificationConfigs/[config_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -694,7 +694,7 @@ def get_notification_config( Args: name (str): Required. Name of the notification config to get. Its format is - "organizations/[organization\_id]/notificationConfigs/[config\_id]". + "organizations/[organization_id]/notificationConfigs/[config_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -763,8 +763,8 @@ def get_organization_settings( >>> response = client.get_organization_settings(name) Args: - name (str): Required. Name of the organization to get organization settings for. Its - format is "organizations/[organization\_id]/organizationSettings". + name (str): Required. Name of the organization to get organization settings for. + Its format is "organizations/[organization_id]/organizationSettings". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -834,7 +834,7 @@ def get_source( Args: name (str): Required. Relative resource name of the source. Its format is - "organizations/[organization\_id]/source/[source\_id]". + "organizations/[organization_id]/source/[source_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -926,25 +926,25 @@ def group_assets( Args: parent (str): Required. Name of the organization to groupBy. Its format is - "organizations/[organization\_id]". + "organizations/[organization_id]". group_by (str): Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma separated list of fields. For example: - "security\_center\_properties.resource\_project,security\_center\_properties.project". + "security_center_properties.resource_project,security_center_properties.project". - The following fields are supported when compare\_duration is not set: + The following fields are supported when compare_duration is not set: - - security\_center\_properties.resource\_project - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent - - security\_center\_properties.resource\_parent\_display\_name + - security_center_properties.resource_project + - security_center_properties.resource_project_display_name + - security_center_properties.resource_type + - security_center_properties.resource_parent + - security_center_properties.resource_parent_display_name - The following fields are supported when compare\_duration is set: + The following fields are supported when compare_duration is set: - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_parent\_display\_name + - security_center_properties.resource_type + - security_center_properties.resource_project_display_name + - security_center_properties.resource_parent_display_name filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -955,9 +955,9 @@ def group_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -975,69 +975,67 @@ def group_assets( - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - update_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" "update\_time - = 1560208038000" + Examples: "update_time = "2019-06-10T16:07:18-07:00"" "update_time = + 1560208038000" - - create\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "create\_time = "2019-06-10T16:07:18-07:00"" "create\_time - = 1560208038000" + Examples: "create_time = "2019-06-10T16:07:18-07:00"" "create_time = + 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` + - iam_policy.policy_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` + - security_center_properties.resource_name: ``=``, ``:`` - - security\_center\_properties.resource\_name\_display\_name: ``=``, - ``:`` + - security_center_properties.resource_name_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_type: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - - security\_center\_properties.resource\_parent: ``=``, ``:`` + - security_center_properties.resource_parent: ``=``, ``:`` - - security\_center\_properties.resource\_parent\_display\_name: ``=``, - ``:`` + - security_center_properties.resource_parent_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` + - security_center_properties.resource_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: ``=``, + - security_center_properties.resource_project_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` + - security_center_properties.resource_owners: ``=``, ``:`` For example, ``resource_properties.size = 100`` is a valid filter string. - compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Duration]): When compare\_duration is set, the GroupResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Duration]): When compare_duration is set, the GroupResult's "state_change" property is updated to indicate whether the asset was added, removed, or - remained present during the compare\_duration period of time that - precedes the read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + remained present during the compare_duration period of time that + precedes the read_time. This is the time between (read_time - + compare_duration) and read_time. The state change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "ADDED": indicates that the asset was not present at the start of - compare\_duration, but present at reference\_time. + compare_duration, but present at reference_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at reference\_time. + compare_duration, but not present at reference_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - reference\_time. + the end of the time period defined by compare_duration and + reference_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - assets present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + assets present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. @@ -1051,9 +1049,9 @@ def group_assets( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Timestamp` - having (str): Filter that specifies what fields to further filter on *after* the query - filter has been executed. Currently only ``state_change`` is supported - and requires compare\_duration to be specified. + having (str): Filter that specifies what fields to further filter on *after* the + query filter has been executed. Currently only ``state_change`` is + supported and requires compare_duration to be specified. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -1143,11 +1141,11 @@ def group_findings( metadata=None, ): """ - Filters an organization or source's findings and groups them by their - specified properties. + 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: - /v1p1beta1/organizations/{organization\_id}/sources/-/findings + /v1p1beta1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1p1beta1 @@ -1175,23 +1173,24 @@ def group_findings( Args: parent (str): 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/{organization\_id}/sources/- - group_by (str): Required. Expression that defines what assets fields to use for grouping - (including ``state_change``). The string value should follow SQL syntax: - comma separated list of fields. For example: "parent,resource\_name". + "organizations/[organization_id]/sources/[source_id]". To groupBy across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- + group_by (str): Required. Expression that defines what assets fields to use for + grouping (including ``state_change``). The string value should follow + SQL syntax: comma separated list of fields. For example: + "parent,resource_name". The following fields are supported: - - resource\_name + - resource_name - category - state - parent - The following fields are supported when compare\_duration is set: + The following fields are supported when compare_duration is set: - - state\_change + - state_change filter_ (str): Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -1201,8 +1200,8 @@ def group_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1222,23 +1221,23 @@ def group_findings( - parent: ``=``, ``:`` - - resource\_name: ``=``, ``:`` + - resource_name: ``=``, ``:`` - state: ``=``, ``:`` - category: ``=``, ``:`` - - external\_uri: ``=``, ``:`` + - external_uri: ``=``, ``:`` - - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = + Examples: "event_time = "2019-06-10T16:07:18-07:00"" "event_time = 1560208038000" - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - source\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. read_time (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Timestamp]): Time used as a reference point when filtering findings. The filter is @@ -1248,39 +1247,39 @@ def group_findings( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Duration]): When compare\_duration is set, the GroupResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Duration]): When compare_duration is set, the GroupResult'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 during the compare\_duration period of time that precedes the - read\_time. This is the time between (read\_time - compare\_duration) - and read\_time. + added during the compare_duration period of time that precedes the + read_time. This is the time between (read_time - compare_duration) and + read_time. - The state\_change value is derived based on the presence and state of - the finding at the two points in time. Intermediate state changes - between the two times don't affect the result. For example, the results - aren't affected if the finding is made inactive and then active again. + The state_change value is derived based on the presence and state of the + finding at the two points in time. Intermediate state changes between + the two times don't affect the result. For example, the results aren't + affected if the finding is made inactive and then active again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "CHANGED": indicates that the finding was present at the start of - compare\_duration, but changed its state at read\_time. + compare_duration, but changed its state at read_time. - "UNCHANGED": indicates that the finding was present at the start of - compare\_duration and did not change state at read\_time. + compare_duration and did not change state at read_time. - "ADDED": indicates that the finding was not present at the start of - compare\_duration, but was present at read\_time. + compare_duration, but was present at read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - findings present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + findings present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Duration` - having (str): Filter that specifies what fields to further filter on *after* the query - filter has been executed. Currently only ``finding.state`` and - ``state_change`` are supported and requires compare\_duration to be + having (str): Filter that specifies what fields to further filter on *after* the + query filter has been executed. Currently only ``finding.state`` and + ``state_change`` are supported and requires compare_duration to be specified. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- @@ -1396,8 +1395,8 @@ def list_assets( ... pass Args: - parent (str): Required. Name of the organization assets should belong to. Its format - is "organizations/[organization\_id]". + parent (str): Required. Name of the organization assets should belong to. Its + format is "organizations/[organization_id]". filter_ (str): Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -1408,9 +1407,9 @@ def list_assets( those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka + - security_center_properties.resource_name + - resource_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1428,63 +1427,60 @@ def list_assets( - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - update_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" "update\_time - = 1560208038000" + Examples: "update_time = "2019-06-10T16:07:18-07:00"" "update_time = + 1560208038000" - - create\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "create\_time = "2019-06-10T16:07:18-07:00"" "create\_time - = 1560208038000" + Examples: "create_time = "2019-06-10T16:07:18-07:00"" "create_time = + 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` + - iam_policy.policy_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + - resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` - - security\_marks.marks: ``=``, ``:`` + - security_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` + - security_center_properties.resource_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, ``:`` + - security_center_properties.resource_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_type: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - - security\_center\_properties.resource\_parent: ``=``, ``:`` + - security_center_properties.resource_parent: ``=``, ``:`` - - security\_center\_properties.resource\_parent\_display\_name: ``=``, - ``:`` + - security_center_properties.resource_parent_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` + - security_center_properties.resource_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: ``=``, + - security_center_properties.resource_project_display_name: ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` + - security_center_properties.resource_owners: ``=``, ``:`` For example, ``resource_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,resource\_properties.a\_property". Redundant space characters in - the syntax are insignificant. "name - desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. - - The following fields are supported: name update\_time - resource\_properties security\_marks.marks - security\_center\_properties.resource\_name - security\_center\_properties.resource\_display\_name - security\_center\_properties.resource\_parent - security\_center\_properties.resource\_parent\_display\_name - security\_center\_properties.resource\_project - security\_center\_properties.resource\_project\_display\_name - security\_center\_properties.resource\_type + desc,resource_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,resource_properties.a_property" and + " name desc , resource_properties.a_property " are equivalent. + + The following fields are supported: name update_time resource_properties + security_marks.marks security_center_properties.resource_name + security_center_properties.resource_display_name + security_center_properties.resource_parent + security_center_properties.resource_parent_display_name + security_center_properties.resource_project + security_center_properties.resource_project_display_name + security_center_properties.resource_type read_time (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Timestamp]): Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this field will default to the API's version of @@ -1492,36 +1488,35 @@ def list_assets( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Duration]): When compare\_duration is set, the ListAssetsResult's "state\_change" + compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.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 the read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + or remained present during the compare_duration period of time that + precedes the read_time. This is the time between (read_time - + compare_duration) and read_time. - The state\_change value is derived based on the presence of the asset at + The state_change value is derived based on the presence of the asset at the two points in time. Intermediate state changes between the two times don't affect the result. For example, the results aren't affected if the asset is removed and re-created again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "ADDED": indicates that the asset was not present at the start of - compare\_duration, but present at read\_time. + compare_duration, but present at read_time. - "REMOVED": indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. + compare_duration, but not present at read_time. - "ACTIVE": indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. + the end of the time period defined by compare_duration and read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - assets present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + assets present at read_time. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Duration` - having (str): Filter that specifies what fields to further filter on *after* the query - filter has been executed. Currently only ``state_change`` is supported - and requires compare\_duration to be specified. + having (str): Filter that specifies what fields to further filter on *after* the + query filter has been executed. Currently only ``state_change`` is + supported and requires compare_duration to be specified. field_mask (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.FieldMask]): Optional. A field mask to specify the ListAssetsResult fields to be listed in the response. @@ -1623,7 +1618,7 @@ def list_findings( Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1p1beta1/organizations/{organization\_id}/sources/-/findings + /v1p1beta1/organizations/{organization_id}/sources/-/findings Example: >>> from google.cloud import securitycenter_v1p1beta1 @@ -1648,9 +1643,9 @@ def list_findings( Args: parent (str): 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/{organization\_id}/sources/- + "organizations/[organization_id]/sources/[source_id]". To list across + all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter_ (str): Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined via logical operators ``AND`` and ``OR``. Parentheses are supported, and ``OR`` has @@ -1660,8 +1655,8 @@ def list_findings( ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - - security\_marks.marks.marka + - source_properties.a_property + - security_marks.marks.marka The supported operators are: @@ -1677,29 +1672,29 @@ def list_findings( The following field and operator combinations are supported: - name: ``=`` parent: ``=``, ``:`` resource\_name: ``=``, ``:`` state: - ``=``, ``:`` category: ``=``, ``:`` external\_uri: ``=``, ``:`` - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` + name: ``=`` parent: ``=``, ``:`` resource_name: ``=``, ``:`` state: + ``=``, ``:`` category: ``=``, ``:`` external_uri: ``=``, ``:`` + event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = + Examples: "event_time = "2019-06-10T16:07:18-07:00"" "event_time = 1560208038000" - security\_marks.marks: ``=``, ``:`` source\_properties: ``=``, ``:``, + security_marks.marks: ``=``, ``:`` source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. - order_by (str): Expression that defines what fields and order to use for sorting. The - string value should follow SQL syntax: comma separated list of fields. - For example: "name,resource\_properties.a\_property". The default + order_by (str): Expression that defines what fields and order to use for sorting. + The string value should follow SQL syntax: comma separated list of + fields. For example: "name,resource_properties.a_property". The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For example: "name - desc,source\_properties.a\_property". Redundant space characters in the - syntax are insignificant. "name desc,source\_properties.a\_property" and - " name desc , source\_properties.a\_property " are equivalent. + desc,source_properties.a_property". Redundant space characters in the + syntax are insignificant. "name desc,source_properties.a_property" and " + name desc , source_properties.a_property " are equivalent. The following fields are supported: name parent state category - resource\_name event\_time source\_properties security\_marks.marks + resource_name event_time source_properties security_marks.marks read_time (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Timestamp]): Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of this field will default to the @@ -1707,36 +1702,36 @@ def list_findings( If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Timestamp` - compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.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 read\_time. This is the time between (read\_time - - compare\_duration) and read\_time. + compare_duration (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.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 read_time. This is the time between (read_time - + compare_duration) and read_time. - The state\_change value is derived based on the presence and state of - the finding at the two points in time. Intermediate state changes - between the two times don't affect the result. For example, the results - aren't affected if the finding is made inactive and then active again. + The state_change value is derived based on the presence and state of the + finding at the two points in time. Intermediate state changes between + the two times don't affect the result. For example, the results aren't + affected if the finding is made inactive and then active again. - Possible "state\_change" values when compare\_duration is specified: + Possible "state_change" values when compare_duration is specified: - "CHANGED": indicates that the finding was present at the start of - compare\_duration, but changed its state at read\_time. + compare_duration, but changed its state at read_time. - "UNCHANGED": indicates that the finding was present at the start of - compare\_duration and did not change state at read\_time. + compare_duration and did not change state at read_time. - "ADDED": indicates that the finding was not present at the start of - compare\_duration, but was present at read\_time. + compare_duration, but was present at read_time. - If compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set for all - findings present at read\_time. + If compare_duration is not specified, then the only possible + state_change is "UNUSED", which will be the state_change set for all + findings present at read_time. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.Duration` - having (str): Filter that specifies what fields to further filter on *after* the query - filter has been executed. Currently only ``finding.state`` and - ``state_change`` are supported and requires compare\_duration to be + having (str): Filter that specifies what fields to further filter on *after* the + query filter has been executed. Currently only ``finding.state`` and + ``state_change`` are supported and requires compare_duration to be specified. field_mask (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.FieldMask]): Optional. A field mask to specify the Finding fields to be listed in the response. @@ -1854,7 +1849,7 @@ def list_notification_configs( Args: parent (str): Required. Name of the organization to list notification configs. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -1958,7 +1953,7 @@ def list_sources( Args: parent (str): Required. Resource name of the parent of sources to list. Its format - should be "organizations/[organization\_id]". + should be "organizations/[organization_id]". page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -2041,7 +2036,7 @@ def run_asset_discovery( 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. + TOO_MANY_REQUESTS error. Example: >>> from google.cloud import securitycenter_v1p1beta1 @@ -2063,7 +2058,7 @@ def run_asset_discovery( Args: parent (str): Required. Name of the organization to run asset discovery for. Its - format is "organizations/[organization\_id]". + format is "organizations/[organization_id]". retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will be retried using a default configuration. @@ -2148,9 +2143,9 @@ def set_finding_state( Args: name (str): Required. The relative resource name of the finding. See: - https://cloud.google.com/apis/design/resource\_names#relative\_resource\_name + https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - "organizations/{organization\_id}/sources/{source\_id}/finding/{finding\_id}". + "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". state (~google.cloud.securitycenter_v1p1beta1.types.State): Required. The desired State of the finding. start_time (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Timestamp]): Required. The time at which the updated state takes effect. @@ -2315,8 +2310,8 @@ def test_iam_permissions( Args: resource (str): REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. - permissions (list[str]): The set of permissions to check for the ``resource``. Permissions with - wildcards (such as '*' or 'storage.*') are not allowed. For more + permissions (list[str]): The set of permissions to check for the ``resource``. Permissions + with wildcards (such as '*' or 'storage.*') are not allowed. For more information see `IAM Overview `__. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -2393,8 +2388,7 @@ def update_finding( Args: finding (Union[dict, ~google.cloud.securitycenter_v1p1beta1.types.Finding]): Required. The finding resource to update or create if it does not - already exist. parent, security\_marks, and update\_time will be - ignored. + already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must be alphanumeric and less than or equal to 32 characters and greater than 0 @@ -2406,9 +2400,9 @@ def update_finding( should not be specified when creating a finding. When updating a finding, an empty mask is treated as updating all - mutable fields and replacing source\_properties. Individual - source\_properties can be added/updated by using "source\_properties." - in the field mask. + mutable fields and replacing source_properties. Individual + source_properties can be added/updated by using "source_properties." in + the field mask. If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.FieldMask` @@ -2745,7 +2739,7 @@ def update_security_marks( The field mask must not contain duplicate fields. If empty or set to "marks", all marks will be replaced. Individual marks can be updated - using "marks.". + using "marks.". If a dict is provided, it must be of the same form as the protobuf message :class:`~google.cloud.securitycenter_v1p1beta1.types.FieldMask` diff --git a/google/cloud/securitycenter_v1p1beta1/gapic/transports/security_center_grpc_transport.py b/google/cloud/securitycenter_v1p1beta1/gapic/transports/security_center_grpc_transport.py index cf44a3ee..0e0a9cc3 100644 --- a/google/cloud/securitycenter_v1p1beta1/gapic/transports/security_center_grpc_transport.py +++ b/google/cloud/securitycenter_v1p1beta1/gapic/transports/security_center_grpc_transport.py @@ -243,11 +243,11 @@ def group_assets(self): def group_findings(self): """Return the gRPC stub for :meth:`SecurityCenterClient.group_findings`. - Filters an organization or source's findings and groups them by their - specified properties. + 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: - /v1p1beta1/organizations/{organization\_id}/sources/-/findings + /v1p1beta1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -276,7 +276,7 @@ def list_findings(self): Lists an organization or source's findings. To list across all sources provide a ``-`` as the source id. Example: - /v1p1beta1/organizations/{organization\_id}/sources/-/findings + /v1p1beta1/organizations/{organization_id}/sources/-/findings Returns: Callable: A callable which accepts the appropriate @@ -320,7 +320,7 @@ def run_asset_discovery(self): 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. + TOO_MANY_REQUESTS error. Returns: Callable: A callable which accepts the appropriate diff --git a/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py index 2de7806d..f5736c0e 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/asset_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/asset.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -28,12 +25,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/asset.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\n7google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xae\x07\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12i\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32\x45.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties\x12\x61\n\x13resource_properties\x18\x07 \x03(\x0b\x32\x44.google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry\x12L\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\niam_policy\x18\x0b \x01(\x0b\x32\x36.google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy\x1a\x80\x02\n\x18SecurityCenterProperties\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x12\x1d\n\x15resource_display_name\x18\x06 \x01(\t\x12$\n\x1cresource_parent_display_name\x18\x07 \x01(\t\x12%\n\x1dresource_project_display_name\x18\x08 \x01(\t\x1a \n\tIamPolicy\x12\x13\n\x0bpolicy_blob\x18\x01 \x01(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:U\xea\x41R\n#securitycenter.googleapis.com/Asset\x12+organizations/{organization}/assets/{asset}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\n7google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xae\x07\n\x05\x41sset\x12\x0c\n\x04name\x18\x01 \x01(\t\x12i\n\x1asecurity_center_properties\x18\x02 \x01(\x0b\x32\x45.google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties\x12\x61\n\x13resource_properties\x18\x07 \x03(\x0b\x32\x44.google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry\x12L\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12J\n\niam_policy\x18\x0b \x01(\x0b\x32\x36.google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy\x1a\x80\x02\n\x18SecurityCenterProperties\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x15\n\rresource_type\x18\x02 \x01(\t\x12\x17\n\x0fresource_parent\x18\x03 \x01(\t\x12\x18\n\x10resource_project\x18\x04 \x01(\t\x12\x17\n\x0fresource_owners\x18\x05 \x03(\t\x12\x1d\n\x15resource_display_name\x18\x06 \x01(\t\x12$\n\x1cresource_parent_display_name\x18\x07 \x01(\t\x12%\n\x1dresource_project_display_name\x18\x08 \x01(\t\x1a \n\tIamPolicy\x12\x13\n\x0bpolicy_blob\x18\x01 \x01(\t\x1aQ\n\x17ResourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:U\xea\x41R\n#securitycenter.googleapis.com/Asset\x12+organizations/{organization}/assets/{asset}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -60,7 +53,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -78,7 +71,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -96,7 +89,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -114,7 +107,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -150,7 +143,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -168,7 +161,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -186,7 +179,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -224,7 +217,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -262,7 +255,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -293,7 +286,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -318,7 +311,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -443,9 +436,7 @@ _ASSET_RESOURCEPROPERTIESENTRY, ], enum_types=[], - serialized_options=_b( - "\352AR\n#securitycenter.googleapis.com/Asset\022+organizations/{organization}/assets/{asset}" - ), + serialized_options=b"\352AR\n#securitycenter.googleapis.com/Asset\022+organizations/{organization}/assets/{asset}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -484,21 +475,23 @@ Asset = _reflection.GeneratedProtocolMessageType( "Asset", (_message.Message,), - dict( - SecurityCenterProperties=_reflection.GeneratedProtocolMessageType( + { + "SecurityCenterProperties": _reflection.GeneratedProtocolMessageType( "SecurityCenterProperties", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_SECURITYCENTERPROPERTIES, - __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""Cloud SCC managed properties. These properties are managed by Cloud - SCC and cannot be modified by the user. + { + "DESCRIPTOR": _ASSET_SECURITYCENTERPROPERTIES, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", + "__doc__": """Cloud SCC managed properties. These properties are managed + by Cloud SCC and cannot be modified by the user. + + Attributes: resource_name: The full resource name of the GCP resource this asset represents. This field is immutable after create time. See: ht - tps://cloud.google.com/apis/design/resource\_names#full\_resou - rce\_name + tps://cloud.google.com/apis/design/resource_names#full_resourc + e_name resource_type: The type of the GCP resource. Examples include: APPLICATION, PROJECT, and ORGANIZATION. This is a case insensitive field @@ -506,12 +499,12 @@ is immutable after create time. resource_parent: The full resource name of the immediate parent of the - resource. See: https://cloud.google.com/apis/design/resource\_ - names#full\_resource\_name + resource. See: https://cloud.google.com/apis/design/resource_n + ames#full_resource_name resource_project: The full resource name of the project the resource belongs to. - See: https://cloud.google.com/apis/design/resource\_names#full - \_resource\_name + See: https://cloud.google.com/apis/design/resource_names#full_ + resource_name resource_owners: Owners of the Google Cloud resource. resource_display_name: @@ -523,17 +516,19 @@ resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Asset.SecurityCenterProperties) - ), + }, ), - IamPolicy=_reflection.GeneratedProtocolMessageType( + "IamPolicy": _reflection.GeneratedProtocolMessageType( "IamPolicy", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_IAMPOLICY, - __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""IAM Policy information associated with the GCP resource described by - the Cloud SCC asset. This information is managed and defined by the - GCP resource and cannot be modified by the user. + { + "DESCRIPTOR": _ASSET_IAMPOLICY, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", + "__doc__": """IAM Policy information associated with the GCP resource + described by the Cloud SCC asset. This information is managed and + defined by the GCP resource and cannot be modified by the user. + + Attributes: policy_blob: The JSON representation of the Policy associated with the @@ -542,30 +537,32 @@ format details. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Asset.IamPolicy) - ), + }, ), - ResourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + "ResourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "ResourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_ASSET_RESOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2" + { + "DESCRIPTOR": _ASSET_RESOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.asset_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Asset.ResourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_ASSET, - __module__="google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", - __doc__="""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 GCP resource. All modifications to - an Asset are only within the context of Cloud SCC and don't affect the - referenced GCP resource. + "DESCRIPTOR": _ASSET, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.asset_pb2", + "__doc__": """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 GCP resource. All modifications to an Asset are only within the + context of Cloud SCC and don’t affect the referenced GCP resource. + + Attributes: name: The relative resource name of this asset. See: https://cloud.g - oogle.com/apis/design/resource\_names#relative\_resource\_name - Example: - "organizations/{organization\_id}/assets/{asset\_id}". + oogle.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/assets/{asset_id}”. security_center_properties: Cloud SCC managed properties. These properties are managed by Cloud SCC and cannot be modified by the user. @@ -589,7 +586,7 @@ user. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Asset) - ), + }, ) _sym_db.RegisterMessage(Asset) _sym_db.RegisterMessage(Asset.SecurityCenterProperties) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py index b9977beb..b0b0f9e4 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/finding_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/finding.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -29,12 +26,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/finding.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\n9google/cloud/securitycenter_v1p1beta1/proto/finding.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb9\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x43\n\x05state\x18\x04 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12_\n\x11source_properties\x18\x07 \x03(\x0b\x32\x44.google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry\x12Q\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\n9google/cloud/securitycenter_v1p1beta1/proto/finding.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb9\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06parent\x18\x02 \x01(\t\x12\x15\n\rresource_name\x18\x03 \x01(\t\x12\x43\n\x05state\x18\x04 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.State\x12\x10\n\x08\x63\x61tegory\x18\x05 \x01(\t\x12\x14\n\x0c\x65xternal_uri\x18\x06 \x01(\t\x12_\n\x11source_properties\x18\x07 \x03(\x0b\x32\x44.google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry\x12Q\n\x0esecurity_marks\x18\x08 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x03\x12.\n\nevent_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aO\n\x15SourcePropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02:l\xea\x41i\n%securitycenter.googleapis.com/Finding\x12@organizations/{organization}/sources/{source}/findings/{finding}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, @@ -90,7 +83,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -121,7 +114,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -146,7 +139,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -164,7 +157,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -182,7 +175,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -218,7 +211,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -236,7 +229,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -278,7 +271,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -321,9 +314,7 @@ extensions=[], nested_types=[_FINDING_SOURCEPROPERTIESENTRY,], enum_types=[_FINDING_STATE,], - serialized_options=_b( - "\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}" - ), + serialized_options=b"\352Ai\n%securitycenter.googleapis.com/Finding\022@organizations/{organization}/sources/{source}/findings/{finding}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -358,48 +349,51 @@ Finding = _reflection.GeneratedProtocolMessageType( "Finding", (_message.Message,), - dict( - SourcePropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "SourcePropertiesEntry": _reflection.GeneratedProtocolMessageType( "SourcePropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_FINDING_SOURCEPROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1p1beta1.proto.finding_pb2" + { + "DESCRIPTOR": _FINDING_SOURCEPROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.finding_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Finding.SourcePropertiesEntry) - ), + }, ), - DESCRIPTOR=_FINDING, - __module__="google.cloud.securitycenter_v1p1beta1.proto.finding_pb2", - __doc__="""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. + "DESCRIPTOR": _FINDING, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.finding_pb2", + "__doc__": """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. + + Attributes: name: The relative resource name of this finding. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: "organizations/{organization\_id}/sources/{source\ - _id}/findings/{finding\_id}" + .google.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/sources/{source_id}/ + findings/{finding_id}” parent: 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}" + to. See: https://cloud.google.com/apis/design/resource_names#r + elative_resource_name This field is immutable after creation + time. For example: + “organizations/{organization_id}/sources/{source_id}” resource_name: 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. + 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. state: The state of the finding. category: The additional taxonomy group within findings from a given source. This field is immutable after creation time. Example: - "XSS\_FLASH\_INJECTION" + “XSS_FLASH_INJECTION” external_uri: The URI that, if available, points to a web page outside of Cloud SCC where additional information about the finding can @@ -408,7 +402,7 @@ source_properties: 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, + source_properties map must be between 1 and 255 characters, and must start with a letter and contain alphanumeric characters or underscores only. security_marks: @@ -424,7 +418,7 @@ The time at which the finding was created in Cloud SCC. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Finding) - ), + }, ) _sym_db.RegisterMessage(Finding) _sym_db.RegisterMessage(Finding.SourcePropertiesEntry) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py index 747520b0..d3307d70 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/notification_config_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/notification_config.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -24,12 +21,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/notification_config.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1\352A@\n\033pubsub.googleapis.com/Topic\022!projects/{project}/topics/{topic}" - ), - serialized_pb=_b( - '\nEgoogle/cloud/securitycenter_v1p1beta1/proto/notification_config.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto"\xb6\x04\n\x12NotificationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\nevent_type\x18\x03 \x01(\x0e\x32\x43.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType\x12\x36\n\x0cpubsub_topic\x18\x04 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x1c\n\x0fservice_account\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x65\n\x10streaming_config\x18\x06 \x01(\x0b\x32I.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfigH\x00\x1a!\n\x0fStreamingConfig\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t"4\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46INDING\x10\x01:}\xea\x41z\n0securitycenter.googleapis.com/NotificationConfig\x12\x46organizations/{organization}/notificationConfigs/{notification_config}B\x0f\n\rnotify_configB\xc0\x02\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1\352A@\n\033pubsub.googleapis.com/Topic\022!projects/{project}/topics/{topic}", + serialized_pb=b'\nEgoogle/cloud/securitycenter_v1p1beta1/proto/notification_config.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto"\xb6\x04\n\x12NotificationConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12W\n\nevent_type\x18\x03 \x01(\x0e\x32\x43.google.cloud.securitycenter.v1p1beta1.NotificationConfig.EventType\x12\x36\n\x0cpubsub_topic\x18\x04 \x01(\tB \xfa\x41\x1d\n\x1bpubsub.googleapis.com/Topic\x12\x1c\n\x0fservice_account\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x65\n\x10streaming_config\x18\x06 \x01(\x0b\x32I.google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfigH\x00\x1a!\n\x0fStreamingConfig\x12\x0e\n\x06\x66ilter\x18\x01 \x01(\t"4\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46INDING\x10\x01:}\xea\x41z\n0securitycenter.googleapis.com/NotificationConfig\x12\x46organizations/{organization}/notificationConfigs/{notification_config}B\x0f\n\rnotify_configB\xc0\x02\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1\xea\x41@\n\x1bpubsub.googleapis.com/Topic\x12!projects/{project}/topics/{topic}b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_field__behavior__pb2.DESCRIPTOR, @@ -79,7 +72,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -117,7 +110,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -135,7 +128,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -171,13 +164,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\372A\035\n\033pubsub.googleapis.com/Topic"), + serialized_options=b"\372A\035\n\033pubsub.googleapis.com/Topic", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -189,13 +182,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\003"), + serialized_options=b"\340A\003", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -220,9 +213,7 @@ extensions=[], nested_types=[_NOTIFICATIONCONFIG_STREAMINGCONFIG,], enum_types=[_NOTIFICATIONCONFIG_EVENTTYPE,], - serialized_options=_b( - "\352Az\n0securitycenter.googleapis.com/NotificationConfig\022Forganizations/{organization}/notificationConfigs/{notification_config}" - ), + serialized_options=b"\352Az\n0securitycenter.googleapis.com/NotificationConfig\022Forganizations/{organization}/notificationConfigs/{notification_config}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -259,15 +250,17 @@ NotificationConfig = _reflection.GeneratedProtocolMessageType( "NotificationConfig", (_message.Message,), - dict( - StreamingConfig=_reflection.GeneratedProtocolMessageType( + { + "StreamingConfig": _reflection.GeneratedProtocolMessageType( "StreamingConfig", (_message.Message,), - dict( - DESCRIPTOR=_NOTIFICATIONCONFIG_STREAMINGCONFIG, - __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", - __doc__="""The config for streaming-based notifications, which send each event as - soon as it is detected. + { + "DESCRIPTOR": _NOTIFICATIONCONFIG_STREAMINGCONFIG, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", + "__doc__": """The config for streaming-based notifications, which send + each event as soon as it is detected. + + Attributes: filter: Expression that defines the filter to apply across @@ -286,31 +279,35 @@ literals ``true`` and ``false`` without quotes. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.NotificationConfig.StreamingConfig) - ), + }, ), - DESCRIPTOR=_NOTIFICATIONCONFIG, - __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", - __doc__="""Cloud Security Command Center (Cloud SCC) notification configs. A - notification config is a Cloud SCC resource that contains the + "DESCRIPTOR": _NOTIFICATIONCONFIG, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.notification_config_pb2", + "__doc__": """Cloud Security Command Center (Cloud SCC) notification + configs. + + A notification config is a Cloud SCC resource that contains the configuration to send notifications for create/update events of findings, assets and etc. + + Attributes: name: The relative resource name of this notification config. See: h - ttps://cloud.google.com/apis/design/resource\_names#relative\_ - resource\_name Example: "organizations/{organization\_id}/noti - ficationConfigs/notify\_public\_bucket". + ttps://cloud.google.com/apis/design/resource_names#relative_re + source_name Example: “organizations/{organization_id}/notifica + tionConfigs/notify_public_bucket”. description: The description of the notification config (max of 1024 characters). event_type: - The type of events the config is for, e.g. FINDING. + The type of events the config is for, e.g. FINDING. pubsub_topic: The PubSub topic to send notifications to. Its format is - "projects/[project\_id]/topics/[topic]". + “projects/[project_id]/topics/[topic]”. service_account: Output only. The service account that needs - "pubsub.topics.publish" permission to publish to the PubSub + “pubsub.topics.publish” permission to publish to the PubSub topic. notify_config: The config for triggering notifications. @@ -318,7 +315,7 @@ The config for triggering streaming-based notifications. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.NotificationConfig) - ), + }, ) _sym_db.RegisterMessage(NotificationConfig) _sym_db.RegisterMessage(NotificationConfig.StreamingConfig) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py index 63cf8595..dc28c62a 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/notification_message_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/notification_message.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -28,12 +25,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/notification_message.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\nFgoogle/cloud/securitycenter_v1p1beta1/proto/notification_message.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x37google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x1a\x39google/cloud/securitycenter_v1p1beta1/proto/finding.proto"\x83\x01\n\x13NotificationMessage\x12 \n\x18notification_config_name\x18\x01 \x01(\t\x12\x41\n\x07\x66inding\x18\x02 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingH\x00\x42\x07\n\x05\x65ventB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\nFgoogle/cloud/securitycenter_v1p1beta1/proto/notification_message.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x37google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x1a\x39google/cloud/securitycenter_v1p1beta1/proto/finding.proto"\x83\x01\n\x13NotificationMessage\x12 \n\x18notification_config_name\x18\x01 \x01(\t\x12\x41\n\x07\x66inding\x18\x02 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingH\x00\x42\x07\n\x05\x65ventB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_asset__pb2.DESCRIPTOR, @@ -58,7 +51,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -123,10 +116,12 @@ NotificationMessage = _reflection.GeneratedProtocolMessageType( "NotificationMessage", (_message.Message,), - dict( - DESCRIPTOR=_NOTIFICATIONMESSAGE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.notification_message_pb2", - __doc__="""Cloud SCC's Notification + { + "DESCRIPTOR": _NOTIFICATIONMESSAGE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.notification_message_pb2", + "__doc__": """Cloud SCC’s Notification + + Attributes: notification_config_name: Name of the notification config that generated current @@ -134,11 +129,11 @@ event: Notification Event. finding: - If it's a Finding based notification config, this field will + If it’s a Finding based notification config, this field will be populated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.NotificationMessage) - ), + }, ) _sym_db.RegisterMessage(NotificationMessage) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py index b53a2081..3417d386 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/organization_settings_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\nGgoogle/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x98\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12p\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32P.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig\x1a\xf3\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12v\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32^.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\nGgoogle/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x98\x04\n\x14OrganizationSettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x65nable_asset_discovery\x18\x02 \x01(\x08\x12p\n\x16\x61sset_discovery_config\x18\x03 \x01(\x0b\x32P.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig\x1a\xf3\x01\n\x14\x41ssetDiscoveryConfig\x12\x13\n\x0bproject_ids\x18\x01 \x03(\t\x12v\n\x0einclusion_mode\x18\x02 \x01(\x0e\x32^.google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig.InclusionMode"N\n\rInclusionMode\x12\x1e\n\x1aINCLUSION_MODE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINCLUDE_ONLY\x10\x01\x12\x0b\n\x07\x45XCLUDE\x10\x02:j\xea\x41g\n2securitycenter.googleapis.com/OrganizationSettings\x12\x31organizations/{organization}/organizationSettingsB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -136,7 +129,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -185,9 +178,7 @@ extensions=[], nested_types=[_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG,], enum_types=[], - serialized_options=_b( - "\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings" - ), + serialized_options=b"\352Ag\n2securitycenter.googleapis.com/OrganizationSettings\0221organizations/{organization}/organizationSettings", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -212,14 +203,16 @@ OrganizationSettings = _reflection.GeneratedProtocolMessageType( "OrganizationSettings", (_message.Message,), - dict( - AssetDiscoveryConfig=_reflection.GeneratedProtocolMessageType( + { + "AssetDiscoveryConfig": _reflection.GeneratedProtocolMessageType( "AssetDiscoveryConfig", (_message.Message,), - dict( - DESCRIPTOR=_ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, - __module__="google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", - __doc__="""The configuration used for Asset Discovery runs. + { + "DESCRIPTOR": _ORGANIZATIONSETTINGS_ASSETDISCOVERYCONFIG, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", + "__doc__": """The configuration used for Asset Discovery runs. + + Attributes: project_ids: The project ids to use for filtering asset discovery. @@ -227,18 +220,20 @@ The mode to use for filtering asset discovery. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.OrganizationSettings.AssetDiscoveryConfig) - ), + }, ), - DESCRIPTOR=_ORGANIZATIONSETTINGS, - __module__="google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", - __doc__="""User specified settings that are attached to the Cloud Security - Command Center (Cloud SCC) organization. + "DESCRIPTOR": _ORGANIZATIONSETTINGS, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.organization_settings_pb2", + "__doc__": """User specified settings that are attached to the Cloud + Security Command Center (Cloud SCC) organization. + + Attributes: name: The relative resource name of the settings. See: https://cloud - .google.com/apis/design/resource\_names#relative\_resource\_na - me Example: - "organizations/{organization\_id}/organizationSettings". + .google.com/apis/design/resource_names#relative_resource_name + Example: + “organizations/{organization_id}/organizationSettings”. enable_asset_discovery: A flag that indicates if Asset Discovery should be enabled. If the flag is set to ``true``, then discovery of assets will @@ -248,7 +243,7 @@ The configuration used for Asset Discovery runs. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.OrganizationSettings) - ), + }, ) _sym_db.RegisterMessage(OrganizationSettings) _sym_db.RegisterMessage(OrganizationSettings.AssetDiscoveryConfig) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py index 397c26e6..044cbda2 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\nNgoogle/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto"\xee\x01\n\x19RunAssetDiscoveryResponse\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\nNgoogle/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto"\xee\x01\n\x19RunAssetDiscoveryResponse\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse.State\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"M\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02\x12\x0e\n\nTERMINATED\x10\x03\x42\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_protobuf_dot_duration__pb2.DESCRIPTOR, @@ -138,10 +131,12 @@ RunAssetDiscoveryResponse = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryResponse", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.run_asset_discovery_response_pb2", - __doc__="""Response of asset discovery run + { + "DESCRIPTOR": _RUNASSETDISCOVERYRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.run_asset_discovery_response_pb2", + "__doc__": """Response of asset discovery run + + Attributes: state: The state of an asset discovery run. @@ -149,7 +144,7 @@ The duration between asset discovery run start and end """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryResponse) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryResponse) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py index ed4afb4d..6dac3b3c 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/security_marks_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\n@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\xda\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12N\n\x05marks\x18\x02 \x03(\x0b\x32?.google.cloud.securitycenter.v1p1beta1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\n@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\xda\x02\n\rSecurityMarks\x12\x0c\n\x04name\x18\x01 \x01(\t\x12N\n\x05marks\x18\x02 \x03(\x0b\x32?.google.cloud.securitycenter.v1p1beta1.SecurityMarks.MarksEntry\x1a,\n\nMarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xbc\x01\xea\x41\xb8\x01\n+securitycenter.googleapis.com/SecurityMarks\x12\x39organizations/{organization}/assets/{asset}/securityMarks\x12Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarksB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -52,7 +45,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -70,7 +63,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -83,7 +76,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -108,7 +101,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -139,9 +132,7 @@ extensions=[], nested_types=[_SECURITYMARKS_MARKSENTRY,], enum_types=[], - serialized_options=_b( - "\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks" - ), + serialized_options=b"\352A\270\001\n+securitycenter.googleapis.com/SecurityMarks\0229organizations/{organization}/assets/{asset}/securityMarks\022Norganizations/{organization}/sources/{source}/findings/{finding}/securityMarks", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -158,29 +149,31 @@ SecurityMarks = _reflection.GeneratedProtocolMessageType( "SecurityMarks", (_message.Message,), - dict( - MarksEntry=_reflection.GeneratedProtocolMessageType( + { + "MarksEntry": _reflection.GeneratedProtocolMessageType( "MarksEntry", (_message.Message,), - dict( - DESCRIPTOR=_SECURITYMARKS_MARKSENTRY, - __module__="google.cloud.securitycenter_v1p1beta1.proto.security_marks_pb2" + { + "DESCRIPTOR": _SECURITYMARKS_MARKSENTRY, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.security_marks_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.SecurityMarks.MarksEntry) - ), + }, ), - DESCRIPTOR=_SECURITYMARKS, - __module__="google.cloud.securitycenter_v1p1beta1.proto.security_marks_pb2", - __doc__="""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. + "DESCRIPTOR": _SECURITYMARKS, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.security_marks_pb2", + "__doc__": """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. + + Attributes: name: The relative resource name of the SecurityMarks. See: https:// - cloud.google.com/apis/design/resource\_names#relative\_resourc - e\_name Examples: "organizations/{organization\_id}/assets/{as - set\_id}/securityMarks" "organizations/{organization\_id}/sour - ces/{source\_id}/findings/{finding\_id}/securityMarks". + cloud.google.com/apis/design/resource_names#relative_resource_ + name Examples: “organizations/{organization_id}/assets/{asset_ + id}/securityMarks” “organizations/{organization_id}/sources/{s + ource_id}/findings/{finding_id}/securityMarks”. marks: Mutable user specified security marks belonging to the parent resource. Constraints are as follows: - Keys and values are @@ -191,7 +184,7 @@ - 4096 characters (inclusive) """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.SecurityMarks) - ), + }, ) _sym_db.RegisterMessage(SecurityMarks) _sym_db.RegisterMessage(SecurityMarks.MarksEntry) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py index 793e4d84..df09bc6e 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -51,17 +48,14 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 +from google.cloud.securitycenter_v1p1beta1.proto.run_asset_discovery_response_pb2 import * DESCRIPTOR = _descriptor.FileDescriptor( name="google/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\nHgoogle/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto\x12%google.cloud.securitycenter.v1p1beta1\x1aNgoogle/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x1a\x39google/cloud/securitycenter_v1p1beta1/proto/finding.proto\x1a\x45google/cloud/securitycenter_v1p1beta1/proto/notification_config.proto\x1aGgoogle/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x38google/cloud/securitycenter_v1p1beta1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb3\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07\x66inding\x18\x03 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02"\xe0\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x13notification_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02"\xa3\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x42\n\x06source\x18\x02 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\xa0\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xbf\x01\n\x13GroupAssetsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\x96\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xc1\x01\n\x15GroupFindingsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xbf\x01\n\x0bGroupResult\x12V\n\nproperties\x18\x01 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1p1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"\x93\x01\n\x1fListNotificationConfigsResponse\x12W\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"n\n\x13ListSourcesResponse\x12>\n\x07sources\x18\x01 \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xcf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xd8\x03\n\x12ListAssetsResponse\x12g\n\x13list_assets_results\x18\x01 \x03(\x0b\x32J.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12;\n\x05\x61sset\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1p1beta1.Asset\x12l\n\x0cstate_change\x18\x02 \x01(\x0e\x32V.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03"\xc5\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xe5\x05\n\x14ListFindingsResponse\x12m\n\x15list_findings_results\x18\x01 \x03(\x0b\x32N.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\x81\x04\n\x12ListFindingsResult\x12?\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.Finding\x12p\n\x0cstate_change\x18\x02 \x01(\x0e\x32Z.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange\x12i\n\x08resource\x18\x03 \x01(\x0b\x32W.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource\x1a~\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04"\xd4\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12H\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x8d\x01\n\x14UpdateFindingRequest\x12\x44\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xaf\x01\n\x1fUpdateNotificationConfigRequest\x12[\n\x13notification_config\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb5\x01\n!UpdateOrganizationSettingsRequest\x12_\n\x15organization_settings\x18\x01 \x01(\x0b\x32;.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x8a\x01\n\x13UpdateSourceRequest\x12\x42\n\x06source\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xd0\x01\n\x1aUpdateSecurityMarksRequest\x12Q\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\x86+\n\x0eSecurityCenter\x12\xc6\x01\n\x0c\x43reateSource\x12:.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source"K\x82\xd3\xe4\x93\x02\x35"+/v1p1beta1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xfd\x01\n\rCreateFinding\x12;.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding"\x7f\x82\xd3\xe4\x93\x02\x41"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\xda\x41\x19parent,finding,finding_id\x12\xb8\x02\n\x18\x43reateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig"\x98\x01\x82\xd3\xe4\x93\x02N"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\x13notification_config\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x12\xc2\x01\n\x18\x44\x65leteNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty"F\x82\xd3\xe4\x93\x02\x39*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\x9d\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"R\x82\xd3\xe4\x93\x02\x41"/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66inding\xda\x41\x07\x66inding\xda\x41\x13\x66inding,update_mask\x12\xc0\x02\n\x18UpdateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig"\xa0\x01\x82\xd3\xe4\x93\x02\x62\x32K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x12\xa9\x02\n\x1aUpdateOrganizationSettings\x12H.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings"\x83\x01\x82\xd3\xe4\x93\x02\x65\x32L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\xda\x41\x15organization_settings\x12\xdb\x01\n\x0cUpdateSource\x12:.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source"`\x82\xd3\xe4\x93\x02<22/v1p1beta1/{source.name=organizations/*/sources/*}:\x06source\xda\x41\x06source\xda\x41\x12source,update_mask\x12\x86\x03\n\x13UpdateSecurityMarks\x12\x41.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest\x1a\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks"\xf5\x01\x82\xd3\xe4\x93\x02\xc0\x01\x32G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\xda\x41\x0esecurity_marks\xda\x41\x1asecurity_marks,update_mask\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\nHgoogle/cloud/securitycenter_v1p1beta1/proto/securitycenter_service.proto\x12%google.cloud.securitycenter.v1p1beta1\x1aNgoogle/cloud/securitycenter_v1p1beta1/proto/run_asset_discovery_response.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/securitycenter_v1p1beta1/proto/asset.proto\x1a\x39google/cloud/securitycenter_v1p1beta1/proto/finding.proto\x1a\x45google/cloud/securitycenter_v1p1beta1/proto/notification_config.proto\x1aGgoogle/cloud/securitycenter_v1p1beta1/proto/organization_settings.proto\x1a@google/cloud/securitycenter_v1p1beta1/proto/security_marks.proto\x1a\x38google/cloud/securitycenter_v1p1beta1/proto/source.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xb3\x01\n\x14\x43reateFindingRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x17\n\nfinding_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x07\x66inding\x18\x03 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02"\xe0\x01\n\x1f\x43reateNotificationConfigRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x13notification_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02"\xa3\x01\n\x13\x43reateSourceRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x42\n\x06source\x18\x02 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02"i\n\x1f\x44\x65leteNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"f\n\x1cGetNotificationConfigRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0securitycenter.googleapis.com/NotificationConfig"j\n\x1eGetOrganizationSettingsRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2securitycenter.googleapis.com/OrganizationSettings"N\n\x10GetSourceRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source"\xa0\x02\n\x12GroupAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x10\x63ompare_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\tread_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xbf\x01\n\x13GroupAssetsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\x96\x02\n\x14GroupFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x15\n\x08group_by\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x12\n\npage_token\x18\x07 \x01(\t\x12\x11\n\tpage_size\x18\x08 \x01(\x05"\xc1\x01\n\x15GroupFindingsResponse\x12L\n\x10group_by_results\x18\x01 \x03(\x0b\x32\x32.google.cloud.securitycenter.v1p1beta1.GroupResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05"\xbf\x01\n\x0bGroupResult\x12V\n\nproperties\x18\x01 \x03(\x0b\x32\x42.google.cloud.securitycenter.v1p1beta1.GroupResult.PropertiesEntry\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x1aI\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\x91\x01\n\x1eListNotificationConfigsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05"\x93\x01\n\x1fListNotificationConfigsResponse\x12W\n\x14notification_configs\x18\x01 \x03(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\x85\x01\n\x12ListSourcesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x07 \x01(\x05"n\n\x13ListSourcesResponse\x12>\n\x07sources\x18\x01 \x03(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.Source\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t"\xcf\x02\n\x11ListAssetsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xd8\x03\n\x12ListAssetsResponse\x12g\n\x13list_assets_results\x18\x01 \x03(\x0b\x32J.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\xfc\x01\n\x10ListAssetsResult\x12;\n\x05\x61sset\x18\x01 \x01(\x0b\x32,.google.cloud.securitycenter.v1p1beta1.Asset\x12l\n\x0cstate_change\x18\x02 \x01(\x0e\x32V.google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult.StateChange"=\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03"\xc5\x02\n\x13ListFindingsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$securitycenter.googleapis.com/Source\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12-\n\tread_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x10\x63ompare_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06having\x18\x06 \x01(\t\x12\x33\n\nfield_mask\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x11\n\tpage_size\x18\t \x01(\x05"\xe5\x05\n\x14ListFindingsResponse\x12m\n\x15list_findings_results\x18\x01 \x03(\x0b\x32N.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult\x12-\n\tread_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x12\n\ntotal_size\x18\x04 \x01(\x05\x1a\x81\x04\n\x12ListFindingsResult\x12?\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.Finding\x12p\n\x0cstate_change\x18\x02 \x01(\x0e\x32Z.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.StateChange\x12i\n\x08resource\x18\x03 \x01(\x0b\x32W.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource\x1a~\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cproject_name\x18\x02 \x01(\t\x12\x1c\n\x14project_display_name\x18\x03 \x01(\t\x12\x13\n\x0bparent_name\x18\x04 \x01(\t\x12\x1b\n\x13parent_display_name\x18\x05 \x01(\t"M\n\x0bStateChange\x12\n\n\x06UNUSED\x10\x00\x12\x0b\n\x07\x43HANGED\x10\x01\x12\r\n\tUNCHANGED\x10\x02\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x03\x12\x0b\n\x07REMOVED\x10\x04"\xd4\x01\n\x16SetFindingStateRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%securitycenter.googleapis.com/Finding\x12H\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.cloud.securitycenter.v1p1beta1.Finding.StateB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02"d\n\x18RunAssetDiscoveryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0cloudresourcemanager.googleapis.com/Organization"\x8d\x01\n\x14UpdateFindingRequest\x12\x44\n\x07\x66inding\x18\x01 \x01(\x0b\x32..google.cloud.securitycenter.v1p1beta1.FindingB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xaf\x01\n\x1fUpdateNotificationConfigRequest\x12[\n\x13notification_config\x18\x01 \x01(\x0b\x32\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xb5\x01\n!UpdateOrganizationSettingsRequest\x12_\n\x15organization_settings\x18\x01 \x01(\x0b\x32;.google.cloud.securitycenter.v1p1beta1.OrganizationSettingsB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\x8a\x01\n\x13UpdateSourceRequest\x12\x42\n\x06source\x18\x01 \x01(\x0b\x32-.google.cloud.securitycenter.v1p1beta1.SourceB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask"\xd0\x01\n\x1aUpdateSecurityMarksRequest\x12Q\n\x0esecurity_marks\x18\x01 \x01(\x0b\x32\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarksB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\x86+\n\x0eSecurityCenter\x12\xc6\x01\n\x0c\x43reateSource\x12:.google.cloud.securitycenter.v1p1beta1.CreateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source"K\x82\xd3\xe4\x93\x02\x35"+/v1p1beta1/{parent=organizations/*}/sources:\x06source\xda\x41\rparent,source\x12\xfd\x01\n\rCreateFinding\x12;.google.cloud.securitycenter.v1p1beta1.CreateFindingRequest\x1a..google.cloud.securitycenter.v1p1beta1.Finding"\x7f\x82\xd3\xe4\x93\x02\x41"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\x07\x66inding\xda\x41\x19parent,finding_id,finding\xda\x41\x19parent,finding,finding_id\x12\xb8\x02\n\x18\x43reateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig"\x98\x01\x82\xd3\xe4\x93\x02N"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\x13notification_config\xda\x41$parent,config_id,notification_config\xda\x41\x1aparent,notification_config\x12\xc2\x01\n\x18\x44\x65leteNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest\x1a\x16.google.protobuf.Empty"F\x82\xd3\xe4\x93\x02\x39*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\xda\x41\x04name\x12\x9d\x01\n\x0cGetIamPolicy\x12".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy"R\x82\xd3\xe4\x93\x02\x41"/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\x07\x66inding\xda\x41\x07\x66inding\xda\x41\x13\x66inding,update_mask\x12\xc0\x02\n\x18UpdateNotificationConfig\x12\x46.google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest\x1a\x39.google.cloud.securitycenter.v1p1beta1.NotificationConfig"\xa0\x01\x82\xd3\xe4\x93\x02\x62\x32K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\x13notification_config\xda\x41\x13notification_config\xda\x41\x1fnotification_config,update_mask\x12\xa9\x02\n\x1aUpdateOrganizationSettings\x12H.google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest\x1a;.google.cloud.securitycenter.v1p1beta1.OrganizationSettings"\x83\x01\x82\xd3\xe4\x93\x02\x65\x32L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\x15organization_settings\xda\x41\x15organization_settings\x12\xdb\x01\n\x0cUpdateSource\x12:.google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest\x1a-.google.cloud.securitycenter.v1p1beta1.Source"`\x82\xd3\xe4\x93\x02<22/v1p1beta1/{source.name=organizations/*/sources/*}:\x06source\xda\x41\x06source\xda\x41\x12source,update_mask\x12\x86\x03\n\x13UpdateSecurityMarks\x12\x41.google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest\x1a\x34.google.cloud.securitycenter.v1p1beta1.SecurityMarks"\xf5\x01\x82\xd3\xe4\x93\x02\xc0\x01\x32G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\x0esecurity_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\x0esecurity_marks\xda\x41\x0esecurity_marks\xda\x41\x1asecurity_marks,update_mask\x1aQ\xca\x41\x1dsecuritycenter.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1P\x00\x62\x06proto3', dependencies=[ google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_run__asset__discovery__response__pb2.DESCRIPTOR, google_dot_api_dot_annotations__pb2.DESCRIPTOR, @@ -83,6 +77,9 @@ google_dot_protobuf_dot_struct__pb2.DESCRIPTOR, google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR, ], + public_dependencies=[ + google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_run__asset__discovery__response__pb2.DESCRIPTOR, + ], ) @@ -158,15 +155,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -178,13 +173,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -202,7 +197,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -235,15 +230,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -255,13 +248,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -279,7 +272,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -312,15 +305,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -338,7 +329,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -371,15 +362,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig" - ), + serialized_options=b"\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig", file=DESCRIPTOR, ), ], @@ -412,15 +401,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig" - ), + serialized_options=b"\340A\002\372A2\n0securitycenter.googleapis.com/NotificationConfig", file=DESCRIPTOR, ), ], @@ -453,15 +440,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A4\n2securitycenter.googleapis.com/OrganizationSettings" - ), + serialized_options=b"\340A\002\372A4\n2securitycenter.googleapis.com/OrganizationSettings", file=DESCRIPTOR, ), ], @@ -494,15 +479,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), ], @@ -535,15 +518,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -555,7 +536,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -573,13 +554,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -627,7 +608,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -645,7 +626,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -738,7 +719,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -795,15 +776,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -815,7 +794,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -833,13 +812,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -887,7 +866,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -905,7 +884,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -998,7 +977,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1055,7 +1034,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1086,7 +1065,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b("8\001"), + serialized_options=b"8\001", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -1168,15 +1147,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1188,7 +1165,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1263,7 +1240,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1302,15 +1279,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1322,7 +1297,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1397,7 +1372,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1436,15 +1411,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1456,7 +1429,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1474,7 +1447,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1528,7 +1501,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1552,7 +1525,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\001"), + serialized_options=b"\340A\001", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1564,7 +1537,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1713,7 +1686,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1770,15 +1743,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A&\n$securitycenter.googleapis.com/Source" - ), + serialized_options=b"\340A\002\372A&\n$securitycenter.googleapis.com/Source", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1790,7 +1761,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1808,7 +1779,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1862,7 +1833,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1886,7 +1857,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\001"), + serialized_options=b"\340A\001", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -1898,7 +1869,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1955,7 +1926,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1973,7 +1944,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -1991,7 +1962,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2009,7 +1980,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2027,7 +1998,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2175,7 +2146,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -2232,15 +2203,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A'\n%securitycenter.googleapis.com/Finding" - ), + serialized_options=b"\340A\002\372A'\n%securitycenter.googleapis.com/Finding", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2258,7 +2227,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2276,7 +2245,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), ], @@ -2309,15 +2278,13 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b( - "\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization" - ), + serialized_options=b"\340A\002\372A2\n0cloudresourcemanager.googleapis.com/Organization", file=DESCRIPTOR, ), ], @@ -2356,7 +2323,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2413,7 +2380,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2470,7 +2437,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2527,7 +2494,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2584,7 +2551,7 @@ containing_type=None, is_extension=False, extension_scope=None, - serialized_options=_b("\340A\002"), + serialized_options=b"\340A\002", file=DESCRIPTOR, ), _descriptor.FieldDescriptor( @@ -2847,40 +2814,44 @@ CreateFindingRequest = _reflection.GeneratedProtocolMessageType( "CreateFindingRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATEFINDINGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a finding. + { + "DESCRIPTOR": _CREATEFINDINGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a finding. + + Attributes: parent: - Required. Resource name of the new finding's parent. Its + Required. Resource name of the new finding’s parent. Its format should be - "organizations/[organization\_id]/sources/[source\_id]". + “organizations/[organization_id]/sources/[source_id]”. 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 greater than 0 characters in length. finding: Required. The Finding being created. The name and - security\_marks will be ignored as they are both output only + security_marks will be ignored as they are both output only fields on this resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.CreateFindingRequest) - ), + }, ) _sym_db.RegisterMessage(CreateFindingRequest) CreateNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "CreateNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a notification config. + { + "DESCRIPTOR": _CREATENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a notification config. + + Attributes: parent: - Required. Resource name of the new notification config's - parent. Its format is "organizations/[organization\_id]". + Required. Resource name of the new notification config’s + parent. Its format is “organizations/[organization_id]”. config_id: Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters, and @@ -2891,112 +2862,124 @@ only fields on this resource. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.CreateNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(CreateNotificationConfigRequest) CreateSourceRequest = _reflection.GeneratedProtocolMessageType( "CreateSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_CREATESOURCEREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for creating a source. + { + "DESCRIPTOR": _CREATESOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for creating a source. + + Attributes: parent: - Required. Resource name of the new source's parent. Its format - should be "organizations/[organization\_id]". + Required. Resource name of the new source’s parent. Its format + should be “organizations/[organization_id]”. source: - Required. The Source being created, only the display\_name and + Required. The Source being created, only the display_name and description will be used. All other fields will be ignored. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.CreateSourceRequest) - ), + }, ) _sym_db.RegisterMessage(CreateSourceRequest) DeleteNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "DeleteNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_DELETENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for deleting a notification config. + { + "DESCRIPTOR": _DELETENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for deleting a notification config. + + Attributes: name: Required. Name of the notification config to delete. Its - format is "organizations/[organization\_id]/notificationConfig - s/[config\_id]". + format is “organizations/[organization_id]/notificationConfigs + /[config_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.DeleteNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(DeleteNotificationConfigRequest) GetNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "GetNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETNOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting a notification config. + { + "DESCRIPTOR": _GETNOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting a notification config. + + Attributes: name: Required. Name of the notification config to get. Its format - is "organizations/[organization\_id]/notificationConfigs/[conf - ig\_id]". + is “organizations/[organization_id]/notificationConfigs/[confi + g_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GetNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(GetNotificationConfigRequest) GetOrganizationSettingsRequest = _reflection.GeneratedProtocolMessageType( "GetOrganizationSettingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETORGANIZATIONSETTINGSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting organization settings. + { + "DESCRIPTOR": _GETORGANIZATIONSETTINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting organization settings. + + Attributes: name: Required. Name of the organization to get organization settings for. Its format is - "organizations/[organization\_id]/organizationSettings". + “organizations/[organization_id]/organizationSettings”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GetOrganizationSettingsRequest) - ), + }, ) _sym_db.RegisterMessage(GetOrganizationSettingsRequest) GetSourceRequest = _reflection.GeneratedProtocolMessageType( "GetSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_GETSOURCEREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for getting a source. + { + "DESCRIPTOR": _GETSOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for getting a source. + + Attributes: name: Required. Relative resource name of the source. Its format is - "organizations/[organization\_id]/source/[source\_id]". + “organizations/[organization_id]/source/[source_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GetSourceRequest) - ), + }, ) _sym_db.RegisterMessage(GetSourceRequest) GroupAssetsRequest = _reflection.GeneratedProtocolMessageType( "GroupAssetsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GROUPASSETSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for grouping by assets. + { + "DESCRIPTOR": _GROUPASSETSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for grouping by assets. + + Attributes: parent: Required. Name of the organization to groupBy. Its format is - "organizations/[organization\_id]". + “organizations/[organization_id]”. filter: Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via @@ -3006,89 +2989,84 @@ may have a ``-`` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka The supported operators are: - - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. The following - field and operator combinations are supported: - name: ``=`` - - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. The following field and operator combinations + are supported: - name: ``=`` - update_time: ``=``, ``>``, + ``<``, ``>=``, ``<=`` Usage: This should be milliseconds + since epoch or an RFC3339 string. Examples: “update_time = + "2019-06-10T16:07:18-07:00"” “update_time = 1560208038000” + - create_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. - Examples: "update\_time = "2019-06-10T16:07:18-07:00"" - "update\_time = 1560208038000" - create\_time: ``=``, ``>``, - ``<``, ``>=``, ``<=`` Usage: This should be milliseconds - since epoch or an RFC3339 string. Examples: "create\_time = - "2019-06-10T16:07:18-07:00"" "create\_time = 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, - ``<=`` - security\_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` - - security\_center\_properties.resource\_name\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_type: ``=``, ``:`` - - security\_center\_properties.resource\_parent: ``=``, ``:`` - - security\_center\_properties.resource\_parent\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` - For example, ``resource_properties.size = 100`` is a valid - filter string. + Examples: “create_time = "2019-06-10T16:07:18-07:00"” + “create_time = 1560208038000” - iam_policy.policy_blob: + ``=``, ``:`` - resource_properties: ``=``, ``:``, ``>``, + ``<``, ``>=``, ``<=`` - security_marks.marks: ``=``, ``:`` - + security_center_properties.resource_name: ``=``, ``:`` - + security_center_properties.resource_name_display_name: ``=``, + ``:`` - security_center_properties.resource_type: ``=``, + ``:`` - security_center_properties.resource_parent: ``=``, + ``:`` - + security_center_properties.resource_parent_display_name: + ``=``, ``:`` - security_center_properties.resource_project: + ``=``, ``:`` - + security_center_properties.resource_project_display_name: + ``=``, ``:`` - security_center_properties.resource_owners: + ``=``, ``:`` For example, ``resource_properties.size = 100`` + is a valid filter string. group_by: Required. Expression that defines what assets fields to use for grouping. The string value should follow SQL syntax: comma - separated list of fields. For example: "security\_center\_prop - erties.resource\_project,security\_center\_properties.project" - . The following fields are supported when compare\_duration - is not set: - security\_center\_properties.resource\_project - - - security\_center\_properties.resource\_project\_display\_name - - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_parent - - security\_center\_properties.resource\_parent\_display\_name - The following fields are supported when compare\_duration is - set: - security\_center\_properties.resource\_type - - security\_center\_properties.resource\_project\_display\_name - - - security\_center\_properties.resource\_parent\_display\_name + separated list of fields. For example: “security_center_proper + ties.resource_project,security_center_properties.project”. + The following fields are supported when compare_duration is + not set: - security_center_properties.resource_project - + security_center_properties.resource_project_display_name - + security_center_properties.resource_type - + security_center_properties.resource_parent - + security_center_properties.resource_parent_display_name The + following fields are supported when compare_duration is set: + - security_center_properties.resource_type - + security_center_properties.resource_project_display_name - + security_center_properties.resource_parent_display_name compare_duration: - When compare\_duration is set, the GroupResult's - "state\_change" property is updated to indicate whether the - asset was added, removed, or remained present during the - compare\_duration period of time that precedes the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state change value is derived based on the - presence of the asset at the two points in time. Intermediate - state changes between the two times don't affect the result. - For example, the results aren't affected if the asset is - removed and re-created again. Possible "state\_change" values - when compare\_duration is specified: - "ADDED": indicates - that the asset was not present at the start of - compare\_duration, but present at reference\_time. - - "REMOVED": indicates that the asset was present at the start - of compare\_duration, but not present at reference\_time. - - "ACTIVE": indicates that the asset was present at both the - start and the end of the time period defined by - compare\_duration and reference\_time. If - compare\_duration is not specified, then the only possible - state\_change is "UNUSED", which will be the state\_change set - for all assets present at read\_time. If this field is set + When compare_duration is set, the GroupResult’s “state_change” + property is updated to indicate whether the asset was added, + removed, or remained present during the compare_duration + period of time that precedes the read_time. This is the time + between (read_time - compare_duration) and read_time. The + state change value is derived based on the presence of the + asset at the two points in time. Intermediate state changes + between the two times don’t affect the result. For example, + the results aren’t affected if the asset is removed and re- + created again. Possible “state_change” values when + compare_duration is specified: - “ADDED”: indicates that the + asset was not present at the start of compare_duration, but + present at reference_time. - “REMOVED”: indicates that the + asset was present at the start of compare_duration, but not + present at reference_time. - “ACTIVE”: indicates that the + asset was present at both the start and the end of the time + period defined by compare_duration and reference_time. If + compare_duration is not specified, then the only possible + state_change is “UNUSED”, which will be the state_change set + for all assets present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. having: Filter that specifies what fields to further filter on *after* the query filter has been executed. Currently only - ``state_change`` is supported and requires compare\_duration - to be specified. + ``state_change`` is supported and requires compare_duration to + be specified. page_token: The value returned by the last ``GroupAssetsResponse``; indicates that this is a continuation of a prior @@ -3099,17 +3077,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsRequest) GroupAssetsResponse = _reflection.GeneratedProtocolMessageType( "GroupAssetsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for grouping by assets. + { + "DESCRIPTOR": _GROUPASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for grouping by assets. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -3125,23 +3105,25 @@ The total number of results matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupAssetsResponse) GroupFindingsRequest = _reflection.GeneratedProtocolMessageType( "GroupFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for grouping by findings. + { + "DESCRIPTOR": _GROUPFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for grouping by findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To + groupBy across all sources provide a source_id of ``-``. For + example: organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -3150,7 +3132,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -3158,57 +3140,57 @@ without quotes. - boolean literals ``true`` and ``false`` without quotes. The following field and operator combinations are supported: - name: ``=`` - parent: ``=``, ``:`` - - resource\_name: ``=``, ``:`` - state: ``=``, ``:`` - - category: ``=``, ``:`` - external\_uri: ``=``, ``:`` - - event\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This - should be milliseconds since epoch or an RFC3339 string. - Examples: "event\_time = "2019-06-10T16:07:18-07:00"" - "event\_time = 1560208038000" - security\_marks.marks: - ``=``, ``:`` - source\_properties: ``=``, ``:``, ``>``, - ``<``, ``>=``, ``<=`` For example, ``source_properties.size = - 100`` is a valid filter string. + resource_name: ``=``, ``:`` - state: ``=``, ``:`` - + category: ``=``, ``:`` - external_uri: ``=``, ``:`` - + event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: + This should be milliseconds since epoch or an RFC3339 string. + Examples: “event_time = "2019-06-10T16:07:18-07:00"” + “event_time = 1560208038000” - security_marks.marks: + ``=``, ``:`` - source_properties: ``=``, ``:``, ``>``, ``<``, + ``>=``, ``<=`` For example, ``source_properties.size = 100`` + is a valid filter string. group_by: Required. Expression that defines what assets fields to use for grouping (including ``state_change``). The string value should follow SQL syntax: comma separated list of fields. For - example: "parent,resource\_name". The following fields are - supported: - resource\_name - category - state - parent - The following fields are supported when compare\_duration is - set: - state\_change + example: “parent,resource_name”. The following fields are + supported: - resource_name - category - state - parent + The following fields are supported when compare_duration is + set: - state_change read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. compare_duration: - When compare\_duration is set, the GroupResult'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 during the - compare\_duration period of time that precedes the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the - presence and state of the finding at the two points in time. - Intermediate state changes between the two times don't affect - the result. For example, the results aren't affected if the - finding is made inactive and then active again. Possible - "state\_change" values when compare\_duration is specified: - - "CHANGED": indicates that the finding was present at the start - of compare\_duration, but changed its state at read\_time. - - "UNCHANGED": indicates that the finding was present at the - start of compare\_duration and did not change state at - read\_time. - "ADDED": indicates that the finding was not - present at the start of compare\_duration, but was present - at read\_time. If compare\_duration is not specified, then - the only possible state\_change is "UNUSED", which will be the - state\_change set for all findings present at read\_time. If + When compare_duration is set, the GroupResult’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 during the compare_duration period of + time that precedes the read_time. This is the time between + (read_time - compare_duration) and read_time. The + state_change value is derived based on the presence and state + of the finding at the two points in time. Intermediate state + changes between the two times don’t affect the result. For + example, the results aren’t affected if the finding is made + inactive and then active again. Possible “state_change” + values when compare_duration is specified: - “CHANGED”: + indicates that the finding was present at the start of + compare_duration, but changed its state at read_time. - + “UNCHANGED”: indicates that the finding was present at the + start of compare_duration and did not change state at + read_time. - “ADDED”: indicates that the finding was not + present at the start of compare_duration, but was present + at read_time. If compare_duration is not specified, then the + only possible state_change is “UNUSED”, which will be the + state_change set for all findings present at read_time. If this field is set then ``state_change`` must be a specified field in ``group_by``. having: Filter that specifies what fields to further filter on *after* the query filter has been executed. Currently only ``finding.state`` and ``state_change`` are supported and - requires compare\_duration to be specified. + requires compare_duration to be specified. page_token: The value returned by the last ``GroupFindingsResponse``; indicates that this is a continuation of a prior @@ -3219,17 +3201,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsRequest) GroupFindingsResponse = _reflection.GeneratedProtocolMessageType( "GroupFindingsResponse", (_message.Message,), - dict( - DESCRIPTOR=_GROUPFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for group by findings. + { + "DESCRIPTOR": _GROUPFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for group by findings. + + Attributes: group_by_results: Group results. There exists an element for each existing @@ -3245,26 +3229,29 @@ The total number of results matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(GroupFindingsResponse) GroupResult = _reflection.GeneratedProtocolMessageType( "GroupResult", (_message.Message,), - dict( - PropertiesEntry=_reflection.GeneratedProtocolMessageType( + { + "PropertiesEntry": _reflection.GeneratedProtocolMessageType( "PropertiesEntry", (_message.Message,), - dict( - DESCRIPTOR=_GROUPRESULT_PROPERTIESENTRY, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2" + { + "DESCRIPTOR": _GROUPRESULT_PROPERTIESENTRY, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2" # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupResult.PropertiesEntry) - ), - ), - DESCRIPTOR=_GROUPRESULT, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the properties and count of a groupBy request. + }, + ), + "DESCRIPTOR": _GROUPRESULT, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the properties and count of a groupBy + request. + + Attributes: properties: Properties matching the groupBy fields in the request. @@ -3272,7 +3259,7 @@ Total count of resources for the given properties. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.GroupResult) - ), + }, ) _sym_db.RegisterMessage(GroupResult) _sym_db.RegisterMessage(GroupResult.PropertiesEntry) @@ -3280,14 +3267,16 @@ ListNotificationConfigsRequest = _reflection.GeneratedProtocolMessageType( "ListNotificationConfigsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTNOTIFICATIONCONFIGSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing notification configs. + { + "DESCRIPTOR": _LISTNOTIFICATIONCONFIGSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing notification configs. + + Attributes: parent: Required. Name of the organization to list notification - configs. Its format is "organizations/[organization\_id]". + configs. Its format is “organizations/[organization_id]”. page_token: The value returned by the last ``ListNotificationConfigsResponse``; indicates that this is a @@ -3298,17 +3287,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsRequest) - ), + }, ) _sym_db.RegisterMessage(ListNotificationConfigsRequest) ListNotificationConfigsResponse = _reflection.GeneratedProtocolMessageType( "ListNotificationConfigsResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTNOTIFICATIONCONFIGSRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing notification configs. + { + "DESCRIPTOR": _LISTNOTIFICATIONCONFIGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing notification configs. + + Attributes: notification_configs: Notification configs belonging to the requested parent. @@ -3317,21 +3308,23 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListNotificationConfigsResponse) - ), + }, ) _sym_db.RegisterMessage(ListNotificationConfigsResponse) ListSourcesRequest = _reflection.GeneratedProtocolMessageType( "ListSourcesRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing sources. + + Attributes: parent: Required. Resource name of the parent of sources to list. Its - format should be "organizations/[organization\_id]". + format should be “organizations/[organization_id]”. page_token: The value returned by the last ``ListSourcesResponse``; indicates that this is a continuation of a prior @@ -3342,17 +3335,19 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListSourcesRequest) - ), + }, ) _sym_db.RegisterMessage(ListSourcesRequest) ListSourcesResponse = _reflection.GeneratedProtocolMessageType( "ListSourcesResponse", (_message.Message,), - dict( - DESCRIPTOR=_LISTSOURCESRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing sources. + { + "DESCRIPTOR": _LISTSOURCESRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing sources. + + Attributes: sources: Sources belonging to the requested parent. @@ -3361,21 +3356,23 @@ are no more results. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListSourcesResponse) - ), + }, ) _sym_db.RegisterMessage(ListSourcesResponse) ListAssetsRequest = _reflection.GeneratedProtocolMessageType( "ListAssetsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing assets. + { + "DESCRIPTOR": _LISTASSETSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing assets. + + Attributes: parent: Required. Name of the organization assets should belong to. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. filter: Expression that defines the filter to apply across assets. The expression is a list of zero or more restrictions combined via @@ -3385,89 +3382,87 @@ may have a ``-`` character in front of them to indicate negation. The fields map to those defined in the Asset resource. Examples include: - name - - security\_center\_properties.resource\_name - - resource\_properties.a\_property - - security\_marks.marks.marka The supported operators are: - - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for - integer values. - ``:``, meaning substring matching, for - strings. The supported value types are: - string literals - in quotes. - integer literals without quotes. - boolean - literals ``true`` and ``false`` without quotes. The following - are the allowed field and operator combinations: - name: - ``=`` - update\_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` - Usage: This should be milliseconds since epoch or an RFC3339 - string. Examples: "update\_time = "2019-06-10T16:07:18-07:00"" - "update\_time = 1560208038000" - create\_time: ``=``, ``>``, - ``<``, ``>=``, ``<=`` Usage: This should be milliseconds - since epoch or an RFC3339 string. Examples: "create\_time = - "2019-06-10T16:07:18-07:00"" "create\_time = 1560208038000" - - iam\_policy.policy\_blob: ``=``, ``:`` - - resource\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, - ``<=`` - security\_marks.marks: ``=``, ``:`` - - security\_center\_properties.resource\_name: ``=``, ``:`` - - security\_center\_properties.resource\_display\_name: ``=``, - ``:`` - security\_center\_properties.resource\_type: ``=``, - ``:`` - security\_center\_properties.resource\_parent: ``=``, - ``:`` - - security\_center\_properties.resource\_parent\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_project: ``=``, ``:`` - - security\_center\_properties.resource\_project\_display\_name: - ``=``, ``:`` - - security\_center\_properties.resource\_owners: ``=``, ``:`` - For example, ``resource_properties.size = 100`` is a valid - filter string. + security_center_properties.resource_name - + resource_properties.a_property - security_marks.marks.marka + The supported operators are: - ``=`` for all value types. - + ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, + meaning substring matching, for strings. The supported value + types are: - string literals in quotes. - integer literals + without quotes. - boolean literals ``true`` and ``false`` + without quotes. The following are the allowed field and + operator combinations: - name: ``=`` - update_time: ``=``, + ``>``, ``<``, ``>=``, ``<=`` Usage: This should be + milliseconds since epoch or an RFC3339 string. Examples: + “update_time = "2019-06-10T16:07:18-07:00"” “update_time = + 1560208038000” - create_time: ``=``, ``>``, ``<``, ``>=``, + ``<=`` Usage: This should be milliseconds since epoch or + an RFC3339 string. Examples: “create_time = + "2019-06-10T16:07:18-07:00"” “create_time = 1560208038000” + - iam_policy.policy_blob: ``=``, ``:`` - + resource_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, + ``<=`` - security_marks.marks: ``=``, ``:`` - + security_center_properties.resource_name: ``=``, ``:`` - + security_center_properties.resource_display_name: ``=``, ``:`` + - security_center_properties.resource_type: ``=``, ``:`` - + security_center_properties.resource_parent: ``=``, ``:`` - + security_center_properties.resource_parent_display_name: + ``=``, ``:`` - security_center_properties.resource_project: + ``=``, ``:`` - + security_center_properties.resource_project_display_name: + ``=``, ``:`` - security_center_properties.resource_owners: + ``=``, ``:`` For example, ``resource_properties.size = 100`` + is a valid filter string. order_by: Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,resource\_properties.a\_property". - Redundant space characters in the syntax are insignificant. - "name desc,resource\_properties.a\_property" and " name desc , - resource\_properties.a\_property " are equivalent. The - following fields are supported: name update\_time - resource\_properties security\_marks.marks - security\_center\_properties.resource\_name - security\_center\_properties.resource\_display\_name - security\_center\_properties.resource\_parent - security\_center\_properties.resource\_parent\_display\_name - security\_center\_properties.resource\_project - security\_center\_properties.resource\_project\_display\_name - security\_center\_properties.resource\_type + example: “name desc,resource_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,resource_properties.a_property” and " name desc , + resource_properties.a_property " are equivalent. The + following fields are supported: name update_time + resource_properties security_marks.marks + security_center_properties.resource_name + security_center_properties.resource_display_name + security_center_properties.resource_parent + security_center_properties.resource_parent_display_name + security_center_properties.resource_project + security_center_properties.resource_project_display_name + security_center_properties.resource_type read_time: Time used as a reference point when filtering assets. The filter is limited to assets existing at the supplied time and their values are those at that specific time. Absence of this - field will default to the API's version of NOW. + field will default to the API’s version of NOW. compare_duration: - When compare\_duration is set, the ListAssetsResult's - "state\_change" attribute is updated to indicate whether the + 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 the read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the + compare_duration period of time that precedes the read_time. + This is the time between (read_time - compare_duration) and + read_time. The state_change value is derived based on the presence of the asset at the two points in time. Intermediate - state changes between the two times don't affect the result. - For example, the results aren't affected if the asset is - removed and re-created again. Possible "state\_change" values - when compare\_duration is specified: - "ADDED": indicates + state changes between the two times don’t affect the result. + For example, the results aren’t affected if the asset is + removed and re-created again. Possible “state_change” values + when compare_duration is specified: - “ADDED”: indicates that the asset was not present at the start of - compare\_duration, but present at read\_time. - "REMOVED": + compare_duration, but present at read_time. - “REMOVED”: indicates that the asset was present at the start of - compare\_duration, but not present at read\_time. - "ACTIVE": + compare_duration, but not present at read_time. - “ACTIVE”: indicates that the asset was present at both the start and - the end of the time period defined by compare\_duration and - read\_time. If compare\_duration is not specified, then the - only possible state\_change is "UNUSED", which will be the - state\_change set for all assets present at read\_time. + the end of the time period defined by compare_duration and + read_time. If compare_duration is not specified, then the + only possible state_change is “UNUSED”, which will be the + state_change set for all assets present at read_time. having: Filter that specifies what fields to further filter on *after* the query filter has been executed. Currently only - ``state_change`` is supported and requires compare\_duration - to be specified. + ``state_change`` is supported and requires compare_duration to + be specified. field_mask: Optional. A field mask to specify the ListAssetsResult fields to be listed in the response. An empty field mask will list @@ -3482,21 +3477,23 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListAssetsRequest) - ), + }, ) _sym_db.RegisterMessage(ListAssetsRequest) ListAssetsResponse = _reflection.GeneratedProtocolMessageType( "ListAssetsResponse", (_message.Message,), - dict( - ListAssetsResult=_reflection.GeneratedProtocolMessageType( + { + "ListAssetsResult": _reflection.GeneratedProtocolMessageType( "ListAssetsResult", (_message.Message,), - dict( - DESCRIPTOR=_LISTASSETSRESPONSE_LISTASSETSRESULT, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the Asset and its State. + { + "DESCRIPTOR": _LISTASSETSRESPONSE_LISTASSETSRESULT, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the Asset and its State. + + Attributes: asset: Asset matching the search request. @@ -3504,11 +3501,13 @@ State change of the asset between the points in time. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListAssetsResponse.ListAssetsResult) - ), + }, ), - DESCRIPTOR=_LISTASSETSRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing assets. + "DESCRIPTOR": _LISTASSETSRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing assets. + + Attributes: list_assets_results: Assets matching the list request. @@ -3521,7 +3520,7 @@ The total number of assets matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListAssetsResponse) - ), + }, ) _sym_db.RegisterMessage(ListAssetsResponse) _sym_db.RegisterMessage(ListAssetsResponse.ListAssetsResult) @@ -3529,17 +3528,19 @@ ListFindingsRequest = _reflection.GeneratedProtocolMessageType( "ListFindingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for listing findings. + { + "DESCRIPTOR": _LISTFINDINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for listing findings. + + Attributes: 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/{organization\_id}/sources/- + “organizations/[organization_id]/sources/[source_id]”. To list + across all sources provide a source_id of ``-``. For example: + organizations/{organization_id}/sources/- filter: Expression that defines the filter to apply across findings. The expression is a list of one or more restrictions combined @@ -3548,7 +3549,7 @@ Restrictions have the form `` `` and may have a ``-`` character in front of them to indicate negation. Examples include: - name - - source\_properties.a\_property - security\_marks.marks.marka + source_properties.a_property - security_marks.marks.marka The supported operators are: - ``=`` for all value types. - ``>``, ``<``, ``>=``, ``<=`` for integer values. - ``:``, meaning substring matching, for strings. The supported value @@ -3556,61 +3557,60 @@ without quotes. - boolean literals ``true`` and ``false`` without quotes. The following field and operator combinations are supported: name: ``=`` parent: ``=``, ``:`` - resource\_name: ``=``, ``:`` state: ``=``, ``:`` category: - ``=``, ``:`` external\_uri: ``=``, ``:`` event\_time: ``=``, + resource_name: ``=``, ``:`` state: ``=``, ``:`` category: + ``=``, ``:`` external_uri: ``=``, ``:`` event_time: ``=``, ``>``, ``<``, ``>=``, ``<=`` Usage: This should be milliseconds since epoch or an RFC3339 string. Examples: - "event\_time = "2019-06-10T16:07:18-07:00"" "event\_time = - 1560208038000" security\_marks.marks: ``=``, ``:`` - source\_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` + “event_time = "2019-06-10T16:07:18-07:00"” “event_time = + 1560208038000” security_marks.marks: ``=``, ``:`` + source_properties: ``=``, ``:``, ``>``, ``<``, ``>=``, ``<=`` For example, ``source_properties.size = 100`` is a valid filter string. order_by: Expression that defines what fields and order to use for sorting. The string value should follow SQL syntax: comma separated list of fields. For example: - "name,resource\_properties.a\_property". The default sorting + “name,resource_properties.a_property”. The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be appended to the field name. For - example: "name desc,source\_properties.a\_property". Redundant - space characters in the syntax are insignificant. "name - desc,source\_properties.a\_property" and " name desc , - source\_properties.a\_property " are equivalent. The - following fields are supported: name parent state category - resource\_name event\_time source\_properties - security\_marks.marks + example: “name desc,source_properties.a_property”. Redundant + space characters in the syntax are insignificant. “name + desc,source_properties.a_property” and " name desc , + source_properties.a_property " are equivalent. The following + fields are supported: name parent state category resource_name + event_time source_properties security_marks.marks read_time: Time used as a reference point when filtering findings. The filter is limited to findings existing at the supplied time and their values are those at that specific time. Absence of - this field will default to the API's version of NOW. + this field will default to the API’s version of NOW. 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 + 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 read\_time. - This is the time between (read\_time - compare\_duration) and - read\_time. The state\_change value is derived based on the + compare_duration period of time that precedes the read_time. + This is the time between (read_time - compare_duration) and + read_time. The state_change value is derived based on the presence and state of the finding at the two points in time. - Intermediate state changes between the two times don't affect - the result. For example, the results aren't affected if the + Intermediate state changes between the two times don’t affect + the result. For example, the results aren’t affected if the finding is made inactive and then active again. Possible - "state\_change" values when compare\_duration is specified: - - "CHANGED": indicates that the finding was present at the start - of compare\_duration, but changed its state at read\_time. - - "UNCHANGED": indicates that the finding was present at the - start of compare\_duration and did not change state at - read\_time. - "ADDED": indicates that the finding was not - present at the start of compare\_duration, but was present - at read\_time. If compare\_duration is not specified, then - the only possible state\_change is "UNUSED", which will be the - state\_change set for all findings present at read\_time. + “state_change” values when compare_duration is specified: - + “CHANGED”: indicates that the finding was present at the start + of compare_duration, but changed its state at read_time. - + “UNCHANGED”: indicates that the finding was present at the + start of compare_duration and did not change state at + read_time. - “ADDED”: indicates that the finding was not + present at the start of compare_duration, but was present + at read_time. If compare_duration is not specified, then the + only possible state_change is “UNUSED”, which will be the + state_change set for all findings present at read_time. having: Filter that specifies what fields to further filter on *after* the query filter has been executed. Currently only ``finding.state`` and ``state_change`` are supported and - requires compare\_duration to be specified. + requires compare_duration to be specified. field_mask: Optional. A field mask to specify the Finding fields to be listed in the response. An empty field mask will list all @@ -3625,30 +3625,32 @@ Default is 10, minimum is 1, maximum is 1000. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListFindingsRequest) - ), + }, ) _sym_db.RegisterMessage(ListFindingsRequest) ListFindingsResponse = _reflection.GeneratedProtocolMessageType( "ListFindingsResponse", (_message.Message,), - dict( - ListFindingsResult=_reflection.GeneratedProtocolMessageType( + { + "ListFindingsResult": _reflection.GeneratedProtocolMessageType( "ListFindingsResult", (_message.Message,), - dict( - Resource=_reflection.GeneratedProtocolMessageType( + { + "Resource": _reflection.GeneratedProtocolMessageType( "Resource", (_message.Message,), - dict( - DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Information related to the Google Cloud Platform (GCP) resource that - is associated with this finding. + { + "DESCRIPTOR": _LISTFINDINGSRESPONSE_LISTFINDINGSRESULT_RESOURCE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Information related to the Google Cloud Platform (GCP) + resource that is associated with this finding. + + Attributes: name: The full resource name of the resource. See: https://cloud.goo - gle.com/apis/design/resource\_names#full\_resource\_name + gle.com/apis/design/resource_names#full_resource_name project_name: The full resource name of project that the resource belongs to. @@ -3656,16 +3658,18 @@ The human readable name of project that the resource belongs to. parent_name: - The full resource name of resource's parent. + The full resource name of resource’s parent. parent_display_name: - The human readable name of resource's parent. + The human readable name of resource’s parent. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult.Resource) - ), + }, ), - DESCRIPTOR=_LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Result containing the Finding and its StateChange. + "DESCRIPTOR": _LISTFINDINGSRESPONSE_LISTFINDINGSRESULT, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Result containing the Finding and its StateChange. + + Attributes: finding: Finding matching the search request. @@ -3675,11 +3679,13 @@ Output only. Resource that is associated with this finding. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult) - ), + }, ), - DESCRIPTOR=_LISTFINDINGSRESPONSE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Response message for listing findings. + "DESCRIPTOR": _LISTFINDINGSRESPONSE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Response message for listing findings. + + Attributes: list_findings_results: Findings matching the list request. @@ -3692,7 +3698,7 @@ The total number of findings matching the query. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.ListFindingsResponse) - ), + }, ) _sym_db.RegisterMessage(ListFindingsResponse) _sym_db.RegisterMessage(ListFindingsResponse.ListFindingsResult) @@ -3701,54 +3707,61 @@ SetFindingStateRequest = _reflection.GeneratedProtocolMessageType( "SetFindingStateRequest", (_message.Message,), - dict( - DESCRIPTOR=_SETFINDINGSTATEREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a finding's state. + { + "DESCRIPTOR": _SETFINDINGSTATEREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a finding’s state. + + Attributes: name: Required. The relative resource name of the finding. See: http - s://cloud.google.com/apis/design/resource\_names#relative\_res - ource\_name Example: "organizations/{organization\_id}/sources - /{source\_id}/finding/{finding\_id}". + s://cloud.google.com/apis/design/resource_names#relative_resou + rce_name Example: “organizations/{organization_id}/sources/{so + urce_id}/finding/{finding_id}”. state: Required. The desired State of the finding. start_time: Required. The time at which the updated state takes effect. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.SetFindingStateRequest) - ), + }, ) _sym_db.RegisterMessage(SetFindingStateRequest) RunAssetDiscoveryRequest = _reflection.GeneratedProtocolMessageType( "RunAssetDiscoveryRequest", (_message.Message,), - dict( - DESCRIPTOR=_RUNASSETDISCOVERYREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for running asset discovery for an organization. + { + "DESCRIPTOR": _RUNASSETDISCOVERYREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for running asset discovery for an + organization. + + Attributes: parent: Required. Name of the organization to run asset discovery for. - Its format is "organizations/[organization\_id]". + Its format is “organizations/[organization_id]”. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.RunAssetDiscoveryRequest) - ), + }, ) _sym_db.RegisterMessage(RunAssetDiscoveryRequest) UpdateFindingRequest = _reflection.GeneratedProtocolMessageType( "UpdateFindingRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEFINDINGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating or creating a finding. + { + "DESCRIPTOR": _UPDATEFINDINGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating or creating a finding. + + Attributes: finding: Required. The finding resource to update or create if it does - not already exist. parent, security\_marks, and update\_time + not already exist. parent, security_marks, and update_time will be ignored. In the case of creation, the finding id portion of the name must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in @@ -3757,22 +3770,24 @@ 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 fields and replacing source\_properties. Individual - source\_properties can be added/updated by using - "source\_properties." in the field mask. + mutable fields and replacing source_properties. Individual + source_properties can be added/updated by using + “source_properties.” in the field mask. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.UpdateFindingRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateFindingRequest) UpdateNotificationConfigRequest = _reflection.GeneratedProtocolMessageType( "UpdateNotificationConfigRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATENOTIFICATIONCONFIGREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a notification config. + { + "DESCRIPTOR": _UPDATENOTIFICATIONCONFIGREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a notification config. + + Attributes: notification_config: Required. The notification config to update. @@ -3781,17 +3796,19 @@ If empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.UpdateNotificationConfigRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateNotificationConfigRequest) UpdateOrganizationSettingsRequest = _reflection.GeneratedProtocolMessageType( "UpdateOrganizationSettingsRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATEORGANIZATIONSETTINGSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating an organization's settings. + { + "DESCRIPTOR": _UPDATEORGANIZATIONSETTINGSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating an organization’s settings. + + Attributes: organization_settings: Required. The organization settings resource to update. @@ -3800,17 +3817,19 @@ empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.UpdateOrganizationSettingsRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateOrganizationSettingsRequest) UpdateSourceRequest = _reflection.GeneratedProtocolMessageType( "UpdateSourceRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESOURCEREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a source. + { + "DESCRIPTOR": _UPDATESOURCEREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a source. + + Attributes: source: Required. The source resource to update. @@ -3819,25 +3838,27 @@ empty all mutable fields will be updated. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSourceRequest) UpdateSecurityMarksRequest = _reflection.GeneratedProtocolMessageType( "UpdateSecurityMarksRequest", (_message.Message,), - dict( - DESCRIPTOR=_UPDATESECURITYMARKSREQUEST, - __module__="google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", - __doc__="""Request message for updating a SecurityMarks resource. + { + "DESCRIPTOR": _UPDATESECURITYMARKSREQUEST, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.securitycenter_service_pb2", + "__doc__": """Request message for updating a SecurityMarks resource. + + Attributes: security_marks: Required. The security marks resource to update. update_mask: The FieldMask to use when updating the security marks resource. The field mask must not contain duplicate fields. - If empty or set to "marks", all marks will be replaced. - Individual marks can be updated using "marks.". + If empty or set to “marks”, all marks will be replaced. + Individual marks can be updated using “marks.”. start_time: The time at which the updated SecurityMarks take effect. If not set uses current server time. Updates will be applied to @@ -3845,7 +3866,7 @@ time. """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.UpdateSecurityMarksRequest) - ), + }, ) _sym_db.RegisterMessage(UpdateSecurityMarksRequest) @@ -3891,9 +3912,7 @@ full_name="google.cloud.securitycenter.v1p1beta1.SecurityCenter", file=DESCRIPTOR, index=0, - serialized_options=_b( - "\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform" - ), + serialized_options=b"\312A\035securitycenter.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform", serialized_start=6686, serialized_end=12196, methods=[ @@ -3904,9 +3923,7 @@ containing_service=None, input_type=_CREATESOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - '\202\323\344\223\0025"+/v1p1beta1/{parent=organizations/*}/sources:\006source\332A\rparent,source' - ), + serialized_options=b'\202\323\344\223\0025"+/v1p1beta1/{parent=organizations/*}/sources:\006source\332A\rparent,source', ), _descriptor.MethodDescriptor( name="CreateFinding", @@ -3915,9 +3932,7 @@ containing_service=None, input_type=_CREATEFINDINGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_finding__pb2._FINDING, - serialized_options=_b( - '\202\323\344\223\002A"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding\332A\031parent,finding,finding_id' - ), + serialized_options=b'\202\323\344\223\002A"6/v1p1beta1/{parent=organizations/*/sources/*}/findings:\007finding\332A\031parent,finding_id,finding\332A\031parent,finding,finding_id', ), _descriptor.MethodDescriptor( name="CreateNotificationConfig", @@ -3926,9 +3941,7 @@ containing_service=None, input_type=_CREATENOTIFICATIONCONFIGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_notification__config__pb2._NOTIFICATIONCONFIG, - serialized_options=_b( - '\202\323\344\223\002N"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\023notification_config\332A$parent,config_id,notification_config\332A\032parent,notification_config' - ), + serialized_options=b'\202\323\344\223\002N"7/v1p1beta1/{parent=organizations/*}/notificationConfigs:\023notification_config\332A$parent,config_id,notification_config\332A\032parent,notification_config', ), _descriptor.MethodDescriptor( name="DeleteNotificationConfig", @@ -3937,9 +3950,7 @@ containing_service=None, input_type=_DELETENOTIFICATIONCONFIGREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, - serialized_options=_b( - "\202\323\344\223\0029*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\332A\004name" - ), + serialized_options=b"\202\323\344\223\0029*7/v1p1beta1/{name=organizations/*/notificationConfigs/*}\332A\004name", ), _descriptor.MethodDescriptor( name="GetIamPolicy", @@ -3948,9 +3959,7 @@ containing_service=None, input_type=google_dot_iam_dot_v1_dot_iam__policy__pb2._GETIAMPOLICYREQUEST, output_type=google_dot_iam_dot_v1_dot_policy__pb2._POLICY, - serialized_options=_b( - '\202\323\344\223\002A"/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\007finding\332A\007finding\332A\023finding,update_mask" - ), + serialized_options=b"\202\323\344\223\002I2>/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}:\007finding\332A\007finding\332A\023finding,update_mask", ), _descriptor.MethodDescriptor( name="UpdateNotificationConfig", @@ -4113,9 +4094,7 @@ containing_service=None, input_type=_UPDATENOTIFICATIONCONFIGREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_notification__config__pb2._NOTIFICATIONCONFIG, - serialized_options=_b( - "\202\323\344\223\002b2K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\023notification_config\332A\023notification_config\332A\037notification_config,update_mask" - ), + serialized_options=b"\202\323\344\223\002b2K/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}:\023notification_config\332A\023notification_config\332A\037notification_config,update_mask", ), _descriptor.MethodDescriptor( name="UpdateOrganizationSettings", @@ -4124,9 +4103,7 @@ containing_service=None, input_type=_UPDATEORGANIZATIONSETTINGSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_organization__settings__pb2._ORGANIZATIONSETTINGS, - serialized_options=_b( - "\202\323\344\223\002e2L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\025organization_settings\332A\025organization_settings" - ), + serialized_options=b"\202\323\344\223\002e2L/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}:\025organization_settings\332A\025organization_settings", ), _descriptor.MethodDescriptor( name="UpdateSource", @@ -4135,9 +4112,7 @@ containing_service=None, input_type=_UPDATESOURCEREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_source__pb2._SOURCE, - serialized_options=_b( - "\202\323\344\223\002<22/v1p1beta1/{source.name=organizations/*/sources/*}:\006source\332A\006source\332A\022source,update_mask" - ), + serialized_options=b"\202\323\344\223\002<22/v1p1beta1/{source.name=organizations/*/sources/*}:\006source\332A\006source\332A\022source,update_mask", ), _descriptor.MethodDescriptor( name="UpdateSecurityMarks", @@ -4146,9 +4121,7 @@ containing_service=None, input_type=_UPDATESECURITYMARKSREQUEST, output_type=google_dot_cloud_dot_securitycenter__v1p1beta1_dot_proto_dot_security__marks__pb2._SECURITYMARKS, - serialized_options=_b( - "\202\323\344\223\002\300\0012G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\016security_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\016security_marks\332A\016security_marks\332A\032security_marks,update_mask" - ), + serialized_options=b"\202\323\344\223\002\300\0012G/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}:\016security_marksZe2S/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}:\016security_marks\332A\016security_marks\332A\032security_marks,update_mask", ), ], ) diff --git a/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py b/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py index 12490d82..baaf4153 100644 --- a/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py +++ b/google/cloud/securitycenter_v1p1beta1/proto/source_pb2.py @@ -2,9 +2,6 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/securitycenter_v1p1beta1/proto/source.proto -import sys - -_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection @@ -23,12 +20,8 @@ name="google/cloud/securitycenter_v1p1beta1/proto/source.proto", package="google.cloud.securitycenter.v1p1beta1", syntax="proto3", - serialized_options=_b( - "\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1" - ), - serialized_pb=_b( - '\n8google/cloud/securitycenter_v1p1beta1/proto/source.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x9b\x01\n\x06Source\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:X\xea\x41U\n$securitycenter.googleapis.com/Source\x12-organizations/{organization}/sources/{source}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3' - ), + serialized_options=b"\n)com.google.cloud.securitycenter.v1p1beta1P\001ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\252\002%Google.Cloud.SecurityCenter.V1P1Beta1\312\002%Google\\Cloud\\SecurityCenter\\V1p1beta1\352\002(Google::Cloud::SecurityCenter::V1p1beta1", + serialized_pb=b'\n8google/cloud/securitycenter_v1p1beta1/proto/source.proto\x12%google.cloud.securitycenter.v1p1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto"\x9b\x01\n\x06Source\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t:X\xea\x41U\n$securitycenter.googleapis.com/Source\x12-organizations/{organization}/sources/{source}B\xfd\x01\n)com.google.cloud.securitycenter.v1p1beta1P\x01ZSgoogle.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1;securitycenter\xaa\x02%Google.Cloud.SecurityCenter.V1P1Beta1\xca\x02%Google\\Cloud\\SecurityCenter\\V1p1beta1\xea\x02(Google::Cloud::SecurityCenter::V1p1beta1b\x06proto3', dependencies=[ google_dot_api_dot_annotations__pb2.DESCRIPTOR, google_dot_api_dot_resource__pb2.DESCRIPTOR, @@ -52,7 +45,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -70,7 +63,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -88,7 +81,7 @@ cpp_type=9, label=1, has_default_value=False, - default_value=_b("").decode("utf-8"), + default_value=b"".decode("utf-8"), message_type=None, enum_type=None, containing_type=None, @@ -101,9 +94,7 @@ extensions=[], nested_types=[], enum_types=[], - serialized_options=_b( - "\352AU\n$securitycenter.googleapis.com/Source\022-organizations/{organization}/sources/{source}" - ), + serialized_options=b"\352AU\n$securitycenter.googleapis.com/Source\022-organizations/{organization}/sources/{source}", is_extendable=False, syntax="proto3", extension_ranges=[], @@ -118,35 +109,36 @@ Source = _reflection.GeneratedProtocolMessageType( "Source", (_message.Message,), - dict( - DESCRIPTOR=_SOURCE, - __module__="google.cloud.securitycenter_v1p1beta1.proto.source_pb2", - __doc__="""Cloud Security Command Center's (Cloud SCC) finding source. A finding - source is an entity or a mechanism that can produce a finding. A - source is like a container of findings that come from the same - scanner, logger, monitor, etc. + { + "DESCRIPTOR": _SOURCE, + "__module__": "google.cloud.securitycenter_v1p1beta1.proto.source_pb2", + "__doc__": """Cloud Security Command Center’s (Cloud SCC) finding + source. A finding source is an entity or a mechanism that can produce a + finding. A source is like a container of findings that come from the + same scanner, logger, monitor, etc. + + Attributes: name: The relative resource name of this source. See: https://cloud. - google.com/apis/design/resource\_names#relative\_resource\_nam - e Example: - "organizations/{organization\_id}/sources/{source\_id}" + google.com/apis/design/resource_names#relative_resource_name + Example: “organizations/{organization_id}/sources/{source_id}” display_name: - The source's display name. A source's display name must be + The source’s display name. A source’s display name must be unique amongst its siblings, for example, two sources with the - same parent can't share the same display name. The display + same parent can’t share the same display name. The display name must have a length between 1 and 64 characters (inclusive). description: The description of the source (max of 1024 characters). - Example: "Cloud Security Scanner is a web security scanner for + Example: “Cloud Security Scanner is a web security scanner for common vulnerabilities in App Engine applications. It can automatically scan and detect four common vulnerabilities, including cross-site-scripting (XSS), Flash injection, mixed - content (HTTP in HTTPS), and outdated/insecure libraries." + content (HTTP in HTTPS), and outdated/insecure libraries.” """, # @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1p1beta1.Source) - ), + }, ) _sym_db.RegisterMessage(Source) diff --git a/synth.metadata b/synth.metadata index 8329d23f..7d3d7642 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,28 +1,25 @@ { - "updateTime": "2020-04-28T20:57:57.056428Z", "sources": [ { - "generator": { - "name": "artman", - "version": "2.0.0", - "dockerImage": "googleapis/artman@sha256:b3b47805231a305d0f40c4bf069df20f6a2635574e6d4259fac651d3f9f6e098" + "git": { + "name": ".", + "remote": "https://github.com/googleapis/python-securitycenter.git", + "sha": "2645a4a371fdf071a52feb651b0047bdc4a67489" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "756b174de4a122461993c1c583345533d819936d", - "internalRef": "308824110", - "log": "756b174de4a122461993c1c583345533d819936d\nfix: Add missing method_signature annotations for BigTable Admin Backup RPCs\n\nThe added method_signatures reflect method flattenings in the GAPIC v1 config.\n\nPiperOrigin-RevId: 308824110\n\nc284e4f849e4b085a297d336cef8721ab69ba013\nConfigure retry for Diaglogflow v2.Environments.ListEnvironments and v2beta1.Environments.ListEnvironments.\n\nPiperOrigin-RevId: 308749074\n\nff17eefa184f6985e5d9a8ee3e725da95a06cd23\nchore: add Python target for orgpolicy BUILD.bazel\n\nPiperOrigin-RevId: 308747658\n\n371206424e6db4df2cb3734bb1013dcaac9dbe4b\nRemove raw html from proto comments as this breaks client library documentation generators.\n\nSee https://aip.dev/192\n\n> Any formatting in comments must be in CommonMark. Headings and tables must not be used, as these cause problems for several tools, and are unsuitable for client library reference documentation.\n>\n> Comments should use code font for property names and for literals (such as true).\n>\n> Raw HTML must not be used.\n\nPiperOrigin-RevId: 308716969\n\nc2bfceedfc9f01356229bd206ad25e250aa9551c\nGenerating BUILD.bazel for maps/routes/v1alpha.\n\nPiperOrigin-RevId: 308691010\n\n5dca7f1079a4c127245c0f1dbb8293b434fbd0c8\nSupport purchasing capacity commitments in the BigQuery Reservation v1 API.\n\nPiperOrigin-RevId: 308671886\n\n28e76243c23cc282efbb288cb558c174e3e5e9ee\nfeat: integrate gapic generator change in googleapis\n\nPiperOrigin-RevId: 308294748\n\nd14bf59a446c14ef16e9931ebfc8e63ab549bf07\n1. Updated the config file names.\n2. Added a group_by field to the ListBuildsRequest.\n\nPiperOrigin-RevId: 308157960\n\n0d7c3565dd942d0cc41b16e895046486ae29e44e\nbazel: update gapic-generator-go to v0.13.3 in WORKSPACE\n\nChanges include:\n- change plugin use of Unmarshal to be compatible with golang/protobuf v1.4.0\n\nPiperOrigin-RevId: 308113536\n\n1d520eaa7bbd8b40f53942ff03b5496fff887b53\nfeat: Publish ListEnvironments for Dialogflow v2/v2beta1 library.\ndocs: Clarify WebhookResponse fields for Dialogflow v2/v2beta1 library.\n\nPiperOrigin-RevId: 307849529\n\nb3bcfd059ec684445a38db693f6e36f14a1d2618\nfix(google/maps/routes): move gapic targets to match Routes Preferred API\n\nThe Routes Preferred API is not the same as the legacy Routes API. This moves\nthe client library to make a more clear distinction between the two. The\ngenerated clients in google/maps/routespreferred/v1 still have a dependency on\nthe open source libraries published from the protos in\ngoogle/maps/routes/v1.\n\nThe client libraries for languages other than Go and Java have been removed\nsince they are currently broken and were before this change. No gapic targets\nremain in google/maps/routes/v1 except for the Java proto and grpc assembly.\nProtos for Go are automatically published through a different process. See\nhttps://github.com/googleapis/go-genproto.\n\nPiperOrigin-RevId: 307838123\n\n862cd840dbb0101a0630913217bf8b6d4101c84c\nchore: Update gapic-generator version\nThe updated version is required to migrate Python clients generation from artman to bazel.\n\nPiperOrigin-RevId: 307739946\n\n2bf9f22da3f101aeb536e1e88fe036323b8e9188\nchore: enable gapicv2 for bigquery/reservation/v1beta API\n\nCommitter: @miraleung\nPiperOrigin-RevId: 307654927\n\n012c553112fcceb7b69822e24335575bf99ec62b\nfeat: Adding Retry policy for OS Config V1 AgentEndpointService\n\nPiperOrigin-RevId: 307647669\n\n45b363d3ab4692115cc5018eb26dcdaa49b320a8\nRefactor the CEL protos to reflect their use as cross-language\ndata representations used within various open source libraries.\n\nThere is no CEL Google API per se, and as such any reference to\none has been removed from the proto libraries including the GAPIC\nclient code generation.\n\nThere is a gRPC service defined among the protos which is used for\ndriving conformance testing in a cross-language compatible manner.\n\nPiperOrigin-RevId: 307642893\n\n" + "sha": "e0f9d9e1f9de890db765be46f45ca8490723e3eb", + "internalRef": "309824146" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "01b6f23d24b27878b48667ce597876d66b59780e", - "log": "01b6f23d24b27878b48667ce597876d66b59780e\nfix(python): install testutils from pypi (#503)\n\nhttps://pypi.org/project/google-cloud-testutils/\n716f741f2d307b48cbe8a5bc3bc883571212344a\nfix(python): adjust regex for fix_pb2_headers (#500)\n\nFixes regex and updates copyright year to 2020. \n\nBefore:\n```python\n# -*- coding: utf-8 -*-\n\n# Generated by the protocol buffer compiler. DO NOT EDIT!\n# source: google/type/timeofday.proto\n```\n\nAfter:\n```python\n# -*- coding: utf-8 -*-\n\n# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# Generated by the protocol buffer compiler. DO NOT EDIT!\n# source: google/type/timeofday.proto\n```\n21ce80f9d4785dc75aa36d26944bddd5a1b7e25b\nfeat: better Node.js postprocessing (#498)\n\n* feat: better Node.js postprocessing\n\n* docs: docstring for is_gapic_library\n\n* PR feedback\n\n* pass parameter by name\n\nCo-authored-by: Jeffrey Rennie \nCo-authored-by: Benjamin E. Coe \n" + "sha": "04cb397eb7590ea1e6c10a39fca3d8fe0fb3d256" } } ], @@ -33,8 +30,7 @@ "apiName": "securitycenter", "apiVersion": "v1p1beta1", "language": "python", - "generator": "gapic", - "config": "google/cloud/securitycenter/artman_securitycenter_v1p1beta1.yaml" + "generator": "bazel" } }, { @@ -43,8 +39,7 @@ "apiName": "securitycenter", "apiVersion": "v1beta1", "language": "python", - "generator": "gapic", - "config": "google/cloud/securitycenter/artman_securitycenter_v1beta1.yaml" + "generator": "bazel" } }, { @@ -53,8 +48,7 @@ "apiName": "securitycenter", "apiVersion": "v1", "language": "python", - "generator": "gapic", - "config": "google/cloud/securitycenter/artman_securitycenter_v1.yaml" + "generator": "bazel" } } ]