google-apis-prod_tt_sasportal_v1alpha1 0.29.0 → 0.30.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: e6ecfdd6fab84f99a34c4c9f91efc12e0f56eb736732f4283c1160c663c80542
4
- data.tar.gz: 3d68d48f85252913ce33dfcbf4f2ed31c572d599583232aa29f67dbefef723bc
3
+ metadata.gz: d4bbdaf6564ba6b664ee5a1be85ef1305bdf9280529548618766d6dad16d2c7b
4
+ data.tar.gz: 3359a0d7d1a06dc6d0f82745d7437a39be94bcc9fd85438f11f100c9697e95d6
5
5
  SHA512:
6
- metadata.gz: ce5b086e2f501067fe470b83621c7a26650def6126726893a051853a5835ee08d1acc758506f1b1251145114e1faee2970477553ea705573ada506be8db6ad16
7
- data.tar.gz: a8c611397f0a5a43fb5dd9b87c9f94c379cc8793441df4f35f054dbf3a35d2b2b95ee132ccb91d8fd28262f4838daffe6a1ff58343230eeec95c976127e1f649
6
+ metadata.gz: 0e72d4043b22d87cbca611f37619f6a8486128605eb9a8e24115ae758f1c9f3ab0767815c7ebf0b175105d7dea81765224a7761ee1c18a4ebbfa8a7a00e23b45
7
+ data.tar.gz: a2c3be548f736e5983e22a08e202766372630e7bb5ef586e0a58cdbd28af9bddcd13bea7661b59ad7f0ab346a661a760525a6008ba43a87332cb06608daa46c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-prod_tt_sasportal_v1alpha1
2
2
 
3
+ ### v0.30.0 (2023-02-15)
4
+
5
+ * Regenerated from discovery document revision 20230213
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.29.0 (2022-12-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20221221
@@ -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 ProdTtSasportalV1alpha1
18
18
  # Version of the google-apis-prod_tt_sasportal_v1alpha1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221221"
25
+ REVISION = "20230213"
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::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentResponse] parsed result object
165
+ # @yieldparam err [StandardError] error object if request failed
166
+ #
167
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::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::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentRequest::Representation
175
+ command.request_object = sas_portal_provision_deployment_request_object
176
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalProvisionDeploymentResponse::Representation
177
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::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-prod_tt_sasportal_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.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-04 00:00:00.000000000 Z
11
+ date: 2023-02-19 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-prod_tt_sasportal_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-prod_tt_sasportal_v1alpha1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-prod_tt_sasportal_v1alpha1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-prod_tt_sasportal_v1alpha1
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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for SAS Portal API (Testing) V1alpha1