Class: Google::Apis::ComputeBeta::NetworkProfile
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NetworkProfile
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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::ComputeBeta::NetworkProfileNetworkFeatures
Output only.
-
#id ⇒ Fixnum
Output only.
-
#kind ⇒ String
Output only.
-
#location ⇒ Google::Apis::ComputeBeta::NetworkProfileLocation
Output only.
-
#name ⇒ String
Output only.
-
#profile_type ⇒ Google::Apis::ComputeBeta::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.
40801 40802 40803 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40801 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
40750 40751 40752 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40750 def @creation_timestamp end |
#description ⇒ String
Output only. [Output Only] An optional description of this resource.
Corresponds to the JSON property description
40755 40756 40757 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40755 def description @description end |
#features ⇒ Google::Apis::ComputeBeta::NetworkProfileNetworkFeatures
Output only. [Output Only] Features supported by the network.
Corresponds to the JSON property features
40760 40761 40762 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40760 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
40767 40768 40769 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40767 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
40773 40774 40775 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40773 def kind @kind end |
#location ⇒ Google::Apis::ComputeBeta::NetworkProfileLocation
Output only. [Output Only] Location to which the network is restricted.
Corresponds to the JSON property location
40778 40779 40780 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40778 def location @location end |
#name ⇒ String
Output only. [Output Only] Name of the resource.
Corresponds to the JSON property name
40783 40784 40785 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40783 def name @name end |
#profile_type ⇒ Google::Apis::ComputeBeta::NetworkProfileProfileType
Output only. [Output Only] Type of the network profile.
Corresponds to the JSON property profileType
40788 40789 40790 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40788 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
40793 40794 40795 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40793 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
40799 40800 40801 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40799 def self_link_with_id @self_link_with_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40806 40807 40808 40809 40810 40811 40812 40813 40814 40815 40816 40817 |
# File 'lib/google/apis/compute_beta/classes.rb', line 40806 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 |