google-apis-beyondcorp_v1alpha 0.25.0 → 0.27.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 +8 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +26 -0
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +15 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +121 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f23d16943f7355f883ad3972e6a3add861d01d7ee19cff63707e61161c9695d1
|
4
|
+
data.tar.gz: 49a90ffbdcb71a2cc239bbb8c41f59fc62d7017d082f797a8063867610fe1564
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 333bea5c0f8e95980cc18be6f9a6710b922073c3f988e40134083505ca19d2a326e70045d77950489cdb1c410d1381bb5574ec5d2580b232b03028f4a7179f5e
|
7
|
+
data.tar.gz: 37d2fdb9d1406418cab5a5da9c4fc675b87f42926f426b51c20f1165638a8d4b9ea0ce6bad774c58c29ef771c8ad6f79dc91e4f351021e917d3f3298de6a4185
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.27.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230927
|
6
|
+
|
7
|
+
### v0.26.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230823
|
10
|
+
|
3
11
|
### v0.25.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230802
|
@@ -2121,6 +2121,11 @@ module Google
|
|
2121
2121
|
# @return [String]
|
2122
2122
|
attr_accessor :name
|
2123
2123
|
|
2124
|
+
# The protocol data that specifies how to communicate with Partner's Proxy.
|
2125
|
+
# Corresponds to the JSON property `proxyProtocolConfig`
|
2126
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig]
|
2127
|
+
attr_accessor :proxy_protocol_config
|
2128
|
+
|
2124
2129
|
# Required. The URI of the proxy server.
|
2125
2130
|
# Corresponds to the JSON property `proxyUri`
|
2126
2131
|
# @return [String]
|
@@ -2151,6 +2156,7 @@ module Google
|
|
2151
2156
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2152
2157
|
@encryption_info = args[:encryption_info] if args.key?(:encryption_info)
|
2153
2158
|
@name = args[:name] if args.key?(:name)
|
2159
|
+
@proxy_protocol_config = args[:proxy_protocol_config] if args.key?(:proxy_protocol_config)
|
2154
2160
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
2155
2161
|
@routing_info = args[:routing_info] if args.key?(:routing_info)
|
2156
2162
|
@transport_info = args[:transport_info] if args.key?(:transport_info)
|
@@ -2158,6 +2164,26 @@ module Google
|
|
2158
2164
|
end
|
2159
2165
|
end
|
2160
2166
|
|
2167
|
+
# The protocol data that specifies how to communicate with Partner's Proxy.
|
2168
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig
|
2169
|
+
include Google::Apis::Core::Hashable
|
2170
|
+
|
2171
|
+
# Optional. Untyped property bag to be sent back to the proxy using client
|
2172
|
+
# specific mechanism.
|
2173
|
+
# Corresponds to the JSON property `metadata`
|
2174
|
+
# @return [Hash<String,String>]
|
2175
|
+
attr_accessor :metadata
|
2176
|
+
|
2177
|
+
def initialize(**args)
|
2178
|
+
update!(**args)
|
2179
|
+
end
|
2180
|
+
|
2181
|
+
# Update properties of this object
|
2182
|
+
def update!(**args)
|
2183
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2184
|
+
end
|
2185
|
+
end
|
2186
|
+
|
2161
2187
|
# Message contains the routing information to direct traffic to the proxy server.
|
2162
2188
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo
|
2163
2189
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1alpha
|
18
18
|
# Version of the google-apis-beyondcorp_v1alpha 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
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230927"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -346,6 +346,12 @@ module Google
|
|
346
346
|
include Google::Apis::Core::JsonObjectSupport
|
347
347
|
end
|
348
348
|
|
349
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
349
355
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo
|
350
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
357
|
|
@@ -1169,6 +1175,8 @@ module Google
|
|
1169
1175
|
property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo::Representation
|
1170
1176
|
|
1171
1177
|
property :name, as: 'name'
|
1178
|
+
property :proxy_protocol_config, as: 'proxyProtocolConfig', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig::Representation
|
1179
|
+
|
1172
1180
|
property :proxy_uri, as: 'proxyUri'
|
1173
1181
|
property :routing_info, as: 'routingInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo::Representation
|
1174
1182
|
|
@@ -1178,6 +1186,13 @@ module Google
|
|
1178
1186
|
end
|
1179
1187
|
end
|
1180
1188
|
|
1189
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyProtocolConfig
|
1190
|
+
# @private
|
1191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1192
|
+
hash :metadata, as: 'metadata'
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
|
1181
1196
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo
|
1182
1197
|
# @private
|
1183
1198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2672,6 +2672,127 @@ module Google
|
|
2672
2672
|
execute_or_queue_command(command, &block)
|
2673
2673
|
end
|
2674
2674
|
|
2675
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2676
|
+
# resource exists and does not have a policy set.
|
2677
|
+
# @param [String] resource
|
2678
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2679
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2680
|
+
# appropriate value for this field.
|
2681
|
+
# @param [Fixnum] options_requested_policy_version
|
2682
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2683
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2684
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2685
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2686
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2687
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2688
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2689
|
+
# bindings, the response uses version 1. To learn which resources support
|
2690
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2691
|
+
# google.com/iam/help/conditions/resource-policies).
|
2692
|
+
# @param [String] fields
|
2693
|
+
# Selector specifying which fields to include in a partial response.
|
2694
|
+
# @param [String] quota_user
|
2695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2697
|
+
# @param [Google::Apis::RequestOptions] options
|
2698
|
+
# Request-specific options
|
2699
|
+
#
|
2700
|
+
# @yield [result, err] Result & error if block supplied
|
2701
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
2702
|
+
# @yieldparam err [StandardError] error object if request failed
|
2703
|
+
#
|
2704
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
2705
|
+
#
|
2706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2709
|
+
def get_project_location_application_domain_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2710
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
2711
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
2712
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
2713
|
+
command.params['resource'] = resource unless resource.nil?
|
2714
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2715
|
+
command.query['fields'] = fields unless fields.nil?
|
2716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2717
|
+
execute_or_queue_command(command, &block)
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2721
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2722
|
+
# PERMISSION_DENIED` errors.
|
2723
|
+
# @param [String] resource
|
2724
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2725
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2726
|
+
# appropriate value for this field.
|
2727
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2728
|
+
# @param [String] fields
|
2729
|
+
# Selector specifying which fields to include in a partial response.
|
2730
|
+
# @param [String] quota_user
|
2731
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2732
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2733
|
+
# @param [Google::Apis::RequestOptions] options
|
2734
|
+
# Request-specific options
|
2735
|
+
#
|
2736
|
+
# @yield [result, err] Result & error if block supplied
|
2737
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
2738
|
+
# @yieldparam err [StandardError] error object if request failed
|
2739
|
+
#
|
2740
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
2741
|
+
#
|
2742
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2743
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2744
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2745
|
+
def set_project_location_application_domain_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2746
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
2747
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
2748
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2749
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
2750
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
2751
|
+
command.params['resource'] = resource unless resource.nil?
|
2752
|
+
command.query['fields'] = fields unless fields.nil?
|
2753
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2754
|
+
execute_or_queue_command(command, &block)
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2758
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2759
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2760
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2761
|
+
# This operation may "fail open" without warning.
|
2762
|
+
# @param [String] resource
|
2763
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2764
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2765
|
+
# appropriate value for this field.
|
2766
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2767
|
+
# @param [String] fields
|
2768
|
+
# Selector specifying which fields to include in a partial response.
|
2769
|
+
# @param [String] quota_user
|
2770
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2771
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2772
|
+
# @param [Google::Apis::RequestOptions] options
|
2773
|
+
# Request-specific options
|
2774
|
+
#
|
2775
|
+
# @yield [result, err] Result & error if block supplied
|
2776
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2777
|
+
# @yieldparam err [StandardError] error object if request failed
|
2778
|
+
#
|
2779
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
2780
|
+
#
|
2781
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2782
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2783
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2784
|
+
def test_project_location_application_domain_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2785
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
2786
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
2787
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2788
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
2789
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
2790
|
+
command.params['resource'] = resource unless resource.nil?
|
2791
|
+
command.query['fields'] = fields unless fields.nil?
|
2792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2793
|
+
execute_or_queue_command(command, &block)
|
2794
|
+
end
|
2795
|
+
|
2675
2796
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
2676
2797
|
# resource exists and does not have a policy set.
|
2677
2798
|
# @param [String] resource
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1alpha
|
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: 2023-08
|
11
|
+
date: 2023-10-08 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BeyondCorp API V1alpha
|