google-apis-bigquery_v2 0.30.0 → 0.31.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: 5d9b8db9f3803d68454f1806ea3844ff42c8178d70d061318b601b77e38bb4fc
4
- data.tar.gz: 5ad198380a0b2872e693aa7165fc65ad52fd946dc90d549787087769ee27f92b
3
+ metadata.gz: 261de305ed98a813d23fad14218287d8cac71618a4f58bbcba65063e86a0cbcd
4
+ data.tar.gz: c5a4a962fc8c9e9cc7c4c6cc9229ebff5d681a3e8706625be4cb79597c707f29
5
5
  SHA512:
6
- metadata.gz: 4f2e869bbc305e812910983daa5087fb4fbfbb659dd825b7d51688bb8952625ecaa058f5d3db9d9362366e71ad3c7aa817fcaa1dc1eddf6b7444fff3315c3780
7
- data.tar.gz: 0d9ee786214c2f0a0623ee369f04e7cf576df51d9c217ac51e948ef54c7fda5ce54e05ed99a5f5154e277edb92117d249a6b8f06bc46fce134dd7ed93881e049
6
+ metadata.gz: 7639dc6a0616cef0356109742ddf2a79bcbec78c192846f9d79f821faaef86a56a06c2191ffb29dc41ba568c5ba4c7b7d6a5d03f25afd137a848c22ee979b070
7
+ data.tar.gz: 486b1df6a68d9c492116a71c9737aca3f680462f21b648282b9611a60c7a22aeeef89738dde1a882d81d4656b4f66291d5c62c8f2aca8580ceaecacba8a31f04
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.31.0 (2022-04-30)
4
+
5
+ * Regenerated from discovery document revision 20220422
6
+
3
7
  ### v0.30.0 (2022-04-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20220326
@@ -947,7 +947,7 @@ module Google
947
947
  # @return [Google::Apis::BigqueryV2::Expr]
948
948
  attr_accessor :condition
949
949
 
950
- # Specifies the principals requesting access for a Cloud Platform resource. `
950
+ # Specifies the principals requesting access for a Google Cloud resource. `
951
951
  # members` can have the following values: * `allUsers`: A special identifier
952
952
  # that represents anyone who is on the internet; with or without a Google
953
953
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -1644,7 +1644,7 @@ module Google
1644
1644
  attr_accessor :max_time_travel_hours
1645
1645
 
1646
1646
  # [Output-only] Reserved for future use.
1647
- # Corresponds to the JSON property `satisfiesPZS`
1647
+ # Corresponds to the JSON property `satisfiesPzs`
1648
1648
  # @return [Boolean]
1649
1649
  attr_accessor :satisfies_pzs
1650
1650
  alias_method :satisfies_pzs?, :satisfies_pzs
@@ -5054,6 +5054,13 @@ module Google
5054
5054
  # @return [Fixnum]
5055
5055
  attr_accessor :last_refresh_time
5056
5056
 
5057
+ # [Optional] Max staleness of data that could be returned when materizlized view
5058
+ # is queried (formatted as Google SQL Interval type).
5059
+ # Corresponds to the JSON property `maxStaleness`
5060
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5061
+ # @return [String]
5062
+ attr_accessor :max_staleness
5063
+
5057
5064
  # [Required] A query whose result is persisted.
5058
5065
  # Corresponds to the JSON property `query`
5059
5066
  # @return [String]
@@ -5073,6 +5080,7 @@ module Google
5073
5080
  def update!(**args)
5074
5081
  @enable_refresh = args[:enable_refresh] if args.key?(:enable_refresh)
5075
5082
  @last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
5083
+ @max_staleness = args[:max_staleness] if args.key?(:max_staleness)
5076
5084
  @query = args[:query] if args.key?(:query)
5077
5085
  @refresh_interval_ms = args[:refresh_interval_ms] if args.key?(:refresh_interval_ms)
5078
5086
  end
@@ -6245,6 +6253,50 @@ module Google
6245
6253
  end
6246
6254
  end
6247
6255
 
6256
+ # Options for a remote user-defined function.
6257
+ class RemoteFunctionOptions
6258
+ include Google::Apis::Core::Hashable
6259
+
6260
+ # Fully qualified name of the user-provided connection object which holds the
6261
+ # authentication information to send requests to the remote service. projects/`
6262
+ # project_id`/locations/`location_id`/connections/`connection_id`
6263
+ # Corresponds to the JSON property `connection`
6264
+ # @return [String]
6265
+ attr_accessor :connection
6266
+
6267
+ # Endpoint of the user-provided remote service (e.g. a function url in Google
6268
+ # Cloud Functions).
6269
+ # Corresponds to the JSON property `endpoint`
6270
+ # @return [String]
6271
+ attr_accessor :endpoint
6272
+
6273
+ # Max number of rows in each batch sent to the remote service. If absent or if 0,
6274
+ # it means no limit.
6275
+ # Corresponds to the JSON property `maxBatchingRows`
6276
+ # @return [Fixnum]
6277
+ attr_accessor :max_batching_rows
6278
+
6279
+ # User-defined context as a set of key/value pairs, which will be sent as
6280
+ # function invocation context together with batched arguments in the requests to
6281
+ # the remote service. The total number of bytes of keys and values must be less
6282
+ # than 8KB.
6283
+ # Corresponds to the JSON property `userDefinedContext`
6284
+ # @return [Hash<String,String>]
6285
+ attr_accessor :user_defined_context
6286
+
6287
+ def initialize(**args)
6288
+ update!(**args)
6289
+ end
6290
+
6291
+ # Update properties of this object
6292
+ def update!(**args)
6293
+ @connection = args[:connection] if args.key?(:connection)
6294
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
6295
+ @max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
6296
+ @user_defined_context = args[:user_defined_context] if args.key?(:user_defined_context)
6297
+ end
6298
+ end
6299
+
6248
6300
  # A user-defined function or a stored procedure.
6249
6301
  class Routine
6250
6302
  include Google::Apis::Core::Hashable
@@ -6306,6 +6358,11 @@ module Google
6306
6358
  # @return [Fixnum]
6307
6359
  attr_accessor :last_modified_time
6308
6360
 
6361
+ # Options for a remote user-defined function.
6362
+ # Corresponds to the JSON property `remoteFunctionOptions`
6363
+ # @return [Google::Apis::BigqueryV2::RemoteFunctionOptions]
6364
+ attr_accessor :remote_function_options
6365
+
6309
6366
  # A table type
6310
6367
  # Corresponds to the JSON property `returnTableType`
6311
6368
  # @return [Google::Apis::BigqueryV2::StandardSqlTableType]
@@ -6356,6 +6413,7 @@ module Google
6356
6413
  @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
6357
6414
  @language = args[:language] if args.key?(:language)
6358
6415
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
6416
+ @remote_function_options = args[:remote_function_options] if args.key?(:remote_function_options)
6359
6417
  @return_table_type = args[:return_table_type] if args.key?(:return_table_type)
6360
6418
  @return_type = args[:return_type] if args.key?(:return_type)
6361
6419
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
@@ -7364,9 +7422,21 @@ module Google
7364
7422
 
7365
7423
  # Optional. Collation specification of the field. It only can be set on string
7366
7424
  # type field.
7367
- # Corresponds to the JSON property `collationSpec`
7425
+ # Corresponds to the JSON property `collation`
7426
+ # @return [String]
7427
+ attr_accessor :collation
7428
+
7429
+ # Optional. A SQL expression to specify the default value for this field. It can
7430
+ # only be set for top level fields (columns). You can use struct or array
7431
+ # expression to specify default value for the entire struct or array. The valid
7432
+ # SQL expressions are: - Literals for all data types, including STRUCT and ARRAY.
7433
+ # - Following functions: - CURRENT_TIMESTAMP - CURRENT_TIME - CURRENT_DATE -
7434
+ # CURRENT_DATETIME - GENERATE_UUID - RAND - SESSION_USER - ST_GEOGPOINT - Struct
7435
+ # or array composed with the above allowed functions, for example, [CURRENT_DATE(
7436
+ # ), DATE '2020-01-01']
7437
+ # Corresponds to the JSON property `defaultValueExpression`
7368
7438
  # @return [String]
7369
- attr_accessor :collation_spec
7439
+ attr_accessor :default_value_expression
7370
7440
 
7371
7441
  # [Optional] The field description. The maximum length is 1,024 characters.
7372
7442
  # Corresponds to the JSON property `description`
@@ -7448,7 +7518,8 @@ module Google
7448
7518
  # Update properties of this object
7449
7519
  def update!(**args)
7450
7520
  @categories = args[:categories] if args.key?(:categories)
7451
- @collation_spec = args[:collation_spec] if args.key?(:collation_spec)
7521
+ @collation = args[:collation] if args.key?(:collation)
7522
+ @default_value_expression = args[:default_value_expression] if args.key?(:default_value_expression)
7452
7523
  @description = args[:description] if args.key?(:description)
7453
7524
  @fields = args[:fields] if args.key?(:fields)
7454
7525
  @max_length = args[:max_length] if args.key?(:max_length)
@@ -7728,7 +7799,7 @@ module Google
7728
7799
  include Google::Apis::Core::Hashable
7729
7800
 
7730
7801
  # The set of permissions to check for the `resource`. Permissions with wildcards
7731
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
7802
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
7732
7803
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
7733
7804
  # Corresponds to the JSON property `permissions`
7734
7805
  # @return [Array<String>]
@@ -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.30.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220326"
25
+ REVISION = "20220422"
26
26
  end
27
27
  end
28
28
  end
@@ -736,6 +736,12 @@ module Google
736
736
  include Google::Apis::Core::JsonObjectSupport
737
737
  end
738
738
 
739
+ class RemoteFunctionOptions
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
739
745
  class Routine
740
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
747
 
@@ -1379,7 +1385,7 @@ module Google
1379
1385
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1380
1386
  property :location, as: 'location'
1381
1387
  property :max_time_travel_hours, :numeric_string => true, as: 'maxTimeTravelHours'
1382
- property :satisfies_pzs, as: 'satisfiesPZS'
1388
+ property :satisfies_pzs, as: 'satisfiesPzs'
1383
1389
  property :self_link, as: 'selfLink'
1384
1390
  collection :tags, as: 'tags', class: Google::Apis::BigqueryV2::Dataset::Tag, decorator: Google::Apis::BigqueryV2::Dataset::Tag::Representation
1385
1391
 
@@ -2228,6 +2234,7 @@ module Google
2228
2234
  class Representation < Google::Apis::Core::JsonRepresentation
2229
2235
  property :enable_refresh, as: 'enableRefresh'
2230
2236
  property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
2237
+ property :max_staleness, :base64 => true, as: 'maxStaleness'
2231
2238
  property :query, as: 'query'
2232
2239
  property :refresh_interval_ms, :numeric_string => true, as: 'refreshIntervalMs'
2233
2240
  end
@@ -2517,6 +2524,16 @@ module Google
2517
2524
  end
2518
2525
  end
2519
2526
 
2527
+ class RemoteFunctionOptions
2528
+ # @private
2529
+ class Representation < Google::Apis::Core::JsonRepresentation
2530
+ property :connection, as: 'connection'
2531
+ property :endpoint, as: 'endpoint'
2532
+ property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
2533
+ hash :user_defined_context, as: 'userDefinedContext'
2534
+ end
2535
+ end
2536
+
2520
2537
  class Routine
2521
2538
  # @private
2522
2539
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2530,6 +2547,8 @@ module Google
2530
2547
  collection :imported_libraries, as: 'importedLibraries'
2531
2548
  property :language, as: 'language'
2532
2549
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
2550
+ property :remote_function_options, as: 'remoteFunctionOptions', class: Google::Apis::BigqueryV2::RemoteFunctionOptions, decorator: Google::Apis::BigqueryV2::RemoteFunctionOptions::Representation
2551
+
2533
2552
  property :return_table_type, as: 'returnTableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
2534
2553
 
2535
2554
  property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
@@ -2807,7 +2826,8 @@ module Google
2807
2826
  class Representation < Google::Apis::Core::JsonRepresentation
2808
2827
  property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
2809
2828
 
2810
- property :collation_spec, as: 'collationSpec'
2829
+ property :collation, as: 'collation'
2830
+ property :default_value_expression, as: 'defaultValueExpression'
2811
2831
  property :description, as: 'description'
2812
2832
  collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2813
2833
 
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.30.0
4
+ version: 0.31.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: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-05-02 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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.31.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: []