Class: Google::Cloud::Asset::V1::AnalyzeMoveRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/asset_service.rb

Overview

The request message for performing resource move analysis.

Defined Under Namespace

Modules: AnalysisView

Instance Attribute Summary collapse

Instance Attribute Details

#destination_parent::String

Returns 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").

Returns:

  • (::String)

    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").



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1508

class AnalyzeMoveRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # View enum for supporting partial analysis responses.
  module AnalysisView
    # The default/unset value.
    # The API will default to the FULL view.
    ANALYSIS_VIEW_UNSPECIFIED = 0

    # Full analysis including all level of impacts of the specified resource
    # move.
    FULL = 1

    # Basic analysis only including blockers which will prevent the specified
    # resource move at runtime.
    BASIC = 2
  end
end

#resource::String

Returns 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").

Returns:

  • (::String)

    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").



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1508

class AnalyzeMoveRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # View enum for supporting partial analysis responses.
  module AnalysisView
    # The default/unset value.
    # The API will default to the FULL view.
    ANALYSIS_VIEW_UNSPECIFIED = 0

    # Full analysis including all level of impacts of the specified resource
    # move.
    FULL = 1

    # Basic analysis only including blockers which will prevent the specified
    # resource move at runtime.
    BASIC = 2
  end
end

#view::Google::Cloud::Asset::V1::AnalyzeMoveRequest::AnalysisView

Returns Analysis view indicating what information should be included in the analysis response. If unspecified, the default view is FULL.

Returns:



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1508

class AnalyzeMoveRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # View enum for supporting partial analysis responses.
  module AnalysisView
    # The default/unset value.
    # The API will default to the FULL view.
    ANALYSIS_VIEW_UNSPECIFIED = 0

    # Full analysis including all level of impacts of the specified resource
    # move.
    FULL = 1

    # Basic analysis only including blockers which will prevent the specified
    # resource move at runtime.
    BASIC = 2
  end
end