Class: Google::Cloud::AppHub::V1::Service

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

Overview

Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#attributes::Google::Cloud::AppHub::V1::Attributes

Returns Optional. Consumer provided attributes.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

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

Returns Output only. Create time.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#description::String

Returns Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.

Returns:

  • (::String)

    Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#discovered_service::String

Returns Required. Immutable. The resource name of the original discovered service.

Returns:

  • (::String)

    Required. Immutable. The resource name of the original discovered service.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#display_name::String

Returns Optional. User-defined name for the Service. Can have a maximum length of 63 characters.

Returns:

  • (::String)

    Optional. User-defined name for the Service. Can have a maximum length of 63 characters.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#name::String

Returns Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}".

Returns:

  • (::String)

    Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#service_properties::Google::Cloud::AppHub::V1::ServiceProperties (readonly)

Returns Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#service_reference::Google::Cloud::AppHub::V1::ServiceReference (readonly)

Returns Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

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

Returns Output only. Service state.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

#uid::String (readonly)

Returns Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.

Returns:

  • (::String)

    Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end

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

Returns Output only. Update time.

Returns:



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/cloud/apphub/v1/service.rb', line 66

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

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

    # The service is being created.
    CREATING = 1

    # The service is ready.
    ACTIVE = 2

    # The service is being deleted.
    DELETING = 3

    # The underlying networking resources have been deleted.
    DETACHED = 4
  end
end