google-apis-networkconnectivity_v1alpha1 0.8.0 → 0.9.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 +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +1 -116
- data/lib/google/apis/networkconnectivity_v1alpha1.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39236062cf0a8ff692ca168474cddb796bb58ed1fb98142171d3b516c6f7abd
|
4
|
+
data.tar.gz: 8d4572407189fe0749d050e0ab441d848eccfe844a7b249256f4107f6ef3742e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5174113f00d91643e59da9f75e856a3804894431866c03df2bb1c078d9016f8986c4cc21fb96338e0f5415fb093cbde662d99d2aa6575864e67362a13816c8b0
|
7
|
+
data.tar.gz: 3400f058adfb3107bf981568f284369fa6505a2a9ed8dd6542da171951fbfa0e8fb88e11aa6db2ef6e5e0442f2626aa0f3ec78e01798745148fc8c929c0730f5
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/network-connectivity/docs) may provide guidance regarding the preferred client library to use.
|
82
|
+
The [product documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -661,7 +661,7 @@ module Google
|
|
661
661
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
662
662
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
663
663
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
664
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
664
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
665
665
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
666
666
|
# google.com/iam/docs/).
|
667
667
|
class Policy
|
@@ -787,7 +787,7 @@ module Google
|
|
787
787
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
788
788
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
789
789
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
790
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
790
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
791
791
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
792
792
|
# google.com/iam/docs/).
|
793
793
|
# Corresponds to the JSON property `policy`
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210810"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Networkconnectivity = Google::Apis::NetworkconnectivityV1alpha1 # Alias the module
|
31
31
|
# service = Networkconnectivity::NetworkconnectivityService.new
|
32
32
|
#
|
33
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
33
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
34
34
|
class NetworkconnectivityService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -451,121 +451,6 @@ module Google
|
|
451
451
|
execute_or_queue_command(command, &block)
|
452
452
|
end
|
453
453
|
|
454
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
455
|
-
# resource exists and does not have a policy set.
|
456
|
-
# @param [String] resource
|
457
|
-
# REQUIRED: The resource for which the policy is being requested. See the
|
458
|
-
# operation documentation for the appropriate value for this field.
|
459
|
-
# @param [Fixnum] options_requested_policy_version
|
460
|
-
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
461
|
-
# 3. Requests specifying an invalid value will be rejected. Requests for
|
462
|
-
# policies with any conditional bindings must specify version 3. Policies
|
463
|
-
# without any conditional bindings may specify any valid value or leave the
|
464
|
-
# field unset. To learn which resources support conditions in their IAM policies,
|
465
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
466
|
-
# resource-policies).
|
467
|
-
# @param [String] fields
|
468
|
-
# Selector specifying which fields to include in a partial response.
|
469
|
-
# @param [String] quota_user
|
470
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
471
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
472
|
-
# @param [Google::Apis::RequestOptions] options
|
473
|
-
# Request-specific options
|
474
|
-
#
|
475
|
-
# @yield [result, err] Result & error if block supplied
|
476
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
477
|
-
# @yieldparam err [StandardError] error object if request failed
|
478
|
-
#
|
479
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
480
|
-
#
|
481
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
482
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
483
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
484
|
-
def get_project_location_global_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
485
|
-
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
486
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
487
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
488
|
-
command.params['resource'] = resource unless resource.nil?
|
489
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
490
|
-
command.query['fields'] = fields unless fields.nil?
|
491
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
492
|
-
execute_or_queue_command(command, &block)
|
493
|
-
end
|
494
|
-
|
495
|
-
# Sets the access control policy on the specified resource. Replaces any
|
496
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
497
|
-
# PERMISSION_DENIED` errors.
|
498
|
-
# @param [String] resource
|
499
|
-
# REQUIRED: The resource for which the policy is being specified. See the
|
500
|
-
# operation documentation for the appropriate value for this field.
|
501
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
502
|
-
# @param [String] fields
|
503
|
-
# Selector specifying which fields to include in a partial response.
|
504
|
-
# @param [String] quota_user
|
505
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
506
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
507
|
-
# @param [Google::Apis::RequestOptions] options
|
508
|
-
# Request-specific options
|
509
|
-
#
|
510
|
-
# @yield [result, err] Result & error if block supplied
|
511
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
512
|
-
# @yieldparam err [StandardError] error object if request failed
|
513
|
-
#
|
514
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
515
|
-
#
|
516
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
517
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
518
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
519
|
-
def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
520
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
521
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
522
|
-
command.request_object = set_iam_policy_request_object
|
523
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
524
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
525
|
-
command.params['resource'] = resource unless resource.nil?
|
526
|
-
command.query['fields'] = fields unless fields.nil?
|
527
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
528
|
-
execute_or_queue_command(command, &block)
|
529
|
-
end
|
530
|
-
|
531
|
-
# Returns permissions that a caller has on the specified resource. If the
|
532
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
533
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
534
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
535
|
-
# This operation may "fail open" without warning.
|
536
|
-
# @param [String] resource
|
537
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
538
|
-
# operation documentation for the appropriate value for this field.
|
539
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
540
|
-
# @param [String] fields
|
541
|
-
# Selector specifying which fields to include in a partial response.
|
542
|
-
# @param [String] quota_user
|
543
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
544
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
545
|
-
# @param [Google::Apis::RequestOptions] options
|
546
|
-
# Request-specific options
|
547
|
-
#
|
548
|
-
# @yield [result, err] Result & error if block supplied
|
549
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
550
|
-
# @yieldparam err [StandardError] error object if request failed
|
551
|
-
#
|
552
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
553
|
-
#
|
554
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
555
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
556
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
557
|
-
def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
558
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
559
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
560
|
-
command.request_object = test_iam_permissions_request_object
|
561
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
562
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
563
|
-
command.params['resource'] = resource unless resource.nil?
|
564
|
-
command.query['fields'] = fields unless fields.nil?
|
565
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
566
|
-
execute_or_queue_command(command, &block)
|
567
|
-
end
|
568
|
-
|
569
454
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
570
455
|
# resource exists and does not have a policy set.
|
571
456
|
# @param [String] resource
|
@@ -23,13 +23,13 @@ module Google
|
|
23
23
|
#
|
24
24
|
# The Network Connectivity API provides access to Network Connectivity Center.
|
25
25
|
#
|
26
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
26
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
27
27
|
module NetworkconnectivityV1alpha1
|
28
28
|
# Version of the Network Connectivity API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1alpha1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-06 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/master/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|