final case class Logging(producerDestinations: Seq[LoggingDestination] = _root_.scala.Seq.empty, consumerDestinations: Seq[LoggingDestination] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Logging] with Product with Serializable

Logging configuration of the service.

The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the activity_history log is sent to both the producer and consumer projects, whereas the purchase_history log is only sent to the producer project.

monitored_resources:

  • type: library.googleapis.com/branch labels:
    • key: /city description: The city where the library branch is located in.
    • key: /name description: The name of the branch. logs:
  • name: activity_history labels:
    • key: /customer_id
  • name: purchase_history logging: producer_destinations:
    • monitored_resource: library.googleapis.com/branch logs:
      • activity_history
      • purchase_history consumer_destinations:
    • monitored_resource: library.googleapis.com/branch logs:
      • activity_history
producerDestinations

Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.

consumerDestinations

Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Logging], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logging
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Logging(producerDestinations: Seq[LoggingDestination] = _root_.scala.Seq.empty, consumerDestinations: Seq[LoggingDestination] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)

    producerDestinations

    Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.

    consumerDestinations

    Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllConsumerDestinations(__vs: Iterable[LoggingDestination]): Logging
  5. def addAllProducerDestinations(__vs: Iterable[LoggingDestination]): Logging
  6. def addConsumerDestinations(__vs: LoggingDestination*): Logging
  7. def addProducerDestinations(__vs: LoggingDestination*): Logging
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearConsumerDestinations: Logging
  10. def clearProducerDestinations: Logging
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def companion: Logging.type
    Definition Classes
    Logging → GeneratedMessage
  13. val consumerDestinations: Seq[LoggingDestination]
  14. def discardUnknownFields: Logging
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Logging → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Logging → GeneratedMessage
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val producerDestinations: Seq[LoggingDestination]
  25. def serializedSize: Int
    Definition Classes
    Logging → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    Logging → GeneratedMessage
  31. val unknownFields: UnknownFieldSet
  32. def update(ms: (Lens[Logging, Logging]) ⇒ Mutation[Logging]*): Logging
    Definition Classes
    Updatable
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. def withConsumerDestinations(__v: Seq[LoggingDestination]): Logging
  37. def withProducerDestinations(__v: Seq[LoggingDestination]): Logging
  38. def withUnknownFields(__v: UnknownFieldSet): Logging
  39. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Logging → GeneratedMessage
  41. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[Logging]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped