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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetReleaseExecutableResponse

Returns a new instance of GetReleaseExecutableResponse



211
212
213
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 211

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)


182
183
184
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 182

def executable
  @executable
end

#executable_versionString

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

Returns:

  • (String)


187
188
189
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 187

def executable_version
  @executable_version
end

#languageString

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

Returns:

  • (String)


192
193
194
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 192

def language
  @language
end

#ruleset_nameString

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

Returns:

  • (String)


197
198
199
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 197

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)


204
205
206
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 204

def sync_time
  @sync_time
end

#update_timeString

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

Returns:

  • (String)


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

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



216
217
218
219
220
221
222
223
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 216

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