Class: Google::Apis::ContaineranalysisV1alpha1::Uri

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb

Overview

An URI message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Uri

Returns a new instance of Uri.



6925
6926
6927
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6925

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

Instance Attribute Details

#labelString

A label for the URI. Corresponds to the JSON property label

Returns:

  • (String)


6918
6919
6920
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6918

def label
  @label
end

#uriString

The unique resource identifier. Corresponds to the JSON property uri

Returns:

  • (String)


6923
6924
6925
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6923

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6930
6931
6932
6933
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 6930

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