All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.serviceconsumermanagement.v1.model.Logging.html Maven / Gradle / Ivy







Logging (Service Consumer Management API v1-rev20210525-1.31.0)












com.google.api.services.serviceconsumermanagement.v1.model

Class Logging

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class Logging
    extends GenericJson
    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

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Consumer Management API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • Logging

        public Logging()
    • Method Detail

      • getConsumerDestinations

        public List<LoggingDestination> getConsumerDestinations()
        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.
        Returns:
        value or null for none
      • setConsumerDestinations

        public Logging setConsumerDestinations(List<LoggingDestination> 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.
        Parameters:
        consumerDestinations - consumerDestinations or null for none
      • getProducerDestinations

        public List<LoggingDestination> getProducerDestinations()
        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.
        Returns:
        value or null for none
      • setProducerDestinations

        public Logging setProducerDestinations(List<LoggingDestination> 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.
        Parameters:
        producerDestinations - producerDestinations or null for none

Copyright © 2011–2021 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy