Class: Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb

Overview

CloudAuditLogsSourceStatus represents the current state of a CloudAuditLogsSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudAuditLogsSourceStatus

Returns a new instance of CloudAuditLogsSourceStatus.



373
374
375
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 373

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conditionsArray<Google::Apis::RunV1alpha1::Condition>

Array of observed CloudAuditLogsSourceConditions, indicating the current state of the CloudAuditLogsSource. Corresponds to the JSON property conditions



359
360
361
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 359

def conditions
  @conditions
end

#observed_generationFixnum

ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that was last processed by the controller. Corresponds to the JSON property observedGeneration

Returns:

  • (Fixnum)


365
366
367
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 365

def observed_generation
  @observed_generation
end

#sink_uriString

SinkURI is the current active sink URI that has been configured for the Source. +optional Corresponds to the JSON property sinkUri

Returns:

  • (String)


371
372
373
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 371

def sink_uri
  @sink_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



378
379
380
381
382
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 378

def update!(**args)
  @conditions = args[:conditions] if args.key?(:conditions)
  @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
  @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
end