Class: Google::Apis::ResourceviewsV1beta2::GetServiceResponse

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

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) ⇒ GetServiceResponse

Returns a new instance of GetServiceResponse.


528
529
530
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 528

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

Instance Attribute Details

#endpointsArray<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>

The service information. Corresponds to the JSON property endpoints


521
522
523
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 521

def endpoints
  @endpoints
end

#fingerprintString

The fingerprint of the service information. Corresponds to the JSON property fingerprint

Returns:

  • (String)

526
527
528
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 526

def fingerprint
  @fingerprint
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


533
534
535
536
# File 'generated/google/apis/resourceviews_v1beta2/classes.rb', line 533

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