Class: Google::Apis::ComputeAlpha::NetworkProfile
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NetworkProfile
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
NetworkProfile represents a Google managed network profile resource.
Instance Attribute Summary collapse
-
#creation_timestamp ⇒ String
Output only.
-
#description ⇒ String
Output only.
-
#features ⇒ Google::Apis::ComputeAlpha::NetworkProfileNetworkFeatures
Output only.
-
#id ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#location ⇒ Google::Apis::ComputeAlpha::NetworkProfileLocation
Output only.
-
#name ⇒ String
Output only.
-
#profile_type ⇒ Google::Apis::ComputeAlpha::NetworkProfileProfileType
Output only.
-
#self_link ⇒ String
Output only.
-
#self_link_with_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkProfile
constructor
A new instance of NetworkProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkProfile
Returns a new instance of NetworkProfile.
47614 47615 47616 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47614 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creation_timestamp ⇒ String
Output only. [Output Only] Creation timestamp inRFC3339
text format.
Corresponds to the JSON property creationTimestamp
47563 47564 47565 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47563 def @creation_timestamp end |
#description ⇒ String
Output only. [Output Only] An optional description of this resource.
Corresponds to the JSON property description
47568 47569 47570 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47568 def description @description end |
#features ⇒ Google::Apis::ComputeAlpha::NetworkProfileNetworkFeatures
Output only. [Output Only] Features supported by the network.
Corresponds to the JSON property features
47573 47574 47575 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47573 def features @features end |
#id ⇒ Fixnum
Output only. [Output Only] The unique identifier for the resource. This
identifier is
defined by the server.
Corresponds to the JSON property id
47580 47581 47582 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47580 def id @id end |
#kind ⇒ String
Output only. [Output Only] Type of the resource. Alwayscompute#networkProfile
for network profiles.
Corresponds to the JSON property kind
47586 47587 47588 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47586 def kind @kind end |
#location ⇒ Google::Apis::ComputeAlpha::NetworkProfileLocation
Output only. [Output Only] Location to which the network is restricted.
Corresponds to the JSON property location
47591 47592 47593 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47591 def location @location end |
#name ⇒ String
Output only. [Output Only] Name of the resource.
Corresponds to the JSON property name
47596 47597 47598 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47596 def name @name end |
#profile_type ⇒ Google::Apis::ComputeAlpha::NetworkProfileProfileType
Output only. [Output Only] Type of the network profile.
Corresponds to the JSON property profileType
47601 47602 47603 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47601 def profile_type @profile_type end |
#self_link ⇒ String
Output only. [Output Only] Server-defined URL for the resource.
Corresponds to the JSON property selfLink
47606 47607 47608 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47606 def self_link @self_link end |
#self_link_with_id ⇒ String
Output only. [Output Only] Server-defined URL for this resource with the
resource id.
Corresponds to the JSON property selfLinkWithId
47612 47613 47614 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47612 def self_link_with_id @self_link_with_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47619 47620 47621 47622 47623 47624 47625 47626 47627 47628 47629 47630 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 47619 def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @features = args[:features] if args.key?(:features) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @profile_type = args[:profile_type] if args.key?(:profile_type) @self_link = args[:self_link] if args.key?(:self_link) @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id) end |