Close httplib2 connections.
Gets an Extended Metadata Schema.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists Extended Metadata Schemas available in a host project and location.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets an Extended Metadata Schema.
Args:
name: string, Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be "apphub.googleapis.com/Name" (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.
"jsonSchema": "A String", # Output only. The JSON schema as a string.
"name": "A String", # Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/
"schemaVersion": "A String", # Output only. The version of the schema. New versions are required to be backwards compatible.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists Extended Metadata Schemas available in a host project and location.
Args:
parent: string, Required. Project and location to list Extended Metadata Schemas on. Expected format: `projects/{project}/locations/{location}`. (required)
pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
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:
{ # Response for ListExtendedMetadataSchemas.
"extendedMetadataSchemas": [ # List of Extended Metadata Schemas.
{ # ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.
"jsonSchema": "A String", # Output only. The JSON schema as a string.
"name": "A String", # Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/
"schemaVersion": "A String", # Output only. The version of the schema. New versions are required to be backwards compatible.
},
],
"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.