Cloud Resource Manager API . v3

Instance Methods

close()

Close httplib2 connections.

fetchResourceSemantics(fullResourceName=None, x__xgafv=None)

Returns the semantics associated with the specified resource.

Method Details

close()
Close httplib2 connections.
fetchResourceSemantics(fullResourceName=None, x__xgafv=None)
Returns the semantics associated with the specified resource.

Args:
  fullResourceName: string, Required. The full resource name of the GCP resource to retrieve semantics for. Examples: "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance" "//storage.googleapis.com/projects/_/buckets/my_bucket"
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for FetchResourceSemantics.
  "fullResourceName": "A String", # The full resource name for which semantics are returned. Examples: "//compute.googleapis.com/projects/123/zones/us-central1-a/instances/my-instance" "//storage.googleapis.com/projects/_/buckets/my_bucket"
  "semantics": { # Map of resource semantics (e.g., `"ENVIRONMENT": "PRODUCTION"`).
    "a_key": "A String",
  },
}