Skip to content

Commit 0bae4cb

Browse files
feat: Automated regeneration of datacatalog v1 client (googleapis#20443)
Auto-created at 2024-10-27 09:14:40 +0000 using the toys pull request generator.
1 parent b83cf2f commit 0bae4cb

File tree

6 files changed

+332
-3
lines changed

6 files changed

+332
-3
lines changed

api_names_out.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129891,6 +129891,7 @@
129891129891
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryGroup/description": description
129892129892
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryGroup/displayName": display_name
129893129893
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryGroup/name": name
129894+
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryGroup/transferredToDataplex": transferred_to_dataplex
129894129895
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryOverview": google_cloud_datacatalog_v1_entry_overview
129895129896
"/datacatalog:v1/GoogleCloudDatacatalogV1EntryOverview/overview": overview
129896129897
"/datacatalog:v1/GoogleCloudDatacatalogV1ExportTaxonomiesResponse": google_cloud_datacatalog_v1_export_taxonomies_response
@@ -129963,12 +129964,18 @@
129963129964
"/datacatalog:v1/GoogleCloudDatacatalogV1LookerSystemSpec/parentModelId": parent_model_id
129964129965
"/datacatalog:v1/GoogleCloudDatacatalogV1LookerSystemSpec/parentViewDisplayName": parent_view_display_name
129965129966
"/datacatalog:v1/GoogleCloudDatacatalogV1LookerSystemSpec/parentViewId": parent_view_id
129967+
"/datacatalog:v1/GoogleCloudDatacatalogV1MigrationConfig": google_cloud_datacatalog_v1_migration_config
129968+
"/datacatalog:v1/GoogleCloudDatacatalogV1MigrationConfig/catalogUiExperience": catalog_ui_experience
129969+
"/datacatalog:v1/GoogleCloudDatacatalogV1MigrationConfig/tagTemplateMigration": tag_template_migration
129966129970
"/datacatalog:v1/GoogleCloudDatacatalogV1ModelSpec": google_cloud_datacatalog_v1_model_spec
129967129971
"/datacatalog:v1/GoogleCloudDatacatalogV1ModelSpec/vertexModelSpec": vertex_model_spec
129968129972
"/datacatalog:v1/GoogleCloudDatacatalogV1ModifyEntryContactsRequest": google_cloud_datacatalog_v1_modify_entry_contacts_request
129969129973
"/datacatalog:v1/GoogleCloudDatacatalogV1ModifyEntryContactsRequest/contacts": contacts
129970129974
"/datacatalog:v1/GoogleCloudDatacatalogV1ModifyEntryOverviewRequest": google_cloud_datacatalog_v1_modify_entry_overview_request
129971129975
"/datacatalog:v1/GoogleCloudDatacatalogV1ModifyEntryOverviewRequest/entryOverview": entry_overview
129976+
"/datacatalog:v1/GoogleCloudDatacatalogV1OrganizationConfig": google_cloud_datacatalog_v1_organization_config
129977+
"/datacatalog:v1/GoogleCloudDatacatalogV1OrganizationConfig/config": config
129978+
"/datacatalog:v1/GoogleCloudDatacatalogV1OrganizationConfig/config/config": config
129972129979
"/datacatalog:v1/GoogleCloudDatacatalogV1PersonalDetails": google_cloud_datacatalog_v1_personal_details
129973129980
"/datacatalog:v1/GoogleCloudDatacatalogV1PersonalDetails/starTime": star_time
129974129981
"/datacatalog:v1/GoogleCloudDatacatalogV1PersonalDetails/starred": starred
@@ -130079,6 +130086,9 @@
130079130086
"/datacatalog:v1/GoogleCloudDatacatalogV1SerializedTaxonomy/policyTags/policy_tag": policy_tag
130080130087
"/datacatalog:v1/GoogleCloudDatacatalogV1ServiceSpec": google_cloud_datacatalog_v1_service_spec
130081130088
"/datacatalog:v1/GoogleCloudDatacatalogV1ServiceSpec/cloudBigtableInstanceSpec": cloud_bigtable_instance_spec
130089+
"/datacatalog:v1/GoogleCloudDatacatalogV1SetConfigRequest": google_cloud_datacatalog_v1_set_config_request
130090+
"/datacatalog:v1/GoogleCloudDatacatalogV1SetConfigRequest/catalogUiExperience": catalog_ui_experience
130091+
"/datacatalog:v1/GoogleCloudDatacatalogV1SetConfigRequest/tagTemplateMigration": tag_template_migration
130082130092
"/datacatalog:v1/GoogleCloudDatacatalogV1SqlDatabaseSystemSpec": google_cloud_datacatalog_v1_sql_database_system_spec
130083130093
"/datacatalog:v1/GoogleCloudDatacatalogV1SqlDatabaseSystemSpec/databaseVersion": database_version
130084130094
"/datacatalog:v1/GoogleCloudDatacatalogV1SqlDatabaseSystemSpec/instanceHost": instance_host
@@ -130097,6 +130107,7 @@
130097130107
"/datacatalog:v1/GoogleCloudDatacatalogV1TableSpec/groupedEntry": grouped_entry
130098130108
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag": google_cloud_datacatalog_v1_tag
130099130109
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag/column": column
130110+
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag/dataplexTransferStatus": dataplex_transfer_status
130100130111
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag/fields": fields
130101130112
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag/fields/field": field
130102130113
"/datacatalog:v1/GoogleCloudDatacatalogV1Tag/name": name
@@ -130212,6 +130223,12 @@
130212130223
"/datacatalog:v1/datacatalog.entries.lookup/location": location
130213130224
"/datacatalog:v1/datacatalog.entries.lookup/project": project
130214130225
"/datacatalog:v1/datacatalog.entries.lookup/sqlResource": sql_resource
130226+
"/datacatalog:v1/datacatalog.organizations.locations.retrieveConfig": retrieve_organization_location_config
130227+
"/datacatalog:v1/datacatalog.organizations.locations.retrieveConfig/name": name
130228+
"/datacatalog:v1/datacatalog.organizations.locations.retrieveEffectiveConfig": retrieve_organization_location_effective_config
130229+
"/datacatalog:v1/datacatalog.organizations.locations.retrieveEffectiveConfig/name": name
130230+
"/datacatalog:v1/datacatalog.organizations.locations.setConfig": set_organization_location_config
130231+
"/datacatalog:v1/datacatalog.organizations.locations.setConfig/name": name
130215130232
"/datacatalog:v1/datacatalog.projects.locations.entryGroups.create": create_project_location_entry_group
130216130233
"/datacatalog:v1/datacatalog.projects.locations.entryGroups.create/entryGroupId": entry_group_id
130217130234
"/datacatalog:v1/datacatalog.projects.locations.entryGroups.create/parent": parent
@@ -130298,6 +130315,10 @@
130298130315
"/datacatalog:v1/datacatalog.projects.locations.operations.list/name": name
130299130316
"/datacatalog:v1/datacatalog.projects.locations.operations.list/pageSize": page_size
130300130317
"/datacatalog:v1/datacatalog.projects.locations.operations.list/pageToken": page_token
130318+
"/datacatalog:v1/datacatalog.projects.locations.retrieveEffectiveConfig": retrieve_project_location_effective_config
130319+
"/datacatalog:v1/datacatalog.projects.locations.retrieveEffectiveConfig/name": name
130320+
"/datacatalog:v1/datacatalog.projects.locations.setConfig": set_project_location_config
130321+
"/datacatalog:v1/datacatalog.projects.locations.setConfig/name": name
130301130322
"/datacatalog:v1/datacatalog.projects.locations.tagTemplates.create": create_project_location_tag_template
130302130323
"/datacatalog:v1/datacatalog.projects.locations.tagTemplates.create/parent": parent
130303130324
"/datacatalog:v1/datacatalog.projects.locations.tagTemplates.create/tagTemplateId": tag_template_id

generated/google-apis-datacatalog_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-datacatalog_v1
22

3+
### v0.53.0 (2024-10-27)
4+
5+
* Regenerated from discovery document revision 20241021
6+
* Regenerated using generator version 0.15.1
7+
38
### v0.52.0 (2024-05-19)
49

510
* Regenerated from discovery document revision 20240511

generated/google-apis-datacatalog_v1/lib/google/apis/datacatalog_v1/classes.rb

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,15 @@ class GoogleCloudDatacatalogV1EntryGroup
12821282
# @return [String]
12831283
attr_accessor :name
12841284

1285+
# Optional. When set to [true], it means DataCatalog EntryGroup was transferred
1286+
# to Dataplex Catalog Service. It makes EntryGroup and its Entries to be read-
1287+
# only in DataCatalog. However, new Tags on EntryGroup and its Entries can be
1288+
# created. After setting the flag to [true] it cannot be unset.
1289+
# Corresponds to the JSON property `transferredToDataplex`
1290+
# @return [Boolean]
1291+
attr_accessor :transferred_to_dataplex
1292+
alias_method :transferred_to_dataplex?, :transferred_to_dataplex
1293+
12851294
def initialize(**args)
12861295
update!(**args)
12871296
end
@@ -1292,6 +1301,7 @@ def update!(**args)
12921301
@description = args[:description] if args.key?(:description)
12931302
@display_name = args[:display_name] if args.key?(:display_name)
12941303
@name = args[:name] if args.key?(:name)
1304+
@transferred_to_dataplex = args[:transferred_to_dataplex] if args.key?(:transferred_to_dataplex)
12951305
end
12961306
end
12971307

@@ -1842,6 +1852,33 @@ def update!(**args)
18421852
end
18431853
end
18441854

1855+
# The configuration related to the migration to Dataplex applied to an
1856+
# organization or project. It is the response message for SetConfig and
1857+
# RetrieveEffectiveConfig.
1858+
class GoogleCloudDatacatalogV1MigrationConfig
1859+
include Google::Apis::Core::Hashable
1860+
1861+
# Opt-in status for the UI switch to Dataplex.
1862+
# Corresponds to the JSON property `catalogUiExperience`
1863+
# @return [String]
1864+
attr_accessor :catalog_ui_experience
1865+
1866+
# Opt-in status for the migration of Tag Templates to Dataplex.
1867+
# Corresponds to the JSON property `tagTemplateMigration`
1868+
# @return [String]
1869+
attr_accessor :tag_template_migration
1870+
1871+
def initialize(**args)
1872+
update!(**args)
1873+
end
1874+
1875+
# Update properties of this object
1876+
def update!(**args)
1877+
@catalog_ui_experience = args[:catalog_ui_experience] if args.key?(:catalog_ui_experience)
1878+
@tag_template_migration = args[:tag_template_migration] if args.key?(:tag_template_migration)
1879+
end
1880+
end
1881+
18451882
# Specification that applies to a model. Valid only for entries with the `MODEL`
18461883
# type.
18471884
class GoogleCloudDatacatalogV1ModelSpec
@@ -1900,6 +1937,29 @@ def update!(**args)
19001937
end
19011938
end
19021939

1940+
# The configuration related to the migration from Data Catalog to Dataplex that
1941+
# has been applied to an organization and any projects under it. It is the
1942+
# response message for RetrieveConfig.
1943+
class GoogleCloudDatacatalogV1OrganizationConfig
1944+
include Google::Apis::Core::Hashable
1945+
1946+
# Map of organizations and project resource names and their configuration. The
1947+
# format for the map keys is `organizations/`organizationId`` or `projects/`
1948+
# projectId``.
1949+
# Corresponds to the JSON property `config`
1950+
# @return [Hash<String,Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig>]
1951+
attr_accessor :config
1952+
1953+
def initialize(**args)
1954+
update!(**args)
1955+
end
1956+
1957+
# Update properties of this object
1958+
def update!(**args)
1959+
@config = args[:config] if args.key?(:config)
1960+
end
1961+
end
1962+
19031963
# Entry metadata relevant only to the user and private to them.
19041964
class GoogleCloudDatacatalogV1PersonalDetails
19051965
include Google::Apis::Core::Hashable
@@ -2752,6 +2812,31 @@ def update!(**args)
27522812
end
27532813
end
27542814

2815+
# Request message for SetConfig.
2816+
class GoogleCloudDatacatalogV1SetConfigRequest
2817+
include Google::Apis::Core::Hashable
2818+
2819+
# Opt-in status for the UI switch to Dataplex.
2820+
# Corresponds to the JSON property `catalogUiExperience`
2821+
# @return [String]
2822+
attr_accessor :catalog_ui_experience
2823+
2824+
# Opt-in status for the migration of Tag Templates to Dataplex.
2825+
# Corresponds to the JSON property `tagTemplateMigration`
2826+
# @return [String]
2827+
attr_accessor :tag_template_migration
2828+
2829+
def initialize(**args)
2830+
update!(**args)
2831+
end
2832+
2833+
# Update properties of this object
2834+
def update!(**args)
2835+
@catalog_ui_experience = args[:catalog_ui_experience] if args.key?(:catalog_ui_experience)
2836+
@tag_template_migration = args[:tag_template_migration] if args.key?(:tag_template_migration)
2837+
end
2838+
end
2839+
27552840
# Specification that applies to entries that are part `SQL_DATABASE` system (
27562841
# user_specified_type)
27572842
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
@@ -2922,6 +3007,11 @@ class GoogleCloudDatacatalogV1Tag
29223007
# @return [String]
29233008
attr_accessor :column
29243009

3010+
# Output only. Denotes the transfer status of the Tag Template.
3011+
# Corresponds to the JSON property `dataplexTransferStatus`
3012+
# @return [String]
3013+
attr_accessor :dataplex_transfer_status
3014+
29253015
# Required. Maps the ID of a tag field to its value and additional information
29263016
# about that field. Tag template defines valid field IDs. A tag must have at
29273017
# least 1 field and at most 500 fields.
@@ -2955,6 +3045,7 @@ def initialize(**args)
29553045
# Update properties of this object
29563046
def update!(**args)
29573047
@column = args[:column] if args.key?(:column)
3048+
@dataplex_transfer_status = args[:dataplex_transfer_status] if args.key?(:dataplex_transfer_status)
29583049
@fields = args[:fields] if args.key?(:fields)
29593050
@name = args[:name] if args.key?(:name)
29603051
@template = args[:template] if args.key?(:template)

generated/google-apis-datacatalog_v1/lib/google/apis/datacatalog_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatacatalogV1
1818
# Version of the google-apis-datacatalog_v1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240511"
25+
REVISION = "20241021"
2626
end
2727
end
2828
end

generated/google-apis-datacatalog_v1/lib/google/apis/datacatalog_v1/representations.rb

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
346346
include Google::Apis::Core::JsonObjectSupport
347347
end
348348

349+
class GoogleCloudDatacatalogV1MigrationConfig
350+
class Representation < Google::Apis::Core::JsonRepresentation; end
351+
352+
include Google::Apis::Core::JsonObjectSupport
353+
end
354+
349355
class GoogleCloudDatacatalogV1ModelSpec
350356
class Representation < Google::Apis::Core::JsonRepresentation; end
351357

@@ -364,6 +370,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
364370
include Google::Apis::Core::JsonObjectSupport
365371
end
366372

373+
class GoogleCloudDatacatalogV1OrganizationConfig
374+
class Representation < Google::Apis::Core::JsonRepresentation; end
375+
376+
include Google::Apis::Core::JsonObjectSupport
377+
end
378+
367379
class GoogleCloudDatacatalogV1PersonalDetails
368380
class Representation < Google::Apis::Core::JsonRepresentation; end
369381

@@ -514,6 +526,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
514526
include Google::Apis::Core::JsonObjectSupport
515527
end
516528

529+
class GoogleCloudDatacatalogV1SetConfigRequest
530+
class Representation < Google::Apis::Core::JsonRepresentation; end
531+
532+
include Google::Apis::Core::JsonObjectSupport
533+
end
534+
517535
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
518536
class Representation < Google::Apis::Core::JsonRepresentation; end
519537

@@ -1034,6 +1052,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
10341052
property :description, as: 'description'
10351053
property :display_name, as: 'displayName'
10361054
property :name, as: 'name'
1055+
property :transferred_to_dataplex, as: 'transferredToDataplex'
10371056
end
10381057
end
10391058

@@ -1218,6 +1237,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
12181237
end
12191238
end
12201239

1240+
class GoogleCloudDatacatalogV1MigrationConfig
1241+
# @private
1242+
class Representation < Google::Apis::Core::JsonRepresentation
1243+
property :catalog_ui_experience, as: 'catalogUiExperience'
1244+
property :tag_template_migration, as: 'tagTemplateMigration'
1245+
end
1246+
end
1247+
12211248
class GoogleCloudDatacatalogV1ModelSpec
12221249
# @private
12231250
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1242,6 +1269,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
12421269
end
12431270
end
12441271

1272+
class GoogleCloudDatacatalogV1OrganizationConfig
1273+
# @private
1274+
class Representation < Google::Apis::Core::JsonRepresentation
1275+
hash :config, as: 'config', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1MigrationConfig::Representation
1276+
1277+
end
1278+
end
1279+
12451280
class GoogleCloudDatacatalogV1PersonalDetails
12461281
# @private
12471282
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1481,6 +1516,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
14811516
end
14821517
end
14831518

1519+
class GoogleCloudDatacatalogV1SetConfigRequest
1520+
# @private
1521+
class Representation < Google::Apis::Core::JsonRepresentation
1522+
property :catalog_ui_experience, as: 'catalogUiExperience'
1523+
property :tag_template_migration, as: 'tagTemplateMigration'
1524+
end
1525+
end
1526+
14841527
class GoogleCloudDatacatalogV1SqlDatabaseSystemSpec
14851528
# @private
14861529
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1530,6 +1573,7 @@ class GoogleCloudDatacatalogV1Tag
15301573
# @private
15311574
class Representation < Google::Apis::Core::JsonRepresentation
15321575
property :column, as: 'column'
1576+
property :dataplex_transfer_status, as: 'dataplexTransferStatus'
15331577
hash :fields, as: 'fields', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagField, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1TagField::Representation
15341578

15351579
property :name, as: 'name'

0 commit comments

Comments
 (0)