GoogleApi.CloudAsset.V1.Api.V1.cloudasset_analyze_move
You're seeing just the function
cloudasset_analyze_move
, go back to GoogleApi.CloudAsset.V1.Api.V1 module for more information.
Link to this function
cloudasset_analyze_move(connection, v1_id, v1_id1, optional_params \\ [], opts \\ [])
View SourceSpecs
cloudasset_analyze_move( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.AnalyzeMoveResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Analyze moving a resource to a specified destination without kicking off the actual move. The analysis is best effort depending on the user's permissions of viewing different hierarchical policies and configurations. The policies and configuration are subject to change before the actual resource migration takes place.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part ofresource
. Required. Name of the resource to perform the analysis against. Only GCP Project are supported as of today. Hence, this can only be Project ID (such as "projects/my-project-id") or a Project Number (such as "projects/12345"). -
v1_id1
(type:String.t
) - Part ofresource
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - 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. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - 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. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:destinationParent
(type:String.t
) - Required. Name of the GCP Folder or Organization to reparent the target resource. The analysis will be performed against hypothetically moving the resource to this specified desitination parent. This can only be a Folder number (such as "folders/123") or an Organization number (such as "organizations/123"). -
:view
(type:String.t
) - Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.AnalyzeMoveResponse{}}
on success -
{:error, info}
on failure