google-apis-bigquery_v2 0.47.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e0373aba21d32fb5e94f5fe2db12dcc2f2f7121d65bd67dea5b7cd75381005a
4
- data.tar.gz: c636bbafb864ca45a7aed7152f7b502515914b5c0c29fbf3f8470192ec2f0fd8
3
+ metadata.gz: 43cff4a870f25e5a1982a90dda77d94ec2a1b333ffac08c0d54a89eeeb97f17b
4
+ data.tar.gz: e47d5466b325b2c675a97fd26ed95ddf0ef55f78801fd929c30fb53688d0de6f
5
5
  SHA512:
6
- metadata.gz: c27c7fddc9d4ab865860d083136c3c5b80a380feb36df7876f08cb6824562939f4a657bdca465e549ca45f36c3c270b9fb161fb8c9f9831090794ab97588e85d
7
- data.tar.gz: af7e58b8874ac5e99da4fa1c12fad54800c9b670a8e40b0ea142e83ae45d0a80131652fd7e5410733d8d8bfa1befa8adbbddc06588086f24eaabba1de60df031
6
+ metadata.gz: 37e0eb924ea2413cb6599a6a0573908563689bc7e92a4ad63d6b49dd022a21035de192c7364593b047147dee1c21cc1c312cbd2a6161bfd21829f8c8d515cd85
7
+ data.tar.gz: ec277bc27295326d3e5275ca4f3d44b86ac4852a8e7a4a2a43d4aecf2c3c5b4ebf135e5460b1a64e4056ea5cfce2671e0ffcea909c396002720f9bcf2343f195
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.49.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230311
6
+
7
+ ### v0.48.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230210
10
+
3
11
  ### v0.47.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -1615,6 +1615,11 @@ module Google
1615
1615
  # @return [Fixnum]
1616
1616
  attr_accessor :default_partition_expiration_ms
1617
1617
 
1618
+ # [Output-only] The default rounding mode of the dataset.
1619
+ # Corresponds to the JSON property `defaultRoundingMode`
1620
+ # @return [String]
1621
+ attr_accessor :default_rounding_mode
1622
+
1618
1623
  # [Optional] The default lifetime of all tables in the dataset, in milliseconds.
1619
1624
  # The minimum value is 3600000 milliseconds (one hour). Once this property is
1620
1625
  # set, all newly-created tables in the dataset will have an expirationTime
@@ -1723,6 +1728,7 @@ module Google
1723
1728
  @default_collation = args[:default_collation] if args.key?(:default_collation)
1724
1729
  @default_encryption_configuration = args[:default_encryption_configuration] if args.key?(:default_encryption_configuration)
1725
1730
  @default_partition_expiration_ms = args[:default_partition_expiration_ms] if args.key?(:default_partition_expiration_ms)
1731
+ @default_rounding_mode = args[:default_rounding_mode] if args.key?(:default_rounding_mode)
1726
1732
  @default_table_expiration_ms = args[:default_table_expiration_ms] if args.key?(:default_table_expiration_ms)
1727
1733
  @description = args[:description] if args.key?(:description)
1728
1734
  @etag = args[:etag] if args.key?(:etag)
@@ -4116,6 +4122,13 @@ module Google
4116
4122
  # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
4117
4123
  attr_accessor :connection_properties
4118
4124
 
4125
+ # [Optional] Specifies whether the query should be executed as a continuous
4126
+ # query. The default value is false.
4127
+ # Corresponds to the JSON property `continuous`
4128
+ # @return [Boolean]
4129
+ attr_accessor :continuous
4130
+ alias_method :continuous?, :continuous
4131
+
4119
4132
  # [Optional] Specifies whether the job is allowed to create new tables. The
4120
4133
  # following values are supported: CREATE_IF_NEEDED: If the table does not exist,
4121
4134
  # BigQuery creates the table. CREATE_NEVER: The table must already exist. If it
@@ -4282,6 +4295,7 @@ module Google
4282
4295
  @allow_large_results = args[:allow_large_results] if args.key?(:allow_large_results)
4283
4296
  @clustering = args[:clustering] if args.key?(:clustering)
4284
4297
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
4298
+ @continuous = args[:continuous] if args.key?(:continuous)
4285
4299
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
4286
4300
  @create_session = args[:create_session] if args.key?(:create_session)
4287
4301
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
@@ -5965,6 +5979,13 @@ module Google
5965
5979
  # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
5966
5980
  attr_accessor :connection_properties
5967
5981
 
5982
+ # [Optional] Specifies whether the query should be executed as a continuous
5983
+ # query. The default value is false.
5984
+ # Corresponds to the JSON property `continuous`
5985
+ # @return [Boolean]
5986
+ attr_accessor :continuous
5987
+ alias_method :continuous?, :continuous
5988
+
5968
5989
  # If true, creates a new session, where session id will be a server generated
5969
5990
  # random id. If false, runs query with an existing session_id passed in
5970
5991
  # ConnectionProperty, otherwise runs query in non-session mode.
@@ -6107,6 +6128,7 @@ module Google
6107
6128
  # Update properties of this object
6108
6129
  def update!(**args)
6109
6130
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
6131
+ @continuous = args[:continuous] if args.key?(:continuous)
6110
6132
  @create_session = args[:create_session] if args.key?(:create_session)
6111
6133
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
6112
6134
  @dry_run = args[:dry_run] if args.key?(:dry_run)
@@ -7038,6 +7060,13 @@ module Google
7038
7060
  # @return [Array<String>]
7039
7061
  attr_accessor :jar_uris
7040
7062
 
7063
+ # The fully qualified name of a class in jar_uris, for example, com.example.
7064
+ # wordcount. Exactly one of main_class and main_jar_uri field should be set for
7065
+ # Java/Scala language type.
7066
+ # Corresponds to the JSON property `mainClass`
7067
+ # @return [String]
7068
+ attr_accessor :main_class
7069
+
7041
7070
  # The main file/jar URI of the Spark application. Exactly one of the
7042
7071
  # definition_body field and the main_file_uri field must be set for Python.
7043
7072
  # Exactly one of main_class and main_file_uri field should be set for Java/Scala
@@ -7076,6 +7105,7 @@ module Google
7076
7105
  @container_image = args[:container_image] if args.key?(:container_image)
7077
7106
  @file_uris = args[:file_uris] if args.key?(:file_uris)
7078
7107
  @jar_uris = args[:jar_uris] if args.key?(:jar_uris)
7108
+ @main_class = args[:main_class] if args.key?(:main_class)
7079
7109
  @main_file_uri = args[:main_file_uri] if args.key?(:main_file_uri)
7080
7110
  @properties = args[:properties] if args.key?(:properties)
7081
7111
  @py_file_uris = args[:py_file_uris] if args.key?(:py_file_uris)
@@ -7144,8 +7174,8 @@ module Google
7144
7174
  # @return [Google::Apis::BigqueryV2::StandardSqlStructType]
7145
7175
  attr_accessor :struct_type
7146
7176
 
7147
- # Required. The top level type of this field. Can be any standard SQL data type (
7148
- # e.g., "INT64", "DATE", "ARRAY").
7177
+ # Required. The top level type of this field. Can be any GoogleSQL data type (e.
7178
+ # g., "INT64", "DATE", "ARRAY").
7149
7179
  # Corresponds to the JSON property `typeKind`
7150
7180
  # @return [String]
7151
7181
  attr_accessor :type_kind
@@ -7310,6 +7340,11 @@ module Google
7310
7340
  # @return [String]
7311
7341
  attr_accessor :default_collation
7312
7342
 
7343
+ # [Output-only] The default rounding mode of the table.
7344
+ # Corresponds to the JSON property `defaultRoundingMode`
7345
+ # @return [String]
7346
+ attr_accessor :default_rounding_mode
7347
+
7313
7348
  # [Optional] A user-friendly description of this table.
7314
7349
  # Corresponds to the JSON property `description`
7315
7350
  # @return [String]
@@ -7543,6 +7578,7 @@ module Google
7543
7578
  @clustering = args[:clustering] if args.key?(:clustering)
7544
7579
  @creation_time = args[:creation_time] if args.key?(:creation_time)
7545
7580
  @default_collation = args[:default_collation] if args.key?(:default_collation)
7581
+ @default_rounding_mode = args[:default_rounding_mode] if args.key?(:default_rounding_mode)
7546
7582
  @description = args[:description] if args.key?(:description)
7547
7583
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
7548
7584
  @etag = args[:etag] if args.key?(:etag)
@@ -7862,6 +7898,12 @@ module Google
7862
7898
  # @return [Fixnum]
7863
7899
  attr_accessor :precision
7864
7900
 
7901
+ # Optional. Rounding Mode specification of the field. It only can be set on
7902
+ # NUMERIC or BIGNUMERIC type fields.
7903
+ # Corresponds to the JSON property `roundingMode`
7904
+ # @return [String]
7905
+ attr_accessor :rounding_mode
7906
+
7865
7907
  # [Optional] See documentation for precision.
7866
7908
  # Corresponds to the JSON property `scale`
7867
7909
  # @return [Fixnum]
@@ -7892,6 +7934,7 @@ module Google
7892
7934
  @name = args[:name] if args.key?(:name)
7893
7935
  @policy_tags = args[:policy_tags] if args.key?(:policy_tags)
7894
7936
  @precision = args[:precision] if args.key?(:precision)
7937
+ @rounding_mode = args[:rounding_mode] if args.key?(:rounding_mode)
7895
7938
  @scale = args[:scale] if args.key?(:scale)
7896
7939
  @type = args[:type] if args.key?(:type)
7897
7940
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BigqueryV2
18
18
  # Version of the google-apis-bigquery_v2 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230128"
25
+ REVISION = "20230311"
26
26
  end
27
27
  end
28
28
  end
@@ -1419,6 +1419,7 @@ module Google
1419
1419
  property :default_encryption_configuration, as: 'defaultEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1420
1420
 
1421
1421
  property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
1422
+ property :default_rounding_mode, as: 'defaultRoundingMode'
1422
1423
  property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
1423
1424
  property :description, as: 'description'
1424
1425
  property :etag, as: 'etag'
@@ -2029,6 +2030,7 @@ module Google
2029
2030
 
2030
2031
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
2031
2032
 
2033
+ property :continuous, as: 'continuous'
2032
2034
  property :create_disposition, as: 'createDisposition'
2033
2035
  property :create_session, as: 'createSession'
2034
2036
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
@@ -2500,6 +2502,7 @@ module Google
2500
2502
  class Representation < Google::Apis::Core::JsonRepresentation
2501
2503
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
2502
2504
 
2505
+ property :continuous, as: 'continuous'
2503
2506
  property :create_session, as: 'createSession'
2504
2507
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2505
2508
 
@@ -2754,6 +2757,7 @@ module Google
2754
2757
  property :container_image, as: 'containerImage'
2755
2758
  collection :file_uris, as: 'fileUris'
2756
2759
  collection :jar_uris, as: 'jarUris'
2760
+ property :main_class, as: 'mainClass'
2757
2761
  property :main_file_uri, as: 'mainFileUri'
2758
2762
  hash :properties, as: 'properties'
2759
2763
  collection :py_file_uris, as: 'pyFileUris'
@@ -2833,6 +2837,7 @@ module Google
2833
2837
 
2834
2838
  property :creation_time, :numeric_string => true, as: 'creationTime'
2835
2839
  property :default_collation, as: 'defaultCollation'
2840
+ property :default_rounding_mode, as: 'defaultRoundingMode'
2836
2841
  property :description, as: 'description'
2837
2842
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
2838
2843
 
@@ -2956,6 +2961,7 @@ module Google
2956
2961
  property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
2957
2962
 
2958
2963
  property :precision, :numeric_string => true, as: 'precision'
2964
+ property :rounding_mode, as: 'roundingMode'
2959
2965
  property :scale, :numeric_string => true, as: 'scale'
2960
2966
  property :type, as: 'type'
2961
2967
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-bigquery_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
63
63
  post_install_message:
64
64
  rdoc_options: []