Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1WeeklyRecurrence

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

Overview

Represents a recurring schedule that runs on a specified day of the week. The time zone is UTC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1WeeklyRecurrence

Returns a new instance of GoogleFirestoreAdminV1WeeklyRecurrence.



2672
2673
2674
# File 'lib/google/apis/firestore_v1/classes.rb', line 2672

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

Instance Attribute Details

#dayString

The day of week to run. DAY_OF_WEEK_UNSPECIFIED is not allowed. Corresponds to the JSON property day

Returns:

  • (String)


2670
2671
2672
# File 'lib/google/apis/firestore_v1/classes.rb', line 2670

def day
  @day
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2677
2678
2679
# File 'lib/google/apis/firestore_v1/classes.rb', line 2677

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