Class: Google::Compute::Data::UrlMapTestsApi

Inherits:
UrlMapTests
  • Object
show all
Defined in:
lib/google/compute/property/urlmap_tests.rb

Overview

Manages a UrlMapTests nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from UrlMapTests

#description, #host, #path, #service

Instance Method Summary collapse

Methods inherited from UrlMapTests

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ UrlMapTestsApi

Returns a new instance of UrlMapTestsApi.



95
96
97
98
99
100
101
102
103
# File 'lib/google/compute/property/urlmap_tests.rb', line 95

def initialize(args)
  @description =
    Google::Compute::Property::String.api_munge(args['description'])
  @host = Google::Compute::Property::String.api_munge(args['host'])
  @path = Google::Compute::Property::String.api_munge(args['path'])
  @service = Google::Compute::Property::BackServSelfLinkRef.api_munge(
    args['service']
  )
end