google-apis-sasportal_v1alpha1 0.37.0 → 0.38.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 +4 -0
- data/lib/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/lib/google/apis/sasportal_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/lib/google/apis/sasportal_v1alpha1/service.rb +27 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43303e6348eceeef787ea599de5c2b7236921665dc2a3cd614a2825c28adfdb5
|
4
|
+
data.tar.gz: 17690720a88b0ba9efbc3fd64fb690d48f3058c2cedcb45f3d05c68261652d7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 193f3334658861c63c19b4ea41090cce84b159af1bca8228361390cd7d531d87db92699a88b8c9538b36c745f106259e3d040f20999940a2b24245029b0b3f84
|
7
|
+
data.tar.gz: 6f0d1639997994cb2fddc55eff238a8de1332df3a8fb74cee7a8e2a870032f742e8b85147883c40de65001b75ee0ad3d1922be812618cb5e57a496518e32f766
|
data/CHANGELOG.md
CHANGED
@@ -889,6 +889,26 @@ module Google
|
|
889
889
|
end
|
890
890
|
end
|
891
891
|
|
892
|
+
# Response for [ListLegacyOrganizations]. [spectrum.sas.portal.v1alpha1.
|
893
|
+
# Provisioning.ListLegacyOrganizations].
|
894
|
+
class SasPortalListLegacyOrganizationsResponse
|
895
|
+
include Google::Apis::Core::Hashable
|
896
|
+
|
897
|
+
# Optional. IDs of legacy SAS organizations.
|
898
|
+
# Corresponds to the JSON property `organizationIds`
|
899
|
+
# @return [Array<Fixnum>]
|
900
|
+
attr_accessor :organization_ids
|
901
|
+
|
902
|
+
def initialize(**args)
|
903
|
+
update!(**args)
|
904
|
+
end
|
905
|
+
|
906
|
+
# Update properties of this object
|
907
|
+
def update!(**args)
|
908
|
+
@organization_ids = args[:organization_ids] if args.key?(:organization_ids)
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
892
912
|
# Response for ListNodes.
|
893
913
|
class SasPortalListNodesResponse
|
894
914
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SasportalV1alpha1
|
18
18
|
# Version of the google-apis-sasportal_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.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 = "20231220"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class SasPortalListLegacyOrganizationsResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class SasPortalListNodesResponse
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -543,6 +549,13 @@ module Google
|
|
543
549
|
end
|
544
550
|
end
|
545
551
|
|
552
|
+
class SasPortalListLegacyOrganizationsResponse
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
collection :organization_ids, as: 'organizationIds'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
546
559
|
class SasPortalListNodesResponse
|
547
560
|
# @private
|
548
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -140,6 +140,33 @@ module Google
|
|
140
140
|
execute_or_queue_command(command, &block)
|
141
141
|
end
|
142
142
|
|
143
|
+
# Checks whether account is legacy.
|
144
|
+
# @param [String] fields
|
145
|
+
# Selector specifying which fields to include in a partial response.
|
146
|
+
# @param [String] quota_user
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
149
|
+
# @param [Google::Apis::RequestOptions] options
|
150
|
+
# Request-specific options
|
151
|
+
#
|
152
|
+
# @yield [result, err] Result & error if block supplied
|
153
|
+
# @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse]
|
157
|
+
#
|
158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
+
def list_customer_legacy_organizations(fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'v1alpha1/customers:listLegacyOrganizations', options)
|
163
|
+
command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse::Representation
|
164
|
+
command.response_class = Google::Apis::SasportalV1alpha1::SasPortalListLegacyOrganizationsResponse
|
165
|
+
command.query['fields'] = fields unless fields.nil?
|
166
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
167
|
+
execute_or_queue_command(command, &block)
|
168
|
+
end
|
169
|
+
|
143
170
|
# Migrates a SAS organization to the cloud. This will create GCP projects for
|
144
171
|
# each deployment and associate them. The SAS Organization is linked to the gcp
|
145
172
|
# project that called the command. go/sas-legacy-customer-migration
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-sasportal_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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-12-24 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-sasportal_v1alpha1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sasportal_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|