google-apis-sasportal_v1alpha1 0.29.0 → 0.31.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: 361d7fbc0f5795eea4cecf73b64d3d4df7889f233fc6492d2de3e0c4b1be80ec
4
- data.tar.gz: 5f4275c01f4fd31ea9843150df6c2ae398a2194843536f1d5255b65775ed3172
3
+ metadata.gz: 6737d7e30d7869a782876b48f0b0d55da4d7ce1341d05096c1ea3f549fe4ac66
4
+ data.tar.gz: 51893109d52933b06d73e53ccee3bdca5ee73ba89e9b2323230847e1cbe9a021
5
5
  SHA512:
6
- metadata.gz: a4600ab47d0e29060d1f6ef5cb42e8499c9362a7d8208fdad081e56047cd3431c62c6180be28400b29ef0e5446660ecc3e325c8e9cc540d9aee7b2319580ee18
7
- data.tar.gz: 767f94212d407fad64354ffb5018dc29a8e7ec32f972b24c89c1b843780c39a76a01b9c099c1f324e96019060ce927f3911bebd33002ee908d07bdf8e604e687
6
+ metadata.gz: 05a8fd9047f581fdf8766fd1d4f3dcbe5c23c88428be040e7159099472c18a38d88ffba463b06a1a2ef5c84bb5967aa6bdba65bb9e7170ec37a7c48023cca2ba
7
+ data.tar.gz: 11669f914a3d5c873c731158d28173e681d067ab795105cbd93292985e98628242e1410a22b55ae0b588fbfcd3352f857bf360cb863c61fa7a83e621c4e1c2c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.31.0 (2023-02-26)
4
+
5
+ * Regenerated from discovery document revision 20230219
6
+
7
+ ### v0.30.0 (2023-02-19)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.29.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230105
@@ -1111,6 +1111,43 @@ module Google
1111
1111
  end
1112
1112
  end
1113
1113
 
1114
+ # Request for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.
1115
+ # ProvisionDeployment]. No input is needed, because GCP Project, Organization
1116
+ # Info, and caller’s GAIA ID should be retrieved from the RPC handler, and used
1117
+ # as inputs to create a new SAS organization (if not exists) and a new SAS
1118
+ # deployment.
1119
+ class SasPortalProvisionDeploymentRequest
1120
+ include Google::Apis::Core::Hashable
1121
+
1122
+ def initialize(**args)
1123
+ update!(**args)
1124
+ end
1125
+
1126
+ # Update properties of this object
1127
+ def update!(**args)
1128
+ end
1129
+ end
1130
+
1131
+ # Response for [ProvisionDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.
1132
+ # ProvisionDeployment].
1133
+ class SasPortalProvisionDeploymentResponse
1134
+ include Google::Apis::Core::Hashable
1135
+
1136
+ # Optional. Optional error message if the provisioning request is not successful.
1137
+ # Corresponds to the JSON property `errorMessage`
1138
+ # @return [String]
1139
+ attr_accessor :error_message
1140
+
1141
+ def initialize(**args)
1142
+ update!(**args)
1143
+ end
1144
+
1145
+ # Update properties of this object
1146
+ def update!(**args)
1147
+ @error_message = args[:error_message] if args.key?(:error_message)
1148
+ end
1149
+ end
1150
+
1114
1151
  # Request message for `SetPolicy` method.
1115
1152
  class SasPortalSetPolicyRequest
1116
1153
  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.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230105"
25
+ REVISION = "20230219"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,18 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class SasPortalProvisionDeploymentRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SasPortalProvisionDeploymentResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
199
211
  class SasPortalSetPolicyRequest
200
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
213
 
@@ -541,6 +553,19 @@ module Google
541
553
  end
542
554
  end
543
555
 
556
+ class SasPortalProvisionDeploymentRequest
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ end
560
+ end
561
+
562
+ class SasPortalProvisionDeploymentResponse
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :error_message, as: 'errorMessage'
566
+ end
567
+ end
568
+
544
569
  class SasPortalSetPolicyRequest
545
570
  # @private
546
571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -149,6 +149,37 @@ module Google
149
149
  execute_or_queue_command(command, &block)
150
150
  end
151
151
 
152
+ # Creates a new SAS deployment through the GCP workflow. Creates a SAS
153
+ # organization if an organization match is not found.
154
+ # @param [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentRequest] sas_portal_provision_deployment_request_object
155
+ # @param [String] fields
156
+ # Selector specifying which fields to include in a partial response.
157
+ # @param [String] quota_user
158
+ # Available to use for quota purposes for server-side applications. Can be any
159
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
160
+ # @param [Google::Apis::RequestOptions] options
161
+ # Request-specific options
162
+ #
163
+ # @yield [result, err] Result & error if block supplied
164
+ # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse] parsed result object
165
+ # @yieldparam err [StandardError] error object if request failed
166
+ #
167
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse]
168
+ #
169
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
170
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
171
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
172
+ def provision_customer_deployment(sas_portal_provision_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
173
+ command = make_simple_command(:post, 'v1alpha1/customers:provisionDeployment', options)
174
+ command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentRequest::Representation
175
+ command.request_object = sas_portal_provision_deployment_request_object
176
+ command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse::Representation
177
+ command.response_class = Google::Apis::SasportalV1alpha1::SasPortalProvisionDeploymentResponse
178
+ command.query['fields'] = fields unless fields.nil?
179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
180
+ execute_or_queue_command(command, &block)
181
+ end
182
+
152
183
  # Creates a new deployment.
153
184
  # @param [String] parent
154
185
  # Required. The parent resource name where the deployment is to be created.
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.29.0
4
+ version: 0.31.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-01-15 00:00:00.000000000 Z
11
+ date: 2023-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.31.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: []