google-apis-networkconnectivity_v1 0.78.0 → 0.80.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 +8 -0
- data/lib/google/apis/networkconnectivity_v1/classes.rb +138 -1
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkconnectivity_v1/representations.rb +41 -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: 1b89dd9493505162ee1d4e293cce1e90c439142ef0564a2b190f279b19a4c54b
|
|
4
|
+
data.tar.gz: 6da643eece524a92456ffb615827e716dc8183d8796192b5d1570f70744a1f10
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4579f7cd508ad30986b89e99dacfab334b7609aedcb843cfb2cda950a1a94ec8d546f79817a101a70d6031ba50a74ad12421de5ff16d2f26c471a49b79f396ad
|
|
7
|
+
data.tar.gz: 8cc7bff5e820ce5c8973fb31c3f7154577c0da03a9c825f7ffa85d4c471a526b6fcd007f1921aeb9db75de1bda7da9fa503a69ea23a73f002bbc14cb326cded5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
|
2
2
|
|
|
3
|
+
### v0.80.0 (2026-09-20)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260908
|
|
6
|
+
|
|
7
|
+
### v0.79.0 (2026-07-19)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260715
|
|
10
|
+
|
|
3
11
|
### v0.78.0 (2026-07-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260618
|
|
@@ -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
|
|
@@ -5127,6 +5236,15 @@ module Google
|
|
|
5127
5236
|
# @return [Array<String>]
|
|
5128
5237
|
attr_accessor :advertised_routes
|
|
5129
5238
|
|
|
5239
|
+
# Optional. Immutable. Controls whether resources proposed by the Transport are
|
|
5240
|
+
# automatically accepted on behalf of the user. List of actions that can be
|
|
5241
|
+
# automatically accepted are: 1. VPC Peering creation 2. Routing VPC Spoke
|
|
5242
|
+
# creation 3. Hybrid Spoke creation
|
|
5243
|
+
# Corresponds to the JSON property `autoAccept`
|
|
5244
|
+
# @return [Boolean]
|
|
5245
|
+
attr_accessor :auto_accept
|
|
5246
|
+
alias_method :auto_accept?, :auto_accept
|
|
5247
|
+
|
|
5130
5248
|
# Optional. Bandwidth of the Transport. This must be one of the supported
|
|
5131
5249
|
# bandwidths for the remote profile, and must be set when no activation key is
|
|
5132
5250
|
# being provided.
|
|
@@ -5152,6 +5270,13 @@ module Google
|
|
|
5152
5270
|
# @return [String]
|
|
5153
5271
|
attr_accessor :generated_activation_key
|
|
5154
5272
|
|
|
5273
|
+
# Optional. Immutable. The NCC Hub that the Transport should attach to. The hub
|
|
5274
|
+
# must be in the same project as the Transport. Format: ``hub`` or `projects/`
|
|
5275
|
+
# project`/locations/global/hubs/`hub``
|
|
5276
|
+
# Corresponds to the JSON property `hub`
|
|
5277
|
+
# @return [String]
|
|
5278
|
+
attr_accessor :hub
|
|
5279
|
+
|
|
5155
5280
|
# Optional. Labels as key value pairs.
|
|
5156
5281
|
# Corresponds to the JSON property `labels`
|
|
5157
5282
|
# @return [Hash<String,String>]
|
|
@@ -5189,6 +5314,15 @@ module Google
|
|
|
5189
5314
|
# @return [String]
|
|
5190
5315
|
attr_accessor :provided_activation_key
|
|
5191
5316
|
|
|
5317
|
+
# Optional. Immutable. Controls whether a Routing VPC Spoke should be created
|
|
5318
|
+
# and attached to the NCC Hub. This will provide Private Service Connect (PSC)
|
|
5319
|
+
# connectivity through NCC. This can only be set when the Transport is first
|
|
5320
|
+
# created.
|
|
5321
|
+
# Corresponds to the JSON property `pscRoutingEnabled`
|
|
5322
|
+
# @return [Boolean]
|
|
5323
|
+
attr_accessor :psc_routing_enabled
|
|
5324
|
+
alias_method :psc_routing_enabled?, :psc_routing_enabled
|
|
5325
|
+
|
|
5192
5326
|
# Optional. Immutable. The user supplied account id for the CSP associated with
|
|
5193
5327
|
# the remote profile.
|
|
5194
5328
|
# Corresponds to the JSON property `remoteAccountId`
|
|
@@ -5223,16 +5357,19 @@ module Google
|
|
|
5223
5357
|
# Update properties of this object
|
|
5224
5358
|
def update!(**args)
|
|
5225
5359
|
@advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
|
|
5360
|
+
@auto_accept = args[:auto_accept] if args.key?(:auto_accept)
|
|
5226
5361
|
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
|
5227
5362
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5228
5363
|
@description = args[:description] if args.key?(:description)
|
|
5229
5364
|
@generated_activation_key = args[:generated_activation_key] if args.key?(:generated_activation_key)
|
|
5365
|
+
@hub = args[:hub] if args.key?(:hub)
|
|
5230
5366
|
@labels = args[:labels] if args.key?(:labels)
|
|
5231
5367
|
@mtu_limit = args[:mtu_limit] if args.key?(:mtu_limit)
|
|
5232
5368
|
@name = args[:name] if args.key?(:name)
|
|
5233
5369
|
@network = args[:network] if args.key?(:network)
|
|
5234
5370
|
@peering_network = args[:peering_network] if args.key?(:peering_network)
|
|
5235
5371
|
@provided_activation_key = args[:provided_activation_key] if args.key?(:provided_activation_key)
|
|
5372
|
+
@psc_routing_enabled = args[:psc_routing_enabled] if args.key?(:psc_routing_enabled)
|
|
5236
5373
|
@remote_account_id = args[:remote_account_id] if args.key?(:remote_account_id)
|
|
5237
5374
|
@remote_profile = args[:remote_profile] if args.key?(:remote_profile)
|
|
5238
5375
|
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
|
@@ -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.80.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 = "20260908"
|
|
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
|
|
@@ -1863,16 +1901,19 @@ module Google
|
|
|
1863
1901
|
# @private
|
|
1864
1902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1865
1903
|
collection :advertised_routes, as: 'advertisedRoutes'
|
|
1904
|
+
property :auto_accept, as: 'autoAccept'
|
|
1866
1905
|
property :bandwidth, as: 'bandwidth'
|
|
1867
1906
|
property :create_time, as: 'createTime'
|
|
1868
1907
|
property :description, as: 'description'
|
|
1869
1908
|
property :generated_activation_key, as: 'generatedActivationKey'
|
|
1909
|
+
property :hub, as: 'hub'
|
|
1870
1910
|
hash :labels, as: 'labels'
|
|
1871
1911
|
property :mtu_limit, as: 'mtuLimit'
|
|
1872
1912
|
property :name, as: 'name'
|
|
1873
1913
|
property :network, as: 'network'
|
|
1874
1914
|
property :peering_network, as: 'peeringNetwork'
|
|
1875
1915
|
property :provided_activation_key, as: 'providedActivationKey'
|
|
1916
|
+
property :psc_routing_enabled, as: 'pscRoutingEnabled'
|
|
1876
1917
|
property :remote_account_id, as: 'remoteAccountId'
|
|
1877
1918
|
property :remote_profile, as: 'remoteProfile'
|
|
1878
1919
|
property :stack_type, as: 'stackType'
|
|
@@ -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.80.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.80.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:
|