lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.10.0 vs lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.11.0
- old
+ new
@@ -2372,10 +2372,16 @@
# These messages contain information about sessions within an environment. The
# monitored resource is 'Environment'.
class GoogleCloudDataplexV1SessionEvent
include Google::Apis::Core::Hashable
+ # The status of the event.
+ # Corresponds to the JSON property `eventSucceeded`
+ # @return [Boolean]
+ attr_accessor :event_succeeded
+ alias_method :event_succeeded?, :event_succeeded
+
# The log message.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
@@ -2392,26 +2398,41 @@
# The type of the event.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
- # The information about the user that created the session.
+ # The idle duration of a warm pooled session before it is assigned to user.
+ # Corresponds to the JSON property `unassignedDuration`
+ # @return [String]
+ attr_accessor :unassigned_duration
+
+ # The information about the user that created the session. It will be the email
+ # address of the user.
# Corresponds to the JSON property `userId`
# @return [String]
attr_accessor :user_id
+ # If the session is a warm pooled session.
+ # Corresponds to the JSON property `warmPoolEnabled`
+ # @return [Boolean]
+ attr_accessor :warm_pool_enabled
+ alias_method :warm_pool_enabled?, :warm_pool_enabled
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @event_succeeded = args[:event_succeeded] if args.key?(:event_succeeded)
@message = args[:message] if args.key?(:message)
@query = args[:query] if args.key?(:query)
@session_id = args[:session_id] if args.key?(:session_id)
@type = args[:type] if args.key?(:type)
+ @unassigned_duration = args[:unassigned_duration] if args.key?(:unassigned_duration)
@user_id = args[:user_id] if args.key?(:user_id)
+ @warm_pool_enabled = args[:warm_pool_enabled] if args.key?(:warm_pool_enabled)
end
end
# Execution details of the query.
class GoogleCloudDataplexV1SessionEventQueryDetail
@@ -2686,11 +2707,11 @@
# Corresponds to the JSON property `maxJobExecutionLifetime`
# @return [String]
attr_accessor :max_job_execution_lifetime
# Optional. The project in which jobs are run. By default, the project
- # containing the Lake is used. If a project is provided, the executionspec.
- # service_account must belong to this same project.
+ # containing the Lake is used. If a project is provided, the ExecutionSpec.
+ # service_account must belong to this project.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# Required. Service account to use to execute a task. If not provided, the