Interface LogsPolicy.CloudLoggingOptionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LogsPolicy.CloudLoggingOption, LogsPolicy.CloudLoggingOption.Builder
Enclosing class:
LogsPolicy

public static interface LogsPolicy.CloudLoggingOptionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUseGenericTaskMonitoredResource

      boolean getUseGenericTaskMonitoredResource()
       Optional. Set this field to `true` to change the [monitored resource
       type](https://cloud.google.com/monitoring/api/resources) for
       Cloud Logging logs generated by this Batch job from
       the
       [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job)
       type to the formerly used
       [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task)
       type.
       
      bool use_generic_task_monitored_resource = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The useGenericTaskMonitoredResource.