Class: Google::Apis::DeploymentmanagerAlpha::DeploymentManagerAlphaService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DeploymentmanagerAlpha::DeploymentManagerAlphaService
- Defined in:
- generated/google/apis/deploymentmanager_alpha/service.rb
Overview
Google Cloud Deployment Manager Alpha API
The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
-
#user_ip ⇒ String
IP address of the site where the request originates.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Cancels and removes the preview currently associated with the deployment.
-
#delete_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a composite type.
-
#delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a deployment and all of the resources in the deployment.
-
#delete_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a type and all of the resources in the type.
-
#delete_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a type provider.
-
#get_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::CompositeType
Gets information about a specific composite type.
-
#get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Deployment
Gets information about a specific deployment.
-
#get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Policy
Gets the access control policy for a resource.
-
#get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Manifest
Gets information about a specific manifest.
-
#get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Gets information about a specific operation.
-
#get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Resource
Gets information about a single resource.
-
#get_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Type
Gets information about a specific type.
-
#get_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvider
Gets information about a specific type provider.
-
#get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeInfo
Gets a type info for a type provided by a TypeProvider.
-
#initialize ⇒ DeploymentManagerAlphaService
constructor
A new instance of DeploymentManagerAlphaService.
-
#insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a composite type.
-
#insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a deployment and all of the resources described by the deployment manifest.
-
#insert_type(project, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a type.
-
#insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a type provider.
-
#list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse
Lists all composite types for Deployment Manager.
-
#list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse
Lists all deployments for a given project.
-
#list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse
Lists all manifests for a given deployment.
-
#list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::OperationsListResponse
Lists all operations for a project.
-
#list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse
Lists all resources in a given deployment.
-
#list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse
Lists all the type info for a TypeProvider.
-
#list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse
Lists all resource type providers for Deployment Manager.
-
#list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypesListResponse
Lists all resource types for Deployment Manager.
-
#patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a composite type.
-
#patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a deployment and all of the resources described by the deployment manifest.
-
#patch_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type.
-
#patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type provider.
-
#set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Policy
Sets the access control policy on the specified resource.
-
#stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Stops an ongoing operation.
-
#test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a composite type.
-
#update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a deployment and all of the resources described by the deployment manifest.
-
#update_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type.
-
#update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type provider.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ DeploymentManagerAlphaService
Returns a new instance of DeploymentManagerAlphaService
52 53 54 55 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 52 def initialize super('https://www.googleapis.com/', 'deploymentmanager/alpha/projects/') @batch_path = 'batch/deploymentmanager/alpha' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
39 40 41 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 39 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
45 46 47 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 45 def quota_user @quota_user end |
#user_ip ⇒ String
Returns IP address of the site where the request originates. Use this if you want to enforce per-user limits.
50 51 52 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 50 def user_ip @user_ip end |
Instance Method Details
#cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Cancels and removes the preview currently associated with the deployment.
353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 353 def cancel_deployment_preview(project, deployment, deployments_cancel_preview_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments/{deployment}/cancelPreview', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsCancelPreviewRequest::Representation command.request_object = deployments_cancel_preview_request_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a composite type.
83 84 85 86 87 88 89 90 91 92 93 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 83 def delete_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/compositeTypes/{compositeType}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['compositeType'] = composite_type unless composite_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a deployment and all of the resources in the deployment.
395 396 397 398 399 400 401 402 403 404 405 406 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 395 def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['deletePolicy'] = delete_policy unless delete_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a type and all of the resources in the type.
1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1609 def delete_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/types/{type}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#delete_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Deletes a type provider.
1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1223 def delete_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/typeProviders/{typeProvider}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::CompositeType
Gets information about a specific composite type.
121 122 123 124 125 126 127 128 129 130 131 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 121 def get_composite_type(project, composite_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/compositeTypes/{compositeType}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeType command.params['project'] = project unless project.nil? command.params['compositeType'] = composite_type unless composite_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Deployment
Gets information about a specific deployment.
434 435 436 437 438 439 440 441 442 443 444 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 434 def get_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Deployment command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Policy
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
473 474 475 476 477 478 479 480 481 482 483 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 473 def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Manifest
Gets information about a specific manifest.
880 881 882 883 884 885 886 887 888 889 890 891 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 880 def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests/{manifest}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Manifest::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Manifest command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.params['manifest'] = manifest unless manifest.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Gets information about a specific operation.
995 996 997 998 999 1000 1001 1002 1003 1004 1005 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 995 def get_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations/{operation}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Resource
Gets information about a single resource.
1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1108 def get_resource(project, deployment, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources/{resource}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Resource::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Resource command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Type
Gets information about a specific type.
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1647 def get_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/types/{type}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Type command.params['project'] = project unless project.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvider
Gets information about a specific type provider.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1261 def get_type_provider(project, type_provider, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvider command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeInfo
Gets a type info for a type provided by a TypeProvider.
1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1301 def get_type_provider_type(project, type_provider, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types/{type}', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeInfo::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeInfo command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a composite type.
158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 158 def insert_composite_type(project, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/compositeTypes', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation command.request_object = composite_type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a deployment and all of the resources described by the deployment manifest.
521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 521 def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation command.request_object = deployment_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.query['createPolicy'] = create_policy unless create_policy.nil? command.query['preview'] = preview unless preview.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_type(project, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a type.
1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1684 def insert_type(project, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/types', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation command.request_object = type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Creates a type provider.
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1339 def insert_type_provider(project, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/typeProviders', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation command.request_object = type_provider_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse
Lists all composite types for Deployment Manager.
229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 229 def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/compositeTypes', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse
Lists all deployments for a given project.
594 595 596 597 598 599 600 601 602 603 604 605 606 607 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 594 def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse
Lists all manifests for a given deployment.
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 953 def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::OperationsListResponse
Lists all operations for a project.
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1065 def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse
Lists all resources in a given deployment.
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1181 def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse
Lists all the type info for a TypeProvider.
1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1485 def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse
Lists all resource type providers for Deployment Manager.
1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1410 def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/typeProviders', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TypesListResponse
Lists all resource types for Deployment Manager.
1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1755 def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/types', ) command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypesListResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TypesListResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a composite type. This method supports patch semantics.
271 272 273 274 275 276 277 278 279 280 281 282 283 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 271 def patch_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/compositeTypes/{compositeType}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation command.request_object = composite_type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['compositeType'] = composite_type unless composite_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.
651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 651 def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/deployments/{deployment}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation command.request_object = deployment_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['createPolicy'] = create_policy unless create_policy.nil? command.query['deletePolicy'] = delete_policy unless delete_policy.nil? command.query['preview'] = preview unless preview.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type. This method supports patch semantics.
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1797 def patch_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/types/{type}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation command.request_object = type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type provider. This method supports patch semantics.
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1528 def patch_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, '{project}/global/typeProviders/{typeProvider}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation command.request_object = type_provider_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Policy
Sets the access control policy on the specified resource. Replaces any existing policy.
696 697 698 699 700 701 702 703 704 705 706 707 708 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 696 def set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation command.request_object = policy_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 738 def stop_deployment(project, deployment, deployments_stop_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments/{deployment}/stop', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsStopRequest::Representation command.request_object = deployments_stop_request_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::TestPermissionsResponse
Returns permissions that a caller has on the specified resource.
779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 779 def (project, resource, = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::TestPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DeploymentmanagerAlpha::TestPermissionsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::TestPermissionsResponse command.params['project'] = project unless project.nil? command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a composite type.
312 313 314 315 316 317 318 319 320 321 322 323 324 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 312 def update_composite_type(project, composite_type, composite_type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/compositeTypes/{compositeType}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::CompositeType::Representation command.request_object = composite_type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['compositeType'] = composite_type unless composite_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a deployment and all of the resources described by the deployment manifest.
835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 835 def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/deployments/{deployment}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation command.request_object = deployment_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? command.query['createPolicy'] = create_policy unless create_policy.nil? command.query['deletePolicy'] = delete_policy unless delete_policy.nil? command.query['preview'] = preview unless preview.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type.
1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1838 def update_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/types/{type}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation command.request_object = type_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['type'] = type unless type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |
#update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DeploymentmanagerAlpha::Operation
Updates a type provider.
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 |
# File 'generated/google/apis/deploymentmanager_alpha/service.rb', line 1569 def update_type_provider(project, type_provider, type_provider_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, '{project}/global/typeProviders/{typeProvider}', ) command.request_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvider::Representation command.request_object = type_provider_object command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation command.params['project'] = project unless project.nil? command.params['typeProvider'] = type_provider unless type_provider.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end |