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.



4692
4693
4694
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4692

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)


4612
4613
4614
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4612

def create_time
  @create_time
end

#destinationString

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

Returns:

  • (String)


4617
4618
4619
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4617

def destination
  @destination
end

#destination_geo_locationGoogle::Apis::NetworkmanagementV1::GeoLocation

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



4622
4623
4624
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4622

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)


4627
4628
4629
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4627

def display_name
  @display_name
end

#intervalString

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

Returns:

  • (String)


4632
4633
4634
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4632

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)


4637
4638
4639
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4637

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)


4643
4644
4645
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4643

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)


4648
4649
4650
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4648

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)


4653
4654
4655
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4653

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)


4660
4661
4662
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4660

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



4665
4666
4667
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4665

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)


4670
4671
4672
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4670

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)


4675
4676
4677
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4675

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)


4680
4681
4682
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4680

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)


4685
4686
4687
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4685

def update_time
  @update_time
end

#workflow_typeString

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

Returns:

  • (String)


4690
4691
4692
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4690

def workflow_type
  @workflow_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4697

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