Class: Google::Cloud::ServiceUsage::V1::Service

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/serviceusage/v1/resources.rb

Overview

A service that is available for use by the consumer.

Instance Attribute Summary collapse

Instance Attribute Details

#config::Google::Cloud::ServiceUsage::V1::ServiceConfig

Returns 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 the GetService method.

Returns:

  • (::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 the GetService method.



46
47
48
49
# File 'proto_docs/google/api/serviceusage/v1/resources.rb', line 46

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

#name::String

Returns The resource name of the consumer and service.

A valid name would be:

  • projects/123/services/serviceusage.googleapis.com.

Returns:

  • (::String)

    The resource name of the consumer and service.

    A valid name would be:

    • projects/123/services/serviceusage.googleapis.com


46
47
48
49
# File 'proto_docs/google/api/serviceusage/v1/resources.rb', line 46

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

#parent::String

Returns The resource name of the consumer.

A valid name would be:

  • projects/123.

Returns:

  • (::String)

    The resource name of the consumer.

    A valid name would be:

    • projects/123


46
47
48
49
# File 'proto_docs/google/api/serviceusage/v1/resources.rb', line 46

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

#state::Google::Cloud::ServiceUsage::V1::State

Returns Whether or not the service has been enabled for use by the consumer.

Returns:



46
47
48
49
# File 'proto_docs/google/api/serviceusage/v1/resources.rb', line 46

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