From 86658aeb96c721788f57be14a07f475dff8fc8d2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Oct 2025 10:54:07 +0000 Subject: [PATCH] feat: Automated regeneration of networkmanagement v1 client --- api_names_out.yaml | 4 + .../CHANGELOG.md | 4 + .../apis/networkmanagement_v1/classes.rb | 675 +----------------- .../apis/networkmanagement_v1/gem_version.rb | 4 +- .../networkmanagement_v1/representations.rb | 238 +----- .../apis/networkmanagement_v1/service.rb | 386 +--------- 6 files changed, 37 insertions(+), 1274 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 8649edff29a..354896e80f0 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -300337,6 +300337,8 @@ "/networkmanagement:v1/ListOperationsResponse/nextPageToken": next_page_token "/networkmanagement:v1/ListOperationsResponse/operations": operations "/networkmanagement:v1/ListOperationsResponse/operations/operation": operation +"/networkmanagement:v1/ListOperationsResponse/unreachable": unreachable +"/networkmanagement:v1/ListOperationsResponse/unreachable/unreachable": unreachable "/networkmanagement:v1/ListVpcFlowLogsConfigsResponse": list_vpc_flow_logs_configs_response "/networkmanagement:v1/ListVpcFlowLogsConfigsResponse/nextPageToken": next_page_token "/networkmanagement:v1/ListVpcFlowLogsConfigsResponse/unreachable": unreachable @@ -300720,6 +300722,7 @@ "/networkmanagement:v1/networkmanagement.organizations.locations.operations.list/name": name "/networkmanagement:v1/networkmanagement.organizations.locations.operations.list/pageSize": page_size "/networkmanagement:v1/networkmanagement.organizations.locations.operations.list/pageToken": page_token +"/networkmanagement:v1/networkmanagement.organizations.locations.operations.list/returnPartialSuccess": return_partial_success "/networkmanagement:v1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create": create_organization_location_vpc_flow_logs_config "/networkmanagement:v1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create/parent": parent "/networkmanagement:v1/networkmanagement.organizations.locations.vpcFlowLogsConfigs.create/vpcFlowLogsConfigId": vpc_flow_logs_config_id @@ -300774,6 +300777,7 @@ "/networkmanagement:v1/networkmanagement.projects.locations.global.operations.list/name": name "/networkmanagement:v1/networkmanagement.projects.locations.global.operations.list/pageSize": page_size "/networkmanagement:v1/networkmanagement.projects.locations.global.operations.list/pageToken": page_token +"/networkmanagement:v1/networkmanagement.projects.locations.global.operations.list/returnPartialSuccess": return_partial_success "/networkmanagement:v1/networkmanagement.projects.locations.list": list_project_locations "/networkmanagement:v1/networkmanagement.projects.locations.list/extraLocationTypes": extra_location_types "/networkmanagement:v1/networkmanagement.projects.locations.list/filter": filter diff --git a/generated/google-apis-networkmanagement_v1/CHANGELOG.md b/generated/google-apis-networkmanagement_v1/CHANGELOG.md index e1c542a63b7..d86fab77d5c 100644 --- a/generated/google-apis-networkmanagement_v1/CHANGELOG.md +++ b/generated/google-apis-networkmanagement_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-networkmanagement_v1 +### v0.71.0 (2025-10-05) + +* Regenerated from discovery document revision 20250925 + ### v0.70.0 (2025-09-14) * Regenerated from discovery document revision 20250905 diff --git a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/classes.rb b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/classes.rb index f94228bc836..2efc5de7a74 100644 --- a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/classes.rb +++ b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/classes.rb @@ -1390,31 +1390,6 @@ def update!(**args) end end - # The geographical location of the MonitoringPoint. - class GeoLocation - include Google::Apis::Core::Hashable - - # Country. - # Corresponds to the JSON property `country` - # @return [String] - attr_accessor :country - - # Formatted address. - # Corresponds to the JSON property `formattedAddress` - # @return [String] - attr_accessor :formatted_address - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @country = args[:country] if args.key?(:country) - @formatted_address = args[:formatted_address] if args.key?(:formatted_address) - end - end - # For display only. Details of a Google Service sending packets to a VPC network. # Although the source IP might be a publicly routable address, some Google # Services use special routes within Google production infrastructure to reach @@ -1444,67 +1419,6 @@ def update!(**args) end end - # Message describing information about the host. - class Host - include Google::Apis::Core::Hashable - - # Output only. The cloud instance id of the host. - # Corresponds to the JSON property `cloudInstanceId` - # @return [String] - attr_accessor :cloud_instance_id - - # Output only. The cloud project id of the host. - # Corresponds to the JSON property `cloudProjectId` - # @return [String] - attr_accessor :cloud_project_id - - # Output only. The cloud provider of the host. - # Corresponds to the JSON property `cloudProvider` - # @return [String] - attr_accessor :cloud_provider - - # Output only. The cloud region of the host. - # Corresponds to the JSON property `cloudRegion` - # @return [String] - attr_accessor :cloud_region - - # Output only. The ids of cloud virtual networks of the host. - # Corresponds to the JSON property `cloudVirtualNetworkIds` - # @return [Array] - attr_accessor :cloud_virtual_network_ids - - # Output only. The id of Virtual Private Cloud (VPC) of the host. - # Corresponds to the JSON property `cloudVpcId` - # @return [String] - attr_accessor :cloud_vpc_id - - # Output only. The cloud zone of the host. - # Corresponds to the JSON property `cloudZone` - # @return [String] - attr_accessor :cloud_zone - - # Output only. The operating system of the host. - # Corresponds to the JSON property `os` - # @return [String] - attr_accessor :os - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cloud_instance_id = args[:cloud_instance_id] if args.key?(:cloud_instance_id) - @cloud_project_id = args[:cloud_project_id] if args.key?(:cloud_project_id) - @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider) - @cloud_region = args[:cloud_region] if args.key?(:cloud_region) - @cloud_virtual_network_ids = args[:cloud_virtual_network_ids] if args.key?(:cloud_virtual_network_ids) - @cloud_vpc_id = args[:cloud_vpc_id] if args.key?(:cloud_vpc_id) - @cloud_zone = args[:cloud_zone] if args.key?(:cloud_zone) - @os = args[:os] if args.key?(:os) - end - end - # For display only. Metadata associated with a hybrid subnet. class HybridSubnetInfo include Google::Apis::Core::Hashable @@ -1773,81 +1687,6 @@ def update!(**args) end end - # Message for response to listing MonitoringPoints - class ListMonitoringPointsResponse - include Google::Apis::Core::Hashable - - # The list of MonitoringPoints. - # Corresponds to the JSON property `monitoringPoints` - # @return [Array] - attr_accessor :monitoring_points - - # A token identifying a page of results the server should return. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @monitoring_points = args[:monitoring_points] if args.key?(:monitoring_points) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Message for response to listing NetworkMonitoringProviders - class ListNetworkMonitoringProvidersResponse - include Google::Apis::Core::Hashable - - # The list of NetworkMonitoringProvider - # Corresponds to the JSON property `networkMonitoringProviders` - # @return [Array] - attr_accessor :network_monitoring_providers - - # A token identifying a page of results the server should return. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @network_monitoring_providers = args[:network_monitoring_providers] if args.key?(:network_monitoring_providers) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Message for response to listing NetworkPaths - class ListNetworkPathsResponse - include Google::Apis::Core::Hashable - - # The list of NetworkPath - # Corresponds to the JSON property `networkPaths` - # @return [Array] - attr_accessor :network_paths - - # A token identifying a page of results the server should return. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @network_paths = args[:network_paths] if args.key?(:network_paths) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable @@ -1862,6 +1701,13 @@ class ListOperationsResponse # @return [Array] attr_accessor :operations + # Unordered list. Unreachable resources. Populated when the request sets ` + # ListOperationsRequest.return_partial_success` and reads across collections e.g. + # when attempting to list all resources across all supported locations. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -1870,6 +1716,7 @@ def initialize(**args) def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @unreachable = args[:unreachable] if args.key?(:unreachable) end end @@ -1904,31 +1751,6 @@ def update!(**args) end end - # Message for response to listing WebPaths - class ListWebPathsResponse - include Google::Apis::Core::Hashable - - # A token identifying a page of results the server should return. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The list of WebPath. - # Corresponds to the JSON property `webPaths` - # @return [Array] - attr_accessor :web_paths - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @web_paths = args[:web_paths] if args.key?(:web_paths) - end - end - # For display only. Metadata associated with a specific load balancer backend. class LoadBalancerBackend include Google::Apis::Core::Hashable @@ -2145,126 +1967,6 @@ def update!(**args) end end - # Message describing MonitoringPoint resource. - class MonitoringPoint - include Google::Apis::Core::Hashable - - # Output only. Indicates if automaitic geographic location is enabled for the - # MonitoringPoint. - # Corresponds to the JSON property `autoGeoLocationEnabled` - # @return [Boolean] - attr_accessor :auto_geo_location_enabled - alias_method :auto_geo_location_enabled?, :auto_geo_location_enabled - - # Output only. Connection status of the MonitoringPoint. - # Corresponds to the JSON property `connectionStatus` - # @return [String] - attr_accessor :connection_status - - # Output only. The time the MonitoringPoint was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. Display name of the MonitoringPoint. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. The codes of errors detected in the MonitoringPoint. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - # The geographical location of the MonitoringPoint. - # Corresponds to the JSON property `geoLocation` - # @return [Google::Apis::NetworkmanagementV1::GeoLocation] - attr_accessor :geo_location - - # Message describing information about the host. - # Corresponds to the JSON property `host` - # @return [Google::Apis::NetworkmanagementV1::Host] - attr_accessor :host - - # Output only. The hostname of the MonitoringPoint. - # Corresponds to the JSON property `hostname` - # @return [String] - attr_accessor :hostname - - # Identifier. Name of the resource. Format: `projects/`project`/locations/` - # location`/networkMonitoringProviders/`network_monitoring_provider`/ - # monitoringPoints/`monitoring_point`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The network interfaces of the MonitoringPoint. - # Corresponds to the JSON property `networkInterfaces` - # @return [Array] - attr_accessor :network_interfaces - - # Output only. IP address visible when MonitoringPoint connects to the provider. - # Corresponds to the JSON property `originatingIp` - # @return [String] - attr_accessor :originating_ip - - # Output only. The provider tags of the MonitoringPoint. - # Corresponds to the JSON property `providerTags` - # @return [Array] - attr_accessor :provider_tags - - # Output only. Deployment type of the MonitoringPoint. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Output only. The time the MonitoringPoint was updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Output only. Indicates if an upgrade is available for the MonitoringPoint. - # Corresponds to the JSON property `upgradeAvailable` - # @return [Boolean] - attr_accessor :upgrade_available - alias_method :upgrade_available?, :upgrade_available - - # Output only. The type of upgrade available for the MonitoringPoint. - # Corresponds to the JSON property `upgradeType` - # @return [String] - attr_accessor :upgrade_type - - # Output only. Version of the software running on the MonitoringPoint. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @auto_geo_location_enabled = args[:auto_geo_location_enabled] if args.key?(:auto_geo_location_enabled) - @connection_status = args[:connection_status] if args.key?(:connection_status) - @create_time = args[:create_time] if args.key?(:create_time) - @display_name = args[:display_name] if args.key?(:display_name) - @errors = args[:errors] if args.key?(:errors) - @geo_location = args[:geo_location] if args.key?(:geo_location) - @host = args[:host] if args.key?(:host) - @hostname = args[:hostname] if args.key?(:hostname) - @name = args[:name] if args.key?(:name) - @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces) - @originating_ip = args[:originating_ip] if args.key?(:originating_ip) - @provider_tags = args[:provider_tags] if args.key?(:provider_tags) - @type = args[:type] if args.key?(:type) - @update_time = args[:update_time] if args.key?(:update_time) - @upgrade_available = args[:upgrade_available] if args.key?(:upgrade_available) - @upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type) - @version = args[:version] if args.key?(:version) - end - end - # For display only. Metadata associated with NAT. class NatInfo include Google::Apis::Core::Hashable @@ -2400,230 +2102,6 @@ def update!(**args) end end - # Message describing network interfaces. - class NetworkInterface - include Google::Apis::Core::Hashable - - # Output only. The description of the interface. - # Corresponds to the JSON property `adapterDescription` - # @return [String] - attr_accessor :adapter_description - - # Output only. The IP address of the interface and subnet mask in CIDR format. - # Examples: 192.168.1.0/24, 2001:db8::/32 - # Corresponds to the JSON property `cidr` - # @return [String] - attr_accessor :cidr - - # Output only. The name of the network interface. Examples: eth0, eno1 - # Corresponds to the JSON property `interfaceName` - # @return [String] - attr_accessor :interface_name - - # Output only. The IP address of the interface. - # Corresponds to the JSON property `ipAddress` - # @return [String] - attr_accessor :ip_address - - # Output only. The MAC address of the interface. - # Corresponds to the JSON property `macAddress` - # @return [String] - attr_accessor :mac_address - - # Output only. Speed of the interface in millions of bits per second. - # Corresponds to the JSON property `speed` - # @return [Fixnum] - attr_accessor :speed - - # Output only. The id of the VLAN. - # Corresponds to the JSON property `vlanId` - # @return [Fixnum] - attr_accessor :vlan_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @adapter_description = args[:adapter_description] if args.key?(:adapter_description) - @cidr = args[:cidr] if args.key?(:cidr) - @interface_name = args[:interface_name] if args.key?(:interface_name) - @ip_address = args[:ip_address] if args.key?(:ip_address) - @mac_address = args[:mac_address] if args.key?(:mac_address) - @speed = args[:speed] if args.key?(:speed) - @vlan_id = args[:vlan_id] if args.key?(:vlan_id) - end - end - - # Message describing NetworkMonitoringProvider resource. - class NetworkMonitoringProvider - include Google::Apis::Core::Hashable - - # Output only. The time the NetworkMonitoringProvider was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. The list of error messages detected for the - # NetworkMonitoringProvider. - # Corresponds to the JSON property `errors` - # @return [Array] - attr_accessor :errors - - # Output only. Identifier. Name of the resource. Format: `projects/`project`/ - # locations/`location`/networkMonitoringProviders/`network_monitoring_provider`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Required. Type of the NetworkMonitoringProvider. - # Corresponds to the JSON property `providerType` - # @return [String] - attr_accessor :provider_type - - # Output only. Link to the provider's UI. - # Corresponds to the JSON property `providerUri` - # @return [String] - attr_accessor :provider_uri - - # Output only. State of the NetworkMonitoringProvider. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Output only. The time the NetworkMonitoringProvider was updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @errors = args[:errors] if args.key?(:errors) - @name = args[:name] if args.key?(:name) - @provider_type = args[:provider_type] if args.key?(:provider_type) - @provider_uri = args[:provider_uri] if args.key?(:provider_uri) - @state = args[:state] if args.key?(:state) - @update_time = args[:update_time] if args.key?(:update_time) - end - end - - # Message describing NetworkPath resource. - class NetworkPath - include Google::Apis::Core::Hashable - - # Output only. The time the NetworkPath was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. IP address or hostname of the network path destination. - # Corresponds to the JSON property `destination` - # @return [String] - attr_accessor :destination - - # The geographical location of the MonitoringPoint. - # Corresponds to the JSON property `destinationGeoLocation` - # @return [Google::Apis::NetworkmanagementV1::GeoLocation] - attr_accessor :destination_geo_location - - # Output only. The display name of the network path. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Indicates if the network path is dual ended. When true, the - # network path is measured both: from both source to destination, and from - # destination to source. When false, the network path is measured from the - # source through the destination back to the source (round trip measurement). - # Corresponds to the JSON property `dualEnded` - # @return [Boolean] - attr_accessor :dual_ended - alias_method :dual_ended?, :dual_ended - - # Output only. Is monitoring enabled for the network path. - # Corresponds to the JSON property `monitoringEnabled` - # @return [Boolean] - attr_accessor :monitoring_enabled - alias_method :monitoring_enabled?, :monitoring_enabled - - # Output only. Display name of the monitoring policy. - # Corresponds to the JSON property `monitoringPolicyDisplayName` - # @return [String] - attr_accessor :monitoring_policy_display_name - - # Output only. ID of monitoring policy. - # Corresponds to the JSON property `monitoringPolicyId` - # @return [String] - attr_accessor :monitoring_policy_id - - # Output only. The monitoring status of the network path. - # Corresponds to the JSON property `monitoringStatus` - # @return [String] - attr_accessor :monitoring_status - - # Identifier. Name of the resource. Format: `projects/`project`/locations/` - # location`/networkMonitoringProviders/`network_monitoring_provider`/ - # networkPaths/`network_path`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The network protocol of the network path. - # Corresponds to the JSON property `networkProtocol` - # @return [String] - attr_accessor :network_protocol - - # Output only. The provider tags of the network path. - # Corresponds to the JSON property `providerTags` - # @return [Array] - attr_accessor :provider_tags - - # Output only. Link to provider's UI; link shows the NetworkPath. - # Corresponds to the JSON property `providerUiUri` - # @return [String] - attr_accessor :provider_ui_uri - - # Output only. Provider's UUID of the source MonitoringPoint. This id may not - # point to a resource in the GCP. - # Corresponds to the JSON property `sourceMonitoringPointId` - # @return [String] - attr_accessor :source_monitoring_point_id - - # Output only. The time the NetworkPath was updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - 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) - @dual_ended = args[:dual_ended] if args.key?(:dual_ended) - @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) - @network_protocol = args[:network_protocol] if args.key?(:network_protocol) - @provider_tags = args[:provider_tags] if args.key?(:provider_tags) - @provider_ui_uri = args[:provider_ui_uri] if args.key?(:provider_ui_uri) - @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) - end - end - # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -2926,37 +2404,6 @@ def update!(**args) end end - # Message describing the provider tag. - class ProviderTag - include Google::Apis::Core::Hashable - - # Output only. The category of the provider tag. - # Corresponds to the JSON property `category` - # @return [String] - attr_accessor :category - - # Output only. The resource type of the provider tag. - # Corresponds to the JSON property `resourceType` - # @return [String] - attr_accessor :resource_type - - # Output only. The value of the provider tag. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @category = args[:category] if args.key?(:category) - @resource_type = args[:resource_type] if args.key?(:resource_type) - @value = args[:value] if args.key?(:value) - end - end - # For display only. Metadata associated with ProxyConnection. class ProxyConnectionInfo include Google::Apis::Core::Hashable @@ -4232,112 +3679,6 @@ def update!(**args) @uri = args[:uri] if args.key?(:uri) end end - - # Message describing WebPath resource. - class WebPath - include Google::Apis::Core::Hashable - - # Output only. The time the WebPath was created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Output only. Web monitoring target. - # Corresponds to the JSON property `destination` - # @return [String] - attr_accessor :destination - - # Output only. Display name of the WebPath. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. Monitoring interval. - # Corresponds to the JSON property `interval` - # @return [String] - attr_accessor :interval - - # Output only. Is monitoring enabled for the WebPath. - # Corresponds to the JSON property `monitoringEnabled` - # @return [Boolean] - attr_accessor :monitoring_enabled - alias_method :monitoring_enabled?, :monitoring_enabled - - # Output only. Display name of the monitoring policy. - # Corresponds to the JSON property `monitoringPolicyDisplayName` - # @return [String] - attr_accessor :monitoring_policy_display_name - - # Output only. ID of the monitoring policy. - # Corresponds to the JSON property `monitoringPolicyId` - # @return [String] - attr_accessor :monitoring_policy_id - - # Output only. The monitoring status of the WebPath. - # Corresponds to the JSON property `monitoringStatus` - # @return [String] - attr_accessor :monitoring_status - - # Identifier. Name of the resource. Format: `projects/`project`/locations/` - # location`/networkMonitoringProviders/`network_monitoring_provider`/webPaths/` - # web_path`` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The provider tags of the web path. - # Corresponds to the JSON property `providerTags` - # @return [Array] - attr_accessor :provider_tags - - # Output only. Link to provider's UI; link shows the WebPath. - # Corresponds to the JSON property `providerUiUri` - # @return [String] - attr_accessor :provider_ui_uri - - # Output only. Provider's UUID of the related NetworkPath. - # Corresponds to the JSON property `relatedNetworkPathId` - # @return [String] - attr_accessor :related_network_path_id - - # Output only. ID of the source MonitoringPoint. - # Corresponds to the JSON property `sourceMonitoringPointId` - # @return [String] - attr_accessor :source_monitoring_point_id - - # Output only. The time the WebPath was updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # Output only. The workflow type of the WebPath. - # Corresponds to the JSON property `workflowType` - # @return [String] - attr_accessor :workflow_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @create_time = args[:create_time] if args.key?(:create_time) - @destination = args[:destination] if args.key?(:destination) - @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 - end end end end diff --git a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/gem_version.rb b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/gem_version.rb index ac685b03fca..be5991e73bf 100644 --- a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/gem_version.rb +++ b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module NetworkmanagementV1 # Version of the google-apis-networkmanagement_v1 gem - GEM_VERSION = "0.70.0" + GEM_VERSION = "0.71.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250905" + REVISION = "20250925" end end end diff --git a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/representations.rb b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/representations.rb index ad63c23da4e..5d378cc5484 100644 --- a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/representations.rb +++ b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/representations.rb @@ -178,24 +178,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GeoLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleServiceInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Host - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class HybridSubnetInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,24 +226,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListMonitoringPointsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListNetworkMonitoringProvidersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListNetworkPathsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -268,12 +238,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListWebPathsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class LoadBalancerBackend class Representation < Google::Apis::Core::JsonRepresentation; end @@ -298,12 +262,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MonitoringPoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class NatInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -316,24 +274,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class NetworkInterface - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NetworkMonitoringProvider - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NetworkPath - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -358,12 +298,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ProviderTag - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ProxyConnectionInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -496,12 +430,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class WebPath - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AbortInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -810,14 +738,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GeoLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :country, as: 'country' - property :formatted_address, as: 'formattedAddress' - end - end - class GoogleServiceInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -826,20 +746,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class Host - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cloud_instance_id, as: 'cloudInstanceId' - property :cloud_project_id, as: 'cloudProjectId' - property :cloud_provider, as: 'cloudProvider' - property :cloud_region, as: 'cloudRegion' - collection :cloud_virtual_network_ids, as: 'cloudVirtualNetworkIds' - property :cloud_vpc_id, as: 'cloudVpcId' - property :cloud_zone, as: 'cloudZone' - property :os, as: 'os' - end - end - class HybridSubnetInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -914,39 +820,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class ListMonitoringPointsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :monitoring_points, as: 'monitoringPoints', class: Google::Apis::NetworkmanagementV1::MonitoringPoint, decorator: Google::Apis::NetworkmanagementV1::MonitoringPoint::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListNetworkMonitoringProvidersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :network_monitoring_providers, as: 'networkMonitoringProviders', class: Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider, decorator: Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListNetworkPathsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :network_paths, as: 'networkPaths', class: Google::Apis::NetworkmanagementV1::NetworkPath, decorator: Google::Apis::NetworkmanagementV1::NetworkPath::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::NetworkmanagementV1::Operation, decorator: Google::Apis::NetworkmanagementV1::Operation::Representation + collection :unreachable, as: 'unreachable' end end @@ -960,15 +840,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class ListWebPathsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :web_paths, as: 'webPaths', class: Google::Apis::NetworkmanagementV1::WebPath, decorator: Google::Apis::NetworkmanagementV1::WebPath::Representation - - end - end - class LoadBalancerBackend # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1019,33 +890,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class MonitoringPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :auto_geo_location_enabled, as: 'autoGeoLocationEnabled' - property :connection_status, as: 'connectionStatus' - property :create_time, as: 'createTime' - property :display_name, as: 'displayName' - collection :errors, as: 'errors' - property :geo_location, as: 'geoLocation', class: Google::Apis::NetworkmanagementV1::GeoLocation, decorator: Google::Apis::NetworkmanagementV1::GeoLocation::Representation - - property :host, as: 'host', class: Google::Apis::NetworkmanagementV1::Host, decorator: Google::Apis::NetworkmanagementV1::Host::Representation - - property :hostname, as: 'hostname' - property :name, as: 'name' - collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::NetworkmanagementV1::NetworkInterface, decorator: Google::Apis::NetworkmanagementV1::NetworkInterface::Representation - - property :originating_ip, as: 'originatingIp' - collection :provider_tags, as: 'providerTags', class: Google::Apis::NetworkmanagementV1::ProviderTag, decorator: Google::Apis::NetworkmanagementV1::ProviderTag::Representation - - property :type, as: 'type' - property :update_time, as: 'updateTime' - property :upgrade_available, as: 'upgradeAvailable' - property :upgrade_type, as: 'upgradeType' - property :version, as: 'version' - end - end - class NatInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1076,55 +920,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class NetworkInterface - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :adapter_description, as: 'adapterDescription' - property :cidr, as: 'cidr' - property :interface_name, as: 'interfaceName' - property :ip_address, as: 'ipAddress' - property :mac_address, as: 'macAddress' - property :speed, :numeric_string => true, as: 'speed' - property :vlan_id, :numeric_string => true, as: 'vlanId' - end - end - - class NetworkMonitoringProvider - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - collection :errors, as: 'errors' - property :name, as: 'name' - property :provider_type, as: 'providerType' - property :provider_uri, as: 'providerUri' - property :state, as: 'state' - property :update_time, as: 'updateTime' - end - end - - class NetworkPath - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :destination, as: 'destination' - property :destination_geo_location, as: 'destinationGeoLocation', class: Google::Apis::NetworkmanagementV1::GeoLocation, decorator: Google::Apis::NetworkmanagementV1::GeoLocation::Representation - - property :display_name, as: 'displayName' - property :dual_ended, as: 'dualEnded' - property :monitoring_enabled, as: 'monitoringEnabled' - property :monitoring_policy_display_name, as: 'monitoringPolicyDisplayName' - property :monitoring_policy_id, as: 'monitoringPolicyId' - property :monitoring_status, as: 'monitoringStatus' - property :name, as: 'name' - property :network_protocol, as: 'networkProtocol' - collection :provider_tags, as: 'providerTags', class: Google::Apis::NetworkmanagementV1::ProviderTag, decorator: Google::Apis::NetworkmanagementV1::ProviderTag::Representation - - property :provider_ui_uri, as: 'providerUiUri' - property :source_monitoring_point_id, as: 'sourceMonitoringPointId' - property :update_time, as: 'updateTime' - end - end - class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1184,15 +979,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class ProviderTag - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :category, as: 'category' - property :resource_type, as: 'resourceType' - property :value, as: 'value' - end - end - class ProxyConnectionInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1510,28 +1296,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :uri, as: 'uri' end end - - class WebPath - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :create_time, as: 'createTime' - property :destination, as: 'destination' - property :display_name, as: 'displayName' - property :interval, as: 'interval' - property :monitoring_enabled, as: 'monitoringEnabled' - property :monitoring_policy_display_name, as: 'monitoringPolicyDisplayName' - property :monitoring_policy_id, as: 'monitoringPolicyId' - property :monitoring_status, as: 'monitoringStatus' - property :name, as: 'name' - collection :provider_tags, as: 'providerTags', class: Google::Apis::NetworkmanagementV1::ProviderTag, decorator: Google::Apis::NetworkmanagementV1::ProviderTag::Representation - - property :provider_ui_uri, as: 'providerUiUri' - property :related_network_path_id, as: 'relatedNetworkPathId' - property :source_monitoring_point_id, as: 'sourceMonitoringPointId' - property :update_time, as: 'updateTime' - property :workflow_type, as: 'workflowType' - end - end end end end diff --git a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/service.rb b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/service.rb index 23fae89b29e..89884f4570a 100644 --- a/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/service.rb +++ b/generated/google-apis-networkmanagement_v1/lib/google/apis/networkmanagement_v1/service.rb @@ -243,6 +243,13 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the [ListOperationsResponse. + # unreachable] field. This can only be `true` when reading across collections e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -260,7 +267,7 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', options) command.response_representation = Google::Apis::NetworkmanagementV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworkmanagementV1::ListOperationsResponse @@ -268,6 +275,7 @@ def list_organization_location_operations(name, filter: nil, page_size: nil, pag command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -1044,6 +1052,13 @@ def get_project_location_global_operation(name, fields: nil, quota_user: nil, op # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # When set to `true`, operations that are reachable are returned as normal, and + # those that are unreachable are returned in the [ListOperationsResponse. + # unreachable] field. This can only be `true` when reading across collections e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1061,7 +1076,7 @@ def get_project_location_global_operation(name, fields: nil, quota_user: nil, op # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', options) command.response_representation = Google::Apis::NetworkmanagementV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetworkmanagementV1::ListOperationsResponse @@ -1069,372 +1084,7 @@ def list_project_location_global_operations(name, filter: nil, page_size: nil, p command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a NetworkMonitoringProvider resource. - # @param [String] parent - # Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: - # projects/`project`/locations/`location` - # @param [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] network_monitoring_provider_object - # @param [String] network_monitoring_provider_id - # Required. The ID to use for the NetworkMonitoringProvider resource, which will - # become the final component of the NetworkMonitoringProvider resource's name. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_network_monitoring_provider(parent, network_monitoring_provider_object = nil, network_monitoring_provider_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+parent}/networkMonitoringProviders', options) - command.request_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation - command.request_object = network_monitoring_provider_object - command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation - command.response_class = Google::Apis::NetworkmanagementV1::Operation - command.params['parent'] = parent unless parent.nil? - command.query['networkMonitoringProviderId'] = network_monitoring_provider_id unless network_monitoring_provider_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a NetworkMonitoringProvider resource and all of its child resources. - # @param [String] name - # Required. Name of the resource. Format: projects/`project`/locations/`location` - # /networkMonitoringProviders/`network_monitoring_provider` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation - command.response_class = Google::Apis::NetworkmanagementV1::Operation - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the NetworkMonitoringProvider resource. - # @param [String] name - # Required. Name of the resource. Format: `projects/`project`/locations/` - # location`/networkMonitoringProviders/`network_monitoring_provider`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_network_monitoring_provider(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider::Representation - command.response_class = Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists NetworkMonitoringProviders for a given project and location. - # @param [String] parent - # Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: ` - # projects/`project`/locations/`location`` - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_network_monitoring_providers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/networkMonitoringProviders', options) - command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse::Representation - command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkMonitoringProvidersResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the MonitoringPoint resource. - # @param [String] name - # Required. Name of the resource. Format: projects/`project`/locations/`location` - # /networkMonitoringProviders/`network_monitoring_provider`/monitoringPoints/` - # monitoring_point` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::MonitoringPoint] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::MonitoringPoint] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_network_monitoring_provider_monitoring_point(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::NetworkmanagementV1::MonitoringPoint::Representation - command.response_class = Google::Apis::NetworkmanagementV1::MonitoringPoint - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists MonitoringPoints for a given network monitoring provider. - # @param [String] parent - # Required. Parent value for ListMonitoringPointsRequest. Format: projects/` - # project`/locations/`location`/networkMonitoringProviders/` - # network_monitoring_provider` - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_network_monitoring_provider_monitoring_points(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/monitoringPoints', options) - command.response_representation = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse::Representation - command.response_class = Google::Apis::NetworkmanagementV1::ListMonitoringPointsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the NetworkPath resource. - # @param [String] name - # Required. Name of the resource. Format: projects/`project`/locations/`location` - # /networkMonitoringProviders/`network_monitoring_provider`/networkPaths/` - # network_path` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::NetworkPath] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::NetworkPath] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_network_monitoring_provider_network_path(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::NetworkmanagementV1::NetworkPath::Representation - command.response_class = Google::Apis::NetworkmanagementV1::NetworkPath - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists NetworkPaths for a given network monitoring provider. - # @param [String] parent - # Required. Parent value for ListNetworkPathsRequest. Format: projects/`project`/ - # locations/`location`/networkMonitoringProviders/`network_monitoring_provider` - # @param [Fixnum] page_size - # Optional. The maximum number of network paths to return. The service may - # return fewer than this value. If unspecified, at most 20 network pathswill be - # returned. The maximum value is 1000; values above 1000 will be coerced to 1000. - # @param [String] page_token - # Optional. A page token, received from a previous `ListNetworkPaths` call. - # Provide this to retrieve the subsequent page. When paginating, all other - # parameters provided to `ListNetworkPaths` must match the call that provided - # the page token. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_network_monitoring_provider_network_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/networkPaths', options) - command.response_representation = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse::Representation - command.response_class = Google::Apis::NetworkmanagementV1::ListNetworkPathsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the WebPath resource. - # @param [String] name - # Required. Name of the resource.. Format: projects/`project`/locations/` - # location`/networkMonitoringProviders/`network_monitoring_provider`/webPaths/` - # web_path` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::WebPath] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::WebPath] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_location_network_monitoring_provider_web_path(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::NetworkmanagementV1::WebPath::Representation - command.response_class = Google::Apis::NetworkmanagementV1::WebPath - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists WebPaths for a given network monitoring provider. - # @param [String] parent - # Required. Parent value for ListWebPathsRequest. Format: projects/`project`/ - # locations/`location`/networkMonitoringProviders/`network_monitoring_provider` - # @param [Fixnum] page_size - # Optional. The maximum number of web paths to return. The service may return - # fewer than this value. If unspecified, at most 20 web paths will be returned. - # The maximum value is 1000; values above 1000 will be coerced to 1000. - # @param [String] page_token - # Optional. A page token, received from a previous `ListWebPaths` call. Provide - # this to retrieve the subsequent page. When paginating, all other parameters - # provided to `ListWebPaths` must match the call that provided the page token. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::NetworkmanagementV1::ListWebPathsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::NetworkmanagementV1::ListWebPathsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_network_monitoring_provider_web_paths(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+parent}/webPaths', options) - command.response_representation = Google::Apis::NetworkmanagementV1::ListWebPathsResponse::Representation - command.response_class = Google::Apis::NetworkmanagementV1::ListWebPathsResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)