google-apis-gkehub_v1alpha 0.53.0 → 0.54.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 025c1ac5d7f6f21ae2dc26a921769af5431bd1bc529222c9f5328c45d5a2a270
|
4
|
+
data.tar.gz: 615e8acdbe5066d186b407ccc47d79a960ee81d3729c7b2bcb8618bf677419cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c65da49425d31a1afc8cffe72ce3dbb83cf1f9cb0507671a4cf27aa13d3080c015a12f78222d07a9ea9894a80f8063325c8c79a8ba35110c7cba22f0ae6f67c
|
7
|
+
data.tar.gz: 39bd15b86e24f7ebdf71dc2400168b7b2277db347fb0da12b5d2e201dc8d0736d446f86f0f1fa8a39dcde45e530d76465bd1683416bd276a02a9da56d08e5f21
|
data/CHANGELOG.md
CHANGED
@@ -451,8 +451,7 @@ module Google
|
|
451
451
|
# @return [Google::Apis::GkehubV1alpha::AppDevExperienceFeatureState]
|
452
452
|
attr_accessor :appdevexperience
|
453
453
|
|
454
|
-
# **FleetObservability**:
|
455
|
-
# state.
|
454
|
+
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
456
455
|
# Corresponds to the JSON property `fleetobservability`
|
457
456
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityFeatureState]
|
458
457
|
attr_accessor :fleetobservability
|
@@ -1944,8 +1943,7 @@ module Google
|
|
1944
1943
|
end
|
1945
1944
|
end
|
1946
1945
|
|
1947
|
-
# **FleetObservability**:
|
1948
|
-
# state.
|
1946
|
+
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
1949
1947
|
class FleetObservabilityFeatureState
|
1950
1948
|
include Google::Apis::Core::Hashable
|
1951
1949
|
|
@@ -1997,8 +1995,8 @@ module Google
|
|
1997
1995
|
end
|
1998
1996
|
end
|
1999
1997
|
|
2000
|
-
# **FleetObservability**:
|
2001
|
-
#
|
1998
|
+
# **FleetObservability**: Membership-specific Feature state for
|
1999
|
+
# fleetobservability.
|
2002
2000
|
class FleetObservabilityMembershipState
|
2003
2001
|
include Google::Apis::Core::Hashable
|
2004
2002
|
|
@@ -2961,7 +2959,7 @@ module Google
|
|
2961
2959
|
# @return [String]
|
2962
2960
|
attr_accessor :name
|
2963
2961
|
|
2964
|
-
# A
|
2962
|
+
# A Scope resource name in the format `projects/*/locations/*/scopes/*`.
|
2965
2963
|
# Corresponds to the JSON property `scope`
|
2966
2964
|
# @return [String]
|
2967
2965
|
attr_accessor :scope
|
@@ -3174,8 +3172,8 @@ module Google
|
|
3174
3172
|
# @return [Google::Apis::GkehubV1alpha::ConfigManagementMembershipState]
|
3175
3173
|
attr_accessor :configmanagement
|
3176
3174
|
|
3177
|
-
# **FleetObservability**:
|
3178
|
-
#
|
3175
|
+
# **FleetObservability**: Membership-specific Feature state for
|
3176
|
+
# fleetobservability.
|
3179
3177
|
# Corresponds to the JSON property `fleetobservability`
|
3180
3178
|
# @return [Google::Apis::GkehubV1alpha::FleetObservabilityMembershipState]
|
3181
3179
|
attr_accessor :fleetobservability
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkehubV1alpha
|
18
18
|
# Version of the google-apis-gkehub_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.54.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 = "20230515"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1299,6 +1299,9 @@ module Google
|
|
1299
1299
|
# @param [String] parent
|
1300
1300
|
# Required. The parent Membership for which the MembershipBindings will be
|
1301
1301
|
# listed. Specified in the format `projects/*/locations/*/memberships/*`.
|
1302
|
+
# @param [String] filter
|
1303
|
+
# Optional. Lists MembershipBindings that match the filter expression, following
|
1304
|
+
# the syntax outlined in https://google.aip.dev/160.
|
1302
1305
|
# @param [Fixnum] page_size
|
1303
1306
|
# Optional. When requesting a 'page' of resources, `page_size` specifies number
|
1304
1307
|
# of resources to return. If unspecified or set to 0, all resources will be
|
@@ -1324,11 +1327,12 @@ module Google
|
|
1324
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1325
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1326
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1327
|
-
def list_project_location_membership_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1330
|
+
def list_project_location_membership_bindings(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
1331
|
command = make_simple_command(:get, 'v1alpha/{+parent}/bindings', options)
|
1329
1332
|
command.response_representation = Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse::Representation
|
1330
1333
|
command.response_class = Google::Apis::GkehubV1alpha::ListMembershipBindingsResponse
|
1331
1334
|
command.params['parent'] = parent unless parent.nil?
|
1335
|
+
command.query['filter'] = filter unless filter.nil?
|
1332
1336
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1333
1337
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1334
1338
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1979,6 +1983,51 @@ module Google
|
|
1979
1983
|
execute_or_queue_command(command, &block)
|
1980
1984
|
end
|
1981
1985
|
|
1986
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1987
|
+
# resource exists and does not have a policy set.
|
1988
|
+
# @param [String] resource
|
1989
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1990
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1991
|
+
# appropriate value for this field.
|
1992
|
+
# @param [Fixnum] options_requested_policy_version
|
1993
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1994
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1995
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1996
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1997
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1998
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1999
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2000
|
+
# bindings, the response uses version 1. To learn which resources support
|
2001
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2002
|
+
# google.com/iam/help/conditions/resource-policies).
|
2003
|
+
# @param [String] fields
|
2004
|
+
# Selector specifying which fields to include in a partial response.
|
2005
|
+
# @param [String] quota_user
|
2006
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2007
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2008
|
+
# @param [Google::Apis::RequestOptions] options
|
2009
|
+
# Request-specific options
|
2010
|
+
#
|
2011
|
+
# @yield [result, err] Result & error if block supplied
|
2012
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Policy] parsed result object
|
2013
|
+
# @yieldparam err [StandardError] error object if request failed
|
2014
|
+
#
|
2015
|
+
# @return [Google::Apis::GkehubV1alpha::Policy]
|
2016
|
+
#
|
2017
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2018
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2019
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2020
|
+
def get_project_location_scope_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2021
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
2022
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation
|
2023
|
+
command.response_class = Google::Apis::GkehubV1alpha::Policy
|
2024
|
+
command.params['resource'] = resource unless resource.nil?
|
2025
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2026
|
+
command.query['fields'] = fields unless fields.nil?
|
2027
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2028
|
+
execute_or_queue_command(command, &block)
|
2029
|
+
end
|
2030
|
+
|
1982
2031
|
# Lists Scopes.
|
1983
2032
|
# @param [String] parent
|
1984
2033
|
# Required. The parent (project and location) where the Scope will be listed.
|
@@ -2055,6 +2104,82 @@ module Google
|
|
2055
2104
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2056
2105
|
execute_or_queue_command(command, &block)
|
2057
2106
|
end
|
2107
|
+
|
2108
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2109
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2110
|
+
# PERMISSION_DENIED` errors.
|
2111
|
+
# @param [String] resource
|
2112
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2113
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2114
|
+
# appropriate value for this field.
|
2115
|
+
# @param [Google::Apis::GkehubV1alpha::SetIamPolicyRequest] set_iam_policy_request_object
|
2116
|
+
# @param [String] fields
|
2117
|
+
# Selector specifying which fields to include in a partial response.
|
2118
|
+
# @param [String] quota_user
|
2119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2121
|
+
# @param [Google::Apis::RequestOptions] options
|
2122
|
+
# Request-specific options
|
2123
|
+
#
|
2124
|
+
# @yield [result, err] Result & error if block supplied
|
2125
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::Policy] parsed result object
|
2126
|
+
# @yieldparam err [StandardError] error object if request failed
|
2127
|
+
#
|
2128
|
+
# @return [Google::Apis::GkehubV1alpha::Policy]
|
2129
|
+
#
|
2130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2133
|
+
def set_scope_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2134
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
2135
|
+
command.request_representation = Google::Apis::GkehubV1alpha::SetIamPolicyRequest::Representation
|
2136
|
+
command.request_object = set_iam_policy_request_object
|
2137
|
+
command.response_representation = Google::Apis::GkehubV1alpha::Policy::Representation
|
2138
|
+
command.response_class = Google::Apis::GkehubV1alpha::Policy
|
2139
|
+
command.params['resource'] = resource unless resource.nil?
|
2140
|
+
command.query['fields'] = fields unless fields.nil?
|
2141
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2142
|
+
execute_or_queue_command(command, &block)
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2146
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2147
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2148
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2149
|
+
# This operation may "fail open" without warning.
|
2150
|
+
# @param [String] resource
|
2151
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2152
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2153
|
+
# appropriate value for this field.
|
2154
|
+
# @param [Google::Apis::GkehubV1alpha::TestIamPermissionsRequest] test_iam_permissions_request_object
|
2155
|
+
# @param [String] fields
|
2156
|
+
# Selector specifying which fields to include in a partial response.
|
2157
|
+
# @param [String] quota_user
|
2158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2160
|
+
# @param [Google::Apis::RequestOptions] options
|
2161
|
+
# Request-specific options
|
2162
|
+
#
|
2163
|
+
# @yield [result, err] Result & error if block supplied
|
2164
|
+
# @yieldparam result [Google::Apis::GkehubV1alpha::TestIamPermissionsResponse] parsed result object
|
2165
|
+
# @yieldparam err [StandardError] error object if request failed
|
2166
|
+
#
|
2167
|
+
# @return [Google::Apis::GkehubV1alpha::TestIamPermissionsResponse]
|
2168
|
+
#
|
2169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2172
|
+
def test_scope_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2173
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
2174
|
+
command.request_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsRequest::Representation
|
2175
|
+
command.request_object = test_iam_permissions_request_object
|
2176
|
+
command.response_representation = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse::Representation
|
2177
|
+
command.response_class = Google::Apis::GkehubV1alpha::TestIamPermissionsResponse
|
2178
|
+
command.params['resource'] = resource unless resource.nil?
|
2179
|
+
command.query['fields'] = fields unless fields.nil?
|
2180
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2181
|
+
execute_or_queue_command(command, &block)
|
2182
|
+
end
|
2058
2183
|
|
2059
2184
|
protected
|
2060
2185
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkehub_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.54.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-
|
11
|
+
date: 2023-05-21 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-gkehub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1alpha/v0.54.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|