Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RequestLogging

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

Overview

Configuration for logging requests made to this project to Stackdriver Logging

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RequestLogging

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2RequestLogging.



1133
1134
1135
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1133

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

Whether logging is enabled for this project or not. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1130
1131
1132
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1130

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1138
1139
1140
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1138

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