google-apis-datafusion_v1beta1 0.8.0 → 0.9.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: c3b70eb8bfd000cd62a3e5a4b1f5ca0808660819d864b3429039d6a68c873e92
4
- data.tar.gz: 6a9729566a75fa76fd529a99050344443ad6757823931642255a0a5c4c8e9ac2
3
+ metadata.gz: d04b573023a306fa841dd9512670b0fd7920ca5fbab249c5dd1092285a2a7b06
4
+ data.tar.gz: c6d02da3aef7c0025a7d3e587095027f883ebae6e74f0e7ee430ded45d11c375
5
5
  SHA512:
6
- metadata.gz: a5deeb307e1fdbdd40f0bee4c20fe72baf79e4ae853c5bc00b2e21b31091ce3e228769030b479eb099e5a7f2344e099eb8d1f6e70a11908a668e1627676410e7
7
- data.tar.gz: b8e73e7ff496ab9da20577369d1807bb8a79144f3dc65a1d8e59b4fdf748c87f6c57680e136ce03f6265a237aea3b6e431de3a4d86d870c41f31ed893f8453aa
6
+ metadata.gz: ed5b37a9ca558b5cf3b463e9eea29cd325f80a6a7b2a5aeb8d8d92652893a9603aecb1193ff07e9d0c4453b5f01120da5439fd7507053426df8cb20da4ec86e7
7
+ data.tar.gz: b89c5cd8591c4ca50f077db6825e5e06ed9c05c6f8cfbe045466055b5a08ff1d784a17d76672d53f1f5aea0aebad8adc52ffc6e36ec8e56c47595d23f1995cd5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-datafusion_v1beta1
2
2
 
3
+ ### v0.9.0 (2021-07-01)
4
+
5
+ * Regenerated from discovery document revision 20210628
6
+ * Regenerated using generator version 0.4.0
7
+
3
8
  ### v0.8.0 (2021-06-24)
4
9
 
5
10
  * Regenerated using generator version 0.3.0
@@ -41,6 +41,39 @@ module Google
41
41
  end
42
42
  end
43
43
 
44
+ # Request message to create dns peering.
45
+ class AddDnsPeeringRequest
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # DNS peering configuration. These configurations are used to create DNS peering
49
+ # with the customer Cloud DNS.
50
+ # Corresponds to the JSON property `dnsPeering`
51
+ # @return [Google::Apis::DatafusionV1beta1::DnsPeering]
52
+ attr_accessor :dns_peering
53
+
54
+ def initialize(**args)
55
+ update!(**args)
56
+ end
57
+
58
+ # Update properties of this object
59
+ def update!(**args)
60
+ @dns_peering = args[:dns_peering] if args.key?(:dns_peering)
61
+ end
62
+ end
63
+
64
+ # Response message for set dns peering method.
65
+ class AddDnsPeeringResponse
66
+ include Google::Apis::Core::Hashable
67
+
68
+ def initialize(**args)
69
+ update!(**args)
70
+ end
71
+
72
+ # Update properties of this object
73
+ def update!(**args)
74
+ end
75
+ end
76
+
44
77
  # Specifies the audit configuration for a service. The configuration determines
45
78
  # which permission types are logged, and what identities, if any, are exempted
46
79
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -196,6 +229,72 @@ module Google
196
229
  end
197
230
  end
198
231
 
232
+ # The crypto key configuration. This field is used by the Customer-managed
233
+ # encryption keys (CMEK) feature.
234
+ class CryptoKeyConfig
235
+ include Google::Apis::Core::Hashable
236
+
237
+ # The name of the key which is used to encrypt/decrypt customer data. For key in
238
+ # Cloud KMS, the key should be in the format of `projects/*/locations/*/keyRings/
239
+ # */cryptoKeys/*`.
240
+ # Corresponds to the JSON property `keyReference`
241
+ # @return [String]
242
+ attr_accessor :key_reference
243
+
244
+ def initialize(**args)
245
+ update!(**args)
246
+ end
247
+
248
+ # Update properties of this object
249
+ def update!(**args)
250
+ @key_reference = args[:key_reference] if args.key?(:key_reference)
251
+ end
252
+ end
253
+
254
+ # DNS peering configuration. These configurations are used to create DNS peering
255
+ # with the customer Cloud DNS.
256
+ class DnsPeering
257
+ include Google::Apis::Core::Hashable
258
+
259
+ # Optional. Optional description of the dns zone.
260
+ # Corresponds to the JSON property `description`
261
+ # @return [String]
262
+ attr_accessor :description
263
+
264
+ # Required. Name of the dns.
265
+ # Corresponds to the JSON property `domain`
266
+ # @return [String]
267
+ attr_accessor :domain
268
+
269
+ # Optional. Optional target network to which dns peering should happen.
270
+ # Corresponds to the JSON property `targetNetwork`
271
+ # @return [String]
272
+ attr_accessor :target_network
273
+
274
+ # Optional. Optional target project to which dns peering should happen.
275
+ # Corresponds to the JSON property `targetProject`
276
+ # @return [String]
277
+ attr_accessor :target_project
278
+
279
+ # Required. Name of the zone.
280
+ # Corresponds to the JSON property `zone`
281
+ # @return [String]
282
+ attr_accessor :zone
283
+
284
+ def initialize(**args)
285
+ update!(**args)
286
+ end
287
+
288
+ # Update properties of this object
289
+ def update!(**args)
290
+ @description = args[:description] if args.key?(:description)
291
+ @domain = args[:domain] if args.key?(:domain)
292
+ @target_network = args[:target_network] if args.key?(:target_network)
293
+ @target_project = args[:target_project] if args.key?(:target_project)
294
+ @zone = args[:zone] if args.key?(:zone)
295
+ end
296
+ end
297
+
199
298
  # A generic empty message that you can re-use to avoid defining duplicated empty
200
299
  # messages in your APIs. A typical example is to use it as the request or the
201
300
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -267,6 +366,63 @@ module Google
267
366
  end
268
367
  end
269
368
 
369
+ # IAMPolicy encapsulates the IAM policy name, definition and status of policy
370
+ # fetching.
371
+ class IamPolicy
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # An Identity and Access Management (IAM) policy, which specifies access
375
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
376
+ # A `binding` binds one or more `members` to a single `role`. Members can be
377
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
378
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
379
+ # role or a user-created custom role. For some types of Google Cloud resources,
380
+ # a `binding` can also specify a `condition`, which is a logical expression that
381
+ # allows access to a resource only if the expression evaluates to `true`. A
382
+ # condition can add constraints based on attributes of the request, the resource,
383
+ # or both. To learn which resources support conditions in their IAM policies,
384
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
385
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
386
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
387
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
388
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
389
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
390
+ # title": "expirable access", "description": "Does not grant access after Sep
391
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
392
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
393
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
394
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
395
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
396
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
397
+ # description: Does not grant access after Sep 2020 expression: request.time <
398
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
399
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
400
+ # google.com/iam/docs/).
401
+ # Corresponds to the JSON property `policy`
402
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
403
+ attr_accessor :policy
404
+
405
+ # The `Status` type defines a logical error model that is suitable for different
406
+ # programming environments, including REST APIs and RPC APIs. It is used by [
407
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
408
+ # data: error code, error message, and error details. You can find out more
409
+ # about this error model and how to work with it in the [API Design Guide](https:
410
+ # //cloud.google.com/apis/design/errors).
411
+ # Corresponds to the JSON property `status`
412
+ # @return [Google::Apis::DatafusionV1beta1::Status]
413
+ attr_accessor :status
414
+
415
+ def initialize(**args)
416
+ update!(**args)
417
+ end
418
+
419
+ # Update properties of this object
420
+ def update!(**args)
421
+ @policy = args[:policy] if args.key?(:policy)
422
+ @status = args[:status] if args.key?(:status)
423
+ end
424
+ end
425
+
270
426
  # Represents a Data Fusion instance.
271
427
  class Instance
272
428
  include Google::Apis::Core::Hashable
@@ -292,6 +448,12 @@ module Google
292
448
  # @return [String]
293
449
  attr_accessor :create_time
294
450
 
451
+ # The crypto key configuration. This field is used by the Customer-managed
452
+ # encryption keys (CMEK) feature.
453
+ # Corresponds to the JSON property `cryptoKeyConfig`
454
+ # @return [Google::Apis::DatafusionV1beta1::CryptoKeyConfig]
455
+ attr_accessor :crypto_key_config
456
+
295
457
  # User-managed service account to set on Dataproc when Cloud Data Fusion creates
296
458
  # Dataproc to run data processing pipelines. This allows users to have fine-
297
459
  # grained access control on Dataproc's accesses to cloud resources.
@@ -433,6 +595,7 @@ module Google
433
595
  @api_endpoint = args[:api_endpoint] if args.key?(:api_endpoint)
434
596
  @available_version = args[:available_version] if args.key?(:available_version)
435
597
  @create_time = args[:create_time] if args.key?(:create_time)
598
+ @crypto_key_config = args[:crypto_key_config] if args.key?(:crypto_key_config)
436
599
  @dataproc_service_account = args[:dataproc_service_account] if args.key?(:dataproc_service_account)
437
600
  @description = args[:description] if args.key?(:description)
438
601
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -484,6 +647,32 @@ module Google
484
647
  end
485
648
  end
486
649
 
650
+ # List dns peering response.
651
+ class ListDnsPeeringsResponse
652
+ include Google::Apis::Core::Hashable
653
+
654
+ # List of dns peering configs.
655
+ # Corresponds to the JSON property `dnsPeerings`
656
+ # @return [Array<Google::Apis::DatafusionV1beta1::DnsPeering>]
657
+ attr_accessor :dns_peerings
658
+
659
+ # Token to retrieve the next page of results or empty if there are no more
660
+ # results in the list.
661
+ # Corresponds to the JSON property `nextPageToken`
662
+ # @return [String]
663
+ attr_accessor :next_page_token
664
+
665
+ def initialize(**args)
666
+ update!(**args)
667
+ end
668
+
669
+ # Update properties of this object
670
+ def update!(**args)
671
+ @dns_peerings = args[:dns_peerings] if args.key?(:dns_peerings)
672
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
673
+ end
674
+ end
675
+
487
676
  # Response message for the list instance request.
488
677
  class ListInstancesResponse
489
678
  include Google::Apis::Core::Hashable
@@ -541,6 +730,32 @@ module Google
541
730
  end
542
731
  end
543
732
 
733
+ # List namespaces response.
734
+ class ListNamespacesResponse
735
+ include Google::Apis::Core::Hashable
736
+
737
+ # List of namespaces
738
+ # Corresponds to the JSON property `namespaces`
739
+ # @return [Array<Google::Apis::DatafusionV1beta1::Namespace>]
740
+ attr_accessor :namespaces
741
+
742
+ # Token to retrieve the next page of results or empty if there are no more
743
+ # results in the list.
744
+ # Corresponds to the JSON property `nextPageToken`
745
+ # @return [String]
746
+ attr_accessor :next_page_token
747
+
748
+ def initialize(**args)
749
+ update!(**args)
750
+ end
751
+
752
+ # Update properties of this object
753
+ def update!(**args)
754
+ @namespaces = args[:namespaces] if args.key?(:namespaces)
755
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
756
+ end
757
+ end
758
+
544
759
  # The response message for Operations.ListOperations.
545
760
  class ListOperationsResponse
546
761
  include Google::Apis::Core::Hashable
@@ -613,6 +828,32 @@ module Google
613
828
  end
614
829
  end
615
830
 
831
+ # Represents the information of a namespace
832
+ class Namespace
833
+ include Google::Apis::Core::Hashable
834
+
835
+ # IAMPolicy encapsulates the IAM policy name, definition and status of policy
836
+ # fetching.
837
+ # Corresponds to the JSON property `iamPolicy`
838
+ # @return [Google::Apis::DatafusionV1beta1::IamPolicy]
839
+ attr_accessor :iam_policy
840
+
841
+ # Name of the given namespace.
842
+ # Corresponds to the JSON property `name`
843
+ # @return [String]
844
+ attr_accessor :name
845
+
846
+ def initialize(**args)
847
+ update!(**args)
848
+ end
849
+
850
+ # Update properties of this object
851
+ def update!(**args)
852
+ @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
853
+ @name = args[:name] if args.key?(:name)
854
+ end
855
+ end
856
+
616
857
  # Network configuration for a Data Fusion instance. These configurations are
617
858
  # used for peering with the customer network. Configurations are optional when a
618
859
  # public Data Fusion instance is to be created. However, providing these
@@ -858,6 +1099,38 @@ module Google
858
1099
  end
859
1100
  end
860
1101
 
1102
+ # Request message to remove dns peering.
1103
+ class RemoveDnsPeeringRequest
1104
+ include Google::Apis::Core::Hashable
1105
+
1106
+ # Required. The zone to be removed.
1107
+ # Corresponds to the JSON property `zone`
1108
+ # @return [String]
1109
+ attr_accessor :zone
1110
+
1111
+ def initialize(**args)
1112
+ update!(**args)
1113
+ end
1114
+
1115
+ # Update properties of this object
1116
+ def update!(**args)
1117
+ @zone = args[:zone] if args.key?(:zone)
1118
+ end
1119
+ end
1120
+
1121
+ # Response message for set dns peering method.
1122
+ class RemoveDnsPeeringResponse
1123
+ include Google::Apis::Core::Hashable
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ end
1132
+ end
1133
+
861
1134
  # Request message for RemoveIamPolicy method.
862
1135
  class RemoveIamPolicyRequest
863
1136
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatafusionV1beta1
18
18
  # Version of the google-apis-datafusion_v1beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
25
+ REVISION = "20210628"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,18 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AddDnsPeeringRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AddDnsPeeringResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
31
43
  class AuditConfig
32
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
45
 
@@ -52,6 +64,18 @@ module Google
52
64
  include Google::Apis::Core::JsonObjectSupport
53
65
  end
54
66
 
67
+ class CryptoKeyConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DnsPeering
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
55
79
  class Empty
56
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
81
 
@@ -64,6 +88,12 @@ module Google
64
88
  include Google::Apis::Core::JsonObjectSupport
65
89
  end
66
90
 
91
+ class IamPolicy
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
67
97
  class Instance
68
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
99
 
@@ -76,6 +106,12 @@ module Google
76
106
  include Google::Apis::Core::JsonObjectSupport
77
107
  end
78
108
 
109
+ class ListDnsPeeringsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class ListInstancesResponse
80
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
117
 
@@ -88,6 +124,12 @@ module Google
88
124
  include Google::Apis::Core::JsonObjectSupport
89
125
  end
90
126
 
127
+ class ListNamespacesResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
91
133
  class ListOperationsResponse
92
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
135
 
@@ -100,6 +142,12 @@ module Google
100
142
  include Google::Apis::Core::JsonObjectSupport
101
143
  end
102
144
 
145
+ class Namespace
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
103
151
  class NetworkConfig
104
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
153
 
@@ -124,6 +172,18 @@ module Google
124
172
  include Google::Apis::Core::JsonObjectSupport
125
173
  end
126
174
 
175
+ class RemoveDnsPeeringRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class RemoveDnsPeeringResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
127
187
  class RemoveIamPolicyRequest
128
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
189
 
@@ -185,6 +245,20 @@ module Google
185
245
  end
186
246
  end
187
247
 
248
+ class AddDnsPeeringRequest
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :dns_peering, as: 'dnsPeering', class: Google::Apis::DatafusionV1beta1::DnsPeering, decorator: Google::Apis::DatafusionV1beta1::DnsPeering::Representation
252
+
253
+ end
254
+ end
255
+
256
+ class AddDnsPeeringResponse
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ end
260
+ end
261
+
188
262
  class AuditConfig
189
263
  # @private
190
264
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -218,6 +292,24 @@ module Google
218
292
  end
219
293
  end
220
294
 
295
+ class CryptoKeyConfig
296
+ # @private
297
+ class Representation < Google::Apis::Core::JsonRepresentation
298
+ property :key_reference, as: 'keyReference'
299
+ end
300
+ end
301
+
302
+ class DnsPeering
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :description, as: 'description'
306
+ property :domain, as: 'domain'
307
+ property :target_network, as: 'targetNetwork'
308
+ property :target_project, as: 'targetProject'
309
+ property :zone, as: 'zone'
310
+ end
311
+ end
312
+
221
313
  class Empty
222
314
  # @private
223
315
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -234,6 +326,16 @@ module Google
234
326
  end
235
327
  end
236
328
 
329
+ class IamPolicy
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :policy, as: 'policy', class: Google::Apis::DatafusionV1beta1::Policy, decorator: Google::Apis::DatafusionV1beta1::Policy::Representation
333
+
334
+ property :status, as: 'status', class: Google::Apis::DatafusionV1beta1::Status, decorator: Google::Apis::DatafusionV1beta1::Status::Representation
335
+
336
+ end
337
+ end
338
+
237
339
  class Instance
238
340
  # @private
239
341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -243,6 +345,8 @@ module Google
243
345
  collection :available_version, as: 'availableVersion', class: Google::Apis::DatafusionV1beta1::Version, decorator: Google::Apis::DatafusionV1beta1::Version::Representation
244
346
 
245
347
  property :create_time, as: 'createTime'
348
+ property :crypto_key_config, as: 'cryptoKeyConfig', class: Google::Apis::DatafusionV1beta1::CryptoKeyConfig, decorator: Google::Apis::DatafusionV1beta1::CryptoKeyConfig::Representation
349
+
246
350
  property :dataproc_service_account, as: 'dataprocServiceAccount'
247
351
  property :description, as: 'description'
248
352
  property :display_name, as: 'displayName'
@@ -278,6 +382,15 @@ module Google
278
382
  end
279
383
  end
280
384
 
385
+ class ListDnsPeeringsResponse
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ collection :dns_peerings, as: 'dnsPeerings', class: Google::Apis::DatafusionV1beta1::DnsPeering, decorator: Google::Apis::DatafusionV1beta1::DnsPeering::Representation
389
+
390
+ property :next_page_token, as: 'nextPageToken'
391
+ end
392
+ end
393
+
281
394
  class ListInstancesResponse
282
395
  # @private
283
396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -297,6 +410,15 @@ module Google
297
410
  end
298
411
  end
299
412
 
413
+ class ListNamespacesResponse
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ collection :namespaces, as: 'namespaces', class: Google::Apis::DatafusionV1beta1::Namespace, decorator: Google::Apis::DatafusionV1beta1::Namespace::Representation
417
+
418
+ property :next_page_token, as: 'nextPageToken'
419
+ end
420
+ end
421
+
300
422
  class ListOperationsResponse
301
423
  # @private
302
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -317,6 +439,15 @@ module Google
317
439
  end
318
440
  end
319
441
 
442
+ class Namespace
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :iam_policy, as: 'iamPolicy', class: Google::Apis::DatafusionV1beta1::IamPolicy, decorator: Google::Apis::DatafusionV1beta1::IamPolicy::Representation
446
+
447
+ property :name, as: 'name'
448
+ end
449
+ end
450
+
320
451
  class NetworkConfig
321
452
  # @private
322
453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -362,6 +493,19 @@ module Google
362
493
  end
363
494
  end
364
495
 
496
+ class RemoveDnsPeeringRequest
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :zone, as: 'zone'
500
+ end
501
+ end
502
+
503
+ class RemoveDnsPeeringResponse
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ end
507
+ end
508
+
365
509
  class RemoveIamPolicyRequest
366
510
  # @private
367
511
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -95,7 +95,7 @@ module Google
95
95
  # @param [Boolean] include_unrevealed_locations
96
96
  # If true, the returned list will include locations which are not yet revealed.
97
97
  # @param [Fixnum] page_size
98
- # The maximum number of results to return. If not set, the service will select a
98
+ # The maximum number of results to return. If not set, the service selects a
99
99
  # default.
100
100
  # @param [String] page_token
101
101
  # A page token received from the `next_page_token` field in the response. Send
@@ -536,6 +536,109 @@ module Google
536
536
  execute_or_queue_command(command, &block)
537
537
  end
538
538
 
539
+ # Add DNS peering on the given resource.
540
+ # @param [String] parent
541
+ # The resource on which DNS peering will be created.
542
+ # @param [Google::Apis::DatafusionV1beta1::AddDnsPeeringRequest] add_dns_peering_request_object
543
+ # @param [String] fields
544
+ # Selector specifying which fields to include in a partial response.
545
+ # @param [String] quota_user
546
+ # Available to use for quota purposes for server-side applications. Can be any
547
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
548
+ # @param [Google::Apis::RequestOptions] options
549
+ # Request-specific options
550
+ #
551
+ # @yield [result, err] Result & error if block supplied
552
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse] parsed result object
553
+ # @yieldparam err [StandardError] error object if request failed
554
+ #
555
+ # @return [Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse]
556
+ #
557
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
560
+ def add_dns_peering(parent, add_dns_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
561
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dnsPeerings:add', options)
562
+ command.request_representation = Google::Apis::DatafusionV1beta1::AddDnsPeeringRequest::Representation
563
+ command.request_object = add_dns_peering_request_object
564
+ command.response_representation = Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse::Representation
565
+ command.response_class = Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse
566
+ command.params['parent'] = parent unless parent.nil?
567
+ command.query['fields'] = fields unless fields.nil?
568
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
569
+ execute_or_queue_command(command, &block)
570
+ end
571
+
572
+ # List DNS peering for a given resource.
573
+ # @param [String] parent
574
+ # Required. The resource on which dns peering will be listed.
575
+ # @param [Fixnum] page_size
576
+ # The maximum number of items to return.
577
+ # @param [String] page_token
578
+ # The next_page_token value to use if there are additional results to retrieve
579
+ # for this list request.
580
+ # @param [String] fields
581
+ # Selector specifying which fields to include in a partial response.
582
+ # @param [String] quota_user
583
+ # Available to use for quota purposes for server-side applications. Can be any
584
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
585
+ # @param [Google::Apis::RequestOptions] options
586
+ # Request-specific options
587
+ #
588
+ # @yield [result, err] Result & error if block supplied
589
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse] parsed result object
590
+ # @yieldparam err [StandardError] error object if request failed
591
+ #
592
+ # @return [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse]
593
+ #
594
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
595
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
596
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
597
+ def list_project_location_instance_dns_peerings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
598
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dnsPeerings:list', options)
599
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse::Representation
600
+ command.response_class = Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse
601
+ command.params['parent'] = parent unless parent.nil?
602
+ command.query['pageSize'] = page_size unless page_size.nil?
603
+ command.query['pageToken'] = page_token unless page_token.nil?
604
+ command.query['fields'] = fields unless fields.nil?
605
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
606
+ execute_or_queue_command(command, &block)
607
+ end
608
+
609
+ # Remove DNS peering on the given resource.
610
+ # @param [String] parent
611
+ # The resource on which DNS peering will be removed.
612
+ # @param [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringRequest] remove_dns_peering_request_object
613
+ # @param [String] fields
614
+ # Selector specifying which fields to include in a partial response.
615
+ # @param [String] quota_user
616
+ # Available to use for quota purposes for server-side applications. Can be any
617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
618
+ # @param [Google::Apis::RequestOptions] options
619
+ # Request-specific options
620
+ #
621
+ # @yield [result, err] Result & error if block supplied
622
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse] parsed result object
623
+ # @yieldparam err [StandardError] error object if request failed
624
+ #
625
+ # @return [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse]
626
+ #
627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
630
+ def remove_dns_peering(parent, remove_dns_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
631
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dnsPeerings:remove', options)
632
+ command.request_representation = Google::Apis::DatafusionV1beta1::RemoveDnsPeeringRequest::Representation
633
+ command.request_object = remove_dns_peering_request_object
634
+ command.response_representation = Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse::Representation
635
+ command.response_class = Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse
636
+ command.params['parent'] = parent unless parent.nil?
637
+ command.query['fields'] = fields unless fields.nil?
638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
639
+ execute_or_queue_command(command, &block)
640
+ end
641
+
539
642
  # Gets the access control policy for a resource. Returns an empty policy if the
540
643
  # resource exists and does not have a policy set.
541
644
  # @param [String] resource
@@ -577,6 +680,48 @@ module Google
577
680
  execute_or_queue_command(command, &block)
578
681
  end
579
682
 
683
+ # List namespaces in a given instance
684
+ # @param [String] parent
685
+ # Required. The instance to list its namespaces.
686
+ # @param [Fixnum] page_size
687
+ # The maximum number of items to return.
688
+ # @param [String] page_token
689
+ # The next_page_token value to use if there are additional results to retrieve
690
+ # for this list request.
691
+ # @param [String] view
692
+ # By default, only basic information about a namespace is returned (e.g. name).
693
+ # When `NAMESPACE_VIEW_FULL` is specified, additional information associated
694
+ # with a namespace gets returned (e.g. IAM policy set on the namespace)
695
+ # @param [String] fields
696
+ # Selector specifying which fields to include in a partial response.
697
+ # @param [String] quota_user
698
+ # Available to use for quota purposes for server-side applications. Can be any
699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
700
+ # @param [Google::Apis::RequestOptions] options
701
+ # Request-specific options
702
+ #
703
+ # @yield [result, err] Result & error if block supplied
704
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListNamespacesResponse] parsed result object
705
+ # @yieldparam err [StandardError] error object if request failed
706
+ #
707
+ # @return [Google::Apis::DatafusionV1beta1::ListNamespacesResponse]
708
+ #
709
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
710
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
711
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
712
+ def list_project_location_instance_namespaces(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
713
+ command = make_simple_command(:get, 'v1beta1/{+parent}/namespaces', options)
714
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListNamespacesResponse::Representation
715
+ command.response_class = Google::Apis::DatafusionV1beta1::ListNamespacesResponse
716
+ command.params['parent'] = parent unless parent.nil?
717
+ command.query['pageSize'] = page_size unless page_size.nil?
718
+ command.query['pageToken'] = page_token unless page_token.nil?
719
+ command.query['view'] = view unless view.nil?
720
+ command.query['fields'] = fields unless fields.nil?
721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
722
+ execute_or_queue_command(command, &block)
723
+ end
724
+
580
725
  # Sets the access control policy on the specified resource. Replaces any
581
726
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
582
727
  # PERMISSION_DENIED` errors.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datafusion_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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/master/generated/google-apis-datafusion_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datafusion_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []