class Google::Apis::ResourceviewsV1beta2::SetServiceRequest
Attributes
endpoints[RW]
The service information to be updated. Corresponds to the JSON property `endpoints` @return [Array<Google::Apis::ResourceviewsV1beta2::ServiceEndpoint>]
fingerprint[RW]
Fingerprint of the service information; a hash of the contents. This field is used for optimistic locking when updating the service entries. Corresponds to the JSON property `fingerprint` @return [String]
resource_name[RW]
The name of the resource if user wants to update the service information of the resource. Corresponds to the JSON property `resourceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 647 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/resourceviews_v1beta2/classes.rb, line 652 def update!(**args) @endpoints = args[:endpoints] if args.key?(:endpoints) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @resource_name = args[:resource_name] if args.key?(:resource_name) end