google-apis-datafusion_v1 0.10.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/datafusion_v1/classes.rb +114 -6
- data/lib/google/apis/datafusion_v1/gem_version.rb +3 -3
- data/lib/google/apis/datafusion_v1/representations.rb +49 -0
- data/lib/google/apis/datafusion_v1/service.rb +130 -17
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0ff128d61f58a7f82b5e5cd1378cbc8bb5acfb663cb513c8d09acde96ebd704
|
4
|
+
data.tar.gz: e9d8510aa73bbbae8859278433ecb8fca3b4a4944ca7deab6a6cb597c5b93d1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa2bb418a0329a84754c7a6415ca46b498150860b58dfd62d49c815beead4e6afbb64d7fbe1f5f5fb91963986067ef87379188de70699837bd578e62baf1826
|
7
|
+
data.tar.gz: 432b672f1621dac175d72baa064fb4d8732618e9433ae452631abe59ed179e9aa6e07f748fabe5b3b3be465d7e9e5954b33cc1ee82dbe9207f5b360aa5b003b7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-datafusion_v1
|
2
2
|
|
3
|
+
### v0.13.0 (2022-05-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220504
|
6
|
+
|
7
|
+
### v0.12.0 (2022-03-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220316
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.11.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
3
16
|
### v0.10.0 (2021-11-02)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20211028
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/datafusion_v1"
|
|
51
51
|
client = Google::Apis::DatafusionV1::DataFusionService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ module Google
|
|
60
60
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
61
61
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
62
62
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
63
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
64
|
-
# DATA_WRITE logging.
|
63
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
64
|
+
# from DATA_WRITE logging.
|
65
65
|
class AuditConfig
|
66
66
|
include Google::Apis::Core::Hashable
|
67
67
|
|
@@ -141,7 +141,7 @@ module Google
|
|
141
141
|
# @return [Google::Apis::DatafusionV1::Expr]
|
142
142
|
attr_accessor :condition
|
143
143
|
|
144
|
-
# Specifies the principals requesting access for a Cloud
|
144
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
145
145
|
# members` can have the following values: * `allUsers`: A special identifier
|
146
146
|
# that represents anyone who is on the internet; with or without a Google
|
147
147
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -224,11 +224,55 @@ module Google
|
|
224
224
|
end
|
225
225
|
end
|
226
226
|
|
227
|
+
# DNS peering configuration. These configurations are used to create DNS peering
|
228
|
+
# with the customer Cloud DNS.
|
229
|
+
class DnsPeering
|
230
|
+
include Google::Apis::Core::Hashable
|
231
|
+
|
232
|
+
# Optional. Optional description of the dns zone.
|
233
|
+
# Corresponds to the JSON property `description`
|
234
|
+
# @return [String]
|
235
|
+
attr_accessor :description
|
236
|
+
|
237
|
+
# Required. The dns name suffix of the zone.
|
238
|
+
# Corresponds to the JSON property `domain`
|
239
|
+
# @return [String]
|
240
|
+
attr_accessor :domain
|
241
|
+
|
242
|
+
# Required. The resource name of the dns peering zone. Format: projects/`project`
|
243
|
+
# /locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
|
244
|
+
# Corresponds to the JSON property `name`
|
245
|
+
# @return [String]
|
246
|
+
attr_accessor :name
|
247
|
+
|
248
|
+
# Optional. Optional target network to which dns peering should happen.
|
249
|
+
# Corresponds to the JSON property `targetNetwork`
|
250
|
+
# @return [String]
|
251
|
+
attr_accessor :target_network
|
252
|
+
|
253
|
+
# Optional. Optional target project to which dns peering should happen.
|
254
|
+
# Corresponds to the JSON property `targetProject`
|
255
|
+
# @return [String]
|
256
|
+
attr_accessor :target_project
|
257
|
+
|
258
|
+
def initialize(**args)
|
259
|
+
update!(**args)
|
260
|
+
end
|
261
|
+
|
262
|
+
# Update properties of this object
|
263
|
+
def update!(**args)
|
264
|
+
@description = args[:description] if args.key?(:description)
|
265
|
+
@domain = args[:domain] if args.key?(:domain)
|
266
|
+
@name = args[:name] if args.key?(:name)
|
267
|
+
@target_network = args[:target_network] if args.key?(:target_network)
|
268
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
227
272
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
228
273
|
# messages in your APIs. A typical example is to use it as the request or the
|
229
274
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
230
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
231
|
-
# `Empty` is empty JSON object ````.
|
275
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
232
276
|
class Empty
|
233
277
|
include Google::Apis::Core::Hashable
|
234
278
|
|
@@ -241,6 +285,38 @@ module Google
|
|
241
285
|
end
|
242
286
|
end
|
243
287
|
|
288
|
+
# Confirguration of PubSubEventWriter.
|
289
|
+
class EventPublishConfig
|
290
|
+
include Google::Apis::Core::Hashable
|
291
|
+
|
292
|
+
# Required. Option to enable Event Publishing.
|
293
|
+
# Corresponds to the JSON property `eventPublishEnabled`
|
294
|
+
# @return [Boolean]
|
295
|
+
attr_accessor :event_publish_enabled
|
296
|
+
alias_method :event_publish_enabled?, :event_publish_enabled
|
297
|
+
|
298
|
+
# Project name.
|
299
|
+
# Corresponds to the JSON property `project`
|
300
|
+
# @return [String]
|
301
|
+
attr_accessor :project
|
302
|
+
|
303
|
+
# Required. Pub/Sub Topic.
|
304
|
+
# Corresponds to the JSON property `topic`
|
305
|
+
# @return [String]
|
306
|
+
attr_accessor :topic
|
307
|
+
|
308
|
+
def initialize(**args)
|
309
|
+
update!(**args)
|
310
|
+
end
|
311
|
+
|
312
|
+
# Update properties of this object
|
313
|
+
def update!(**args)
|
314
|
+
@event_publish_enabled = args[:event_publish_enabled] if args.key?(:event_publish_enabled)
|
315
|
+
@project = args[:project] if args.key?(:project)
|
316
|
+
@topic = args[:topic] if args.key?(:topic)
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
244
320
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
245
321
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
246
322
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -367,6 +443,11 @@ module Google
|
|
367
443
|
attr_accessor :enable_stackdriver_monitoring
|
368
444
|
alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
|
369
445
|
|
446
|
+
# Confirguration of PubSubEventWriter.
|
447
|
+
# Corresponds to the JSON property `eventPublishConfig`
|
448
|
+
# @return [Google::Apis::DatafusionV1::EventPublishConfig]
|
449
|
+
attr_accessor :event_publish_config
|
450
|
+
|
370
451
|
# Output only. Cloud Storage bucket generated by Data Fusion in the customer
|
371
452
|
# project.
|
372
453
|
# Corresponds to the JSON property `gcsBucket`
|
@@ -481,6 +562,7 @@ module Google
|
|
481
562
|
@enable_rbac = args[:enable_rbac] if args.key?(:enable_rbac)
|
482
563
|
@enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
|
483
564
|
@enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
|
565
|
+
@event_publish_config = args[:event_publish_config] if args.key?(:event_publish_config)
|
484
566
|
@gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
|
485
567
|
@labels = args[:labels] if args.key?(:labels)
|
486
568
|
@name = args[:name] if args.key?(:name)
|
@@ -526,6 +608,32 @@ module Google
|
|
526
608
|
end
|
527
609
|
end
|
528
610
|
|
611
|
+
# Response message for list DNS peerings.
|
612
|
+
class ListDnsPeeringsResponse
|
613
|
+
include Google::Apis::Core::Hashable
|
614
|
+
|
615
|
+
# List of dns peering.
|
616
|
+
# Corresponds to the JSON property `dnsPeerings`
|
617
|
+
# @return [Array<Google::Apis::DatafusionV1::DnsPeering>]
|
618
|
+
attr_accessor :dns_peerings
|
619
|
+
|
620
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
621
|
+
# field is omitted, there are no subsequent pages.
|
622
|
+
# Corresponds to the JSON property `nextPageToken`
|
623
|
+
# @return [String]
|
624
|
+
attr_accessor :next_page_token
|
625
|
+
|
626
|
+
def initialize(**args)
|
627
|
+
update!(**args)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Update properties of this object
|
631
|
+
def update!(**args)
|
632
|
+
@dns_peerings = args[:dns_peerings] if args.key?(:dns_peerings)
|
633
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
634
|
+
end
|
635
|
+
end
|
636
|
+
|
529
637
|
# Response message for the list instance request.
|
530
638
|
class ListInstancesResponse
|
531
639
|
include Google::Apis::Core::Hashable
|
@@ -1023,7 +1131,7 @@ module Google
|
|
1023
1131
|
include Google::Apis::Core::Hashable
|
1024
1132
|
|
1025
1133
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1026
|
-
# (such as
|
1134
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
1027
1135
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1028
1136
|
# Corresponds to the JSON property `permissions`
|
1029
1137
|
# @return [Array<String>]
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatafusionV1
|
18
18
|
# Version of the google-apis-datafusion_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,12 +58,24 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class DnsPeering
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class Empty
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class EventPublishConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class Expr
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -82,6 +94,12 @@ module Google
|
|
82
94
|
include Google::Apis::Core::JsonObjectSupport
|
83
95
|
end
|
84
96
|
|
97
|
+
class ListDnsPeeringsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
85
103
|
class ListInstancesResponse
|
86
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
105
|
|
@@ -214,12 +232,32 @@ module Google
|
|
214
232
|
end
|
215
233
|
end
|
216
234
|
|
235
|
+
class DnsPeering
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :description, as: 'description'
|
239
|
+
property :domain, as: 'domain'
|
240
|
+
property :name, as: 'name'
|
241
|
+
property :target_network, as: 'targetNetwork'
|
242
|
+
property :target_project, as: 'targetProject'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
217
246
|
class Empty
|
218
247
|
# @private
|
219
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
220
249
|
end
|
221
250
|
end
|
222
251
|
|
252
|
+
class EventPublishConfig
|
253
|
+
# @private
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
255
|
+
property :event_publish_enabled, as: 'eventPublishEnabled'
|
256
|
+
property :project, as: 'project'
|
257
|
+
property :topic, as: 'topic'
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
223
261
|
class Expr
|
224
262
|
# @private
|
225
263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -248,6 +286,8 @@ module Google
|
|
248
286
|
property :enable_rbac, as: 'enableRbac'
|
249
287
|
property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
|
250
288
|
property :enable_stackdriver_monitoring, as: 'enableStackdriverMonitoring'
|
289
|
+
property :event_publish_config, as: 'eventPublishConfig', class: Google::Apis::DatafusionV1::EventPublishConfig, decorator: Google::Apis::DatafusionV1::EventPublishConfig::Representation
|
290
|
+
|
251
291
|
property :gcs_bucket, as: 'gcsBucket'
|
252
292
|
hash :labels, as: 'labels'
|
253
293
|
property :name, as: 'name'
|
@@ -277,6 +317,15 @@ module Google
|
|
277
317
|
end
|
278
318
|
end
|
279
319
|
|
320
|
+
class ListDnsPeeringsResponse
|
321
|
+
# @private
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
+
collection :dns_peerings, as: 'dnsPeerings', class: Google::Apis::DatafusionV1::DnsPeering, decorator: Google::Apis::DatafusionV1::DnsPeering::Representation
|
324
|
+
|
325
|
+
property :next_page_token, as: 'nextPageToken'
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
280
329
|
class ListInstancesResponse
|
281
330
|
# @private
|
282
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -90,8 +90,8 @@ module Google
|
|
90
90
|
# The resource that owns the locations collection, if applicable.
|
91
91
|
# @param [String] filter
|
92
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
93
|
-
# accepts strings like "displayName=tokyo"
|
94
|
-
# AIP-160](https://google.aip.dev/160).
|
93
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
94
|
+
# in [AIP-160](https://google.aip.dev/160).
|
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
|
@@ -233,16 +233,20 @@ module Google
|
|
233
233
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
234
234
|
# resource exists and does not have a policy set.
|
235
235
|
# @param [String] resource
|
236
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
237
|
-
#
|
236
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
237
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
238
|
+
# appropriate value for this field.
|
238
239
|
# @param [Fixnum] options_requested_policy_version
|
239
|
-
# Optional. The policy
|
240
|
-
# 3. Requests specifying an invalid value will be
|
241
|
-
# policies with any conditional bindings must
|
242
|
-
#
|
243
|
-
# field unset.
|
244
|
-
#
|
245
|
-
#
|
240
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
241
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
242
|
+
# rejected. Requests for policies with any conditional role bindings must
|
243
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
244
|
+
# valid value or leave the field unset. The policy in the response might use the
|
245
|
+
# policy version that you specified, or it might use a lower policy version. For
|
246
|
+
# example, if you specify version 3, but the policy has no conditional role
|
247
|
+
# bindings, the response uses version 1. To learn which resources support
|
248
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
249
|
+
# google.com/iam/help/conditions/resource-policies).
|
246
250
|
# @param [String] fields
|
247
251
|
# Selector specifying which fields to include in a partial response.
|
248
252
|
# @param [String] quota_user
|
@@ -326,8 +330,7 @@ module Google
|
|
326
330
|
# Field mask is used to specify the fields that the update will overwrite in an
|
327
331
|
# instance resource. The fields specified in the update_mask are relative to the
|
328
332
|
# resource, not the full request. A field will be overwritten if it is in the
|
329
|
-
# mask. If the user does not provide a mask,
|
330
|
-
# options, and version currently) will be overwritten.
|
333
|
+
# mask. If the user does not provide a mask, the label field will be overwritten.
|
331
334
|
# @param [String] fields
|
332
335
|
# Selector specifying which fields to include in a partial response.
|
333
336
|
# @param [String] quota_user
|
@@ -397,8 +400,9 @@ module Google
|
|
397
400
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
398
401
|
# PERMISSION_DENIED` errors.
|
399
402
|
# @param [String] resource
|
400
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
401
|
-
#
|
403
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
404
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
405
|
+
# appropriate value for this field.
|
402
406
|
# @param [Google::Apis::DatafusionV1::SetIamPolicyRequest] set_iam_policy_request_object
|
403
407
|
# @param [String] fields
|
404
408
|
# Selector specifying which fields to include in a partial response.
|
@@ -435,8 +439,9 @@ module Google
|
|
435
439
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
436
440
|
# This operation may "fail open" without warning.
|
437
441
|
# @param [String] resource
|
438
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
439
|
-
#
|
442
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
443
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
444
|
+
# appropriate value for this field.
|
440
445
|
# @param [Google::Apis::DatafusionV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
441
446
|
# @param [String] fields
|
442
447
|
# Selector specifying which fields to include in a partial response.
|
@@ -467,6 +472,114 @@ module Google
|
|
467
472
|
execute_or_queue_command(command, &block)
|
468
473
|
end
|
469
474
|
|
475
|
+
# Creates DNS peering on the given resource.
|
476
|
+
# @param [String] parent
|
477
|
+
# Required. The resource on which DNS peering will be created.
|
478
|
+
# @param [Google::Apis::DatafusionV1::DnsPeering] dns_peering_object
|
479
|
+
# @param [String] dns_peering_id
|
480
|
+
# Required. The name of the peering to create.
|
481
|
+
# @param [String] fields
|
482
|
+
# Selector specifying which fields to include in a partial response.
|
483
|
+
# @param [String] quota_user
|
484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
486
|
+
# @param [Google::Apis::RequestOptions] options
|
487
|
+
# Request-specific options
|
488
|
+
#
|
489
|
+
# @yield [result, err] Result & error if block supplied
|
490
|
+
# @yieldparam result [Google::Apis::DatafusionV1::DnsPeering] parsed result object
|
491
|
+
# @yieldparam err [StandardError] error object if request failed
|
492
|
+
#
|
493
|
+
# @return [Google::Apis::DatafusionV1::DnsPeering]
|
494
|
+
#
|
495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
498
|
+
def create_project_location_instance_dns_peering(parent, dns_peering_object = nil, dns_peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
499
|
+
command = make_simple_command(:post, 'v1/{+parent}/dnsPeerings', options)
|
500
|
+
command.request_representation = Google::Apis::DatafusionV1::DnsPeering::Representation
|
501
|
+
command.request_object = dns_peering_object
|
502
|
+
command.response_representation = Google::Apis::DatafusionV1::DnsPeering::Representation
|
503
|
+
command.response_class = Google::Apis::DatafusionV1::DnsPeering
|
504
|
+
command.params['parent'] = parent unless parent.nil?
|
505
|
+
command.query['dnsPeeringId'] = dns_peering_id unless dns_peering_id.nil?
|
506
|
+
command.query['fields'] = fields unless fields.nil?
|
507
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
508
|
+
execute_or_queue_command(command, &block)
|
509
|
+
end
|
510
|
+
|
511
|
+
# Deletes DNS peering on the given resource.
|
512
|
+
# @param [String] name
|
513
|
+
# Required. The name of the DNS peering zone to delete. Format: projects/`
|
514
|
+
# project`/locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
|
515
|
+
# @param [String] fields
|
516
|
+
# Selector specifying which fields to include in a partial response.
|
517
|
+
# @param [String] quota_user
|
518
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
519
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
520
|
+
# @param [Google::Apis::RequestOptions] options
|
521
|
+
# Request-specific options
|
522
|
+
#
|
523
|
+
# @yield [result, err] Result & error if block supplied
|
524
|
+
# @yieldparam result [Google::Apis::DatafusionV1::Empty] parsed result object
|
525
|
+
# @yieldparam err [StandardError] error object if request failed
|
526
|
+
#
|
527
|
+
# @return [Google::Apis::DatafusionV1::Empty]
|
528
|
+
#
|
529
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
530
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
531
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
532
|
+
def delete_project_location_instance_dns_peering(name, fields: nil, quota_user: nil, options: nil, &block)
|
533
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
534
|
+
command.response_representation = Google::Apis::DatafusionV1::Empty::Representation
|
535
|
+
command.response_class = Google::Apis::DatafusionV1::Empty
|
536
|
+
command.params['name'] = name unless name.nil?
|
537
|
+
command.query['fields'] = fields unless fields.nil?
|
538
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
539
|
+
execute_or_queue_command(command, &block)
|
540
|
+
end
|
541
|
+
|
542
|
+
# Lists DNS peerings for a given resource.
|
543
|
+
# @param [String] parent
|
544
|
+
# Required. The parent, which owns this collection of dns peerings. Format:
|
545
|
+
# projects/`project`/locations/`location`/instances/`instance`
|
546
|
+
# @param [Fixnum] page_size
|
547
|
+
# The maximum number of dns peerings to return. The service may return fewer
|
548
|
+
# than this value. If unspecified, at most 50 dns peerings will be returned. The
|
549
|
+
# maximum value is 200; values above 200 will be coerced to 200.
|
550
|
+
# @param [String] page_token
|
551
|
+
# A page token, received from a previous `ListDnsPeerings` call. Provide this to
|
552
|
+
# retrieve the subsequent page. When paginating, all other parameters provided
|
553
|
+
# to `ListDnsPeerings` must match the call that provided the page token.
|
554
|
+
# @param [String] fields
|
555
|
+
# Selector specifying which fields to include in a partial response.
|
556
|
+
# @param [String] quota_user
|
557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
|
+
# @param [Google::Apis::RequestOptions] options
|
560
|
+
# Request-specific options
|
561
|
+
#
|
562
|
+
# @yield [result, err] Result & error if block supplied
|
563
|
+
# @yieldparam result [Google::Apis::DatafusionV1::ListDnsPeeringsResponse] parsed result object
|
564
|
+
# @yieldparam err [StandardError] error object if request failed
|
565
|
+
#
|
566
|
+
# @return [Google::Apis::DatafusionV1::ListDnsPeeringsResponse]
|
567
|
+
#
|
568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
+
def list_project_location_instance_dns_peerings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
+
command = make_simple_command(:get, 'v1/{+parent}/dnsPeerings', options)
|
573
|
+
command.response_representation = Google::Apis::DatafusionV1::ListDnsPeeringsResponse::Representation
|
574
|
+
command.response_class = Google::Apis::DatafusionV1::ListDnsPeeringsResponse
|
575
|
+
command.params['parent'] = parent unless parent.nil?
|
576
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
577
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
578
|
+
command.query['fields'] = fields unless fields.nil?
|
579
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
580
|
+
execute_or_queue_command(command, &block)
|
581
|
+
end
|
582
|
+
|
470
583
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
471
584
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
472
585
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datafusion_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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:
|
11
|
+
date: 2022-05-16 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-datafusion_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1/v0.13.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datafusion_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Data Fusion API V1
|