google-apis-networkconnectivity_v1alpha1 0.5.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 +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +2 -1108
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/representations.rb +0 -382
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +2 -118
- data/lib/google/apis/networkconnectivity_v1alpha1.rb +3 -4
- metadata +13 -7
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module NetworkconnectivityV1alpha1
|
23
23
|
# Network Connectivity API
|
24
24
|
#
|
25
|
-
# The Network Connectivity API
|
26
|
-
# information pertaining to network connectivity.
|
25
|
+
# The Network Connectivity API provides access to Network Connectivity Center.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/networkconnectivity_v1alpha1'
|
@@ -31,7 +30,7 @@ module Google
|
|
31
30
|
# Networkconnectivity = Google::Apis::NetworkconnectivityV1alpha1 # Alias the module
|
32
31
|
# service = Networkconnectivity::NetworkconnectivityService.new
|
33
32
|
#
|
34
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
33
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
35
34
|
class NetworkconnectivityService < Google::Apis::Core::BaseService
|
36
35
|
# @return [String]
|
37
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -452,121 +451,6 @@ module Google
|
|
452
451
|
execute_or_queue_command(command, &block)
|
453
452
|
end
|
454
453
|
|
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).
|
468
|
-
# @param [String] fields
|
469
|
-
# Selector specifying which fields to include in a partial response.
|
470
|
-
# @param [String] quota_user
|
471
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
472
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
473
|
-
# @param [Google::Apis::RequestOptions] options
|
474
|
-
# Request-specific options
|
475
|
-
#
|
476
|
-
# @yield [result, err] Result & error if block supplied
|
477
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
478
|
-
# @yieldparam err [StandardError] error object if request failed
|
479
|
-
#
|
480
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
481
|
-
#
|
482
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
483
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
484
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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?
|
491
|
-
command.query['fields'] = fields unless fields.nil?
|
492
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
493
|
-
execute_or_queue_command(command, &block)
|
494
|
-
end
|
495
|
-
|
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
|
503
|
-
# @param [String] fields
|
504
|
-
# Selector specifying which fields to include in a partial response.
|
505
|
-
# @param [String] quota_user
|
506
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
507
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
508
|
-
# @param [Google::Apis::RequestOptions] options
|
509
|
-
# Request-specific options
|
510
|
-
#
|
511
|
-
# @yield [result, err] Result & error if block supplied
|
512
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
513
|
-
# @yieldparam err [StandardError] error object if request failed
|
514
|
-
#
|
515
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
516
|
-
#
|
517
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
518
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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?
|
527
|
-
command.query['fields'] = fields unless fields.nil?
|
528
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
529
|
-
execute_or_queue_command(command, &block)
|
530
|
-
end
|
531
|
-
|
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
|
541
|
-
# @param [String] fields
|
542
|
-
# Selector specifying which fields to include in a partial response.
|
543
|
-
# @param [String] quota_user
|
544
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
545
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
546
|
-
# @param [Google::Apis::RequestOptions] options
|
547
|
-
# Request-specific options
|
548
|
-
#
|
549
|
-
# @yield [result, err] Result & error if block supplied
|
550
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
551
|
-
# @yieldparam err [StandardError] error object if request failed
|
552
|
-
#
|
553
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
554
|
-
#
|
555
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
556
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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?
|
565
|
-
command.query['fields'] = fields unless fields.nil?
|
566
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
|
-
execute_or_queue_command(command, &block)
|
568
|
-
end
|
569
|
-
|
570
454
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
571
455
|
# resource exists and does not have a policy set.
|
572
456
|
# @param [String] resource
|
@@ -21,16 +21,15 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Network Connectivity API
|
23
23
|
#
|
24
|
-
# The Network Connectivity API
|
25
|
-
# information pertaining to network connectivity.
|
24
|
+
# The Network Connectivity API provides access to Network Connectivity Center.
|
26
25
|
#
|
27
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
26
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
28
27
|
module NetworkconnectivityV1alpha1
|
29
28
|
# Version of the Network Connectivity API this client connects to.
|
30
29
|
# This is NOT the gem version.
|
31
30
|
VERSION = 'V1alpha1'
|
32
31
|
|
33
|
-
# 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.
|
34
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
34
|
end
|
36
35
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Network Connectivity API V1alpha1.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.9.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|