google-apis-sasportal_v1alpha1 0.30.0 → 0.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 110e1792a68fc8fed3d2b0ec1f571b8eae77e268e38ce864337c38c4b9e39086
4
- data.tar.gz: e751d8858f68753c0c2af7aaae6d5f921d3aaf7a2ff46d502ac51259b45bba12
3
+ metadata.gz: 6737d7e30d7869a782876b48f0b0d55da4d7ce1341d05096c1ea3f549fe4ac66
4
+ data.tar.gz: 51893109d52933b06d73e53ccee3bdca5ee73ba89e9b2323230847e1cbe9a021
5
5
  SHA512:
6
- metadata.gz: 39114796eb7df4d2a33c02d38cf9f7c0772ecf17706788766c4e135eae4859696877797e0bbf1055aa3d95a01e356439093c216f0ba947f90972d87609169a00
7
- data.tar.gz: 8285908b4ac99ca9647f5a8eab29a0ac728bc9c0c789c19b0bbb1e55f99e7c81625d01bae7d935d7732d858a9dfaeb18a71d1e78d121a4e81a5b02d0e87ace16
6
+ metadata.gz: 05a8fd9047f581fdf8766fd1d4f3dcbe5c23c88428be040e7159099472c18a38d88ffba463b06a1a2ef5c84bb5967aa6bdba65bb9e7170ec37a7c48023cca2ba
7
+ data.tar.gz: 11669f914a3d5c873c731158d28173e681d067ab795105cbd93292985e98628242e1410a22b55ae0b588fbfcd3352f857bf360cb863c61fa7a83e621c4e1c2c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.30.0 (2023-02-19)
4
8
 
5
9
  * Regenerated using generator version 0.12.0
@@ -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.30.0"
19
+ GEM_VERSION = "0.31.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 = "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.30.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-02-19 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
@@ -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.30.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: []