google-apis-networkconnectivity_v1 0.58.0 → 0.59.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/networkconnectivity_v1/classes.rb +79 -4
- data/lib/google/apis/networkconnectivity_v1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1/representations.rb +32 -0
- data/lib/google/apis/networkconnectivity_v1/service.rb +121 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc0125a145fd41f7f79ed4b11cd21eeadcfeb3979acc010f10cb9edba6d44849
|
4
|
+
data.tar.gz: 0ff1dae90b7b9b9391f4277618c7fe7bc51f20080477b03ea46b3bd5437c309b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97bbfd7817a1a01fcc4c703cc198c0a82425dcd5c43770062c15dd1a1e99858192471cf871b5612af0306b76c10387b3fcdc75ff4c9dcb226635648f409b183e
|
7
|
+
data.tar.gz: 68677b101c0d716fa80f7c541bdb3b46e6842aeeb1ee0626d723d746c9ca384f425933c8226e3922e81494eb11bab2b0a3c6097187661be91f0f66a6c1b4da72
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1
|
2
2
|
|
3
|
+
### v0.59.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250512
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.58.0 (2025-04-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250414
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/network-connectivity/docs/r
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -121,6 +121,35 @@ module Google
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
+
# Range auto-allocation options, to be optionally used when CIDR block is not
|
125
|
+
# explicitly set.
|
126
|
+
class AllocationOptions
|
127
|
+
include Google::Apis::Core::Hashable
|
128
|
+
|
129
|
+
# Optional. Allocation strategy Not setting this field when the allocation is
|
130
|
+
# requested means an implementation defined strategy is used.
|
131
|
+
# Corresponds to the JSON property `allocationStrategy`
|
132
|
+
# @return [String]
|
133
|
+
attr_accessor :allocation_strategy
|
134
|
+
|
135
|
+
# Optional. This field must be set only when allocation_strategy is set to
|
136
|
+
# RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism
|
137
|
+
# of range creation requests issued to the same space of peered netwroks.
|
138
|
+
# Corresponds to the JSON property `firstAvailableRangesLookupSize`
|
139
|
+
# @return [Fixnum]
|
140
|
+
attr_accessor :first_available_ranges_lookup_size
|
141
|
+
|
142
|
+
def initialize(**args)
|
143
|
+
update!(**args)
|
144
|
+
end
|
145
|
+
|
146
|
+
# Update properties of this object
|
147
|
+
def update!(**args)
|
148
|
+
@allocation_strategy = args[:allocation_strategy] if args.key?(:allocation_strategy)
|
149
|
+
@first_available_ranges_lookup_size = args[:first_available_ranges_lookup_size] if args.key?(:first_available_ranges_lookup_size)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
124
153
|
# Specifies the audit configuration for a service. The configuration determines
|
125
154
|
# which permission types are logged, and what identities, if any, are exempted
|
126
155
|
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
@@ -599,7 +628,8 @@ module Google
|
|
599
628
|
include Google::Apis::Core::Hashable
|
600
629
|
|
601
630
|
# Optional. The destination IP range of outgoing packets that this policy-based
|
602
|
-
# route applies to. Default is "0.0.0.0/0" if protocol version is IPv4
|
631
|
+
# route applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and "::/0"
|
632
|
+
# if protocol version is IPv6.
|
603
633
|
# Corresponds to the JSON property `destRange`
|
604
634
|
# @return [String]
|
605
635
|
attr_accessor :dest_range
|
@@ -610,14 +640,15 @@ module Google
|
|
610
640
|
# @return [String]
|
611
641
|
attr_accessor :ip_protocol
|
612
642
|
|
613
|
-
# Required. Internet protocol versions this policy-based route applies to.
|
614
|
-
#
|
643
|
+
# Required. Internet protocol versions this policy-based route applies to. IPV4
|
644
|
+
# and IPV6 is supported.
|
615
645
|
# Corresponds to the JSON property `protocolVersion`
|
616
646
|
# @return [String]
|
617
647
|
attr_accessor :protocol_version
|
618
648
|
|
619
649
|
# Optional. The source IP range of outgoing packets that this policy-based route
|
620
|
-
# applies to. Default is "0.0.0.0/0" if protocol version is IPv4
|
650
|
+
# applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and "::/0" if
|
651
|
+
# protocol version is IPv6.
|
621
652
|
# Corresponds to the JSON property `srcRange`
|
622
653
|
# @return [String]
|
623
654
|
attr_accessor :src_range
|
@@ -1087,6 +1118,12 @@ module Google
|
|
1087
1118
|
class InternalRange
|
1088
1119
|
include Google::Apis::Core::Hashable
|
1089
1120
|
|
1121
|
+
# Range auto-allocation options, to be optionally used when CIDR block is not
|
1122
|
+
# explicitly set.
|
1123
|
+
# Corresponds to the JSON property `allocationOptions`
|
1124
|
+
# @return [Google::Apis::NetworkconnectivityV1::AllocationOptions]
|
1125
|
+
attr_accessor :allocation_options
|
1126
|
+
|
1090
1127
|
# Time when the internal range was created.
|
1091
1128
|
# Corresponds to the JSON property `createTime`
|
1092
1129
|
# @return [String]
|
@@ -1200,6 +1237,7 @@ module Google
|
|
1200
1237
|
|
1201
1238
|
# Update properties of this object
|
1202
1239
|
def update!(**args)
|
1240
|
+
@allocation_options = args[:allocation_options] if args.key?(:allocation_options)
|
1203
1241
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1204
1242
|
@description = args[:description] if args.key?(:description)
|
1205
1243
|
@exclude_cidr_ranges = args[:exclude_cidr_ranges] if args.key?(:exclude_cidr_ranges)
|
@@ -2095,6 +2133,37 @@ module Google
|
|
2095
2133
|
end
|
2096
2134
|
end
|
2097
2135
|
|
2136
|
+
# A route next hop that leads to a spoke resource.
|
2137
|
+
class NextHopSpoke
|
2138
|
+
include Google::Apis::Core::Hashable
|
2139
|
+
|
2140
|
+
# Indicates whether site-to-site data transfer is allowed for this spoke
|
2141
|
+
# resource. Data transfer is available only in [supported locations](https://
|
2142
|
+
# cloud.google.com/network-connectivity/docs/network-connectivity-center/
|
2143
|
+
# concepts/locations). Whether this route is accessible to other hybrid spokes
|
2144
|
+
# with site-to-site data transfer enabled. If this is false, the route is only
|
2145
|
+
# accessible to VPC spokes of the connected Hub.
|
2146
|
+
# Corresponds to the JSON property `siteToSiteDataTransfer`
|
2147
|
+
# @return [Boolean]
|
2148
|
+
attr_accessor :site_to_site_data_transfer
|
2149
|
+
alias_method :site_to_site_data_transfer?, :site_to_site_data_transfer
|
2150
|
+
|
2151
|
+
# The URI of the spoke resource.
|
2152
|
+
# Corresponds to the JSON property `uri`
|
2153
|
+
# @return [String]
|
2154
|
+
attr_accessor :uri
|
2155
|
+
|
2156
|
+
def initialize(**args)
|
2157
|
+
update!(**args)
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# Update properties of this object
|
2161
|
+
def update!(**args)
|
2162
|
+
@site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
|
2163
|
+
@uri = args[:uri] if args.key?(:uri)
|
2164
|
+
end
|
2165
|
+
end
|
2166
|
+
|
2098
2167
|
# A route next hop that leads to a VPN tunnel resource.
|
2099
2168
|
class NextHopVpnTunnel
|
2100
2169
|
include Google::Apis::Core::Hashable
|
@@ -2950,6 +3019,11 @@ module Google
|
|
2950
3019
|
# @return [Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance]
|
2951
3020
|
attr_accessor :next_hop_router_appliance_instance
|
2952
3021
|
|
3022
|
+
# A route next hop that leads to a spoke resource.
|
3023
|
+
# Corresponds to the JSON property `nextHopSpoke`
|
3024
|
+
# @return [Google::Apis::NetworkconnectivityV1::NextHopSpoke]
|
3025
|
+
attr_accessor :next_hop_spoke
|
3026
|
+
|
2953
3027
|
# Immutable. The destination VPC network for packets on this route.
|
2954
3028
|
# Corresponds to the JSON property `nextHopVpcNetwork`
|
2955
3029
|
# @return [Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork]
|
@@ -3011,6 +3085,7 @@ module Google
|
|
3011
3085
|
@name = args[:name] if args.key?(:name)
|
3012
3086
|
@next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
|
3013
3087
|
@next_hop_router_appliance_instance = args[:next_hop_router_appliance_instance] if args.key?(:next_hop_router_appliance_instance)
|
3088
|
+
@next_hop_spoke = args[:next_hop_spoke] if args.key?(:next_hop_spoke)
|
3014
3089
|
@next_hop_vpc_network = args[:next_hop_vpc_network] if args.key?(:next_hop_vpc_network)
|
3015
3090
|
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
|
3016
3091
|
@priority = args[:priority] if args.key?(:priority)
|
@@ -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.59.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250512"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class AllocationOptions
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class AuditConfig
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -298,6 +304,12 @@ module Google
|
|
298
304
|
include Google::Apis::Core::JsonObjectSupport
|
299
305
|
end
|
300
306
|
|
307
|
+
class NextHopSpoke
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class NextHopVpnTunnel
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -521,6 +533,14 @@ module Google
|
|
521
533
|
end
|
522
534
|
end
|
523
535
|
|
536
|
+
class AllocationOptions
|
537
|
+
# @private
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
+
property :allocation_strategy, as: 'allocationStrategy'
|
540
|
+
property :first_available_ranges_lookup_size, as: 'firstAvailableRangesLookupSize'
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
524
544
|
class AuditConfig
|
525
545
|
# @private
|
526
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -721,6 +741,8 @@ module Google
|
|
721
741
|
class InternalRange
|
722
742
|
# @private
|
723
743
|
class Representation < Google::Apis::Core::JsonRepresentation
|
744
|
+
property :allocation_options, as: 'allocationOptions', class: Google::Apis::NetworkconnectivityV1::AllocationOptions, decorator: Google::Apis::NetworkconnectivityV1::AllocationOptions::Representation
|
745
|
+
|
724
746
|
property :create_time, as: 'createTime'
|
725
747
|
property :description, as: 'description'
|
726
748
|
collection :exclude_cidr_ranges, as: 'excludeCidrRanges'
|
@@ -981,6 +1003,14 @@ module Google
|
|
981
1003
|
end
|
982
1004
|
end
|
983
1005
|
|
1006
|
+
class NextHopSpoke
|
1007
|
+
# @private
|
1008
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1009
|
+
property :site_to_site_data_transfer, as: 'siteToSiteDataTransfer'
|
1010
|
+
property :uri, as: 'uri'
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
984
1014
|
class NextHopVpnTunnel
|
985
1015
|
# @private
|
986
1016
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1166,6 +1196,8 @@ module Google
|
|
1166
1196
|
|
1167
1197
|
property :next_hop_router_appliance_instance, as: 'nextHopRouterApplianceInstance', class: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance, decorator: Google::Apis::NetworkconnectivityV1::NextHopRouterApplianceInstance::Representation
|
1168
1198
|
|
1199
|
+
property :next_hop_spoke, as: 'nextHopSpoke', class: Google::Apis::NetworkconnectivityV1::NextHopSpoke, decorator: Google::Apis::NetworkconnectivityV1::NextHopSpoke::Representation
|
1200
|
+
|
1169
1201
|
property :next_hop_vpc_network, as: 'nextHopVpcNetwork', class: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpcNetwork::Representation
|
1170
1202
|
|
1171
1203
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel', class: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel, decorator: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel::Representation
|
@@ -1522,6 +1522,51 @@ module Google
|
|
1522
1522
|
execute_or_queue_command(command, &block)
|
1523
1523
|
end
|
1524
1524
|
|
1525
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1526
|
+
# resource exists and does not have a policy set.
|
1527
|
+
# @param [String] resource
|
1528
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1529
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1530
|
+
# appropriate value for this field.
|
1531
|
+
# @param [Fixnum] options_requested_policy_version
|
1532
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1533
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1534
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1535
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1536
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1537
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1538
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1539
|
+
# bindings, the response uses version 1. To learn which resources support
|
1540
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1541
|
+
# google.com/iam/help/conditions/resource-policies).
|
1542
|
+
# @param [String] fields
|
1543
|
+
# Selector specifying which fields to include in a partial response.
|
1544
|
+
# @param [String] quota_user
|
1545
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1546
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1547
|
+
# @param [Google::Apis::RequestOptions] options
|
1548
|
+
# Request-specific options
|
1549
|
+
#
|
1550
|
+
# @yield [result, err] Result & error if block supplied
|
1551
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
1552
|
+
# @yieldparam err [StandardError] error object if request failed
|
1553
|
+
#
|
1554
|
+
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
1555
|
+
#
|
1556
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1557
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1558
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1559
|
+
def get_project_location_internal_range_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1560
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
1561
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
1562
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
1563
|
+
command.params['resource'] = resource unless resource.nil?
|
1564
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1565
|
+
command.query['fields'] = fields unless fields.nil?
|
1566
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1567
|
+
execute_or_queue_command(command, &block)
|
1568
|
+
end
|
1569
|
+
|
1525
1570
|
# Lists internal ranges in a given project and location.
|
1526
1571
|
# @param [String] parent
|
1527
1572
|
# Required. The parent resource's name.
|
@@ -1618,6 +1663,82 @@ module Google
|
|
1618
1663
|
execute_or_queue_command(command, &block)
|
1619
1664
|
end
|
1620
1665
|
|
1666
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1667
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1668
|
+
# PERMISSION_DENIED` errors.
|
1669
|
+
# @param [String] resource
|
1670
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1671
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1672
|
+
# appropriate value for this field.
|
1673
|
+
# @param [Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1674
|
+
# @param [String] fields
|
1675
|
+
# Selector specifying which fields to include in a partial response.
|
1676
|
+
# @param [String] quota_user
|
1677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1679
|
+
# @param [Google::Apis::RequestOptions] options
|
1680
|
+
# Request-specific options
|
1681
|
+
#
|
1682
|
+
# @yield [result, err] Result & error if block supplied
|
1683
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::Policy] parsed result object
|
1684
|
+
# @yieldparam err [StandardError] error object if request failed
|
1685
|
+
#
|
1686
|
+
# @return [Google::Apis::NetworkconnectivityV1::Policy]
|
1687
|
+
#
|
1688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1691
|
+
def set_internal_range_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1692
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1693
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::SetIamPolicyRequest::Representation
|
1694
|
+
command.request_object = set_iam_policy_request_object
|
1695
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::Policy::Representation
|
1696
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::Policy
|
1697
|
+
command.params['resource'] = resource unless resource.nil?
|
1698
|
+
command.query['fields'] = fields unless fields.nil?
|
1699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1700
|
+
execute_or_queue_command(command, &block)
|
1701
|
+
end
|
1702
|
+
|
1703
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1704
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1705
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1706
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1707
|
+
# This operation may "fail open" without warning.
|
1708
|
+
# @param [String] resource
|
1709
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1710
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1711
|
+
# appropriate value for this field.
|
1712
|
+
# @param [Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1713
|
+
# @param [String] fields
|
1714
|
+
# Selector specifying which fields to include in a partial response.
|
1715
|
+
# @param [String] quota_user
|
1716
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1717
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1718
|
+
# @param [Google::Apis::RequestOptions] options
|
1719
|
+
# Request-specific options
|
1720
|
+
#
|
1721
|
+
# @yield [result, err] Result & error if block supplied
|
1722
|
+
# @yieldparam result [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse] parsed result object
|
1723
|
+
# @yieldparam err [StandardError] error object if request failed
|
1724
|
+
#
|
1725
|
+
# @return [Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse]
|
1726
|
+
#
|
1727
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1728
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1729
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1730
|
+
def test_internal_range_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1731
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1732
|
+
command.request_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsRequest::Representation
|
1733
|
+
command.request_object = test_iam_permissions_request_object
|
1734
|
+
command.response_representation = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse::Representation
|
1735
|
+
command.response_class = Google::Apis::NetworkconnectivityV1::TestIamPermissionsResponse
|
1736
|
+
command.params['resource'] = resource unless resource.nil?
|
1737
|
+
command.query['fields'] = fields unless fields.nil?
|
1738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1739
|
+
execute_or_queue_command(command, &block)
|
1740
|
+
end
|
1741
|
+
|
1621
1742
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1622
1743
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1623
1744
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.59.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:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Network Connectivity API V1
|
79
79
|
test_files: []
|