google-apis-gkeonprem_v1 0.22.0 → 0.23.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 +4 -0
- data/lib/google/apis/gkeonprem_v1/gem_version.rb +2 -2
- data/lib/google/apis/gkeonprem_v1/service.rb +49 -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: cf7cdd0992d68aa8a7a0049786bab6c20817a477d6ef1dccdc6e4b82d629f188
|
4
|
+
data.tar.gz: 6488cf50a6fecb8d3b4fcac7fc82c3607326b1561cafea738592d1393198c988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0484d38a055bdd9e7204cc59f2ef8e0999878d7b083d66998a3469e0220e84fce30d962f284395807e7e8728f093b823f5e8e6d79c8b145ace04148566c31c6e'
|
7
|
+
data.tar.gz: 60ac26834d2ae17a97033a74667fffe7d5e17abb599ac9d324413bfebcd7890e2f03d3b3ecde87eae3624746cca9f96528b8c9e463b2eb90ae2094d5c284e330
|
data/CHANGELOG.md
CHANGED
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GkeonpremV1
|
18
18
|
# Version of the google-apis-gkeonprem_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241023"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1852,6 +1852,55 @@ module Google
|
|
1852
1852
|
execute_or_queue_command(command, &block)
|
1853
1853
|
end
|
1854
1854
|
|
1855
|
+
# Creates a new VMware admin cluster in a given project and location. The API
|
1856
|
+
# needs to be combined with creating a bootstrap cluster to work.
|
1857
|
+
# @param [String] parent
|
1858
|
+
# Required. The parent of the project and location where the cluster is created
|
1859
|
+
# in. Format: "projects/`project`/locations/`location`"
|
1860
|
+
# @param [Google::Apis::GkeonpremV1::VmwareAdminCluster] vmware_admin_cluster_object
|
1861
|
+
# @param [Boolean] allow_preflight_failure
|
1862
|
+
# Optional. If set to true, CLM will force CCFE to persist the cluster resource
|
1863
|
+
# in RMS when the creation fails during standalone preflight checks. In that
|
1864
|
+
# case the subsequent create call will fail with "cluster already exists" error
|
1865
|
+
# and hence a update cluster is required to fix the cluster.
|
1866
|
+
# @param [Boolean] validate_only
|
1867
|
+
# Validate the request without actually doing any updates.
|
1868
|
+
# @param [String] vmware_admin_cluster_id
|
1869
|
+
# Required. User provided identifier that is used as part of the resource name;
|
1870
|
+
# must conform to RFC-1034 and additionally restrict to lower-cased letters.
|
1871
|
+
# This comes out roughly to: /^a-z+[a-z0-9]$/
|
1872
|
+
# @param [String] fields
|
1873
|
+
# Selector specifying which fields to include in a partial response.
|
1874
|
+
# @param [String] quota_user
|
1875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1877
|
+
# @param [Google::Apis::RequestOptions] options
|
1878
|
+
# Request-specific options
|
1879
|
+
#
|
1880
|
+
# @yield [result, err] Result & error if block supplied
|
1881
|
+
# @yieldparam result [Google::Apis::GkeonpremV1::Operation] parsed result object
|
1882
|
+
# @yieldparam err [StandardError] error object if request failed
|
1883
|
+
#
|
1884
|
+
# @return [Google::Apis::GkeonpremV1::Operation]
|
1885
|
+
#
|
1886
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1887
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1888
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1889
|
+
def create_project_location_vmware_admin_cluster(parent, vmware_admin_cluster_object = nil, allow_preflight_failure: nil, validate_only: nil, vmware_admin_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1890
|
+
command = make_simple_command(:post, 'v1/{+parent}/vmwareAdminClusters', options)
|
1891
|
+
command.request_representation = Google::Apis::GkeonpremV1::VmwareAdminCluster::Representation
|
1892
|
+
command.request_object = vmware_admin_cluster_object
|
1893
|
+
command.response_representation = Google::Apis::GkeonpremV1::Operation::Representation
|
1894
|
+
command.response_class = Google::Apis::GkeonpremV1::Operation
|
1895
|
+
command.params['parent'] = parent unless parent.nil?
|
1896
|
+
command.query['allowPreflightFailure'] = allow_preflight_failure unless allow_preflight_failure.nil?
|
1897
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1898
|
+
command.query['vmwareAdminClusterId'] = vmware_admin_cluster_id unless vmware_admin_cluster_id.nil?
|
1899
|
+
command.query['fields'] = fields unless fields.nil?
|
1900
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1901
|
+
execute_or_queue_command(command, &block)
|
1902
|
+
end
|
1903
|
+
|
1855
1904
|
# Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a
|
1856
1905
|
# given project and location. Through enrollment, an existing admin cluster will
|
1857
1906
|
# become Anthos On-Prem API managed. The corresponding GCP resources will be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gkeonprem_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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-11-17 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-gkeonprem_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkeonprem_v1/v0.23.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkeonprem_v1
|
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.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for GDC Virtual API V1
|