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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/firebaserules_v1/classes.rb,
generated/google/apis/firebaserules_v1/representations.rb,
generated/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.



237
238
239
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 237

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)


209
210
211
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 209

def executable
  @executable
end

#executable_versionString

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

Returns:

  • (String)


214
215
216
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 214

def executable_version
  @executable_version
end

#languageString

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

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 219

def language
  @language
end

#ruleset_nameString

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

Returns:

  • (String)


224
225
226
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 224

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)


230
231
232
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 230

def sync_time
  @sync_time
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



242
243
244
245
246
247
248
249
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 242

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