Skip to content

Commit

Permalink
feat(datacatalog): update the api
Browse files Browse the repository at this point in the history
#### datacatalog:v1

The following keys were added:
- schemas.GoogleCloudDatacatalogV1TagTemplate.properties.dataplexTransferStatus.type (Total Keys: 1)

#### datacatalog:v1beta1

The following keys were added:
- schemas.GoogleCloudDatacatalogV1beta1TagTemplate.properties.dataplexTransferStatus (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Mar 26, 2024
1 parent 269a3a7 commit 5d9cc58
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/dyn/datacatalog_v1.projects.locations.tagTemplates.html
Expand Up @@ -119,6 +119,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Optional. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can&#x27;t start or end with spaces. The maximum length is 200 characters.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -153,6 +154,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Optional. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can&#x27;t start or end with spaces. The maximum length is 200 characters.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -212,6 +214,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Optional. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can&#x27;t start or end with spaces. The maximum length is 200 characters.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -290,6 +293,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Optional. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can&#x27;t start or end with spaces. The maximum length is 200 characters.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -324,6 +328,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Optional. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can&#x27;t start or end with spaces. The maximum length is 200 characters.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. The map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. The IDs have the following limitations: * Can contain uppercase and lowercase letters, numbers (0-9) and underscores (_). * Must be at least 1 character and at most 64 characters long. * Must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down
Expand Up @@ -119,6 +119,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Output only. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # The display name for this template. Defaults to an empty string.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -152,6 +153,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Output only. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # The display name for this template. Defaults to an empty string.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -210,6 +212,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Output only. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # The display name for this template. Defaults to an empty string.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -287,6 +290,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Output only. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # The display name for this template. Defaults to an empty string.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down Expand Up @@ -320,6 +324,7 @@ <h3>Method Details</h3>
An object of the form:

{ # A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.
&quot;dataplexTransferStatus&quot;: &quot;A String&quot;, # Output only. Transfer status of the TagTemplate
&quot;displayName&quot;: &quot;A String&quot;, # The display name for this template. Defaults to an empty string.
&quot;fields&quot;: { # Required. Map of tag template field IDs to the settings for the field. This map is an exhaustive list of the allowed fields. This map must contain at least one field and at most 500 fields. The keys to this map are tag template field IDs. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1 character long and at most 64 characters long. Field IDs must start with a letter or underscore.
&quot;a_key&quot;: { # The template for an individual field within a tag template.
Expand Down
14 changes: 13 additions & 1 deletion googleapiclient/discovery_cache/documents/datacatalog.v1.json
Expand Up @@ -2144,7 +2144,7 @@
}
}
},
"revision": "20240311",
"revision": "20240315",
"rootUrl": "https://datacatalog.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -4205,6 +4205,18 @@
"description": "A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to Google Cloud resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.",
"id": "GoogleCloudDatacatalogV1TagTemplate",
"properties": {
"dataplexTransferStatus": {
"description": "Optional. Transfer status of the TagTemplate",
"enum": [
"DATAPLEX_TRANSFER_STATUS_UNSPECIFIED",
"MIGRATED"
],
"enumDescriptions": [
"Default value. TagTemplate and its tags are only visible and editable in DataCatalog.",
"TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex."
],
"type": "string"
},
"displayName": {
"description": "Display name for this template. Defaults to an empty string. The name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't start or end with spaces. The maximum length is 200 characters.",
"type": "string"
Expand Down
Expand Up @@ -1813,7 +1813,7 @@
}
}
},
"revision": "20240311",
"revision": "20240315",
"rootUrl": "https://datacatalog.googleapis.com/",
"schemas": {
"Binding": {
Expand Down Expand Up @@ -4268,6 +4268,19 @@
"description": "A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. [Tag template roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.",
"id": "GoogleCloudDatacatalogV1beta1TagTemplate",
"properties": {
"dataplexTransferStatus": {
"description": "Output only. Transfer status of the TagTemplate",
"enum": [
"DATAPLEX_TRANSFER_STATUS_UNSPECIFIED",
"MIGRATED"
],
"enumDescriptions": [
"Default value. TagTemplate and its tags are only visible and editable in DataCatalog.",
"TagTemplate and its tags are auto-copied to Dataplex service. Visible in both services. Editable in DataCatalog, read-only in Dataplex."
],
"readOnly": true,
"type": "string"
},
"displayName": {
"description": "The display name for this template. Defaults to an empty string.",
"type": "string"
Expand Down

0 comments on commit 5d9cc58

Please sign in to comment.