Skip to main content

extended_metadata_schemas

Creates, updates, deletes, gets or lists an extended_metadata_schemas resource.

Overview​

Nameextended_metadata_schemas
TypeResource
Idgoogle.apphub.extended_metadata_schemas

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/
jsonSchemastringOutput only. The JSON schema as a string.
schemaVersionstring (int64)Output only. The version of the schema. New versions are required to be backwards compatible.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, extendedMetadataSchemasIdGets an Extended Metadata Schema.
listselectprojectsId, locationsIdpageSize, pageTokenLists Extended Metadata Schemas available in a host project and location.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
extendedMetadataSchemasIdstring
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Gets an Extended Metadata Schema.

SELECT
name,
jsonSchema,
schemaVersion
FROM google.apphub.extended_metadata_schemas
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND extendedMetadataSchemasId = '{{ extendedMetadataSchemasId }}' -- required
;