Skip to content

Commit 8af50ec

Browse files
feat: Automated regeneration of datacatalog v1beta1 client (#17891)
Auto-created at 2024-02-18 10:24:04 +0000 using the toys pull request generator.
1 parent 4bdf0f0 commit 8af50ec

File tree

5 files changed

+49
-2
lines changed

5 files changed

+49
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138236,9 +138236,12 @@
138236138236
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/lookerColumnSpec": looker_column_spec
138237138237
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/mode": mode
138238138238
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/ordinalPosition": ordinal_position
138239+
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/rangeElementType": range_element_type
138239138240
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/subcolumns": subcolumns
138240138241
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/subcolumns/subcolumn": subcolumn
138241138242
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchema/type": type
138243+
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchemaFieldElementType": google_cloud_datacatalog_v1_column_schema_field_element_type
138244+
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchemaFieldElementType/type": type
138242138245
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec": google_cloud_datacatalog_v1_column_schema_looker_column_spec
138243138246
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec/type": type
138244138247
"/datacatalog:v1beta1/GoogleCloudDatacatalogV1CommonUsageStats": google_cloud_datacatalog_v1_common_usage_stats

generated/google-apis-datacatalog_v1beta1/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_v1beta1
22

3+
### v0.42.0 (2024-02-18)
4+
5+
* Regenerated from discovery document revision 20240206
6+
37
### v0.41.0 (2024-01-28)
48

59
* Regenerated from discovery document revision 20240118

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,11 @@ class GoogleCloudDatacatalogV1ColumnSchema
550550
# @return [Fixnum]
551551
attr_accessor :ordinal_position
552552

553+
# Represents the type of a field element.
554+
# Corresponds to the JSON property `rangeElementType`
555+
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchemaFieldElementType]
556+
attr_accessor :range_element_type
557+
553558
# Optional. Schema of sub-columns. A column can have zero or more sub-columns.
554559
# Corresponds to the JSON property `subcolumns`
555560
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchema>]
@@ -575,11 +580,31 @@ def update!(**args)
575580
@looker_column_spec = args[:looker_column_spec] if args.key?(:looker_column_spec)
576581
@mode = args[:mode] if args.key?(:mode)
577582
@ordinal_position = args[:ordinal_position] if args.key?(:ordinal_position)
583+
@range_element_type = args[:range_element_type] if args.key?(:range_element_type)
578584
@subcolumns = args[:subcolumns] if args.key?(:subcolumns)
579585
@type = args[:type] if args.key?(:type)
580586
end
581587
end
582588

589+
# Represents the type of a field element.
590+
class GoogleCloudDatacatalogV1ColumnSchemaFieldElementType
591+
include Google::Apis::Core::Hashable
592+
593+
# Required. The type of a field element. See ColumnSchema.type.
594+
# Corresponds to the JSON property `type`
595+
# @return [String]
596+
attr_accessor :type
597+
598+
def initialize(**args)
599+
update!(**args)
600+
end
601+
602+
# Update properties of this object
603+
def update!(**args)
604+
@type = args[:type] if args.key?(:type)
605+
end
606+
end
607+
583608
# Column info specific to Looker System.
584609
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
585610
include Google::Apis::Core::Hashable

generated/google-apis-datacatalog_v1beta1/lib/google/apis/datacatalog_v1beta1/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 DatacatalogV1beta1
1818
# Version of the google-apis-datacatalog_v1beta1 gem
19-
GEM_VERSION = "0.41.0"
19+
GEM_VERSION = "0.42.0"
2020

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

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
112112
include Google::Apis::Core::JsonObjectSupport
113113
end
114114

115+
class GoogleCloudDatacatalogV1ColumnSchemaFieldElementType
116+
class Representation < Google::Apis::Core::JsonRepresentation; end
117+
118+
include Google::Apis::Core::JsonObjectSupport
119+
end
120+
115121
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
116122
class Representation < Google::Apis::Core::JsonRepresentation; end
117123

@@ -829,12 +835,21 @@ class Representation < Google::Apis::Core::JsonRepresentation
829835

830836
property :mode, as: 'mode'
831837
property :ordinal_position, as: 'ordinalPosition'
838+
property :range_element_type, as: 'rangeElementType', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchemaFieldElementType, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchemaFieldElementType::Representation
839+
832840
collection :subcolumns, as: 'subcolumns', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchema, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1ColumnSchema::Representation
833841

834842
property :type, as: 'type'
835843
end
836844
end
837845

846+
class GoogleCloudDatacatalogV1ColumnSchemaFieldElementType
847+
# @private
848+
class Representation < Google::Apis::Core::JsonRepresentation
849+
property :type, as: 'type'
850+
end
851+
end
852+
838853
class GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec
839854
# @private
840855
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)