Access Context Manager API . services

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Returns a VPC-SC supported service based on the service name.

list(pageSize=None, pageToken=None, x__xgafv=None)

Lists all VPC-SC supported services.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Returns a VPC-SC supported service based on the service name.

Args:
  name: string, The name of the service to get information about. The names must be in the same format as used in defining a service perimeter, for example, `storage.googleapis.com`. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # `SupportedService` specifies the VPC Service Controls and its properties.
  "availableOnRestrictedVip": True or False, # True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
  "knownLimitations": True or False, # True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details.
  "name": "A String", # The service name or address of the supported service, such as `service.googleapis.com`.
  "supportStage": "A String", # The support stage of the service.
  "supportedMethods": [ # The list of the supported methods. This field exists only in response to GetSupportedService
    { # An allowed method or permission of a service specified in ApiOperation.
      "method": "A String", # A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.
      "permission": "A String", # A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.
    },
  ],
  "title": "A String", # The name of the supported product, such as 'Cloud Product API'.
}
list(pageSize=None, pageToken=None, x__xgafv=None)
Lists all VPC-SC supported services.

Args:
  pageSize: integer, This flag specifies the maximum number of services to return per page. Default is 100.
  pageToken: string, Token to start on a later page. Default is the first page.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response to `ListSupportedServicesRequest`.
  "nextPageToken": "A String", # The pagination token to retrieve the next page of results. If the value is empty, no further results remain.
  "supportedServices": [ # List of services supported by VPC Service Controls instances.
    { # `SupportedService` specifies the VPC Service Controls and its properties.
      "availableOnRestrictedVip": True or False, # True if the service is available on the restricted VIP. Services on the restricted VIP typically either support VPC Service Controls or are core infrastructure services required for the functioning of Google Cloud.
      "knownLimitations": True or False, # True if the service is supported with some limitations. Check [documentation](https://cloud.google.com/vpc-service-controls/docs/supported-products) for details.
      "name": "A String", # The service name or address of the supported service, such as `service.googleapis.com`.
      "supportStage": "A String", # The support stage of the service.
      "supportedMethods": [ # The list of the supported methods. This field exists only in response to GetSupportedService
        { # An allowed method or permission of a service specified in ApiOperation.
          "method": "A String", # A valid method name for the corresponding `service_name` in ApiOperation. If `*` is used as the value for the `method`, then ALL methods and permissions are allowed.
          "permission": "A String", # A valid Cloud IAM permission for the corresponding `service_name` in ApiOperation.
        },
      ],
      "title": "A String", # The name of the supported product, such as 'Cloud Product API'.
    },
  ],
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.