Class: Google::Apis::FirebaserulesV1::GetReleaseExecutableResponse

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

Overview

The response for FirebaseRulesService.GetReleaseExecutable

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetReleaseExecutableResponse

Returns a new instance of GetReleaseExecutableResponse.



235
236
237
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 235

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

Instance Attribute Details

#executableString

Executable view of the Ruleset referenced by the Release. Corresponds to the JSON property executable NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


207
208
209
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 207

def executable
  @executable
end

#executable_versionString

The Rules runtime version of the executable. Corresponds to the JSON property executableVersion

Returns:

  • (String)


212
213
214
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 212

def executable_version
  @executable_version
end

#languageString

Language used to generate the executable bytes. Corresponds to the JSON property language

Returns:

  • (String)


217
218
219
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 217

def language
  @language
end

#ruleset_nameString

Ruleset name associated with the Release executable. Corresponds to the JSON property rulesetName

Returns:

  • (String)


222
223
224
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 222

def ruleset_name
  @ruleset_name
end

#sync_timeString

Optional, indicates the freshness of the result. The response is guaranteed to be the latest within an interval up to the sync_time (inclusive). Corresponds to the JSON property syncTime

Returns:

  • (String)


228
229
230
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 228

def sync_time
  @sync_time
end

#update_timeString

Timestamp for the most recent Release.update_time. Corresponds to the JSON property updateTime

Returns:

  • (String)


233
234
235
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 233

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



240
241
242
243
244
245
246
247
# File 'lib/google/apis/firebaserules_v1/classes.rb', line 240

def update!(**args)
  @executable = args[:executable] if args.key?(:executable)
  @executable_version = args[:executable_version] if args.key?(:executable_version)
  @language = args[:language] if args.key?(:language)
  @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
  @sync_time = args[:sync_time] if args.key?(:sync_time)
  @update_time = args[:update_time] if args.key?(:update_time)
end