Network Management API . projects . locations . networkMonitoringProviders . monitoringPoints

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Gets the MonitoringPoint resource.

list(parent, pageSize=None, pageToken=None, x__xgafv=None)

Lists MonitoringPoints for a given network monitoring provider.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets the MonitoringPoint resource.

Args:
  name: string, Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message describing MonitoringPoint resource.
  "autoGeoLocationEnabled": True or False, # Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint.
  "connectionStatus": "A String", # Output only. Connection status of the MonitoringPoint.
  "createTime": "A String", # Output only. The time the MonitoringPoint was created.
  "displayName": "A String", # Output only. Display name of the MonitoringPoint.
  "errors": [ # Output only. The codes of errors detected in the MonitoringPoint.
    "A String",
  ],
  "geoLocation": { # The geographical location of the MonitoringPoint. # Output only. The geographical location of the MonitoringPoint. ;
    "country": "A String", # Country.
    "formattedAddress": "A String", # Formatted address.
  },
  "host": { # Message describing information about the host. # Output only. The host information of the MonitoringPoint.
    "cloudInstanceId": "A String", # Output only. The cloud instance id of the host.
    "cloudProjectId": "A String", # Output only. The cloud project id of the host.
    "cloudProvider": "A String", # Output only. The cloud provider of the host.
    "cloudRegion": "A String", # Output only. The cloud region of the host.
    "cloudVirtualNetworkIds": [ # Output only. The ids of cloud virtual networks of the host.
      "A String",
    ],
    "cloudVpcId": "A String", # Output only. The id of Virtual Private Cloud (VPC) of the host.
    "cloudZone": "A String", # Output only. The cloud zone of the host.
    "os": "A String", # Output only. The operating system of the host.
  },
  "hostname": "A String", # Output only. The hostname of the MonitoringPoint.
  "name": "A String", # Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}`
  "networkInterfaces": [ # Output only. The network interfaces of the MonitoringPoint.
    { # Message describing network interfaces.
      "adapterDescription": "A String", # Output only. The description of the interface.
      "cidr": "A String", # Output only. The IP address of the interface and subnet mask in CIDR format. Examples: 192.168.1.0/24, 2001:db8::/32
      "interfaceName": "A String", # Output only. The name of the network interface. Examples: eth0, eno1
      "ipAddress": "A String", # Output only. The IP address of the interface.
      "macAddress": "A String", # Output only. The MAC address of the interface.
      "speed": "A String", # Output only. Speed of the interface in millions of bits per second.
      "vlanId": "A String", # Output only. The id of the VLAN.
    },
  ],
  "originatingIp": "A String", # Output only. IP address visible when MonitoringPoint connects to the provider.
  "providerTags": [ # Output only. The provider tags of the MonitoringPoint.
    { # Message describing the provider tag.
      "category": "A String", # Output only. The category of the provider tag.
      "resourceType": "A String", # Output only. The resource type of the provider tag.
      "value": "A String", # Output only. The value of the provider tag.
    },
  ],
  "type": "A String", # Output only. Deployment type of the MonitoringPoint.
  "updateTime": "A String", # Output only. The time the MonitoringPoint was updated.
  "upgradeAvailable": True or False, # Output only. Indicates if an upgrade is available for the MonitoringPoint.
  "upgradeType": "A String", # Output only. The type of upgrade available for the MonitoringPoint.
  "version": "A String", # Output only. Version of the software running on the MonitoringPoint.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists MonitoringPoints for a given network monitoring provider.

Args:
  parent: string, Required. Parent value for ListMonitoringPointsRequest. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} (required)
  pageSize: integer, Optional. The maximum number of monitoring points to return. The service may return fewer than this value. If unspecified, at most 20 monitoring points will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
  pageToken: string, Optional. A page token, received from a previous `ListMonitoringPoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMonitoringPoints` must match the call that provided the page token.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Message for response to listing MonitoringPoints
  "monitoringPoints": [ # The list of MonitoringPoints.
    { # Message describing MonitoringPoint resource.
      "autoGeoLocationEnabled": True or False, # Output only. Indicates if automaitic geographic location is enabled for the MonitoringPoint.
      "connectionStatus": "A String", # Output only. Connection status of the MonitoringPoint.
      "createTime": "A String", # Output only. The time the MonitoringPoint was created.
      "displayName": "A String", # Output only. Display name of the MonitoringPoint.
      "errors": [ # Output only. The codes of errors detected in the MonitoringPoint.
        "A String",
      ],
      "geoLocation": { # The geographical location of the MonitoringPoint. # Output only. The geographical location of the MonitoringPoint. ;
        "country": "A String", # Country.
        "formattedAddress": "A String", # Formatted address.
      },
      "host": { # Message describing information about the host. # Output only. The host information of the MonitoringPoint.
        "cloudInstanceId": "A String", # Output only. The cloud instance id of the host.
        "cloudProjectId": "A String", # Output only. The cloud project id of the host.
        "cloudProvider": "A String", # Output only. The cloud provider of the host.
        "cloudRegion": "A String", # Output only. The cloud region of the host.
        "cloudVirtualNetworkIds": [ # Output only. The ids of cloud virtual networks of the host.
          "A String",
        ],
        "cloudVpcId": "A String", # Output only. The id of Virtual Private Cloud (VPC) of the host.
        "cloudZone": "A String", # Output only. The cloud zone of the host.
        "os": "A String", # Output only. The operating system of the host.
      },
      "hostname": "A String", # Output only. The hostname of the MonitoringPoint.
      "name": "A String", # Identifier. Name of the resource. Format: `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}`
      "networkInterfaces": [ # Output only. The network interfaces of the MonitoringPoint.
        { # Message describing network interfaces.
          "adapterDescription": "A String", # Output only. The description of the interface.
          "cidr": "A String", # Output only. The IP address of the interface and subnet mask in CIDR format. Examples: 192.168.1.0/24, 2001:db8::/32
          "interfaceName": "A String", # Output only. The name of the network interface. Examples: eth0, eno1
          "ipAddress": "A String", # Output only. The IP address of the interface.
          "macAddress": "A String", # Output only. The MAC address of the interface.
          "speed": "A String", # Output only. Speed of the interface in millions of bits per second.
          "vlanId": "A String", # Output only. The id of the VLAN.
        },
      ],
      "originatingIp": "A String", # Output only. IP address visible when MonitoringPoint connects to the provider.
      "providerTags": [ # Output only. The provider tags of the MonitoringPoint.
        { # Message describing the provider tag.
          "category": "A String", # Output only. The category of the provider tag.
          "resourceType": "A String", # Output only. The resource type of the provider tag.
          "value": "A String", # Output only. The value of the provider tag.
        },
      ],
      "type": "A String", # Output only. Deployment type of the MonitoringPoint.
      "updateTime": "A String", # Output only. The time the MonitoringPoint was updated.
      "upgradeAvailable": True or False, # Output only. Indicates if an upgrade is available for the MonitoringPoint.
      "upgradeType": "A String", # Output only. The type of upgrade available for the MonitoringPoint.
      "version": "A String", # Output only. Version of the software running on the MonitoringPoint.
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results the server should return.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.