google-apis-datafusion_v1beta1 0.12.0 → 0.15.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: 56f2f50b7e26492f7185f1e68bf60111ba26dff542bf19e69c5ec2a9ee8d5753
4
- data.tar.gz: 1f4dde3d04ec82bc3902c8bbbc280ed4e614ea294ecad33e01a48f1986f8bf71
3
+ metadata.gz: 7de4e01bc599b8e2cccd1e77f8f396eb7d3a5838b73ad50d00aa0df01555cf57
4
+ data.tar.gz: 60041bf110e4e3e5360394ef82fbd61bd7eb010e5f8a5b5a823b06015c56bda0
5
5
  SHA512:
6
- metadata.gz: cb5c10fc14c933d0858645a3b53ad278f1b3be6f7a7c743325d9871ad50ba451fbed1b28e9b6745fdea7d63c4902f195bba387b61ac9f4972222e88a5230d54f
7
- data.tar.gz: 1b330963551e8eaccdfd7b129aa977844a434eb766cd8713689e5585ecb509859713d061dbbf3cb9d6251d44c1eeeb26c21b174aa1df9f108a01e9acf2596e8b
6
+ metadata.gz: 6650958ae7ef658b5335afaedf5b3424bc7b3d07d09c6347ce29d7ac73509b982137d6979a26d1d9d621495d4c1327a172d0f466451ca8ac64f490cc3c841b68
7
+ data.tar.gz: ed7ba43becb0db82fdf4853235137e9d02ede9df5658eaeb81ab17c7099fb154cb5834df92c3c9b13c25387209172cea03014b839acccfa4e9b696982a5538a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-datafusion_v1beta1
2
2
 
3
+ ### v0.15.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220603
6
+ * Regenerated using generator version 0.5.0
7
+
8
+ ### v0.14.0 (2022-05-09)
9
+
10
+ * Regenerated from discovery document revision 20220504
11
+
12
+ ### v0.13.0 (2022-03-21)
13
+
14
+ * Regenerated from discovery document revision 20220316
15
+ * Regenerated using generator version 0.4.1
16
+
3
17
  ### v0.12.0 (2021-12-14)
4
18
 
5
19
  * Unspecified changes
@@ -41,39 +41,6 @@ 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
-
77
44
  # Specifies the audit configuration for a service. The configuration determines
78
45
  # which permission types are logged, and what identities, if any, are exempted
79
46
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -87,8 +54,8 @@ module Google
87
54
  # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
88
55
  # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
89
56
  # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
90
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
91
- # DATA_WRITE logging.
57
+ # exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
58
+ # from DATA_WRITE logging.
92
59
  class AuditConfig
93
60
  include Google::Apis::Core::Hashable
94
61
 
@@ -168,7 +135,7 @@ module Google
168
135
  # @return [Google::Apis::DatafusionV1beta1::Expr]
169
136
  attr_accessor :condition
170
137
 
171
- # Specifies the principals requesting access for a Cloud Platform resource. `
138
+ # Specifies the principals requesting access for a Google Cloud resource. `
172
139
  # members` can have the following values: * `allUsers`: A special identifier
173
140
  # that represents anyone who is on the internet; with or without a Google
174
141
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -261,11 +228,17 @@ module Google
261
228
  # @return [String]
262
229
  attr_accessor :description
263
230
 
264
- # Required. Name of the dns.
231
+ # Required. The dns name suffix of the zone.
265
232
  # Corresponds to the JSON property `domain`
266
233
  # @return [String]
267
234
  attr_accessor :domain
268
235
 
236
+ # Required. The resource name of the dns peering zone. Format: projects/`project`
237
+ # /locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
238
+ # Corresponds to the JSON property `name`
239
+ # @return [String]
240
+ attr_accessor :name
241
+
269
242
  # Optional. Optional target network to which dns peering should happen.
270
243
  # Corresponds to the JSON property `targetNetwork`
271
244
  # @return [String]
@@ -276,11 +249,6 @@ module Google
276
249
  # @return [String]
277
250
  attr_accessor :target_project
278
251
 
279
- # Required. Name of the zone.
280
- # Corresponds to the JSON property `zone`
281
- # @return [String]
282
- attr_accessor :zone
283
-
284
252
  def initialize(**args)
285
253
  update!(**args)
286
254
  end
@@ -289,17 +257,16 @@ module Google
289
257
  def update!(**args)
290
258
  @description = args[:description] if args.key?(:description)
291
259
  @domain = args[:domain] if args.key?(:domain)
260
+ @name = args[:name] if args.key?(:name)
292
261
  @target_network = args[:target_network] if args.key?(:target_network)
293
262
  @target_project = args[:target_project] if args.key?(:target_project)
294
- @zone = args[:zone] if args.key?(:zone)
295
263
  end
296
264
  end
297
265
 
298
266
  # A generic empty message that you can re-use to avoid defining duplicated empty
299
267
  # messages in your APIs. A typical example is to use it as the request or the
300
268
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
301
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
302
- # `Empty` is empty JSON object ````.
269
+ # protobuf.Empty) returns (google.protobuf.Empty); `
303
270
  class Empty
304
271
  include Google::Apis::Core::Hashable
305
272
 
@@ -312,6 +279,33 @@ module Google
312
279
  end
313
280
  end
314
281
 
282
+ # Confirguration of PubSubEventWriter.
283
+ class EventPublishConfig
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # Required. Option to enable Event Publishing.
287
+ # Corresponds to the JSON property `enabled`
288
+ # @return [Boolean]
289
+ attr_accessor :enabled
290
+ alias_method :enabled?, :enabled
291
+
292
+ # Required. The resource name of the Pub/Sub topic. Format: projects/`project_id`
293
+ # /topics/`topic_id`
294
+ # Corresponds to the JSON property `topic`
295
+ # @return [String]
296
+ attr_accessor :topic
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @enabled = args[:enabled] if args.key?(:enabled)
305
+ @topic = args[:topic] if args.key?(:topic)
306
+ end
307
+ end
308
+
315
309
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
316
310
  # CEL is a C-like expression language. The syntax and semantics of CEL are
317
311
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -495,6 +489,11 @@ module Google
495
489
  attr_accessor :enable_stackdriver_monitoring
496
490
  alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
497
491
 
492
+ # Confirguration of PubSubEventWriter.
493
+ # Corresponds to the JSON property `eventPublishConfig`
494
+ # @return [Google::Apis::DatafusionV1beta1::EventPublishConfig]
495
+ attr_accessor :event_publish_config
496
+
498
497
  # Output only. Cloud Storage bucket generated by Data Fusion in the customer
499
498
  # project.
500
499
  # Corresponds to the JSON property `gcsBucket`
@@ -609,6 +608,7 @@ module Google
609
608
  @enable_rbac = args[:enable_rbac] if args.key?(:enable_rbac)
610
609
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
611
610
  @enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
611
+ @event_publish_config = args[:event_publish_config] if args.key?(:event_publish_config)
612
612
  @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
613
613
  @labels = args[:labels] if args.key?(:labels)
614
614
  @name = args[:name] if args.key?(:name)
@@ -654,17 +654,17 @@ module Google
654
654
  end
655
655
  end
656
656
 
657
- # List dns peering response.
657
+ # Response message for list DNS peerings.
658
658
  class ListDnsPeeringsResponse
659
659
  include Google::Apis::Core::Hashable
660
660
 
661
- # List of dns peering configs.
661
+ # List of dns peering.
662
662
  # Corresponds to the JSON property `dnsPeerings`
663
663
  # @return [Array<Google::Apis::DatafusionV1beta1::DnsPeering>]
664
664
  attr_accessor :dns_peerings
665
665
 
666
- # Token to retrieve the next page of results or empty if there are no more
667
- # results in the list.
666
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
667
+ # field is omitted, there are no subsequent pages.
668
668
  # Corresponds to the JSON property `nextPageToken`
669
669
  # @return [String]
670
670
  attr_accessor :next_page_token
@@ -1111,38 +1111,6 @@ module Google
1111
1111
  end
1112
1112
  end
1113
1113
 
1114
- # Request message to remove dns peering.
1115
- class RemoveDnsPeeringRequest
1116
- include Google::Apis::Core::Hashable
1117
-
1118
- # Required. The zone to be removed.
1119
- # Corresponds to the JSON property `zone`
1120
- # @return [String]
1121
- attr_accessor :zone
1122
-
1123
- def initialize(**args)
1124
- update!(**args)
1125
- end
1126
-
1127
- # Update properties of this object
1128
- def update!(**args)
1129
- @zone = args[:zone] if args.key?(:zone)
1130
- end
1131
- end
1132
-
1133
- # Response message for set dns peering method.
1134
- class RemoveDnsPeeringResponse
1135
- include Google::Apis::Core::Hashable
1136
-
1137
- def initialize(**args)
1138
- update!(**args)
1139
- end
1140
-
1141
- # Update properties of this object
1142
- def update!(**args)
1143
- end
1144
- end
1145
-
1146
1114
  # Request message for RemoveIamPolicy method.
1147
1115
  class RemoveIamPolicyRequest
1148
1116
  include Google::Apis::Core::Hashable
@@ -1279,7 +1247,7 @@ module Google
1279
1247
  include Google::Apis::Core::Hashable
1280
1248
 
1281
1249
  # The set of permissions to check for the `resource`. Permissions with wildcards
1282
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1250
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
1283
1251
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1284
1252
  # Corresponds to the JSON property `permissions`
1285
1253
  # @return [Array<String>]
@@ -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.12.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211028"
25
+ REVISION = "20220603"
26
26
  end
27
27
  end
28
28
  end
@@ -28,18 +28,6 @@ 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
-
43
31
  class AuditConfig
44
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
33
 
@@ -82,6 +70,12 @@ module Google
82
70
  include Google::Apis::Core::JsonObjectSupport
83
71
  end
84
72
 
73
+ class EventPublishConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
85
79
  class Expr
86
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
81
 
@@ -172,18 +166,6 @@ module Google
172
166
  include Google::Apis::Core::JsonObjectSupport
173
167
  end
174
168
 
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
-
187
169
  class RemoveIamPolicyRequest
188
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
171
 
@@ -245,20 +227,6 @@ module Google
245
227
  end
246
228
  end
247
229
 
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
-
262
230
  class AuditConfig
263
231
  # @private
264
232
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -304,9 +272,9 @@ module Google
304
272
  class Representation < Google::Apis::Core::JsonRepresentation
305
273
  property :description, as: 'description'
306
274
  property :domain, as: 'domain'
275
+ property :name, as: 'name'
307
276
  property :target_network, as: 'targetNetwork'
308
277
  property :target_project, as: 'targetProject'
309
- property :zone, as: 'zone'
310
278
  end
311
279
  end
312
280
 
@@ -316,6 +284,14 @@ module Google
316
284
  end
317
285
  end
318
286
 
287
+ class EventPublishConfig
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :enabled, as: 'enabled'
291
+ property :topic, as: 'topic'
292
+ end
293
+ end
294
+
319
295
  class Expr
320
296
  # @private
321
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -354,6 +330,8 @@ module Google
354
330
  property :enable_rbac, as: 'enableRbac'
355
331
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
356
332
  property :enable_stackdriver_monitoring, as: 'enableStackdriverMonitoring'
333
+ property :event_publish_config, as: 'eventPublishConfig', class: Google::Apis::DatafusionV1beta1::EventPublishConfig, decorator: Google::Apis::DatafusionV1beta1::EventPublishConfig::Representation
334
+
357
335
  property :gcs_bucket, as: 'gcsBucket'
358
336
  hash :labels, as: 'labels'
359
337
  property :name, as: 'name'
@@ -494,19 +472,6 @@ module Google
494
472
  end
495
473
  end
496
474
 
497
- class RemoveDnsPeeringRequest
498
- # @private
499
- class Representation < Google::Apis::Core::JsonRepresentation
500
- property :zone, as: 'zone'
501
- end
502
- end
503
-
504
- class RemoveDnsPeeringResponse
505
- # @private
506
- class Representation < Google::Apis::Core::JsonRepresentation
507
- end
508
- end
509
-
510
475
  class RemoveIamPolicyRequest
511
476
  # @private
512
477
  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", and is documented in more detail in [
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
@@ -266,16 +266,20 @@ module Google
266
266
  # Gets the access control policy for a resource. Returns an empty policy if the
267
267
  # resource exists and does not have a policy set.
268
268
  # @param [String] resource
269
- # REQUIRED: The resource for which the policy is being requested. See the
270
- # operation documentation for the appropriate value for this field.
269
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
270
+ # names](https://cloud.google.com/apis/design/resource_names) for the
271
+ # appropriate value for this field.
271
272
  # @param [Fixnum] options_requested_policy_version
272
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
273
- # 3. Requests specifying an invalid value will be rejected. Requests for
274
- # policies with any conditional bindings must specify version 3. Policies
275
- # without any conditional bindings may specify any valid value or leave the
276
- # field unset. To learn which resources support conditions in their IAM policies,
277
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
278
- # resource-policies).
273
+ # Optional. The maximum policy version that will be used to format the policy.
274
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
275
+ # rejected. Requests for policies with any conditional role bindings must
276
+ # specify version 3. Policies with no conditional role bindings may specify any
277
+ # valid value or leave the field unset. The policy in the response might use the
278
+ # policy version that you specified, or it might use a lower policy version. For
279
+ # example, if you specify version 3, but the policy has no conditional role
280
+ # bindings, the response uses version 1. To learn which resources support
281
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
282
+ # google.com/iam/help/conditions/resource-policies).
279
283
  # @param [String] fields
280
284
  # Selector specifying which fields to include in a partial response.
281
285
  # @param [String] quota_user
@@ -430,8 +434,9 @@ module Google
430
434
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
431
435
  # PERMISSION_DENIED` errors.
432
436
  # @param [String] resource
433
- # REQUIRED: The resource for which the policy is being specified. See the
434
- # operation documentation for the appropriate value for this field.
437
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
438
+ # names](https://cloud.google.com/apis/design/resource_names) for the
439
+ # appropriate value for this field.
435
440
  # @param [Google::Apis::DatafusionV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
436
441
  # @param [String] fields
437
442
  # Selector specifying which fields to include in a partial response.
@@ -468,8 +473,9 @@ module Google
468
473
  # permission-aware UIs and command-line tools, not for authorization checking.
469
474
  # This operation may "fail open" without warning.
470
475
  # @param [String] resource
471
- # REQUIRED: The resource for which the policy detail is being requested. See the
472
- # operation documentation for the appropriate value for this field.
476
+ # REQUIRED: The resource for which the policy detail is being requested. See [
477
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
478
+ # appropriate value for this field.
473
479
  # @param [Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
474
480
  # @param [String] fields
475
481
  # Selector specifying which fields to include in a partial response.
@@ -536,10 +542,12 @@ module Google
536
542
  execute_or_queue_command(command, &block)
537
543
  end
538
544
 
539
- # Add DNS peering on the given resource.
545
+ # Creates DNS peering on the given resource.
540
546
  # @param [String] parent
541
547
  # Required. The resource on which DNS peering will be created.
542
- # @param [Google::Apis::DatafusionV1beta1::AddDnsPeeringRequest] add_dns_peering_request_object
548
+ # @param [Google::Apis::DatafusionV1beta1::DnsPeering] dns_peering_object
549
+ # @param [String] dns_peering_id
550
+ # Required. The name of the peering to create.
543
551
  # @param [String] fields
544
552
  # Selector specifying which fields to include in a partial response.
545
553
  # @param [String] quota_user
@@ -549,34 +557,31 @@ module Google
549
557
  # Request-specific options
550
558
  #
551
559
  # @yield [result, err] Result & error if block supplied
552
- # @yieldparam result [Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse] parsed result object
560
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::DnsPeering] parsed result object
553
561
  # @yieldparam err [StandardError] error object if request failed
554
562
  #
555
- # @return [Google::Apis::DatafusionV1beta1::AddDnsPeeringResponse]
563
+ # @return [Google::Apis::DatafusionV1beta1::DnsPeering]
556
564
  #
557
565
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558
566
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
567
  # @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
568
+ def create_project_location_instance_dns_peering(parent, dns_peering_object = nil, dns_peering_id: nil, fields: nil, quota_user: nil, options: nil, &block)
569
+ command = make_simple_command(:post, 'v1beta1/{+parent}/dnsPeerings', options)
570
+ command.request_representation = Google::Apis::DatafusionV1beta1::DnsPeering::Representation
571
+ command.request_object = dns_peering_object
572
+ command.response_representation = Google::Apis::DatafusionV1beta1::DnsPeering::Representation
573
+ command.response_class = Google::Apis::DatafusionV1beta1::DnsPeering
566
574
  command.params['parent'] = parent unless parent.nil?
575
+ command.query['dnsPeeringId'] = dns_peering_id unless dns_peering_id.nil?
567
576
  command.query['fields'] = fields unless fields.nil?
568
577
  command.query['quotaUser'] = quota_user unless quota_user.nil?
569
578
  execute_or_queue_command(command, &block)
570
579
  end
571
580
 
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.
581
+ # Deletes DNS peering on the given resource.
582
+ # @param [String] name
583
+ # Required. The name of the DNS peering zone to delete. Format: projects/`
584
+ # project`/locations/`location`/instances/`instance`/dnsPeerings/`dns_peering`
580
585
  # @param [String] fields
581
586
  # Selector specifying which fields to include in a partial response.
582
587
  # @param [String] quota_user
@@ -586,30 +591,36 @@ module Google
586
591
  # Request-specific options
587
592
  #
588
593
  # @yield [result, err] Result & error if block supplied
589
- # @yieldparam result [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse] parsed result object
594
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Empty] parsed result object
590
595
  # @yieldparam err [StandardError] error object if request failed
591
596
  #
592
- # @return [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse]
597
+ # @return [Google::Apis::DatafusionV1beta1::Empty]
593
598
  #
594
599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
595
600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
596
601
  # @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?
602
+ def delete_project_location_instance_dns_peering(name, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
604
+ command.response_representation = Google::Apis::DatafusionV1beta1::Empty::Representation
605
+ command.response_class = Google::Apis::DatafusionV1beta1::Empty
606
+ command.params['name'] = name unless name.nil?
604
607
  command.query['fields'] = fields unless fields.nil?
605
608
  command.query['quotaUser'] = quota_user unless quota_user.nil?
606
609
  execute_or_queue_command(command, &block)
607
610
  end
608
611
 
609
- # Remove DNS peering on the given resource.
612
+ # Lists DNS peerings for a given resource.
610
613
  # @param [String] parent
611
- # Required. The resource on which DNS peering will be removed.
612
- # @param [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringRequest] remove_dns_peering_request_object
614
+ # Required. The parent, which owns this collection of dns peerings. Format:
615
+ # projects/`project`/locations/`location`/instances/`instance`
616
+ # @param [Fixnum] page_size
617
+ # The maximum number of dns peerings to return. The service may return fewer
618
+ # than this value. If unspecified, at most 50 dns peerings will be returned. The
619
+ # maximum value is 200; values above 200 will be coerced to 200.
620
+ # @param [String] page_token
621
+ # A page token, received from a previous `ListDnsPeerings` call. Provide this to
622
+ # retrieve the subsequent page. When paginating, all other parameters provided
623
+ # to `ListDnsPeerings` must match the call that provided the page token.
613
624
  # @param [String] fields
614
625
  # Selector specifying which fields to include in a partial response.
615
626
  # @param [String] quota_user
@@ -619,21 +630,21 @@ module Google
619
630
  # Request-specific options
620
631
  #
621
632
  # @yield [result, err] Result & error if block supplied
622
- # @yieldparam result [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse] parsed result object
633
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse] parsed result object
623
634
  # @yieldparam err [StandardError] error object if request failed
624
635
  #
625
- # @return [Google::Apis::DatafusionV1beta1::RemoveDnsPeeringResponse]
636
+ # @return [Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse]
626
637
  #
627
638
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
628
639
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
629
640
  # @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
641
+ def list_project_location_instance_dns_peerings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
642
+ command = make_simple_command(:get, 'v1beta1/{+parent}/dnsPeerings', options)
643
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse::Representation
644
+ command.response_class = Google::Apis::DatafusionV1beta1::ListDnsPeeringsResponse
636
645
  command.params['parent'] = parent unless parent.nil?
646
+ command.query['pageSize'] = page_size unless page_size.nil?
647
+ command.query['pageToken'] = page_token unless page_token.nil?
637
648
  command.query['fields'] = fields unless fields.nil?
638
649
  command.query['quotaUser'] = quota_user unless quota_user.nil?
639
650
  execute_or_queue_command(command, &block)
@@ -642,16 +653,20 @@ module Google
642
653
  # Gets the access control policy for a resource. Returns an empty policy if the
643
654
  # resource exists and does not have a policy set.
644
655
  # @param [String] resource
645
- # REQUIRED: The resource for which the policy is being requested. See the
646
- # operation documentation for the appropriate value for this field.
656
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
657
+ # names](https://cloud.google.com/apis/design/resource_names) for the
658
+ # appropriate value for this field.
647
659
  # @param [Fixnum] options_requested_policy_version
648
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
649
- # 3. Requests specifying an invalid value will be rejected. Requests for
650
- # policies with any conditional bindings must specify version 3. Policies
651
- # without any conditional bindings may specify any valid value or leave the
652
- # field unset. To learn which resources support conditions in their IAM policies,
653
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
654
- # resource-policies).
660
+ # Optional. The maximum policy version that will be used to format the policy.
661
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
662
+ # rejected. Requests for policies with any conditional role bindings must
663
+ # specify version 3. Policies with no conditional role bindings may specify any
664
+ # valid value or leave the field unset. The policy in the response might use the
665
+ # policy version that you specified, or it might use a lower policy version. For
666
+ # example, if you specify version 3, but the policy has no conditional role
667
+ # bindings, the response uses version 1. To learn which resources support
668
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
669
+ # google.com/iam/help/conditions/resource-policies).
655
670
  # @param [String] fields
656
671
  # Selector specifying which fields to include in a partial response.
657
672
  # @param [String] quota_user
@@ -726,8 +741,9 @@ module Google
726
741
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
727
742
  # PERMISSION_DENIED` errors.
728
743
  # @param [String] resource
729
- # REQUIRED: The resource for which the policy is being specified. See the
730
- # operation documentation for the appropriate value for this field.
744
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
745
+ # names](https://cloud.google.com/apis/design/resource_names) for the
746
+ # appropriate value for this field.
731
747
  # @param [Google::Apis::DatafusionV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
732
748
  # @param [String] fields
733
749
  # Selector specifying which fields to include in a partial response.
@@ -764,8 +780,9 @@ module Google
764
780
  # permission-aware UIs and command-line tools, not for authorization checking.
765
781
  # This operation may "fail open" without warning.
766
782
  # @param [String] resource
767
- # REQUIRED: The resource for which the policy detail is being requested. See the
768
- # operation documentation for the appropriate value for this field.
783
+ # REQUIRED: The resource for which the policy detail is being requested. See [
784
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
785
+ # appropriate value for this field.
769
786
  # @param [Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
770
787
  # @param [String] fields
771
788
  # Selector specifying which fields to include in a partial response.
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.12.0
4
+ version: 0.15.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-01-10 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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/main/generated/google-apis-datafusion_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datafusion_v1beta1
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.3.4
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Data Fusion API V1beta1