google-apis-beyondcorp_v1 0.26.0 → 0.27.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e5b46c7237f4db0c8c6ecf0f7831011cb2bbc86ba9c0eb8220a5a394a9aef4
|
4
|
+
data.tar.gz: ac9d1572461a55dc5ecb464e8da3a808991bd6184820be698305cf4e02c0caf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aedc9c0e068f45ebe06b8a8056b351b5a4bd838f72ba457b7fb301566877610fe8bfcc2ae6e38f0267e819e552c84268e06f4df9ebdcf72116ccdc5241afb3d
|
7
|
+
data.tar.gz: 945bb5687fe2a453bd4374b67f454b22d6e5d12d7aa4084cd9a39cffebb715c052eb82f1553c5f829898d1b989f7f901cab8b84b4a30bc4416744aedc0aca56d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2024-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240802
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.26.0 (2024-05-19)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.15.0
|
@@ -2390,6 +2390,26 @@ module Google
|
|
2390
2390
|
end
|
2391
2391
|
end
|
2392
2392
|
|
2393
|
+
# Response message for calling ShouldThrottle
|
2394
|
+
class ShouldThrottleResponse
|
2395
|
+
include Google::Apis::Core::Hashable
|
2396
|
+
|
2397
|
+
# Whether the port should be throttled
|
2398
|
+
# Corresponds to the JSON property `shouldThrottle`
|
2399
|
+
# @return [Boolean]
|
2400
|
+
attr_accessor :should_throttle
|
2401
|
+
alias_method :should_throttle?, :should_throttle
|
2402
|
+
|
2403
|
+
def initialize(**args)
|
2404
|
+
update!(**args)
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
# Update properties of this object
|
2408
|
+
def update!(**args)
|
2409
|
+
@should_throttle = args[:should_throttle] if args.key?(:should_throttle)
|
2410
|
+
end
|
2411
|
+
end
|
2412
|
+
|
2393
2413
|
# TunnelerError is an error proto for errors returned by the connection manager.
|
2394
2414
|
class Tunnelv1ProtoTunnelerError
|
2395
2415
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1
|
18
18
|
# Version of the google-apis-beyondcorp_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class ShouldThrottleResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class Tunnelv1ProtoTunnelerError
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -947,6 +953,13 @@ module Google
|
|
947
953
|
end
|
948
954
|
end
|
949
955
|
|
956
|
+
class ShouldThrottleResponse
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :should_throttle, as: 'shouldThrottle'
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
950
963
|
class Tunnelv1ProtoTunnelerError
|
951
964
|
# @private
|
952
965
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1732,6 +1732,43 @@ module Google
|
|
1732
1732
|
execute_or_queue_command(command, &block)
|
1733
1733
|
end
|
1734
1734
|
|
1735
|
+
# Calls the Bouncer method ShouldThrottle to check if a request should be
|
1736
|
+
# throttled.
|
1737
|
+
# @param [String] name
|
1738
|
+
# Required. Name of the resource
|
1739
|
+
# @param [Fixnum] port
|
1740
|
+
# Optional. The port that is being throttled
|
1741
|
+
# @param [Fixnum] requested_amount
|
1742
|
+
# Optional. The current throughput through the port (mbps)
|
1743
|
+
# @param [String] fields
|
1744
|
+
# Selector specifying which fields to include in a partial response.
|
1745
|
+
# @param [String] quota_user
|
1746
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1747
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1748
|
+
# @param [Google::Apis::RequestOptions] options
|
1749
|
+
# Request-specific options
|
1750
|
+
#
|
1751
|
+
# @yield [result, err] Result & error if block supplied
|
1752
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::ShouldThrottleResponse] parsed result object
|
1753
|
+
# @yieldparam err [StandardError] error object if request failed
|
1754
|
+
#
|
1755
|
+
# @return [Google::Apis::BeyondcorpV1::ShouldThrottleResponse]
|
1756
|
+
#
|
1757
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1758
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1759
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1760
|
+
def should_project_location_app_gateway_throttle(name, port: nil, requested_amount: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1761
|
+
command = make_simple_command(:get, 'v1/{+name}:shouldThrottle', options)
|
1762
|
+
command.response_representation = Google::Apis::BeyondcorpV1::ShouldThrottleResponse::Representation
|
1763
|
+
command.response_class = Google::Apis::BeyondcorpV1::ShouldThrottleResponse
|
1764
|
+
command.params['name'] = name unless name.nil?
|
1765
|
+
command.query['port'] = port unless port.nil?
|
1766
|
+
command.query['requestedAmount'] = requested_amount unless requested_amount.nil?
|
1767
|
+
command.query['fields'] = fields unless fields.nil?
|
1768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1769
|
+
execute_or_queue_command(command, &block)
|
1770
|
+
end
|
1771
|
+
|
1735
1772
|
# Returns permissions that a caller has on the specified resource. If the
|
1736
1773
|
# resource does not exist, this will return an empty set of permissions, not a `
|
1737
1774
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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: 2024-
|
11
|
+
date: 2024-08-11 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/main/generated/google-apis-beyondcorp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|