google-apis-networkconnectivity_v1alpha1 0.1.0 → 0.6.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: ea85eef2eb766ef1631988b7a81f56d842fc246cf5128b215c4dece524894cdb
4
- data.tar.gz: 5d7f1f3fabfafdeb75fb63ca2276bf1ce65dce7cded26680dad950f3d1293467
3
+ metadata.gz: 8e4a0db6d98e3064e7710840f5fe8961f9d2012287f56bc063054632d0249490
4
+ data.tar.gz: 86739712f3219625162eccf499d4a8cabb1599bb9518ab09c81fba83038561e8
5
5
  SHA512:
6
- metadata.gz: 471952192fcc41aa86b701bb625b0f2af43e7853990056064293fb51f1f48c3fea90cc513ae2ddc8aaace19db58f185c5aeb409bb2100a17ee8ab47b6c47fe7d
7
- data.tar.gz: 1ee74162bc1c4bc00ff47f0d075d0fd79faa1e00989c38a10b6ca94a4434506ddc937516f8af4a3869ebc422a8c87d43f4f681fa9de424053b7ee48fb7ec4730
6
+ metadata.gz: '09b06f41e3e4b5eaa781c63fd1f7af8f80d1616ac0efc2a5d8b48bd8864eab37815be64b6869fba17499925195ab85184e5459467425717a510080b1a1677f0d'
7
+ data.tar.gz: d5feff65b051b128c422d2715f98d144a9553300ca35e691107d4cac6ad531f6df940e48f17c205d88f69c5129198f020b257265ba8c2b846a70d88471725063
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-05-02)
8
+
9
+ * Regenerated from discovery document revision 20210430
10
+
11
+ ### v0.4.0 (2021-04-01)
12
+
13
+ * Regenerated from discovery document revision 20210331
14
+
15
+ ### v0.3.0 (2021-03-27)
16
+
17
+ * Regenerated from discovery document revision 20210324
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-05)
21
+
22
+ * Regenerated from discovery document revision 20210303
23
+ * Unspecified changes
24
+
3
25
  ### v0.1.0 (2021-02-03)
4
26
 
5
27
  * Regenerated from discovery document revision 20210129
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1alpha1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -796,7 +796,9 @@ module Google
796
796
  # @return [String]
797
797
  attr_accessor :name
798
798
 
799
- # Output only. A list of the URIs of all attached spokes
799
+ # Output only. A list of the URIs of all attached spokes. This field is
800
+ # deprecated and will not be included in future API versions. Call ListSpokes on
801
+ # each region instead.
800
802
  # Corresponds to the JSON property `spokes`
801
803
  # @return [Array<String>]
802
804
  attr_accessor :spokes
@@ -1427,8 +1429,7 @@ module Google
1427
1429
  attr_accessor :trace_spans
1428
1430
 
1429
1431
  # Private Preview. This feature is only available for approved services. User
1430
- # defined labels for the resource that this operation is associated with. Only a
1431
- # combination of 1000 user labels per consumer project are allowed.
1432
+ # defined labels for the resource that this operation is associated with.
1432
1433
  # Corresponds to the JSON property `userLabels`
1433
1434
  # @return [Hash<String,String>]
1434
1435
  attr_accessor :user_labels
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1alpha1
18
18
  # Version of the google-apis-networkconnectivity_v1alpha1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210129"
25
+ REVISION = "20210430"
26
26
  end
27
27
  end
28
28
  end
@@ -84,11 +84,15 @@ module Google
84
84
  # @param [String] name
85
85
  # The resource that owns the locations collection, if applicable.
86
86
  # @param [String] filter
87
- # The standard list filter.
87
+ # A filter to narrow down results to a preferred subset. The filtering language
88
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
89
+ # AIP-160](https://google.aip.dev/160).
88
90
  # @param [Fixnum] page_size
89
- # The standard list page size.
91
+ # The maximum number of results to return. If not set, the service selects a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
94
+ # A page token received from the `next_page_token` field in the response. Send
95
+ # that page token to receive the subsequent page.
92
96
  # @param [String] fields
93
97
  # Selector specifying which fields to include in a partial response.
94
98
  # @param [String] quota_user
@@ -448,52 +452,19 @@ module Google
448
452
  execute_or_queue_command(command, &block)
449
453
  end
450
454
 
451
- # Starts asynchronous cancellation on a long-running operation. The server makes
452
- # a best effort to cancel the operation, but success is not guaranteed. If the
453
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
454
- # Clients can use Operations.GetOperation or other methods to check whether the
455
- # cancellation succeeded or whether the operation completed despite cancellation.
456
- # On successful cancellation, the operation is not deleted; instead, it becomes
457
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
458
- # corresponding to `Code.CANCELLED`.
459
- # @param [String] name
460
- # The name of the operation resource to be cancelled.
461
- # @param [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
462
- # @param [String] fields
463
- # Selector specifying which fields to include in a partial response.
464
- # @param [String] quota_user
465
- # Available to use for quota purposes for server-side applications. Can be any
466
- # arbitrary string assigned to a user, but should not exceed 40 characters.
467
- # @param [Google::Apis::RequestOptions] options
468
- # Request-specific options
469
- #
470
- # @yield [result, err] Result & error if block supplied
471
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Empty] parsed result object
472
- # @yieldparam err [StandardError] error object if request failed
473
- #
474
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Empty]
475
- #
476
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
477
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
478
- # @raise [Google::Apis::AuthorizationError] Authorization is required
479
- def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
480
- command = make_simple_command(:post, 'v1alpha1/{+name}:cancel', options)
481
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningCancelOperationRequest::Representation
482
- command.request_object = google_longrunning_cancel_operation_request_object
483
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Empty::Representation
484
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Empty
485
- command.params['name'] = name unless name.nil?
486
- command.query['fields'] = fields unless fields.nil?
487
- command.query['quotaUser'] = quota_user unless quota_user.nil?
488
- execute_or_queue_command(command, &block)
489
- end
490
-
491
- # Deletes a long-running operation. This method indicates that the client is no
492
- # longer interested in the operation result. It does not cancel the operation.
493
- # If the server doesn't support this method, it returns `google.rpc.Code.
494
- # UNIMPLEMENTED`.
495
- # @param [String] name
496
- # The name of the operation resource to be deleted.
455
+ # Gets the access control policy for a resource. Returns an empty policy if the
456
+ # resource exists and does not have a policy set.
457
+ # @param [String] resource
458
+ # REQUIRED: The resource for which the policy is being requested. See the
459
+ # operation documentation for the appropriate value for this field.
460
+ # @param [Fixnum] options_requested_policy_version
461
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
462
+ # 3. Requests specifying an invalid value will be rejected. Requests for
463
+ # policies with any conditional bindings must specify version 3. Policies
464
+ # without any conditional bindings may specify any valid value or leave the
465
+ # field unset. To learn which resources support conditions in their IAM policies,
466
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
467
+ # resource-policies).
497
468
  # @param [String] fields
498
469
  # Selector specifying which fields to include in a partial response.
499
470
  # @param [String] quota_user
@@ -503,28 +474,32 @@ module Google
503
474
  # Request-specific options
504
475
  #
505
476
  # @yield [result, err] Result & error if block supplied
506
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Empty] parsed result object
477
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
507
478
  # @yieldparam err [StandardError] error object if request failed
508
479
  #
509
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Empty]
480
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
510
481
  #
511
482
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
512
483
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
513
484
  # @raise [Google::Apis::AuthorizationError] Authorization is required
514
- def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
515
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
516
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Empty::Representation
517
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Empty
518
- command.params['name'] = name unless name.nil?
485
+ def get_project_location_global_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
486
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
487
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
488
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
489
+ command.params['resource'] = resource unless resource.nil?
490
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
519
491
  command.query['fields'] = fields unless fields.nil?
520
492
  command.query['quotaUser'] = quota_user unless quota_user.nil?
521
493
  execute_or_queue_command(command, &block)
522
494
  end
523
495
 
524
- # Gets the latest state of a long-running operation. Clients can use this method
525
- # to poll the operation result at intervals as recommended by the API service.
526
- # @param [String] name
527
- # The name of the operation resource.
496
+ # Sets the access control policy on the specified resource. Replaces any
497
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
498
+ # PERMISSION_DENIED` errors.
499
+ # @param [String] resource
500
+ # REQUIRED: The resource for which the policy is being specified. See the
501
+ # operation documentation for the appropriate value for this field.
502
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
528
503
  # @param [String] fields
529
504
  # Selector specifying which fields to include in a partial response.
530
505
  # @param [String] quota_user
@@ -534,40 +509,35 @@ module Google
534
509
  # Request-specific options
535
510
  #
536
511
  # @yield [result, err] Result & error if block supplied
537
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation] parsed result object
512
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
538
513
  # @yieldparam err [StandardError] error object if request failed
539
514
  #
540
- # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation]
515
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
541
516
  #
542
517
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
543
518
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
544
519
  # @raise [Google::Apis::AuthorizationError] Authorization is required
545
- def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
546
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
547
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
548
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation
549
- command.params['name'] = name unless name.nil?
520
+ def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
521
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
522
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
523
+ command.request_object = set_iam_policy_request_object
524
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
525
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
526
+ command.params['resource'] = resource unless resource.nil?
550
527
  command.query['fields'] = fields unless fields.nil?
551
528
  command.query['quotaUser'] = quota_user unless quota_user.nil?
552
529
  execute_or_queue_command(command, &block)
553
530
  end
554
531
 
555
- # Lists operations that match the specified filter in the request. If the server
556
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
557
- # binding allows API services to override the binding to use different resource
558
- # name schemes, such as `users/*/operations`. To override the binding, API
559
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
560
- # service configuration. For backwards compatibility, the default name includes
561
- # the operations collection id, however overriding users must ensure the name
562
- # binding is the parent resource, without the operations collection id.
563
- # @param [String] name
564
- # The name of the operation's parent resource.
565
- # @param [String] filter
566
- # The standard list filter.
567
- # @param [Fixnum] page_size
568
- # The standard list page size.
569
- # @param [String] page_token
570
- # The standard list page token.
532
+ # Returns permissions that a caller has on the specified resource. If the
533
+ # resource does not exist, this will return an empty set of permissions, not a `
534
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
535
+ # permission-aware UIs and command-line tools, not for authorization checking.
536
+ # This operation may "fail open" without warning.
537
+ # @param [String] resource
538
+ # REQUIRED: The resource for which the policy detail is being requested. See the
539
+ # operation documentation for the appropriate value for this field.
540
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
571
541
  # @param [String] fields
572
542
  # Selector specifying which fields to include in a partial response.
573
543
  # @param [String] quota_user
@@ -577,22 +547,21 @@ module Google
577
547
  # Request-specific options
578
548
  #
579
549
  # @yield [result, err] Result & error if block supplied
580
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse] parsed result object
550
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
581
551
  # @yieldparam err [StandardError] error object if request failed
582
552
  #
583
- # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse]
553
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
584
554
  #
585
555
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
586
556
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
587
557
  # @raise [Google::Apis::AuthorizationError] Authorization is required
588
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
589
- command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
590
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse::Representation
591
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse
592
- command.params['name'] = name unless name.nil?
593
- command.query['filter'] = filter unless filter.nil?
594
- command.query['pageSize'] = page_size unless page_size.nil?
595
- command.query['pageToken'] = page_token unless page_token.nil?
558
+ def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
559
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
560
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
561
+ command.request_object = test_iam_permissions_request_object
562
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
563
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
564
+ command.params['resource'] = resource unless resource.nil?
596
565
  command.query['fields'] = fields unless fields.nil?
597
566
  command.query['quotaUser'] = quota_user unless quota_user.nil?
598
567
  execute_or_queue_command(command, &block)
@@ -628,7 +597,7 @@ module Google
628
597
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
629
598
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
630
599
  # @raise [Google::Apis::AuthorizationError] Authorization is required
631
- def get_project_location_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
600
+ def get_project_location_internal_range_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
632
601
  command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
633
602
  command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
634
603
  command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
@@ -663,7 +632,7 @@ module Google
663
632
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
664
633
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
665
634
  # @raise [Google::Apis::AuthorizationError] Authorization is required
666
- def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
635
+ def set_internal_range_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
667
636
  command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
668
637
  command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
669
638
  command.request_object = set_iam_policy_request_object
@@ -701,7 +670,7 @@ module Google
701
670
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
702
671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
703
672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
704
- def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
673
+ def test_internal_range_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
705
674
  command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
706
675
  command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
707
676
  command.request_object = test_iam_permissions_request_object
@@ -713,19 +682,17 @@ module Google
713
682
  execute_or_queue_command(command, &block)
714
683
  end
715
684
 
716
- # Gets the access control policy for a resource. Returns an empty policy if the
717
- # resource exists and does not have a policy set.
718
- # @param [String] resource
719
- # REQUIRED: The resource for which the policy is being requested. See the
720
- # operation documentation for the appropriate value for this field.
721
- # @param [Fixnum] options_requested_policy_version
722
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
723
- # 3. Requests specifying an invalid value will be rejected. Requests for
724
- # policies with any conditional bindings must specify version 3. Policies
725
- # without any conditional bindings may specify any valid value or leave the
726
- # field unset. To learn which resources support conditions in their IAM policies,
727
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
728
- # resource-policies).
685
+ # Starts asynchronous cancellation on a long-running operation. The server makes
686
+ # a best effort to cancel the operation, but success is not guaranteed. If the
687
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
688
+ # Clients can use Operations.GetOperation or other methods to check whether the
689
+ # cancellation succeeded or whether the operation completed despite cancellation.
690
+ # On successful cancellation, the operation is not deleted; instead, it becomes
691
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
692
+ # corresponding to `Code.CANCELLED`.
693
+ # @param [String] name
694
+ # The name of the operation resource to be cancelled.
695
+ # @param [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
729
696
  # @param [String] fields
730
697
  # Selector specifying which fields to include in a partial response.
731
698
  # @param [String] quota_user
@@ -735,32 +702,32 @@ module Google
735
702
  # Request-specific options
736
703
  #
737
704
  # @yield [result, err] Result & error if block supplied
738
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
705
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Empty] parsed result object
739
706
  # @yieldparam err [StandardError] error object if request failed
740
707
  #
741
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
708
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Empty]
742
709
  #
743
710
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
711
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
712
  # @raise [Google::Apis::AuthorizationError] Authorization is required
746
- def get_project_location_private_range_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
747
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
748
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
749
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
750
- command.params['resource'] = resource unless resource.nil?
751
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
713
+ def cancel_project_location_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
714
+ command = make_simple_command(:post, 'v1alpha1/{+name}:cancel', options)
715
+ command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningCancelOperationRequest::Representation
716
+ command.request_object = google_longrunning_cancel_operation_request_object
717
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Empty::Representation
718
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Empty
719
+ command.params['name'] = name unless name.nil?
752
720
  command.query['fields'] = fields unless fields.nil?
753
721
  command.query['quotaUser'] = quota_user unless quota_user.nil?
754
722
  execute_or_queue_command(command, &block)
755
723
  end
756
724
 
757
- # Sets the access control policy on the specified resource. Replaces any
758
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
759
- # PERMISSION_DENIED` errors.
760
- # @param [String] resource
761
- # REQUIRED: The resource for which the policy is being specified. See the
762
- # operation documentation for the appropriate value for this field.
763
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
725
+ # Deletes a long-running operation. This method indicates that the client is no
726
+ # longer interested in the operation result. It does not cancel the operation.
727
+ # If the server doesn't support this method, it returns `google.rpc.Code.
728
+ # UNIMPLEMENTED`.
729
+ # @param [String] name
730
+ # The name of the operation resource to be deleted.
764
731
  # @param [String] fields
765
732
  # Selector specifying which fields to include in a partial response.
766
733
  # @param [String] quota_user
@@ -770,35 +737,28 @@ module Google
770
737
  # Request-specific options
771
738
  #
772
739
  # @yield [result, err] Result & error if block supplied
773
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
740
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Empty] parsed result object
774
741
  # @yieldparam err [StandardError] error object if request failed
775
742
  #
776
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
743
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::Empty]
777
744
  #
778
745
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
779
746
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
780
747
  # @raise [Google::Apis::AuthorizationError] Authorization is required
781
- def set_private_range_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
782
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
783
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
784
- command.request_object = set_iam_policy_request_object
785
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
786
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
787
- command.params['resource'] = resource unless resource.nil?
748
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
749
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
750
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Empty::Representation
751
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Empty
752
+ command.params['name'] = name unless name.nil?
788
753
  command.query['fields'] = fields unless fields.nil?
789
754
  command.query['quotaUser'] = quota_user unless quota_user.nil?
790
755
  execute_or_queue_command(command, &block)
791
756
  end
792
757
 
793
- # Returns permissions that a caller has on the specified resource. If the
794
- # resource does not exist, this will return an empty set of permissions, not a `
795
- # NOT_FOUND` error. Note: This operation is designed to be used for building
796
- # permission-aware UIs and command-line tools, not for authorization checking.
797
- # This operation may "fail open" without warning.
798
- # @param [String] resource
799
- # REQUIRED: The resource for which the policy detail is being requested. See the
800
- # operation documentation for the appropriate value for this field.
801
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
758
+ # Gets the latest state of a long-running operation. Clients can use this method
759
+ # to poll the operation result at intervals as recommended by the API service.
760
+ # @param [String] name
761
+ # The name of the operation resource.
802
762
  # @param [String] fields
803
763
  # Selector specifying which fields to include in a partial response.
804
764
  # @param [String] quota_user
@@ -808,21 +768,65 @@ module Google
808
768
  # Request-specific options
809
769
  #
810
770
  # @yield [result, err] Result & error if block supplied
811
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
771
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation] parsed result object
812
772
  # @yieldparam err [StandardError] error object if request failed
813
773
  #
814
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
774
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation]
815
775
  #
816
776
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
817
777
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
818
778
  # @raise [Google::Apis::AuthorizationError] Authorization is required
819
- def test_private_range_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
820
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
821
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
822
- command.request_object = test_iam_permissions_request_object
823
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
824
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
825
- command.params['resource'] = resource unless resource.nil?
779
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
780
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
781
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation::Representation
782
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningOperation
783
+ command.params['name'] = name unless name.nil?
784
+ command.query['fields'] = fields unless fields.nil?
785
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
786
+ execute_or_queue_command(command, &block)
787
+ end
788
+
789
+ # Lists operations that match the specified filter in the request. If the server
790
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
791
+ # binding allows API services to override the binding to use different resource
792
+ # name schemes, such as `users/*/operations`. To override the binding, API
793
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
794
+ # service configuration. For backwards compatibility, the default name includes
795
+ # the operations collection id, however overriding users must ensure the name
796
+ # binding is the parent resource, without the operations collection id.
797
+ # @param [String] name
798
+ # The name of the operation's parent resource.
799
+ # @param [String] filter
800
+ # The standard list filter.
801
+ # @param [Fixnum] page_size
802
+ # The standard list page size.
803
+ # @param [String] page_token
804
+ # The standard list page token.
805
+ # @param [String] fields
806
+ # Selector specifying which fields to include in a partial response.
807
+ # @param [String] quota_user
808
+ # Available to use for quota purposes for server-side applications. Can be any
809
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
810
+ # @param [Google::Apis::RequestOptions] options
811
+ # Request-specific options
812
+ #
813
+ # @yield [result, err] Result & error if block supplied
814
+ # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse] parsed result object
815
+ # @yieldparam err [StandardError] error object if request failed
816
+ #
817
+ # @return [Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse]
818
+ #
819
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
820
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
821
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
822
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
823
+ command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
824
+ command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse::Representation
825
+ command.response_class = Google::Apis::NetworkconnectivityV1alpha1::GoogleLongrunningListOperationsResponse
826
+ command.params['name'] = name unless name.nil?
827
+ command.query['filter'] = filter unless filter.nil?
828
+ command.query['pageSize'] = page_size unless page_size.nil?
829
+ command.query['pageToken'] = page_token unless page_token.nil?
826
830
  command.query['fields'] = fields unless fields.nil?
827
831
  command.query['quotaUser'] = quota_user unless quota_user.nil?
828
832
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Network Connectivity API V1alpha1