google-apis-networkconnectivity_v1 0.78.0 → 0.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +110 -1
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +38 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +151 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76ca96cbe2a939dd456a4045494eabae3742b396615bf14d6756aa7122ec3aa9
|
|
4
|
+
data.tar.gz: f5c7ad71d78d022e5e791adba23e5dc4f2e7b6f20e2973aa046b0d005c682cc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 965485a126e282571ca02dfa0e9ddb5f8ba35feb02a2498b5d6efe2e45ccb68952435b9bbd5e834fe44e3f5ce01f14c4719aab9bd1461d423a783cbffb886ab6
|
|
7
|
+
data.tar.gz: 53bce7f8a07256f87c8b40a1a6536efc47dd2a874bc293a72a7d6f0fae030a496d6f0511866654f63ab982a8b5491c7279bbf573ec5af77c5d7cdad5b2c8bc39
|
data/CHANGELOG.md
CHANGED
|
@@ -1411,7 +1411,7 @@ module Google
|
|
|
1411
1411
|
# @return [Hash<String,String>]
|
|
1412
1412
|
attr_accessor :metadata
|
|
1413
1413
|
|
|
1414
|
-
# The reason
|
|
1414
|
+
# The reason for the error. This is a constant value that identifies the
|
|
1415
1415
|
# proximate cause of the error. Error reasons are unique within a particular
|
|
1416
1416
|
# domain of errors. This should be at most 63 characters and match a regular
|
|
1417
1417
|
# expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
|
@@ -2559,6 +2559,37 @@ module Google
|
|
|
2559
2559
|
end
|
|
2560
2560
|
end
|
|
2561
2561
|
|
|
2562
|
+
# Response for ListPscAuthorizationPolicies.
|
|
2563
|
+
class ListPscAuthorizationPoliciesResponse
|
|
2564
|
+
include Google::Apis::Core::Hashable
|
|
2565
|
+
|
|
2566
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
|
2567
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2568
|
+
# @return [String]
|
|
2569
|
+
attr_accessor :next_page_token
|
|
2570
|
+
|
|
2571
|
+
# The list of PscAuthorizationPolicies.
|
|
2572
|
+
# Corresponds to the JSON property `pscAuthorizationPolicies`
|
|
2573
|
+
# @return [Array<Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy>]
|
|
2574
|
+
attr_accessor :psc_authorization_policies
|
|
2575
|
+
|
|
2576
|
+
# Unordered list. Locations that could not be reached.
|
|
2577
|
+
# Corresponds to the JSON property `unreachable`
|
|
2578
|
+
# @return [Array<String>]
|
|
2579
|
+
attr_accessor :unreachable
|
|
2580
|
+
|
|
2581
|
+
def initialize(**args)
|
|
2582
|
+
update!(**args)
|
|
2583
|
+
end
|
|
2584
|
+
|
|
2585
|
+
# Update properties of this object
|
|
2586
|
+
def update!(**args)
|
|
2587
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2588
|
+
@psc_authorization_policies = args[:psc_authorization_policies] if args.key?(:psc_authorization_policies)
|
|
2589
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2590
|
+
end
|
|
2591
|
+
end
|
|
2592
|
+
|
|
2562
2593
|
# Response for ListRegionalEndpoints.
|
|
2563
2594
|
class ListRegionalEndpointsResponse
|
|
2564
2595
|
include Google::Apis::Core::Hashable
|
|
@@ -3543,6 +3574,84 @@ module Google
|
|
|
3543
3574
|
end
|
|
3544
3575
|
end
|
|
3545
3576
|
|
|
3577
|
+
# Represents a PSC Authorization Policy.
|
|
3578
|
+
class PscAuthorizationPolicy
|
|
3579
|
+
include Google::Apis::Core::Hashable
|
|
3580
|
+
|
|
3581
|
+
# Required. The authorization mode.
|
|
3582
|
+
# Corresponds to the JSON property `authorizationMode`
|
|
3583
|
+
# @return [String]
|
|
3584
|
+
attr_accessor :authorization_mode
|
|
3585
|
+
|
|
3586
|
+
# Required. List of authorized consumer resources allowed to connect. Supported
|
|
3587
|
+
# values are: 1. Project resource name (e.g., `projects/`project_id``) 2.
|
|
3588
|
+
# Wildcard `"*"` (grants global ingress authorization to the target).
|
|
3589
|
+
# Corresponds to the JSON property `authorizedClientResources`
|
|
3590
|
+
# @return [Array<String>]
|
|
3591
|
+
attr_accessor :authorized_client_resources
|
|
3592
|
+
|
|
3593
|
+
# Output only. The time when the PscAuthorizationPolicy was created.
|
|
3594
|
+
# Corresponds to the JSON property `createTime`
|
|
3595
|
+
# @return [String]
|
|
3596
|
+
attr_accessor :create_time
|
|
3597
|
+
|
|
3598
|
+
# Optional. A description of this resource.
|
|
3599
|
+
# Corresponds to the JSON property `description`
|
|
3600
|
+
# @return [String]
|
|
3601
|
+
attr_accessor :description
|
|
3602
|
+
|
|
3603
|
+
# Output only. The etag of the PscAuthorizationPolicy.
|
|
3604
|
+
# Corresponds to the JSON property `etag`
|
|
3605
|
+
# @return [String]
|
|
3606
|
+
attr_accessor :etag
|
|
3607
|
+
|
|
3608
|
+
# Optional. User-defined labels.
|
|
3609
|
+
# Corresponds to the JSON property `labels`
|
|
3610
|
+
# @return [Hash<String,String>]
|
|
3611
|
+
attr_accessor :labels
|
|
3612
|
+
|
|
3613
|
+
# Identifier. The name of the PscAuthorizationPolicy. Format: projects/`project`/
|
|
3614
|
+
# locations/`location`/pscAuthorizationPolicies/`psc_authorization_policy`
|
|
3615
|
+
# Corresponds to the JSON property `name`
|
|
3616
|
+
# @return [String]
|
|
3617
|
+
attr_accessor :name
|
|
3618
|
+
|
|
3619
|
+
# Required. The full absolute URI of the targeted resource governed by this
|
|
3620
|
+
# policy. For example, for an AgentRegistry resource, the format is: `//
|
|
3621
|
+
# agentregistry.googleapis.com/projects/`project`/locations/`location``
|
|
3622
|
+
# Corresponds to the JSON property `targetResourceUri`
|
|
3623
|
+
# @return [String]
|
|
3624
|
+
attr_accessor :target_resource_uri
|
|
3625
|
+
|
|
3626
|
+
# Output only. The unique identifier of the PscAuthorizationPolicy.
|
|
3627
|
+
# Corresponds to the JSON property `uid`
|
|
3628
|
+
# @return [String]
|
|
3629
|
+
attr_accessor :uid
|
|
3630
|
+
|
|
3631
|
+
# Output only. The time when the PscAuthorizationPolicy was updated.
|
|
3632
|
+
# Corresponds to the JSON property `updateTime`
|
|
3633
|
+
# @return [String]
|
|
3634
|
+
attr_accessor :update_time
|
|
3635
|
+
|
|
3636
|
+
def initialize(**args)
|
|
3637
|
+
update!(**args)
|
|
3638
|
+
end
|
|
3639
|
+
|
|
3640
|
+
# Update properties of this object
|
|
3641
|
+
def update!(**args)
|
|
3642
|
+
@authorization_mode = args[:authorization_mode] if args.key?(:authorization_mode)
|
|
3643
|
+
@authorized_client_resources = args[:authorized_client_resources] if args.key?(:authorized_client_resources)
|
|
3644
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3645
|
+
@description = args[:description] if args.key?(:description)
|
|
3646
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
3647
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
3648
|
+
@name = args[:name] if args.key?(:name)
|
|
3649
|
+
@target_resource_uri = args[:target_resource_uri] if args.key?(:target_resource_uri)
|
|
3650
|
+
@uid = args[:uid] if args.key?(:uid)
|
|
3651
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
3652
|
+
end
|
|
3653
|
+
end
|
|
3654
|
+
|
|
3546
3655
|
# Configuration used for Private Service Connect connections. Used when
|
|
3547
3656
|
# Infrastructure is PSC.
|
|
3548
3657
|
class PscConfig
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworkconnectivityV1
|
|
18
18
|
# Version of the google-apis-networkconnectivity_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.79.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260715"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -328,6 +328,12 @@ module Google
|
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
|
329
329
|
end
|
|
330
330
|
|
|
331
|
+
class ListPscAuthorizationPoliciesResponse
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
331
337
|
class ListRegionalEndpointsResponse
|
|
332
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
339
|
|
|
@@ -472,6 +478,12 @@ module Google
|
|
|
472
478
|
include Google::Apis::Core::JsonObjectSupport
|
|
473
479
|
end
|
|
474
480
|
|
|
481
|
+
class PscAuthorizationPolicy
|
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
+
|
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
+
end
|
|
486
|
+
|
|
475
487
|
class PscConfig
|
|
476
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
489
|
|
|
@@ -1239,6 +1251,16 @@ module Google
|
|
|
1239
1251
|
end
|
|
1240
1252
|
end
|
|
1241
1253
|
|
|
1254
|
+
class ListPscAuthorizationPoliciesResponse
|
|
1255
|
+
# @private
|
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1257
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1258
|
+
collection :psc_authorization_policies, as: 'pscAuthorizationPolicies', class: Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy, decorator: Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy::Representation
|
|
1259
|
+
|
|
1260
|
+
collection :unreachable, as: 'unreachable'
|
|
1261
|
+
end
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1242
1264
|
class ListRegionalEndpointsResponse
|
|
1243
1265
|
# @private
|
|
1244
1266
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1492,6 +1514,22 @@ module Google
|
|
|
1492
1514
|
end
|
|
1493
1515
|
end
|
|
1494
1516
|
|
|
1517
|
+
class PscAuthorizationPolicy
|
|
1518
|
+
# @private
|
|
1519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1520
|
+
property :authorization_mode, as: 'authorizationMode'
|
|
1521
|
+
collection :authorized_client_resources, as: 'authorizedClientResources'
|
|
1522
|
+
property :create_time, as: 'createTime'
|
|
1523
|
+
property :description, as: 'description'
|
|
1524
|
+
property :etag, as: 'etag'
|
|
1525
|
+
hash :labels, as: 'labels'
|
|
1526
|
+
property :name, as: 'name'
|
|
1527
|
+
property :target_resource_uri, as: 'targetResourceUri'
|
|
1528
|
+
property :uid, as: 'uid'
|
|
1529
|
+
property :update_time, as: 'updateTime'
|
|
1530
|
+
end
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1495
1533
|
class PscConfig
|
|
1496
1534
|
# @private
|
|
1497
1535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2640,6 +2640,157 @@ module Google
|
|
|
2640
2640
|
execute_or_queue_command(command, &block)
|
|
2641
2641
|
end
|
|
2642
2642
|
|
|
2643
|
+
# Creates a new PscAuthorizationPolicy in a given project and location.
|
|
2644
|
+
# @param [String] parent
|
|
2645
|
+
# Required. The parent resource's name of the PscAuthorizationPolicy.
|
|
2646
|
+
# @param [Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy] psc_authorization_policy_object
|
|
2647
|
+
# @param [String] psc_authorization_policy_id
|
|
2648
|
+
# Required. Resource ID of the PscAuthorizationPolicy.
|
|
2649
|
+
# @param [String] request_id
|
|
2650
|
+
# Optional. An optional request ID to identify requests.
|
|
2651
|
+
# @param [String] fields
|
|
2652
|
+
# Selector specifying which fields to include in a partial response.
|
|
2653
|
+
# @param [String] quota_user
|
|
2654
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2655
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2656
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2657
|
+
# Request-specific options
|
|
2658
|
+
#
|
|
2659
|
+
# @yield [result, err] Result & error if block supplied
|
|
2660
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
2661
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2662
|
+
#
|
|
2663
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
2664
|
+
#
|
|
2665
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2666
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2667
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2668
|
+
def create_project_location_psc_authorization_policy(parent, psc_authorization_policy_object = nil, psc_authorization_policy_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2669
|
+
command = make_simple_command(:post, 'v1/{+parent}/pscAuthorizationPolicies', options)
|
|
2670
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy::Representation
|
|
2671
|
+
command.request_object = psc_authorization_policy_object
|
|
2672
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
2673
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
2674
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2675
|
+
command.query['pscAuthorizationPolicyId'] = psc_authorization_policy_id unless psc_authorization_policy_id.nil?
|
|
2676
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
2677
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2678
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2679
|
+
execute_or_queue_command(command, &block)
|
|
2680
|
+
end
|
|
2681
|
+
|
|
2682
|
+
# Deletes a single PscAuthorizationPolicy.
|
|
2683
|
+
# @param [String] name
|
|
2684
|
+
# Required. The name of the PscAuthorizationPolicy to delete.
|
|
2685
|
+
# @param [String] etag
|
|
2686
|
+
# Optional. The etag of the PscAuthorizationPolicy to delete.
|
|
2687
|
+
# @param [String] request_id
|
|
2688
|
+
# Optional. An optional request ID to identify requests.
|
|
2689
|
+
# @param [String] fields
|
|
2690
|
+
# Selector specifying which fields to include in a partial response.
|
|
2691
|
+
# @param [String] quota_user
|
|
2692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2694
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2695
|
+
# Request-specific options
|
|
2696
|
+
#
|
|
2697
|
+
# @yield [result, err] Result & error if block supplied
|
|
2698
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation] parsed result object
|
|
2699
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2700
|
+
#
|
|
2701
|
+
# @return [Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation]
|
|
2702
|
+
#
|
|
2703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2706
|
+
def delete_project_location_psc_authorization_policy(name, etag: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2707
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2708
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation::Representation
|
|
2709
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::GoogleLongrunningOperation
|
|
2710
|
+
command.params['name'] = name unless name.nil?
|
|
2711
|
+
command.query['etag'] = etag unless etag.nil?
|
|
2712
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
2713
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2714
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2715
|
+
execute_or_queue_command(command, &block)
|
|
2716
|
+
end
|
|
2717
|
+
|
|
2718
|
+
# Gets details of a single PscAuthorizationPolicy.
|
|
2719
|
+
# @param [String] name
|
|
2720
|
+
# Required. Name of the PscAuthorizationPolicy to get.
|
|
2721
|
+
# @param [String] fields
|
|
2722
|
+
# Selector specifying which fields to include in a partial response.
|
|
2723
|
+
# @param [String] quota_user
|
|
2724
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2725
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2726
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2727
|
+
# Request-specific options
|
|
2728
|
+
#
|
|
2729
|
+
# @yield [result, err] Result & error if block supplied
|
|
2730
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy] parsed result object
|
|
2731
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2732
|
+
#
|
|
2733
|
+
# @return [Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy]
|
|
2734
|
+
#
|
|
2735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2738
|
+
def get_project_location_psc_authorization_policy(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2739
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2740
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy::Representation
|
|
2741
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::PscAuthorizationPolicy
|
|
2742
|
+
command.params['name'] = name unless name.nil?
|
|
2743
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2745
|
+
execute_or_queue_command(command, &block)
|
|
2746
|
+
end
|
|
2747
|
+
|
|
2748
|
+
# Lists PscAuthorizationPolicies in a given project and location.
|
|
2749
|
+
# @param [String] parent
|
|
2750
|
+
# Required. The parent resource's name.
|
|
2751
|
+
# @param [String] filter
|
|
2752
|
+
# Optional. Filter expression to restrict the results.
|
|
2753
|
+
# @param [String] order_by
|
|
2754
|
+
# Optional. Sort order of the results.
|
|
2755
|
+
# @param [Fixnum] page_size
|
|
2756
|
+
# Optional. The maximum number of PscAuthorizationPolicies to return in a single
|
|
2757
|
+
# page. The service may return fewer than this value. If unspecified, at most 50
|
|
2758
|
+
# PscAuthorizationPolicies will be returned. The maximum value is 1000; values
|
|
2759
|
+
# above 1000 will be coerced to 1000.
|
|
2760
|
+
# @param [String] page_token
|
|
2761
|
+
# Optional. A page token, received from a previous `ListPscAuthorizationPolicies`
|
|
2762
|
+
# call.
|
|
2763
|
+
# @param [String] fields
|
|
2764
|
+
# Selector specifying which fields to include in a partial response.
|
|
2765
|
+
# @param [String] quota_user
|
|
2766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2768
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2769
|
+
# Request-specific options
|
|
2770
|
+
#
|
|
2771
|
+
# @yield [result, err] Result & error if block supplied
|
|
2772
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::ListPscAuthorizationPoliciesResponse] parsed result object
|
|
2773
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2774
|
+
#
|
|
2775
|
+
# @return [Google::Apis::NetworkconnectivityV1::ListPscAuthorizationPoliciesResponse]
|
|
2776
|
+
#
|
|
2777
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2778
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2779
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2780
|
+
def list_project_location_psc_authorization_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2781
|
+
command = make_simple_command(:get, 'v1/{+parent}/pscAuthorizationPolicies', options)
|
|
2782
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::ListPscAuthorizationPoliciesResponse::Representation
|
|
2783
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::ListPscAuthorizationPoliciesResponse
|
|
2784
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2785
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2786
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2787
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2788
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2789
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2791
|
+
execute_or_queue_command(command, &block)
|
|
2792
|
+
end
|
|
2793
|
+
|
|
2643
2794
|
# Creates a new RegionalEndpoint in a given project and location.
|
|
2644
2795
|
# @param [String] parent
|
|
2645
2796
|
# Required. The parent resource's name of the RegionalEndpoint.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networkconnectivity_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.79.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1/v0.79.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|