Oracle Database@Google Cloud API . projects . locations . entitlements

Instance Methods

close()

Close httplib2 connections.

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

Lists the entitlements in a given project.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists the entitlements in a given project.

Args:
  parent: string, Required. The parent value for the entitlement in the following format: projects/{project}/locations/{location}. (required)
  pageSize: integer, Optional. The maximum number of items to return. If unspecified, a maximum of 50 entitlements will be returned. The maximum value is 1000.
  pageToken: string, Optional. A token identifying a page of results the server should return.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for `Entitlement.List`.
  "entitlements": [ # The list of Entitlements
    { # Details of the Entitlement resource.
      "cloudAccountDetails": { # Details of the OCI Cloud Account. # Details of the OCI Cloud Account.
        "accountCreationUri": "A String", # Output only. URL to create a new account and link.
        "cloudAccount": "A String", # Output only. OCI account name.
        "cloudAccountHomeRegion": "A String", # Output only. OCI account home region.
        "linkExistingAccountUri": "A String", # Output only. URL to link an existing account.
      },
      "entitlementId": "A String", # Output only. Google Cloud Marketplace order ID (aka entitlement ID)
      "name": "A String", # Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}
      "state": "A String", # Output only. Entitlement State.
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results the server should return.
}
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.