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.



4655
4656
4657
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4655

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)


4575
4576
4577
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4575

def create_time
  @create_time
end

#destinationString

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

Returns:

  • (String)


4580
4581
4582
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4580

def destination
  @destination
end

#destination_geo_locationGoogle::Apis::NetworkmanagementV1::GeoLocation

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



4585
4586
4587
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4585

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)


4590
4591
4592
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4590

def display_name
  @display_name
end

#intervalString

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

Returns:

  • (String)


4595
4596
4597
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4595

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)


4600
4601
4602
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4600

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)


4606
4607
4608
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4606

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)


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

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)


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

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)


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

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



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

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)


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

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)


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

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)


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

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)


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

def update_time
  @update_time
end

#workflow_typeString

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

Returns:

  • (String)


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

def workflow_type
  @workflow_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 4660

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