Class: Google::Apis::RunV1alpha1::CloudAuditLogsSource
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudAuditLogsSource
- 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
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
-
#kind ⇒ String
The kind of resource, in this case "CloudAuditLogsSource".
-
#metadata ⇒ Google::Apis::RunV1alpha1::ObjectMeta
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
-
#spec ⇒ Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec
The desired state of the CloudAuditLogsSource.
-
#status ⇒ Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus
CloudAuditLogsSourceStatus represents the current state of a CloudAuditLogsSource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAuditLogsSource
constructor
A new instance of CloudAuditLogsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAuditLogsSource
Returns a new instance of CloudAuditLogsSource.
276 277 278 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version for this call such as "events.cloud.google.com/v1alpha1".
Corresponds to the JSON property apiVersion
252 253 254 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 252 def api_version @api_version end |
#kind ⇒ String
The kind of resource, in this case "CloudAuditLogsSource".
Corresponds to the JSON property kind
257 258 259 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 257 def kind @kind end |
#metadata ⇒ Google::Apis::RunV1alpha1::ObjectMeta
ObjectMeta is metadata that all persisted resources must have, which includes
all objects users must create.
Corresponds to the JSON property metadata
263 264 265 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 263 def @metadata end |
#spec ⇒ Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec
The desired state of the CloudAuditLogsSource.
Corresponds to the JSON property spec
268 269 270 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 268 def spec @spec end |
#status ⇒ Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus
CloudAuditLogsSourceStatus represents the current state of a
CloudAuditLogsSource.
Corresponds to the JSON property status
274 275 276 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 274 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
281 282 283 284 285 286 287 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 281 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @spec = args[:spec] if args.key?(:spec) @status = args[:status] if args.key?(:status) end |