Class: Google::Cloud::PrivateCatalog::V1beta1::AssetReference

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb

Overview

Defines the reference of an asset belonging to a product.

Defined Under Namespace

Modules: AssetValidationState

Instance Attribute Summary collapse

Instance Attribute Details

#asset::String (readonly)

Returns Output only. The asset resource name if an asset is hosted by Private Catalog.

Note: The following fields are mutually exclusive: asset, gcs_path, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Output only. The asset resource name if an asset is hosted by Private Catalog.

    Note: The following fields are mutually exclusive: asset, gcs_path, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The creation timestamp of the asset reference.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#description::String (readonly)

Returns Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

Returns:

  • (::String)

    Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#gcs_path::String (readonly)

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Output only. The cloud storage object path.

Note: The following fields are mutually exclusive: gcs_path, asset, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    Output only. The cloud storage object path.

    Note: The following fields are mutually exclusive: gcs_path, asset, git_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#gcs_source::Google::Cloud::PrivateCatalog::V1beta1::GcsSource (readonly)

Returns Output only. The cloud storage source.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#git_source::Google::Cloud::PrivateCatalog::V1beta1::GitSource (readonly)

Returns Output only. The git source.

Note: The following fields are mutually exclusive: git_source, asset, gcs_path. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::PrivateCatalog::V1beta1::GitSource)

    Output only. The git source.

    Note: The following fields are mutually exclusive: git_source, asset, gcs_path. If a field in that set is populated, all other fields in the set will automatically be cleared.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#id::String (readonly)

Returns Output only. A unique identifier among asset references in a product.

Returns:

  • (::String)

    Output only. A unique identifier among asset references in a product.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#inputs::Google::Cloud::PrivateCatalog::V1beta1::Inputs (readonly)

Returns Output only. The definition of input parameters to hydrate the asset template.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The last update timestamp of the asset reference.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#validation_operation::Google::Longrunning::Operation (readonly)

Returns Output only. The validation process metadata.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#validation_status::Google::Cloud::PrivateCatalog::V1beta1::AssetReference::AssetValidationState (readonly)

Returns Output only. The current state of the asset reference.

Returns:



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end

#version::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns The version of the source used for this asset reference.

Returns:

  • (::String)

    The version of the source used for this asset reference.



401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'proto_docs/google/cloud/privatecatalog/v1beta1/private_catalog.rb', line 401

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

  # Possible validation steates of an asset reference.
  module AssetValidationState
    # Unknown state.
    ASSET_VALIDATION_STATE_UNSPECIFIED = 0

    # The validation is still in process.
    PENDING = 1

    # The validation is done and the asset reference is valid.
    VALID = 2

    # The validation is done and the asset reference is invalid.
    INVALID = 3
  end
end