google-apis-bigquery_v2 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 312cca381f34c0dd7111f0d2a39beba252e46a16183d11a5a920b7494bc16346
4
- data.tar.gz: b46bf05bc32c9d680aa4b3b63134520de5a67cc8a5e9cf9af12034bdf1205e29
3
+ metadata.gz: 1e9a28baf52cf51b8a30c8c4bb1cbd82c5fe1521d5f702a1154140de63bfa73e
4
+ data.tar.gz: 20e18479f59d42e12cb964ff5d1d8c59e057b2082ab4dfc5f9b459c42a1c29b0
5
5
  SHA512:
6
- metadata.gz: 9f542b257d6fe7e887cb4d50b84f86b59cf7db044e0bc93f5624014660260526fe5c8f1827deb7696dc431df193e3b385214dd69d8c52765aba2b39bf473057c
7
- data.tar.gz: 3a09873804043cee5d8bb407a33d5d6a16ca0bd26370f7d6dd707b1e98b3b55390f9f7631b2f5d6361a9f03b7fb74edc0ac863d0ee49ff70d412229c6dbb2824
6
+ metadata.gz: '059f14c38c8481b91befbe31fae1ac8d147113f7b9128b9cda8c12db3526c1e002caa4a6e341b646b3e8300139db8438e0b36c40a1822a7e103ffadf3d451a29'
7
+ data.tar.gz: 4b66a49b7f4e067965ae35f7f242d800096f6e7e6ce46639ba1836d3cc5bbfc7bc3580f744988993d8b727477bf42df91cce9b63d86fb5a9da404eeb5cdb2693
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.3.0 (2021-02-13)
4
+
5
+ * Regenerated from discovery document revision 20210204
6
+
3
7
  ### v0.2.0 (2021-01-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20210118
@@ -1483,6 +1483,15 @@ module Google
1483
1483
  class Access
1484
1484
  include Google::Apis::Core::Hashable
1485
1485
 
1486
+ # [Pick one] A grant authorizing all resources of a particular type in a
1487
+ # particular dataset access to this dataset. Only views are supported for now.
1488
+ # The role field is not required when this field is set. If that dataset is
1489
+ # deleted and re-created, its access needs to be granted again via an update
1490
+ # operation.
1491
+ # Corresponds to the JSON property `dataset`
1492
+ # @return [Google::Apis::BigqueryV2::DatasetAccessEntry]
1493
+ attr_accessor :dataset
1494
+
1486
1495
  # [Pick one] A domain to grant access to. Any users signed in with the domain
1487
1496
  # specified will be granted the specified access. Example: "example.com". Maps
1488
1497
  # to IAM policy member "domain:DOMAIN".
@@ -1551,6 +1560,7 @@ module Google
1551
1560
 
1552
1561
  # Update properties of this object
1553
1562
  def update!(**args)
1563
+ @dataset = args[:dataset] if args.key?(:dataset)
1554
1564
  @domain = args[:domain] if args.key?(:domain)
1555
1565
  @group_by_email = args[:group_by_email] if args.key?(:group_by_email)
1556
1566
  @iam_member = args[:iam_member] if args.key?(:iam_member)
@@ -1563,6 +1573,52 @@ module Google
1563
1573
  end
1564
1574
  end
1565
1575
 
1576
+ #
1577
+ class DatasetAccessEntry
1578
+ include Google::Apis::Core::Hashable
1579
+
1580
+ # [Required] The dataset this entry applies to.
1581
+ # Corresponds to the JSON property `dataset`
1582
+ # @return [Google::Apis::BigqueryV2::DatasetReference]
1583
+ attr_accessor :dataset
1584
+
1585
+ #
1586
+ # Corresponds to the JSON property `target_types`
1587
+ # @return [Array<Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType>]
1588
+ attr_accessor :target_types
1589
+
1590
+ def initialize(**args)
1591
+ update!(**args)
1592
+ end
1593
+
1594
+ # Update properties of this object
1595
+ def update!(**args)
1596
+ @dataset = args[:dataset] if args.key?(:dataset)
1597
+ @target_types = args[:target_types] if args.key?(:target_types)
1598
+ end
1599
+
1600
+ #
1601
+ class TargetType
1602
+ include Google::Apis::Core::Hashable
1603
+
1604
+ # [Required] Which resources in the dataset this entry applies to. Currently,
1605
+ # only views are supported, but additional target types may be added in the
1606
+ # future. Possible values: VIEWS: This entry applies to all views in the dataset.
1607
+ # Corresponds to the JSON property `targetType`
1608
+ # @return [String]
1609
+ attr_accessor :target_type
1610
+
1611
+ def initialize(**args)
1612
+ update!(**args)
1613
+ end
1614
+
1615
+ # Update properties of this object
1616
+ def update!(**args)
1617
+ @target_type = args[:target_type] if args.key?(:target_type)
1618
+ end
1619
+ end
1620
+ end
1621
+
1566
1622
  #
1567
1623
  class DatasetList
1568
1624
  include Google::Apis::Core::Hashable
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210118"
25
+ REVISION = "20210204"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class DatasetAccessEntry
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ class TargetType
227
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
230
+ end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class DatasetList
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -1200,6 +1212,8 @@ module Google
1200
1212
  class Access
1201
1213
  # @private
1202
1214
  class Representation < Google::Apis::Core::JsonRepresentation
1215
+ property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetAccessEntry, decorator: Google::Apis::BigqueryV2::DatasetAccessEntry::Representation
1216
+
1203
1217
  property :domain, as: 'domain'
1204
1218
  property :group_by_email, as: 'groupByEmail'
1205
1219
  property :iam_member, as: 'iamMember'
@@ -1214,6 +1228,23 @@ module Google
1214
1228
  end
1215
1229
  end
1216
1230
 
1231
+ class DatasetAccessEntry
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1235
+
1236
+ collection :target_types, as: 'target_types', class: Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType, decorator: Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType::Representation
1237
+
1238
+ end
1239
+
1240
+ class TargetType
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ property :target_type, as: 'targetType'
1244
+ end
1245
+ end
1246
+ end
1247
+
1217
1248
  class DatasetList
1218
1249
  # @private
1219
1250
  class Representation < Google::Apis::Core::JsonRepresentation
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.2.0
4
+ version: 0.3.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
57
57
  post_install_message:
58
58
  rdoc_options: []