Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::Service.
A service that is available for use by the consumer.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::ServiceUsage::V1::ServiceConfig
-
(::Google::Cloud::ServiceUsage::V1::ServiceConfig) — The service configuration of the available service.
Some fields may be filtered out of the configuration in responses to
the
ListServices
method. These fields are present only in responses to theGetService
method.
#config=
def config=(value) -> ::Google::Cloud::ServiceUsage::V1::ServiceConfig
-
value (::Google::Cloud::ServiceUsage::V1::ServiceConfig) — The service configuration of the available service.
Some fields may be filtered out of the configuration in responses to
the
ListServices
method. These fields are present only in responses to theGetService
method.
-
(::Google::Cloud::ServiceUsage::V1::ServiceConfig) — The service configuration of the available service.
Some fields may be filtered out of the configuration in responses to
the
ListServices
method. These fields are present only in responses to theGetService
method.
#name
def name() -> ::String
-
(::String) —
The resource name of the consumer and service.
A valid name would be:
- projects/123/services/serviceusage.googleapis.com
#name=
def name=(value) -> ::String
-
value (::String) —
The resource name of the consumer and service.
A valid name would be:
- projects/123/services/serviceusage.googleapis.com
-
(::String) —
The resource name of the consumer and service.
A valid name would be:
- projects/123/services/serviceusage.googleapis.com
#parent
def parent() -> ::String
-
(::String) —
The resource name of the consumer.
A valid name would be:
- projects/123
#parent=
def parent=(value) -> ::String
-
value (::String) —
The resource name of the consumer.
A valid name would be:
- projects/123
-
(::String) —
The resource name of the consumer.
A valid name would be:
- projects/123
#state
def state() -> ::Google::Cloud::ServiceUsage::V1::State
- (::Google::Cloud::ServiceUsage::V1::State) — Whether or not the service has been enabled for use by the consumer.
#state=
def state=(value) -> ::Google::Cloud::ServiceUsage::V1::State
- value (::Google::Cloud::ServiceUsage::V1::State) — Whether or not the service has been enabled for use by the consumer.
- (::Google::Cloud::ServiceUsage::V1::State) — Whether or not the service has been enabled for use by the consumer.