"""Generated client library for assuredworkloads version v1beta1."""
# NOTE: This file is autogenerated and should not be edited by hand.

from apitools.base.py import base_api
from googlecloudsdk.generated_clients.apis.assuredworkloads.v1beta1 import assuredworkloads_v1beta1_messages as messages


class AssuredworkloadsV1beta1(base_api.BaseApiClient):
  """Generated client library for service assuredworkloads version v1beta1."""

  MESSAGES_MODULE = messages
  BASE_URL = 'https://assuredworkloads.googleapis.com/'
  MTLS_BASE_URL = 'https://assuredworkloads.mtls.googleapis.com/'

  _PACKAGE = 'assuredworkloads'
  _SCOPES = ['https://www.googleapis.com/auth/cloud-platform']
  _VERSION = 'v1beta1'
  _CLIENT_ID = 'CLIENT_ID'
  _CLIENT_SECRET = 'CLIENT_SECRET'
  _USER_AGENT = 'google-cloud-sdk'
  _CLIENT_CLASS_NAME = 'AssuredworkloadsV1beta1'
  _URL_VERSION = 'v1beta1'
  _API_KEY = None

  def __init__(self, url='', credentials=None,
               get_credentials=True, http=None, model=None,
               log_request=False, log_response=False,
               credentials_args=None, default_global_params=None,
               additional_http_headers=None, response_encoding=None):
    """Create a new assuredworkloads handle."""
    url = url or self.BASE_URL
    super(AssuredworkloadsV1beta1, self).__init__(
        url, credentials=credentials,
        get_credentials=get_credentials, http=http, model=model,
        log_request=log_request, log_response=log_response,
        credentials_args=credentials_args,
        default_global_params=default_global_params,
        additional_http_headers=additional_http_headers,
        response_encoding=response_encoding)
    self.assuredworkloads = self.AssuredworkloadsService(self)
    self.folders_locations_dbFindingSummaries = self.FoldersLocationsDbFindingSummariesService(self)
    self.folders_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries = self.FoldersLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(self)
    self.folders_locations_dbFrameworkComplianceReports = self.FoldersLocationsDbFrameworkComplianceReportsService(self)
    self.folders_locations_dbFrameworkComplianceSummaries = self.FoldersLocationsDbFrameworkComplianceSummariesService(self)
    self.folders_locations = self.FoldersLocationsService(self)
    self.folders = self.FoldersService(self)
    self.organizations_locations_dbFindingSummaries = self.OrganizationsLocationsDbFindingSummariesService(self)
    self.organizations_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries = self.OrganizationsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(self)
    self.organizations_locations_dbFrameworkComplianceReports = self.OrganizationsLocationsDbFrameworkComplianceReportsService(self)
    self.organizations_locations_dbFrameworkComplianceSummaries = self.OrganizationsLocationsDbFrameworkComplianceSummariesService(self)
    self.organizations_locations_operations = self.OrganizationsLocationsOperationsService(self)
    self.organizations_locations_workloads_updates = self.OrganizationsLocationsWorkloadsUpdatesService(self)
    self.organizations_locations_workloads_violations = self.OrganizationsLocationsWorkloadsViolationsService(self)
    self.organizations_locations_workloads = self.OrganizationsLocationsWorkloadsService(self)
    self.organizations_locations = self.OrganizationsLocationsService(self)
    self.organizations = self.OrganizationsService(self)
    self.projects_locations_dbFindingSummaries = self.ProjectsLocationsDbFindingSummariesService(self)
    self.projects_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries = self.ProjectsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(self)
    self.projects_locations_dbFrameworkComplianceReports = self.ProjectsLocationsDbFrameworkComplianceReportsService(self)
    self.projects_locations_dbFrameworkComplianceSummaries = self.ProjectsLocationsDbFrameworkComplianceSummariesService(self)
    self.projects_locations = self.ProjectsLocationsService(self)
    self.projects = self.ProjectsService(self)

  class AssuredworkloadsService(base_api.BaseApiService):
    """Service class for the assuredworkloads resource."""

    _NAME = 'assuredworkloads'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.AssuredworkloadsService, self).__init__(client)
      self._upload_configs = {
          }

    def ArchiveResourceEvents(self, request, global_params=None):
      r"""Finds orphan ResourceEvents matching the criteria and moves them to the ArchivedResourceEvents table.

      Args:
        request: (GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse) The response message.
      """
      config = self.GetMethodConfig('ArchiveResourceEvents')
      return self._RunMethod(
          config, request, global_params=global_params)

    ArchiveResourceEvents.method_config = lambda: base_api.ApiMethodInfo(
        http_method='POST',
        method_id='assuredworkloads.assuredworkloads.archiveResourceEvents',
        ordered_params=[],
        path_params=[],
        query_params=[],
        relative_path='v1beta1/assuredworkloads:archiveResourceEvents',
        request_field='<request>',
        request_type_name='GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ArchiveResourceEventsResponse',
        supports_download=False,
    )

    def RevertArchivedResourceEvents(self, request, global_params=None):
      r"""Finds matching ArchivedResourceEvents and moves them back to the ResourceEvents table.

      Args:
        request: (GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse) The response message.
      """
      config = self.GetMethodConfig('RevertArchivedResourceEvents')
      return self._RunMethod(
          config, request, global_params=global_params)

    RevertArchivedResourceEvents.method_config = lambda: base_api.ApiMethodInfo(
        http_method='POST',
        method_id='assuredworkloads.assuredworkloads.revertArchivedResourceEvents',
        ordered_params=[],
        path_params=[],
        query_params=[],
        relative_path='v1beta1/assuredworkloads:revertArchivedResourceEvents',
        request_field='<request>',
        request_type_name='GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1RevertArchivedResourceEventsResponse',
        supports_download=False,
    )

  class FoldersLocationsDbFindingSummariesService(base_api.BaseApiService):
    """Service class for the folders_locations_dbFindingSummaries resource."""

    _NAME = 'folders_locations_dbFindingSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersLocationsDbFindingSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the finding summary by category for a given scope.

      Args:
        request: (AssuredworkloadsFoldersLocationsDbFindingSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/folders/{foldersId}/locations/{locationsId}/dbFindingSummaries',
        http_method='GET',
        method_id='assuredworkloads.folders.locations.dbFindingSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbFindingSummaries',
        request_field='',
        request_type_name='AssuredworkloadsFoldersLocationsDbFindingSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse',
        supports_download=False,
    )

  class FoldersLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(base_api.BaseApiService):
    """Service class for the folders_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries resource."""

    _NAME = 'folders_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the control compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.folders.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbControlComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse',
        supports_download=False,
    )

  class FoldersLocationsDbFrameworkComplianceReportsService(base_api.BaseApiService):
    """Service class for the folders_locations_dbFrameworkComplianceReports resource."""

    _NAME = 'folders_locations_dbFrameworkComplianceReports'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersLocationsDbFrameworkComplianceReportsService, self).__init__(client)
      self._upload_configs = {
          }

    def Aggregate(self, request, global_params=None):
      r"""Gets the aggregated compliance report over time for a given scope.

      Args:
        request: (AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsAggregateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Aggregate')
      return self._RunMethod(
          config, request, global_params=global_params)

    Aggregate.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate',
        http_method='GET',
        method_id='assuredworkloads.folders.locations.dbFrameworkComplianceReports.aggregate',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['filter', 'interval_endTime', 'interval_startTime'],
        relative_path='v1beta1/{+name}:aggregate',
        request_field='',
        request_type_name='AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsAggregateRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

    def Fetch(self, request, global_params=None):
      r"""Fetches the framework compliance report for a given scope.

      Args:
        request: (AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsFetchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Fetch')
      return self._RunMethod(
          config, request, global_params=global_params)

    Fetch.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch',
        http_method='GET',
        method_id='assuredworkloads.folders.locations.dbFrameworkComplianceReports.fetch',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['endTime', 'filter'],
        relative_path='v1beta1/{+name}:fetch',
        request_field='',
        request_type_name='AssuredworkloadsFoldersLocationsDbFrameworkComplianceReportsFetchRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

  class FoldersLocationsDbFrameworkComplianceSummariesService(base_api.BaseApiService):
    """Service class for the folders_locations_dbFrameworkComplianceSummaries resource."""

    _NAME = 'folders_locations_dbFrameworkComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersLocationsDbFrameworkComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the framework compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsFoldersLocationsDbFrameworkComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/folders/{foldersId}/locations/{locationsId}/dbFrameworkComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.folders.locations.dbFrameworkComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken', 'view'],
        relative_path='v1beta1/{+parent}/dbFrameworkComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsFoldersLocationsDbFrameworkComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse',
        supports_download=False,
    )

  class FoldersLocationsService(base_api.BaseApiService):
    """Service class for the folders_locations resource."""

    _NAME = 'folders_locations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersLocationsService, self).__init__(client)
      self._upload_configs = {
          }

  class FoldersService(base_api.BaseApiService):
    """Service class for the folders resource."""

    _NAME = 'folders'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.FoldersService, self).__init__(client)
      self._upload_configs = {
          }

  class OrganizationsLocationsDbFindingSummariesService(base_api.BaseApiService):
    """Service class for the organizations_locations_dbFindingSummaries resource."""

    _NAME = 'organizations_locations_dbFindingSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsDbFindingSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the finding summary by category for a given scope.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsDbFindingSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFindingSummaries',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.dbFindingSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbFindingSummaries',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsDbFindingSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse',
        supports_download=False,
    )

  class OrganizationsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(base_api.BaseApiService):
    """Service class for the organizations_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries resource."""

    _NAME = 'organizations_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the control compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbControlComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse',
        supports_download=False,
    )

  class OrganizationsLocationsDbFrameworkComplianceReportsService(base_api.BaseApiService):
    """Service class for the organizations_locations_dbFrameworkComplianceReports resource."""

    _NAME = 'organizations_locations_dbFrameworkComplianceReports'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsDbFrameworkComplianceReportsService, self).__init__(client)
      self._upload_configs = {
          }

    def Aggregate(self, request, global_params=None):
      r"""Gets the aggregated compliance report over time for a given scope.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsAggregateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Aggregate')
      return self._RunMethod(
          config, request, global_params=global_params)

    Aggregate.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.dbFrameworkComplianceReports.aggregate',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['filter', 'interval_endTime', 'interval_startTime'],
        relative_path='v1beta1/{+name}:aggregate',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsAggregateRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

    def Fetch(self, request, global_params=None):
      r"""Fetches the framework compliance report for a given scope.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsFetchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Fetch')
      return self._RunMethod(
          config, request, global_params=global_params)

    Fetch.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.dbFrameworkComplianceReports.fetch',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['endTime', 'filter'],
        relative_path='v1beta1/{+name}:fetch',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceReportsFetchRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

  class OrganizationsLocationsDbFrameworkComplianceSummariesService(base_api.BaseApiService):
    """Service class for the organizations_locations_dbFrameworkComplianceSummaries resource."""

    _NAME = 'organizations_locations_dbFrameworkComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsDbFrameworkComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the framework compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/dbFrameworkComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.dbFrameworkComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken', 'view'],
        relative_path='v1beta1/{+parent}/dbFrameworkComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsDbFrameworkComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse',
        supports_download=False,
    )

  class OrganizationsLocationsOperationsService(base_api.BaseApiService):
    """Service class for the organizations_locations_operations resource."""

    _NAME = 'organizations_locations_operations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsOperationsService, self).__init__(client)
      self._upload_configs = {
          }

    def Get(self, request, global_params=None):
      r"""Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      """
      config = self.GetMethodConfig('Get')
      return self._RunMethod(
          config, request, global_params=global_params)

    Get.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations/{operationsId}',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.operations.get',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsOperationsGetRequest',
        response_type_name='GoogleLongrunningOperation',
        supports_download=False,
    )

    def List(self, request, global_params=None):
      r"""Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningListOperationsResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/operations',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.operations.list',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['filter', 'pageSize', 'pageToken', 'returnPartialSuccess'],
        relative_path='v1beta1/{+name}/operations',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsOperationsListRequest',
        response_type_name='GoogleLongrunningListOperationsResponse',
        supports_download=False,
    )

  class OrganizationsLocationsWorkloadsUpdatesService(base_api.BaseApiService):
    """Service class for the organizations_locations_workloads_updates resource."""

    _NAME = 'organizations_locations_workloads_updates'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsWorkloadsUpdatesService, self).__init__(client)
      self._upload_configs = {
          }

    def Apply(self, request, global_params=None):
      r"""This endpoint creates a new operation to apply the given update.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsUpdatesApplyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      """
      config = self.GetMethodConfig('Apply')
      return self._RunMethod(
          config, request, global_params=global_params)

    Apply.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates/{updatesId}:apply',
        http_method='POST',
        method_id='assuredworkloads.organizations.locations.workloads.updates.apply',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}:apply',
        request_field='googleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsUpdatesApplyRequest',
        response_type_name='GoogleLongrunningOperation',
        supports_download=False,
    )

    def List(self, request, global_params=None):
      r"""This endpoint lists all updates for the given workload.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsUpdatesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/updates',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.updates.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/updates',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsUpdatesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse',
        supports_download=False,
    )

  class OrganizationsLocationsWorkloadsViolationsService(base_api.BaseApiService):
    """Service class for the organizations_locations_workloads_violations resource."""

    _NAME = 'organizations_locations_workloads_violations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsWorkloadsViolationsService, self).__init__(client)
      self._upload_configs = {
          }

    def Acknowledge(self, request, global_params=None):
      r"""Acknowledges an existing violation. By acknowledging a violation, users acknowledge the existence of a compliance violation in their workload and decide to ignore it due to a valid business justification. Acknowledgement is a permanent operation and it cannot be reverted.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsViolationsAcknowledgeRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse) The response message.
      """
      config = self.GetMethodConfig('Acknowledge')
      return self._RunMethod(
          config, request, global_params=global_params)

    Acknowledge.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}:acknowledge',
        http_method='POST',
        method_id='assuredworkloads.organizations.locations.workloads.violations.acknowledge',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}:acknowledge',
        request_field='googleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsViolationsAcknowledgeRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationResponse',
        supports_download=False,
    )

    def Get(self, request, global_params=None):
      r"""Retrieves Assured Workload Violation based on ID.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsViolationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1Violation) The response message.
      """
      config = self.GetMethodConfig('Get')
      return self._RunMethod(
          config, request, global_params=global_params)

    Get.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations/{violationsId}',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.violations.get',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsViolationsGetRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1Violation',
        supports_download=False,
    )

    def List(self, request, global_params=None):
      r"""Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format `organizations/{org_id}/locations/{location}/workloads/-`.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsViolationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}/violations',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.violations.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'interval_endTime', 'interval_startTime', 'orderBy', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/violations',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsViolationsListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse',
        supports_download=False,
    )

  class OrganizationsLocationsWorkloadsService(base_api.BaseApiService):
    """Service class for the organizations_locations_workloads resource."""

    _NAME = 'organizations_locations_workloads'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsWorkloadsService, self).__init__(client)
      self._upload_configs = {
          }

    def AnalyzeWorkloadMove(self, request, global_params=None):
      r"""Analyzes a hypothetical move of a source resource to a target workload to surface compliance risks. The analysis is best effort and is not guaranteed to be exhaustive.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsAnalyzeWorkloadMoveRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse) The response message.
      """
      config = self.GetMethodConfig('AnalyzeWorkloadMove')
      return self._RunMethod(
          config, request, global_params=global_params)

    AnalyzeWorkloadMove.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:analyzeWorkloadMove',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.analyzeWorkloadMove',
        ordered_params=['target'],
        path_params=['target'],
        query_params=['assetTypes', 'pageSize', 'pageToken', 'project'],
        relative_path='v1beta1/{+target}:analyzeWorkloadMove',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsAnalyzeWorkloadMoveRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse',
        supports_download=False,
    )

    def Create(self, request, global_params=None):
      r"""Creates Assured Workload.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      """
      config = self.GetMethodConfig('Create')
      return self._RunMethod(
          config, request, global_params=global_params)

    Create.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads',
        http_method='POST',
        method_id='assuredworkloads.organizations.locations.workloads.create',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['externalId'],
        relative_path='v1beta1/{+parent}/workloads',
        request_field='googleCloudAssuredworkloadsV1beta1Workload',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsCreateRequest',
        response_type_name='GoogleLongrunningOperation',
        supports_download=False,
    )

    def Delete(self, request, global_params=None):
      r"""Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleProtobufEmpty) The response message.
      """
      config = self.GetMethodConfig('Delete')
      return self._RunMethod(
          config, request, global_params=global_params)

    Delete.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}',
        http_method='DELETE',
        method_id='assuredworkloads.organizations.locations.workloads.delete',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['etag'],
        relative_path='v1beta1/{+name}',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsDeleteRequest',
        response_type_name='GoogleProtobufEmpty',
        supports_download=False,
    )

    def EnableComplianceUpdates(self, request, global_params=None):
      r"""This endpoint enables Assured Workloads service to offer compliance updates for the folder based assured workload. It sets up an Assured Workloads Service Agent, having permissions to read compliance controls (for example: Org Policies) applied on the workload. The caller must have `resourcemanager.folders.getIamPolicy` and `resourcemanager.folders.setIamPolicy` permissions on the assured workload folder.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsEnableComplianceUpdatesRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse) The response message.
      """
      config = self.GetMethodConfig('EnableComplianceUpdates')
      return self._RunMethod(
          config, request, global_params=global_params)

    EnableComplianceUpdates.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableComplianceUpdates',
        http_method='PUT',
        method_id='assuredworkloads.organizations.locations.workloads.enableComplianceUpdates',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}:enableComplianceUpdates',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsEnableComplianceUpdatesRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1EnableComplianceUpdatesResponse',
        supports_download=False,
    )

    def EnableResourceMonitoring(self, request, global_params=None):
      r"""Enable resource violation monitoring for a workload.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsEnableResourceMonitoringRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse) The response message.
      """
      config = self.GetMethodConfig('EnableResourceMonitoring')
      return self._RunMethod(
          config, request, global_params=global_params)

    EnableResourceMonitoring.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:enableResourceMonitoring',
        http_method='POST',
        method_id='assuredworkloads.organizations.locations.workloads.enableResourceMonitoring',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}:enableResourceMonitoring',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsEnableResourceMonitoringRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse',
        supports_download=False,
    )

    def Get(self, request, global_params=None):
      r"""Gets Assured Workload associated with a CRM Node.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1Workload) The response message.
      """
      config = self.GetMethodConfig('Get')
      return self._RunMethod(
          config, request, global_params=global_params)

    Get.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.get',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsGetRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1Workload',
        supports_download=False,
    )

    def List(self, request, global_params=None):
      r"""Lists Assured Workloads under a CRM Node.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads',
        http_method='GET',
        method_id='assuredworkloads.organizations.locations.workloads.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/workloads',
        request_field='',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse',
        supports_download=False,
    )

    def Patch(self, request, global_params=None):
      r"""Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1Workload) The response message.
      """
      config = self.GetMethodConfig('Patch')
      return self._RunMethod(
          config, request, global_params=global_params)

    Patch.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}',
        http_method='PATCH',
        method_id='assuredworkloads.organizations.locations.workloads.patch',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['updateMask'],
        relative_path='v1beta1/{+name}',
        request_field='googleCloudAssuredworkloadsV1beta1Workload',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsPatchRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1Workload',
        supports_download=False,
    )

    def RestrictAllowedResources(self, request, global_params=None):
      r"""Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.

      Args:
        request: (AssuredworkloadsOrganizationsLocationsWorkloadsRestrictAllowedResourcesRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse) The response message.
      """
      config = self.GetMethodConfig('RestrictAllowedResources')
      return self._RunMethod(
          config, request, global_params=global_params)

    RestrictAllowedResources.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:restrictAllowedResources',
        http_method='POST',
        method_id='assuredworkloads.organizations.locations.workloads.restrictAllowedResources',
        ordered_params=['name'],
        path_params=['name'],
        query_params=[],
        relative_path='v1beta1/{+name}:restrictAllowedResources',
        request_field='googleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest',
        request_type_name='AssuredworkloadsOrganizationsLocationsWorkloadsRestrictAllowedResourcesRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesResponse',
        supports_download=False,
    )

  class OrganizationsLocationsService(base_api.BaseApiService):
    """Service class for the organizations_locations resource."""

    _NAME = 'organizations_locations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsLocationsService, self).__init__(client)
      self._upload_configs = {
          }

  class OrganizationsService(base_api.BaseApiService):
    """Service class for the organizations resource."""

    _NAME = 'organizations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.OrganizationsService, self).__init__(client)
      self._upload_configs = {
          }

  class ProjectsLocationsDbFindingSummariesService(base_api.BaseApiService):
    """Service class for the projects_locations_dbFindingSummaries resource."""

    _NAME = 'projects_locations_dbFindingSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsLocationsDbFindingSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the finding summary by category for a given scope.

      Args:
        request: (AssuredworkloadsProjectsLocationsDbFindingSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/projects/{projectsId}/locations/{locationsId}/dbFindingSummaries',
        http_method='GET',
        method_id='assuredworkloads.projects.locations.dbFindingSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbFindingSummaries',
        request_field='',
        request_type_name='AssuredworkloadsProjectsLocationsDbFindingSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFindingSummariesResponse',
        supports_download=False,
    )

  class ProjectsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService(base_api.BaseApiService):
    """Service class for the projects_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries resource."""

    _NAME = 'projects_locations_dbFrameworkComplianceReports_dbControlComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the control compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}/dbControlComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.projects.locations.dbFrameworkComplianceReports.dbControlComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken'],
        relative_path='v1beta1/{+parent}/dbControlComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsDbControlComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbControlComplianceSummariesResponse',
        supports_download=False,
    )

  class ProjectsLocationsDbFrameworkComplianceReportsService(base_api.BaseApiService):
    """Service class for the projects_locations_dbFrameworkComplianceReports resource."""

    _NAME = 'projects_locations_dbFrameworkComplianceReports'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsLocationsDbFrameworkComplianceReportsService, self).__init__(client)
      self._upload_configs = {
          }

    def Aggregate(self, request, global_params=None):
      r"""Gets the aggregated compliance report over time for a given scope.

      Args:
        request: (AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsAggregateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Aggregate')
      return self._RunMethod(
          config, request, global_params=global_params)

    Aggregate.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:aggregate',
        http_method='GET',
        method_id='assuredworkloads.projects.locations.dbFrameworkComplianceReports.aggregate',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['filter', 'interval_endTime', 'interval_startTime'],
        relative_path='v1beta1/{+name}:aggregate',
        request_field='',
        request_type_name='AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsAggregateRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1AggregateDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

    def Fetch(self, request, global_params=None):
      r"""Fetches the framework compliance report for a given scope.

      Args:
        request: (AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsFetchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse) The response message.
      """
      config = self.GetMethodConfig('Fetch')
      return self._RunMethod(
          config, request, global_params=global_params)

    Fetch.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceReports/{dbFrameworkComplianceReportsId}:fetch',
        http_method='GET',
        method_id='assuredworkloads.projects.locations.dbFrameworkComplianceReports.fetch',
        ordered_params=['name'],
        path_params=['name'],
        query_params=['endTime', 'filter'],
        relative_path='v1beta1/{+name}:fetch',
        request_field='',
        request_type_name='AssuredworkloadsProjectsLocationsDbFrameworkComplianceReportsFetchRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1FetchDbFrameworkComplianceReportResponse',
        supports_download=False,
    )

  class ProjectsLocationsDbFrameworkComplianceSummariesService(base_api.BaseApiService):
    """Service class for the projects_locations_dbFrameworkComplianceSummaries resource."""

    _NAME = 'projects_locations_dbFrameworkComplianceSummaries'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsLocationsDbFrameworkComplianceSummariesService, self).__init__(client)
      self._upload_configs = {
          }

    def List(self, request, global_params=None):
      r"""Lists the framework compliance summary for a given scope.

      Args:
        request: (AssuredworkloadsProjectsLocationsDbFrameworkComplianceSummariesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse) The response message.
      """
      config = self.GetMethodConfig('List')
      return self._RunMethod(
          config, request, global_params=global_params)

    List.method_config = lambda: base_api.ApiMethodInfo(
        flat_path='v1beta1/projects/{projectsId}/locations/{locationsId}/dbFrameworkComplianceSummaries',
        http_method='GET',
        method_id='assuredworkloads.projects.locations.dbFrameworkComplianceSummaries.list',
        ordered_params=['parent'],
        path_params=['parent'],
        query_params=['filter', 'pageSize', 'pageToken', 'view'],
        relative_path='v1beta1/{+parent}/dbFrameworkComplianceSummaries',
        request_field='',
        request_type_name='AssuredworkloadsProjectsLocationsDbFrameworkComplianceSummariesListRequest',
        response_type_name='GoogleCloudAssuredworkloadsV1beta1ListDbFrameworkComplianceSummariesResponse',
        supports_download=False,
    )

  class ProjectsLocationsService(base_api.BaseApiService):
    """Service class for the projects_locations resource."""

    _NAME = 'projects_locations'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsLocationsService, self).__init__(client)
      self._upload_configs = {
          }

  class ProjectsService(base_api.BaseApiService):
    """Service class for the projects resource."""

    _NAME = 'projects'

    def __init__(self, client):
      super(AssuredworkloadsV1beta1.ProjectsService, self).__init__(client)
      self._upload_configs = {
          }
