Class: Google::Cloud::AppHub::V1::ServiceProjectAttachment

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

Overview

ServiceProjectAttachment represents an attachment from a service project to a host project. Service projects contain the underlying cloud infrastructure resources, and expose these resources to the host project through a ServiceProjectAttachment. With the attachments, the host project can provide an aggregated view of resources across all service projects.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Output only. Create time.

Returns:



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/apphub/v1/service_project_attachment.rb', line 48

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

  # ServiceProjectAttachment state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The ServiceProjectAttachment is being created.
    CREATING = 1

    # The ServiceProjectAttachment is ready.
    # This means Services and Workloads under the corresponding
    # ServiceProjectAttachment is ready for registration.
    ACTIVE = 2

    # The ServiceProjectAttachment is being deleted.
    DELETING = 3
  end
end

#name::String

Returns Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.".

Returns:

  • (::String)

    Identifier. The resource name of a ServiceProjectAttachment. Format: "projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}."



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/apphub/v1/service_project_attachment.rb', line 48

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

  # ServiceProjectAttachment state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The ServiceProjectAttachment is being created.
    CREATING = 1

    # The ServiceProjectAttachment is ready.
    # This means Services and Workloads under the corresponding
    # ServiceProjectAttachment is ready for registration.
    ACTIVE = 2

    # The ServiceProjectAttachment is being deleted.
    DELETING = 3
  end
end

#service_project::String

Returns Required. Immutable. Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.

Returns:

  • (::String)

    Required. Immutable. Service project name in the format: "projects/abc" or "projects/123". As input, project name with either project id or number are accepted. As output, this field will contain project number.



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/apphub/v1/service_project_attachment.rb', line 48

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

  # ServiceProjectAttachment state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The ServiceProjectAttachment is being created.
    CREATING = 1

    # The ServiceProjectAttachment is ready.
    # This means Services and Workloads under the corresponding
    # ServiceProjectAttachment is ready for registration.
    ACTIVE = 2

    # The ServiceProjectAttachment is being deleted.
    DELETING = 3
  end
end

#state::Google::Cloud::AppHub::V1::ServiceProjectAttachment::State (readonly)

Returns Output only. ServiceProjectAttachment state.

Returns:



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/apphub/v1/service_project_attachment.rb', line 48

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

  # ServiceProjectAttachment state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The ServiceProjectAttachment is being created.
    CREATING = 1

    # The ServiceProjectAttachment is ready.
    # This means Services and Workloads under the corresponding
    # ServiceProjectAttachment is ready for registration.
    ACTIVE = 2

    # The ServiceProjectAttachment is being deleted.
    DELETING = 3
  end
end

#uid::String (readonly)

Returns Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.

Returns:

  • (::String)

    Output only. A globally unique identifier (in UUID4 format) for the ServiceProjectAttachment.



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'proto_docs/google/cloud/apphub/v1/service_project_attachment.rb', line 48

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

  # ServiceProjectAttachment state.
  module State
    # Unspecified state.
    STATE_UNSPECIFIED = 0

    # The ServiceProjectAttachment is being created.
    CREATING = 1

    # The ServiceProjectAttachment is ready.
    # This means Services and Workloads under the corresponding
    # ServiceProjectAttachment is ready for registration.
    ACTIVE = 2

    # The ServiceProjectAttachment is being deleted.
    DELETING = 3
  end
end