Class: Google::Apis::ContaineranalysisV1alpha1::Uri
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1alpha1::Uri
- 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
-
#label ⇒ String
A label for the URI.
-
#uri ⇒ String
The unique resource identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Uri
constructor
A new instance of Uri.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Uri
Returns a new instance of Uri.
7114 7115 7116 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
A label for the URI.
Corresponds to the JSON property label
7107 7108 7109 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7107 def label @label end |
#uri ⇒ String
The unique resource identifier.
Corresponds to the JSON property uri
7112 7113 7114 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7112 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7119 7120 7121 7122 |
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7119 def update!(**args) @label = args[:label] if args.key?(:label) @uri = args[:uri] if args.key?(:uri) end |