Class: Google::Apis::NetworkmanagementV1::WebPath

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

Overview

Message describing WebPath resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebPath

Returns a new instance of WebPath.



4804
4805
4806
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4804

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

Instance Attribute Details

#create_timeString

Output only. The time the WebPath was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4724
4725
4726
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4724

def create_time
  @create_time
end

#destinationString

Output only. Web monitoring target. Corresponds to the JSON property destination

Returns:

  • (String)


4729
4730
4731
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4729

def destination
  @destination
end

#destination_geo_locationGoogle::Apis::NetworkmanagementV1::GeoLocation

The geographical location of the MonitoringPoint. Corresponds to the JSON property destinationGeoLocation



4734
4735
4736
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4734

def destination_geo_location
  @destination_geo_location
end

#display_nameString

Output only. Display name of the WebPath. Corresponds to the JSON property displayName

Returns:

  • (String)


4739
4740
4741
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4739

def display_name
  @display_name
end

#intervalString

Output only. Monitoring interval. Corresponds to the JSON property interval

Returns:

  • (String)


4744
4745
4746
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4744

def interval
  @interval
end

#monitoring_enabledBoolean Also known as: monitoring_enabled?

Output only. Is monitoring enabled for the WebPath. Corresponds to the JSON property monitoringEnabled

Returns:

  • (Boolean)


4749
4750
4751
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4749

def monitoring_enabled
  @monitoring_enabled
end

#monitoring_policy_display_nameString

Output only. Display name of the monitoring policy. Corresponds to the JSON property monitoringPolicyDisplayName

Returns:

  • (String)


4755
4756
4757
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4755

def monitoring_policy_display_name
  @monitoring_policy_display_name
end

#monitoring_policy_idString

Output only. ID of the monitoring policy. Corresponds to the JSON property monitoringPolicyId

Returns:

  • (String)


4760
4761
4762
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4760

def monitoring_policy_id
  @monitoring_policy_id
end

#monitoring_statusString

Output only. The monitoring status of the WebPath. Corresponds to the JSON property monitoringStatus

Returns:

  • (String)


4765
4766
4767
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4765

def monitoring_status
  @monitoring_status
end

#nameString

Identifier. Name of the resource. Format: projects/project/locations/ location/networkMonitoringProviders/network_monitoring_provider/webPaths/ web_path` Corresponds to the JSON propertyname`

Returns:

  • (String)


4772
4773
4774
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4772

def name
  @name
end

#provider_tagsArray<Google::Apis::NetworkmanagementV1::ProviderTag>

Output only. The provider tags of the web path. Corresponds to the JSON property providerTags



4777
4778
4779
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4777

def provider_tags
  @provider_tags
end

#provider_ui_uriString

Output only. Link to provider's UI; link shows the WebPath. Corresponds to the JSON property providerUiUri

Returns:

  • (String)


4782
4783
4784
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4782

def provider_ui_uri
  @provider_ui_uri
end

Output only. Provider's UUID of the related NetworkPath. Corresponds to the JSON property relatedNetworkPathId

Returns:

  • (String)


4787
4788
4789
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4787

def related_network_path_id
  @related_network_path_id
end

#source_monitoring_point_idString

Output only. ID of the source MonitoringPoint. Corresponds to the JSON property sourceMonitoringPointId

Returns:

  • (String)


4792
4793
4794
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4792

def source_monitoring_point_id
  @source_monitoring_point_id
end

#update_timeString

Output only. The time the WebPath was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


4797
4798
4799
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4797

def update_time
  @update_time
end

#workflow_typeString

Output only. The workflow type of the WebPath. Corresponds to the JSON property workflowType

Returns:

  • (String)


4802
4803
4804
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4802

def workflow_type
  @workflow_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4809

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination = args[:destination] if args.key?(:destination)
  @destination_geo_location = args[:destination_geo_location] if args.key?(:destination_geo_location)
  @display_name = args[:display_name] if args.key?(:display_name)
  @interval = args[:interval] if args.key?(:interval)
  @monitoring_enabled = args[:monitoring_enabled] if args.key?(:monitoring_enabled)
  @monitoring_policy_display_name = args[:monitoring_policy_display_name] if args.key?(:monitoring_policy_display_name)
  @monitoring_policy_id = args[:monitoring_policy_id] if args.key?(:monitoring_policy_id)
  @monitoring_status = args[:monitoring_status] if args.key?(:monitoring_status)
  @name = args[:name] if args.key?(:name)
  @provider_tags = args[:provider_tags] if args.key?(:provider_tags)
  @provider_ui_uri = args[:provider_ui_uri] if args.key?(:provider_ui_uri)
  @related_network_path_id = args[:related_network_path_id] if args.key?(:related_network_path_id)
  @source_monitoring_point_id = args[:source_monitoring_point_id] if args.key?(:source_monitoring_point_id)
  @update_time = args[:update_time] if args.key?(:update_time)
  @workflow_type = args[:workflow_type] if args.key?(:workflow_type)
end