Skip to content

Commit 88cab1e

Browse files
feat: Automated regeneration of datacatalog v1 client (googleapis#25156)
Auto-created at 2025-12-07 10:55:08 +0000 using the toys pull request generator.
1 parent b9a6fa6 commit 88cab1e

File tree

5 files changed

+273
-2
lines changed

5 files changed

+273
-2
lines changed

api_names_out.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151882,6 +151882,7 @@
151882151882
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/filesetSpec": fileset_spec
151883151883
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/fullyQualifiedName": fully_qualified_name
151884151884
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/gcsFilesetSpec": gcs_fileset_spec
151885+
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/graphSpec": graph_spec
151885151886
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/integratedSystem": integrated_system
151886151887
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/labels": labels
151887151888
"/datacatalog:v1/GoogleCloudDatacatalogV1Entry/labels/label": label
@@ -151931,6 +151932,32 @@
151931151932
"/datacatalog:v1/GoogleCloudDatacatalogV1GcsFilesetSpec/filePatterns/file_pattern": file_pattern
151932151933
"/datacatalog:v1/GoogleCloudDatacatalogV1GcsFilesetSpec/sampleGcsFileSpecs": sample_gcs_file_specs
151933151934
"/datacatalog:v1/GoogleCloudDatacatalogV1GcsFilesetSpec/sampleGcsFileSpecs/sample_gcs_file_spec": sample_gcs_file_spec
151935+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec": google_cloud_datacatalog_v1_graph_spec
151936+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec/edgeTables": edge_tables
151937+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec/edgeTables/edge_table": edge_table
151938+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec/name": name
151939+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec/nodeTables": node_tables
151940+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpec/nodeTables/node_table": node_table
151941+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable": google_cloud_datacatalog_v1_graph_spec_graph_element_table
151942+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/alias": alias
151943+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/dataSource": data_source
151944+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/destinationNodeReference": destination_node_reference
151945+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/dynamicLabelEnabled": dynamic_label_enabled
151946+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/dynamicPropertiesEnabled": dynamic_properties_enabled
151947+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/elementKeys": element_keys
151948+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/elementKeys/element_key": element_key
151949+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/inputSource": input_source
151950+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/kind": kind
151951+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/labelAndProperties": label_and_properties
151952+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/labelAndProperties/label_and_property": label_and_property
151953+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTable/sourceNodeReference": source_node_reference
151954+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties": google_cloud_datacatalog_v1_graph_spec_graph_element_table_label_and_properties
151955+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties/label": label
151956+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties/properties": properties
151957+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties/properties/property": property
151958+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty": google_cloud_datacatalog_v1_graph_spec_graph_element_table_property
151959+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty/name": name
151960+
"/datacatalog:v1/GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty/type": type
151934151961
"/datacatalog:v1/GoogleCloudDatacatalogV1ImportEntriesMetadata": google_cloud_datacatalog_v1_import_entries_metadata
151935151962
"/datacatalog:v1/GoogleCloudDatacatalogV1ImportEntriesMetadata/errors": errors
151936151963
"/datacatalog:v1/GoogleCloudDatacatalogV1ImportEntriesMetadata/errors/error": error

generated/google-apis-datacatalog_v1/CHANGELOG.md

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

3+
### v0.63.0 (2025-12-07)
4+
5+
* Regenerated from discovery document revision 20251112
6+
37
### v0.62.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20250928

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

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,11 @@ class GoogleCloudDatacatalogV1Entry
11031103
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFilesetSpec]
11041104
attr_accessor :gcs_fileset_spec
11051105

1106+
# Specification that applies to a graph.
1107+
# Corresponds to the JSON property `graphSpec`
1108+
# @return [Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec]
1109+
attr_accessor :graph_spec
1110+
11061111
# Output only. Indicates the entry's source system that Data Catalog integrates
11071112
# with, such as BigQuery, Pub/Sub, or Dataproc Metastore.
11081113
# Corresponds to the JSON property `integratedSystem`
@@ -1235,6 +1240,7 @@ def update!(**args)
12351240
@fileset_spec = args[:fileset_spec] if args.key?(:fileset_spec)
12361241
@fully_qualified_name = args[:fully_qualified_name] if args.key?(:fully_qualified_name)
12371242
@gcs_fileset_spec = args[:gcs_fileset_spec] if args.key?(:gcs_fileset_spec)
1243+
@graph_spec = args[:graph_spec] if args.key?(:graph_spec)
12381244
@integrated_system = args[:integrated_system] if args.key?(:integrated_system)
12391245
@labels = args[:labels] if args.key?(:labels)
12401246
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
@@ -1528,6 +1534,169 @@ def update!(**args)
15281534
end
15291535
end
15301536

1537+
# Specification that applies to a graph.
1538+
class GoogleCloudDatacatalogV1GraphSpec
1539+
include Google::Apis::Core::Hashable
1540+
1541+
# Optional. Edge tables of the graph.
1542+
# Corresponds to the JSON property `edgeTables`
1543+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>]
1544+
attr_accessor :edge_tables
1545+
1546+
# Output only. Fully qualified graph name. e.g. `named_catalog.MyGraph`
1547+
# Corresponds to the JSON property `name`
1548+
# @return [String]
1549+
attr_accessor :name
1550+
1551+
# Required. Node tables of the graph.
1552+
# Corresponds to the JSON property `nodeTables`
1553+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable>]
1554+
attr_accessor :node_tables
1555+
1556+
def initialize(**args)
1557+
update!(**args)
1558+
end
1559+
1560+
# Update properties of this object
1561+
def update!(**args)
1562+
@edge_tables = args[:edge_tables] if args.key?(:edge_tables)
1563+
@name = args[:name] if args.key?(:name)
1564+
@node_tables = args[:node_tables] if args.key?(:node_tables)
1565+
end
1566+
end
1567+
1568+
# Element table definition.
1569+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTable
1570+
include Google::Apis::Core::Hashable
1571+
1572+
# Required. The alias name of the graph element.
1573+
# Corresponds to the JSON property `alias`
1574+
# @return [String]
1575+
attr_accessor :alias
1576+
1577+
# Required. The name of the data source. This is either a table name or a view
1578+
# name that is used for graph element input source. E.g. `Person` table or `
1579+
# PersonView` view.
1580+
# Corresponds to the JSON property `dataSource`
1581+
# @return [String]
1582+
attr_accessor :data_source
1583+
1584+
# Optional. Only applies to `kind = EDGE`.
1585+
# Corresponds to the JSON property `destinationNodeReference`
1586+
# @return [String]
1587+
attr_accessor :destination_node_reference
1588+
1589+
# Optional. If true, the graph element has a dynamic label in schemaless model.
1590+
# Corresponds to the JSON property `dynamicLabelEnabled`
1591+
# @return [Boolean]
1592+
attr_accessor :dynamic_label_enabled
1593+
alias_method :dynamic_label_enabled?, :dynamic_label_enabled
1594+
1595+
# Optional. If true, the graph element has dynamic properties in schemaless
1596+
# model.
1597+
# Corresponds to the JSON property `dynamicPropertiesEnabled`
1598+
# @return [Boolean]
1599+
attr_accessor :dynamic_properties_enabled
1600+
alias_method :dynamic_properties_enabled?, :dynamic_properties_enabled
1601+
1602+
# Required. The name of the keys of the elements in the table.
1603+
# Corresponds to the JSON property `elementKeys`
1604+
# @return [Array<String>]
1605+
attr_accessor :element_keys
1606+
1607+
# Required. The input source of the graph element.
1608+
# Corresponds to the JSON property `inputSource`
1609+
# @return [String]
1610+
attr_accessor :input_source
1611+
1612+
# Required. The kind of the graph element.
1613+
# Corresponds to the JSON property `kind`
1614+
# @return [String]
1615+
attr_accessor :kind
1616+
1617+
# Required. The labels and their properties for the graph element.
1618+
# Corresponds to the JSON property `labelAndProperties`
1619+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties>]
1620+
attr_accessor :label_and_properties
1621+
1622+
# Optional. Only applies to `kind = EDGE`. The reference to the source node of
1623+
# the edge. This name must be a valid `alias` of a node element in the same
1624+
# graph. Example, `Person` node can be a source node of an edge element `
1625+
# Person_to_Address`. Similar rule applies to `destination_node_reference`.
1626+
# Corresponds to the JSON property `sourceNodeReference`
1627+
# @return [String]
1628+
attr_accessor :source_node_reference
1629+
1630+
def initialize(**args)
1631+
update!(**args)
1632+
end
1633+
1634+
# Update properties of this object
1635+
def update!(**args)
1636+
@alias = args[:alias] if args.key?(:alias)
1637+
@data_source = args[:data_source] if args.key?(:data_source)
1638+
@destination_node_reference = args[:destination_node_reference] if args.key?(:destination_node_reference)
1639+
@dynamic_label_enabled = args[:dynamic_label_enabled] if args.key?(:dynamic_label_enabled)
1640+
@dynamic_properties_enabled = args[:dynamic_properties_enabled] if args.key?(:dynamic_properties_enabled)
1641+
@element_keys = args[:element_keys] if args.key?(:element_keys)
1642+
@input_source = args[:input_source] if args.key?(:input_source)
1643+
@kind = args[:kind] if args.key?(:kind)
1644+
@label_and_properties = args[:label_and_properties] if args.key?(:label_and_properties)
1645+
@source_node_reference = args[:source_node_reference] if args.key?(:source_node_reference)
1646+
end
1647+
end
1648+
1649+
# The label and its properties. Each label is associated with a set of
1650+
# properties.
1651+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
1652+
include Google::Apis::Core::Hashable
1653+
1654+
# Required. The name of the label.
1655+
# Corresponds to the JSON property `label`
1656+
# @return [String]
1657+
attr_accessor :label
1658+
1659+
# Optional. The properties associated with the label.
1660+
# Corresponds to the JSON property `properties`
1661+
# @return [Array<Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty>]
1662+
attr_accessor :properties
1663+
1664+
def initialize(**args)
1665+
update!(**args)
1666+
end
1667+
1668+
# Update properties of this object
1669+
def update!(**args)
1670+
@label = args[:label] if args.key?(:label)
1671+
@properties = args[:properties] if args.key?(:properties)
1672+
end
1673+
end
1674+
1675+
# A property declaration.
1676+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
1677+
include Google::Apis::Core::Hashable
1678+
1679+
# Required. Property name.
1680+
# Corresponds to the JSON property `name`
1681+
# @return [String]
1682+
attr_accessor :name
1683+
1684+
# Required. Property data type.
1685+
# Corresponds to the JSON property `type`
1686+
# @return [String]
1687+
attr_accessor :type
1688+
1689+
def initialize(**args)
1690+
update!(**args)
1691+
end
1692+
1693+
# Update properties of this object
1694+
def update!(**args)
1695+
@name = args[:name] if args.key?(:name)
1696+
@type = args[:type] if args.key?(:type)
1697+
end
1698+
end
1699+
15311700
# Metadata message for long-running operation returned by the ImportEntries.
15321701
class GoogleCloudDatacatalogV1ImportEntriesMetadata
15331702
include Google::Apis::Core::Hashable

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

Lines changed: 2 additions & 2 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.62.0"
19+
GEM_VERSION = "0.63.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
274274
include Google::Apis::Core::JsonObjectSupport
275275
end
276276

277+
class GoogleCloudDatacatalogV1GraphSpec
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
283+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTable
284+
class Representation < Google::Apis::Core::JsonRepresentation; end
285+
286+
include Google::Apis::Core::JsonObjectSupport
287+
end
288+
289+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
290+
class Representation < Google::Apis::Core::JsonRepresentation; end
291+
292+
include Google::Apis::Core::JsonObjectSupport
293+
end
294+
295+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
296+
class Representation < Google::Apis::Core::JsonRepresentation; end
297+
298+
include Google::Apis::Core::JsonObjectSupport
299+
end
300+
277301
class GoogleCloudDatacatalogV1ImportEntriesMetadata
278302
class Representation < Google::Apis::Core::JsonRepresentation; end
279303

@@ -1016,6 +1040,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10161040
property :fully_qualified_name, as: 'fullyQualifiedName'
10171041
property :gcs_fileset_spec, as: 'gcsFilesetSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFilesetSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GcsFilesetSpec::Representation
10181042

1043+
property :graph_spec, as: 'graphSpec', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpec::Representation
1044+
10191045
property :integrated_system, as: 'integratedSystem'
10201046
hash :labels, as: 'labels'
10211047
property :linked_resource, as: 'linkedResource'
@@ -1129,6 +1155,51 @@ class Representation < Google::Apis::Core::JsonRepresentation
11291155
end
11301156
end
11311157

1158+
class GoogleCloudDatacatalogV1GraphSpec
1159+
# @private
1160+
class Representation < Google::Apis::Core::JsonRepresentation
1161+
collection :edge_tables, as: 'edgeTables', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable::Representation
1162+
1163+
property :name, as: 'name'
1164+
collection :node_tables, as: 'nodeTables', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTable::Representation
1165+
1166+
end
1167+
end
1168+
1169+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTable
1170+
# @private
1171+
class Representation < Google::Apis::Core::JsonRepresentation
1172+
property :alias, as: 'alias'
1173+
property :data_source, as: 'dataSource'
1174+
property :destination_node_reference, as: 'destinationNodeReference'
1175+
property :dynamic_label_enabled, as: 'dynamicLabelEnabled'
1176+
property :dynamic_properties_enabled, as: 'dynamicPropertiesEnabled'
1177+
collection :element_keys, as: 'elementKeys'
1178+
property :input_source, as: 'inputSource'
1179+
property :kind, as: 'kind'
1180+
collection :label_and_properties, as: 'labelAndProperties', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties::Representation
1181+
1182+
property :source_node_reference, as: 'sourceNodeReference'
1183+
end
1184+
end
1185+
1186+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableLabelAndProperties
1187+
# @private
1188+
class Representation < Google::Apis::Core::JsonRepresentation
1189+
property :label, as: 'label'
1190+
collection :properties, as: 'properties', class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty, decorator: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty::Representation
1191+
1192+
end
1193+
end
1194+
1195+
class GoogleCloudDatacatalogV1GraphSpecGraphElementTableProperty
1196+
# @private
1197+
class Representation < Google::Apis::Core::JsonRepresentation
1198+
property :name, as: 'name'
1199+
property :type, as: 'type'
1200+
end
1201+
end
1202+
11321203
class GoogleCloudDatacatalogV1ImportEntriesMetadata
11331204
# @private
11341205
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)