google-apis-apigee_v1 0.19.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1386,6 +1386,43 @@ module Google
1386
1386
  execute_or_queue_command(command, &block)
1387
1387
  end
1388
1388
 
1389
+ # Updates an existing API proxy.
1390
+ # @param [String] name
1391
+ # Required. API proxy to update in the following format: `organizations/`org`/
1392
+ # apis/`api``
1393
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] google_cloud_apigee_v1_api_proxy_object
1394
+ # @param [String] update_mask
1395
+ # Required. The list of fields to update.
1396
+ # @param [String] fields
1397
+ # Selector specifying which fields to include in a partial response.
1398
+ # @param [String] quota_user
1399
+ # Available to use for quota purposes for server-side applications. Can be any
1400
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1401
+ # @param [Google::Apis::RequestOptions] options
1402
+ # Request-specific options
1403
+ #
1404
+ # @yield [result, err] Result & error if block supplied
1405
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy] parsed result object
1406
+ # @yieldparam err [StandardError] error object if request failed
1407
+ #
1408
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy]
1409
+ #
1410
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1411
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1412
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1413
+ def patch_organization_api(name, google_cloud_apigee_v1_api_proxy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1414
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1415
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
1416
+ command.request_object = google_cloud_apigee_v1_api_proxy_object
1417
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy::Representation
1418
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
1419
+ command.params['name'] = name unless name.nil?
1420
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1421
+ command.query['fields'] = fields unless fields.nil?
1422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1423
+ execute_or_queue_command(command, &block)
1424
+ end
1425
+
1389
1426
  # Lists all deployments of an API proxy.
1390
1427
  # @param [String] parent
1391
1428
  # Required. Name of the API proxy for which to return deployment information in
@@ -2086,6 +2123,69 @@ module Google
2086
2123
  execute_or_queue_command(command, &block)
2087
2124
  end
2088
2125
 
2126
+ # Gets the account balance for the developer.
2127
+ # @param [String] name
2128
+ # Required. Account balance for the developer. Use the following structure in
2129
+ # your request: `organizations/`org`/developers/`developer`/balance`
2130
+ # @param [String] fields
2131
+ # Selector specifying which fields to include in a partial response.
2132
+ # @param [String] quota_user
2133
+ # Available to use for quota purposes for server-side applications. Can be any
2134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2135
+ # @param [Google::Apis::RequestOptions] options
2136
+ # Request-specific options
2137
+ #
2138
+ # @yield [result, err] Result & error if block supplied
2139
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
2140
+ # @yieldparam err [StandardError] error object if request failed
2141
+ #
2142
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
2143
+ #
2144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2147
+ def get_organization_developer_balance(name, fields: nil, quota_user: nil, options: nil, &block)
2148
+ command = make_simple_command(:get, 'v1/{+name}', options)
2149
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
2150
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
2151
+ command.params['name'] = name unless name.nil?
2152
+ command.query['fields'] = fields unless fields.nil?
2153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2154
+ execute_or_queue_command(command, &block)
2155
+ end
2156
+
2157
+ # Gets the monetization configuration for the developer.
2158
+ # @param [String] name
2159
+ # Required. Monetization configuration for the developer. Use the following
2160
+ # structure in your request: `organizations/`org`/developers/`developer`/
2161
+ # monetizationConfig`
2162
+ # @param [String] fields
2163
+ # Selector specifying which fields to include in a partial response.
2164
+ # @param [String] quota_user
2165
+ # Available to use for quota purposes for server-side applications. Can be any
2166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2167
+ # @param [Google::Apis::RequestOptions] options
2168
+ # Request-specific options
2169
+ #
2170
+ # @yield [result, err] Result & error if block supplied
2171
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
2172
+ # @yieldparam err [StandardError] error object if request failed
2173
+ #
2174
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
2175
+ #
2176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2179
+ def get_organization_developer_monetization_config(name, fields: nil, quota_user: nil, options: nil, &block)
2180
+ command = make_simple_command(:get, 'v1/{+name}', options)
2181
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
2182
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
2183
+ command.params['name'] = name unless name.nil?
2184
+ command.query['fields'] = fields unless fields.nil?
2185
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2186
+ execute_or_queue_command(command, &block)
2187
+ end
2188
+
2089
2189
  # Lists all developers in an organization by email address. By default, the
2090
2190
  # response does not include company developers. Set the `includeCompany` query
2091
2191
  # parameter to `true` to include company developers. **Note**: A maximum of 1000
@@ -2232,6 +2332,41 @@ module Google
2232
2332
  execute_or_queue_command(command, &block)
2233
2333
  end
2234
2334
 
2335
+ # Updates the monetization configuration for the developer.
2336
+ # @param [String] name
2337
+ # Required. Monetization configuration for the developer. Use the following
2338
+ # structure in your request: `organizations/`org`/developers/`developer`/
2339
+ # monetizationConfig`
2340
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] google_cloud_apigee_v1_developer_monetization_config_object
2341
+ # @param [String] fields
2342
+ # Selector specifying which fields to include in a partial response.
2343
+ # @param [String] quota_user
2344
+ # Available to use for quota purposes for server-side applications. Can be any
2345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2346
+ # @param [Google::Apis::RequestOptions] options
2347
+ # Request-specific options
2348
+ #
2349
+ # @yield [result, err] Result & error if block supplied
2350
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig] parsed result object
2351
+ # @yieldparam err [StandardError] error object if request failed
2352
+ #
2353
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig]
2354
+ #
2355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2358
+ def update_organization_developer_monetization_config(name, google_cloud_apigee_v1_developer_monetization_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2359
+ command = make_simple_command(:put, 'v1/{+name}', options)
2360
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
2361
+ command.request_object = google_cloud_apigee_v1_developer_monetization_config_object
2362
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig::Representation
2363
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperMonetizationConfig
2364
+ command.params['name'] = name unless name.nil?
2365
+ command.query['fields'] = fields unless fields.nil?
2366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2367
+ execute_or_queue_command(command, &block)
2368
+ end
2369
+
2235
2370
  # Updates attributes for a developer app. This API replaces the current
2236
2371
  # attributes with those specified in the request.
2237
2372
  # @param [String] name
@@ -3121,6 +3256,40 @@ module Google
3121
3256
  execute_or_queue_command(command, &block)
3122
3257
  end
3123
3258
 
3259
+ # Credits the account balance for the developer.
3260
+ # @param [String] name
3261
+ # Required. Account balance for the developer. Use the following structure in
3262
+ # your request: `organizations/`org`/developers/`developer`/balance`
3263
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest] google_cloud_apigee_v1_credit_developer_balance_request_object
3264
+ # @param [String] fields
3265
+ # Selector specifying which fields to include in a partial response.
3266
+ # @param [String] quota_user
3267
+ # Available to use for quota purposes for server-side applications. Can be any
3268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3269
+ # @param [Google::Apis::RequestOptions] options
3270
+ # Request-specific options
3271
+ #
3272
+ # @yield [result, err] Result & error if block supplied
3273
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance] parsed result object
3274
+ # @yieldparam err [StandardError] error object if request failed
3275
+ #
3276
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance]
3277
+ #
3278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3281
+ def credit_organization_developer_balance(name, google_cloud_apigee_v1_credit_developer_balance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3282
+ command = make_simple_command(:post, 'v1/{+name}:credit', options)
3283
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1CreditDeveloperBalanceRequest::Representation
3284
+ command.request_object = google_cloud_apigee_v1_credit_developer_balance_request_object
3285
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance::Representation
3286
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperBalance
3287
+ command.params['name'] = name unless name.nil?
3288
+ command.query['fields'] = fields unless fields.nil?
3289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3290
+ execute_or_queue_command(command, &block)
3291
+ end
3292
+
3124
3293
  # Creates a subscription to an API product.
3125
3294
  # @param [String] parent
3126
3295
  # Required. Email address of the developer that is purchasing a subscription to
@@ -4692,6 +4861,261 @@ module Google
4692
4861
  execute_or_queue_command(command, &block)
4693
4862
  end
4694
4863
 
4864
+ # Creates a new ArchiveDeployment.
4865
+ # @param [String] parent
4866
+ # Required. The Environment this Archive Deployment will be created in.
4867
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
4868
+ # @param [String] fields
4869
+ # Selector specifying which fields to include in a partial response.
4870
+ # @param [String] quota_user
4871
+ # Available to use for quota purposes for server-side applications. Can be any
4872
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4873
+ # @param [Google::Apis::RequestOptions] options
4874
+ # Request-specific options
4875
+ #
4876
+ # @yield [result, err] Result & error if block supplied
4877
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
4878
+ # @yieldparam err [StandardError] error object if request failed
4879
+ #
4880
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
4881
+ #
4882
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4883
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4884
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4885
+ def create_organization_environment_archive_deployment(parent, google_cloud_apigee_v1_archive_deployment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4886
+ command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments', options)
4887
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
4888
+ command.request_object = google_cloud_apigee_v1_archive_deployment_object
4889
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
4890
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
4891
+ command.params['parent'] = parent unless parent.nil?
4892
+ command.query['fields'] = fields unless fields.nil?
4893
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4894
+ execute_or_queue_command(command, &block)
4895
+ end
4896
+
4897
+ # Deletes an archive deployment.
4898
+ # @param [String] name
4899
+ # Required. Name of the Archive Deployment in the following format: `
4900
+ # organizations/`org`/environments/`env`/archiveDeployments/`id``.
4901
+ # @param [String] fields
4902
+ # Selector specifying which fields to include in a partial response.
4903
+ # @param [String] quota_user
4904
+ # Available to use for quota purposes for server-side applications. Can be any
4905
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4906
+ # @param [Google::Apis::RequestOptions] options
4907
+ # Request-specific options
4908
+ #
4909
+ # @yield [result, err] Result & error if block supplied
4910
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleProtobufEmpty] parsed result object
4911
+ # @yieldparam err [StandardError] error object if request failed
4912
+ #
4913
+ # @return [Google::Apis::ApigeeV1::GoogleProtobufEmpty]
4914
+ #
4915
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4916
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4917
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4918
+ def delete_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
4919
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4920
+ command.response_representation = Google::Apis::ApigeeV1::GoogleProtobufEmpty::Representation
4921
+ command.response_class = Google::Apis::ApigeeV1::GoogleProtobufEmpty
4922
+ command.params['name'] = name unless name.nil?
4923
+ command.query['fields'] = fields unless fields.nil?
4924
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4925
+ execute_or_queue_command(command, &block)
4926
+ end
4927
+
4928
+ # Generates a signed URL for downloading the original zip file used to create an
4929
+ # Archive Deployment. The URL is only valid for a limited period and should be
4930
+ # used within minutes after generation. Each call returns a new upload URL.
4931
+ # @param [String] name
4932
+ # Required. The name of the Archive Deployment you want to download.
4933
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest] google_cloud_apigee_v1_generate_download_url_request_object
4934
+ # @param [String] fields
4935
+ # Selector specifying which fields to include in a partial response.
4936
+ # @param [String] quota_user
4937
+ # Available to use for quota purposes for server-side applications. Can be any
4938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4939
+ # @param [Google::Apis::RequestOptions] options
4940
+ # Request-specific options
4941
+ #
4942
+ # @yield [result, err] Result & error if block supplied
4943
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse] parsed result object
4944
+ # @yieldparam err [StandardError] error object if request failed
4945
+ #
4946
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse]
4947
+ #
4948
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4949
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4950
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4951
+ def generate_organization_environment_archive_deployment_download_url(name, google_cloud_apigee_v1_generate_download_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4952
+ command = make_simple_command(:post, 'v1/{+name}:generateDownloadUrl', options)
4953
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlRequest::Representation
4954
+ command.request_object = google_cloud_apigee_v1_generate_download_url_request_object
4955
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse::Representation
4956
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateDownloadUrlResponse
4957
+ command.params['name'] = name unless name.nil?
4958
+ command.query['fields'] = fields unless fields.nil?
4959
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4960
+ execute_or_queue_command(command, &block)
4961
+ end
4962
+
4963
+ # Generates a signed URL for uploading an Archive zip file to Google Cloud
4964
+ # Storage. Once the upload is complete, the signed URL should be passed to
4965
+ # CreateArchiveDeployment. When uploading to the generated signed URL, please
4966
+ # follow these restrictions: * Source file type should be a zip file. * Source
4967
+ # file size should not exceed 1GB limit. * No credentials should be attached -
4968
+ # the signed URLs provide access to the target bucket using internal service
4969
+ # identity; if credentials were attached, the identity from the credentials
4970
+ # would be used, but that identity does not have permissions to upload files to
4971
+ # the URL. When making a HTTP PUT request, these two headers need to be
4972
+ # specified: * `content-type: application/zip` * `x-goog-content-length-range: 0,
4973
+ # 1073741824` And this header SHOULD NOT be specified: * `Authorization: Bearer
4974
+ # YOUR_TOKEN`
4975
+ # @param [String] parent
4976
+ # Required. The organization and environment to upload to.
4977
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest] google_cloud_apigee_v1_generate_upload_url_request_object
4978
+ # @param [String] fields
4979
+ # Selector specifying which fields to include in a partial response.
4980
+ # @param [String] quota_user
4981
+ # Available to use for quota purposes for server-side applications. Can be any
4982
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4983
+ # @param [Google::Apis::RequestOptions] options
4984
+ # Request-specific options
4985
+ #
4986
+ # @yield [result, err] Result & error if block supplied
4987
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse] parsed result object
4988
+ # @yieldparam err [StandardError] error object if request failed
4989
+ #
4990
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse]
4991
+ #
4992
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4993
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4994
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4995
+ def generate_organization_environment_archive_deployment_upload_url(parent, google_cloud_apigee_v1_generate_upload_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4996
+ command = make_simple_command(:post, 'v1/{+parent}/archiveDeployments:generateUploadUrl', options)
4997
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlRequest::Representation
4998
+ command.request_object = google_cloud_apigee_v1_generate_upload_url_request_object
4999
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse::Representation
5000
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1GenerateUploadUrlResponse
5001
+ command.params['parent'] = parent unless parent.nil?
5002
+ command.query['fields'] = fields unless fields.nil?
5003
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5004
+ execute_or_queue_command(command, &block)
5005
+ end
5006
+
5007
+ # Gets the specified ArchiveDeployment.
5008
+ # @param [String] name
5009
+ # Required. Name of the Archive Deployment in the following format: `
5010
+ # organizations/`org`/environments/`env`/archiveDeployments/`id``.
5011
+ # @param [String] fields
5012
+ # Selector specifying which fields to include in a partial response.
5013
+ # @param [String] quota_user
5014
+ # Available to use for quota purposes for server-side applications. Can be any
5015
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5016
+ # @param [Google::Apis::RequestOptions] options
5017
+ # Request-specific options
5018
+ #
5019
+ # @yield [result, err] Result & error if block supplied
5020
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
5021
+ # @yieldparam err [StandardError] error object if request failed
5022
+ #
5023
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
5024
+ #
5025
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5026
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5027
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5028
+ def get_organization_environment_archive_deployment(name, fields: nil, quota_user: nil, options: nil, &block)
5029
+ command = make_simple_command(:get, 'v1/{+name}', options)
5030
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
5031
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
5032
+ command.params['name'] = name unless name.nil?
5033
+ command.query['fields'] = fields unless fields.nil?
5034
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5035
+ execute_or_queue_command(command, &block)
5036
+ end
5037
+
5038
+ # Lists the ArchiveDeployments in the specified Environment.
5039
+ # @param [String] parent
5040
+ # Required. Name of the Environment for which to list Archive Deployments in the
5041
+ # format: `organizations/`org`/environments/`env``.
5042
+ # @param [String] filter
5043
+ # Optional. An optional query used to return a subset of Archive Deployments
5044
+ # using the semantics defined in https://google.aip.dev/160.
5045
+ # @param [Fixnum] page_size
5046
+ # Optional. Maximum number of Archive Deployments to return. If unspecified, at
5047
+ # most 25 deployments will be returned.
5048
+ # @param [String] page_token
5049
+ # Optional. Page token, returned from a previous ListArchiveDeployments call,
5050
+ # that you can use to retrieve the next page.
5051
+ # @param [String] fields
5052
+ # Selector specifying which fields to include in a partial response.
5053
+ # @param [String] quota_user
5054
+ # Available to use for quota purposes for server-side applications. Can be any
5055
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5056
+ # @param [Google::Apis::RequestOptions] options
5057
+ # Request-specific options
5058
+ #
5059
+ # @yield [result, err] Result & error if block supplied
5060
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse] parsed result object
5061
+ # @yieldparam err [StandardError] error object if request failed
5062
+ #
5063
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse]
5064
+ #
5065
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5066
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5067
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5068
+ def list_organization_environment_archive_deployments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5069
+ command = make_simple_command(:get, 'v1/{+parent}/archiveDeployments', options)
5070
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse::Representation
5071
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListArchiveDeploymentsResponse
5072
+ command.params['parent'] = parent unless parent.nil?
5073
+ command.query['filter'] = filter unless filter.nil?
5074
+ command.query['pageSize'] = page_size unless page_size.nil?
5075
+ command.query['pageToken'] = page_token unless page_token.nil?
5076
+ command.query['fields'] = fields unless fields.nil?
5077
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5078
+ execute_or_queue_command(command, &block)
5079
+ end
5080
+
5081
+ # Updates an existing ArchiveDeployment. Labels can modified but most of the
5082
+ # other fields are not modifiable.
5083
+ # @param [String] name
5084
+ # Name of the Archive Deployment in the following format: `organizations/`org`/
5085
+ # environments/`env`/archiveDeployments/`id``.
5086
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] google_cloud_apigee_v1_archive_deployment_object
5087
+ # @param [String] update_mask
5088
+ # Required. The list of fields to be updated.
5089
+ # @param [String] fields
5090
+ # Selector specifying which fields to include in a partial response.
5091
+ # @param [String] quota_user
5092
+ # Available to use for quota purposes for server-side applications. Can be any
5093
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5094
+ # @param [Google::Apis::RequestOptions] options
5095
+ # Request-specific options
5096
+ #
5097
+ # @yield [result, err] Result & error if block supplied
5098
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment] parsed result object
5099
+ # @yieldparam err [StandardError] error object if request failed
5100
+ #
5101
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment]
5102
+ #
5103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5106
+ def patch_organization_environment_archive_deployment(name, google_cloud_apigee_v1_archive_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5107
+ command = make_simple_command(:patch, 'v1/{+name}', options)
5108
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
5109
+ command.request_object = google_cloud_apigee_v1_archive_deployment_object
5110
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment::Representation
5111
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ArchiveDeployment
5112
+ command.params['name'] = name unless name.nil?
5113
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5114
+ command.query['fields'] = fields unless fields.nil?
5115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5116
+ execute_or_queue_command(command, &block)
5117
+ end
5118
+
4695
5119
  # Deletes a cache.
4696
5120
  # @param [String] name
4697
5121
  # Required. Cache resource name of the form: `organizations/`organization_id`/
@@ -32,7 +32,7 @@ module Google
32
32
  # This is NOT the gem version.
33
33
  VERSION = 'V1'
34
34
 
35
- # See, edit, configure, and delete your Google Cloud Platform data
35
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
36
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.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: 2021-08-09 00:00:00.000000000 Z
11
+ date: 2021-10-04 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/master/generated/google-apis-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.23.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []