google-apis-networkmanagement_v1 0.69.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -751,6 +751,117 @@ module Google
751
751
  end
752
752
  end
753
753
 
754
+ # A configuration to generate a response for GetEffectiveVpcFlowLogsConfig
755
+ # request.
756
+ class EffectiveVpcFlowLogsConfig
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # The aggregation interval for the logs. Default value is INTERVAL_5_SEC.
760
+ # Corresponds to the JSON property `aggregationInterval`
761
+ # @return [String]
762
+ attr_accessor :aggregation_interval
763
+
764
+ # Determines whether to include cross project annotations in the logs. This
765
+ # field is available only for organization configurations. If not specified in
766
+ # org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
767
+ # Corresponds to the JSON property `crossProjectMetadata`
768
+ # @return [String]
769
+ attr_accessor :cross_project_metadata
770
+
771
+ # Export filter used to define which VPC Flow Logs should be logged.
772
+ # Corresponds to the JSON property `filterExpr`
773
+ # @return [String]
774
+ attr_accessor :filter_expr
775
+
776
+ # The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs
777
+ # where 1.0 means all collected logs are reported. Setting the sampling rate to
778
+ # 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field
779
+ # instead. Default value is 1.0.
780
+ # Corresponds to the JSON property `flowSampling`
781
+ # @return [Float]
782
+ attr_accessor :flow_sampling
783
+
784
+ # Traffic will be logged from the Interconnect Attachment. Format: projects/`
785
+ # project_id`/regions/`region`/interconnectAttachments/`name`
786
+ # Corresponds to the JSON property `interconnectAttachment`
787
+ # @return [String]
788
+ attr_accessor :interconnect_attachment
789
+
790
+ # Configures whether all, none or a subset of metadata fields should be added to
791
+ # the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA.
792
+ # Corresponds to the JSON property `metadata`
793
+ # @return [String]
794
+ attr_accessor :metadata
795
+
796
+ # Custom metadata fields to include in the reported VPC flow logs. Can only be
797
+ # specified if "metadata" was set to CUSTOM_METADATA.
798
+ # Corresponds to the JSON property `metadataFields`
799
+ # @return [Array<String>]
800
+ attr_accessor :metadata_fields
801
+
802
+ # Unique name of the configuration. The name can have one of the following forms:
803
+ # - For project-level configurations: `projects/`project_id`/locations/global/
804
+ # vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` - For organization-level
805
+ # configurations: `organizations/`organization_id`/locations/global/
806
+ # vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` - For a Compute config, the name
807
+ # will be the path of the subnet: `projects/`project_id`/regions/`region`/
808
+ # subnetworks/`subnet_id``
809
+ # Corresponds to the JSON property `name`
810
+ # @return [String]
811
+ attr_accessor :name
812
+
813
+ # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
814
+ # within the network. Format: projects/`project_id`/global/networks/`name`
815
+ # Corresponds to the JSON property `network`
816
+ # @return [String]
817
+ attr_accessor :network
818
+
819
+ # Specifies the scope of the config (e.g., SUBNET, NETWORK, ORGANIZATION..).
820
+ # Corresponds to the JSON property `scope`
821
+ # @return [String]
822
+ attr_accessor :scope
823
+
824
+ # The state of the VPC Flow Log configuration. Default value is ENABLED. When
825
+ # creating a new configuration, it must be enabled. Setting state=DISABLED will
826
+ # pause the log generation for this config.
827
+ # Corresponds to the JSON property `state`
828
+ # @return [String]
829
+ attr_accessor :state
830
+
831
+ # Traffic will be logged from VMs within the subnetwork. Format: projects/`
832
+ # project_id`/regions/`region`/subnetworks/`name`
833
+ # Corresponds to the JSON property `subnet`
834
+ # @return [String]
835
+ attr_accessor :subnet
836
+
837
+ # Traffic will be logged from the VPN Tunnel. Format: projects/`project_id`/
838
+ # regions/`region`/vpnTunnels/`name`
839
+ # Corresponds to the JSON property `vpnTunnel`
840
+ # @return [String]
841
+ attr_accessor :vpn_tunnel
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
850
+ @cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
851
+ @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
852
+ @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
853
+ @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
854
+ @metadata = args[:metadata] if args.key?(:metadata)
855
+ @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
856
+ @name = args[:name] if args.key?(:name)
857
+ @network = args[:network] if args.key?(:network)
858
+ @scope = args[:scope] if args.key?(:scope)
859
+ @state = args[:state] if args.key?(:state)
860
+ @subnet = args[:subnet] if args.key?(:subnet)
861
+ @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
862
+ end
863
+ end
864
+
754
865
  # A generic empty message that you can re-use to avoid defining duplicated empty
755
866
  # messages in your APIs. A typical example is to use it as the request or the
756
867
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1279,31 +1390,6 @@ module Google
1279
1390
  end
1280
1391
  end
1281
1392
 
1282
- # The geographical location of the MonitoringPoint.
1283
- class GeoLocation
1284
- include Google::Apis::Core::Hashable
1285
-
1286
- # Country.
1287
- # Corresponds to the JSON property `country`
1288
- # @return [String]
1289
- attr_accessor :country
1290
-
1291
- # Formatted address.
1292
- # Corresponds to the JSON property `formattedAddress`
1293
- # @return [String]
1294
- attr_accessor :formatted_address
1295
-
1296
- def initialize(**args)
1297
- update!(**args)
1298
- end
1299
-
1300
- # Update properties of this object
1301
- def update!(**args)
1302
- @country = args[:country] if args.key?(:country)
1303
- @formatted_address = args[:formatted_address] if args.key?(:formatted_address)
1304
- end
1305
- end
1306
-
1307
1393
  # For display only. Details of a Google Service sending packets to a VPC network.
1308
1394
  # Although the source IP might be a publicly routable address, some Google
1309
1395
  # Services use special routes within Google production infrastructure to reach
@@ -1333,67 +1419,6 @@ module Google
1333
1419
  end
1334
1420
  end
1335
1421
 
1336
- # Message describing information about the host.
1337
- class Host
1338
- include Google::Apis::Core::Hashable
1339
-
1340
- # Output only. The cloud instance id of the host.
1341
- # Corresponds to the JSON property `cloudInstanceId`
1342
- # @return [String]
1343
- attr_accessor :cloud_instance_id
1344
-
1345
- # Output only. The cloud project id of the host.
1346
- # Corresponds to the JSON property `cloudProjectId`
1347
- # @return [String]
1348
- attr_accessor :cloud_project_id
1349
-
1350
- # Output only. The cloud provider of the host.
1351
- # Corresponds to the JSON property `cloudProvider`
1352
- # @return [String]
1353
- attr_accessor :cloud_provider
1354
-
1355
- # Output only. The cloud region of the host.
1356
- # Corresponds to the JSON property `cloudRegion`
1357
- # @return [String]
1358
- attr_accessor :cloud_region
1359
-
1360
- # Output only. The ids of cloud virtual networks of the host.
1361
- # Corresponds to the JSON property `cloudVirtualNetworkIds`
1362
- # @return [Array<String>]
1363
- attr_accessor :cloud_virtual_network_ids
1364
-
1365
- # Output only. The id of Virtual Private Cloud (VPC) of the host.
1366
- # Corresponds to the JSON property `cloudVpcId`
1367
- # @return [String]
1368
- attr_accessor :cloud_vpc_id
1369
-
1370
- # Output only. The cloud zone of the host.
1371
- # Corresponds to the JSON property `cloudZone`
1372
- # @return [String]
1373
- attr_accessor :cloud_zone
1374
-
1375
- # Output only. The operating system of the host.
1376
- # Corresponds to the JSON property `os`
1377
- # @return [String]
1378
- attr_accessor :os
1379
-
1380
- def initialize(**args)
1381
- update!(**args)
1382
- end
1383
-
1384
- # Update properties of this object
1385
- def update!(**args)
1386
- @cloud_instance_id = args[:cloud_instance_id] if args.key?(:cloud_instance_id)
1387
- @cloud_project_id = args[:cloud_project_id] if args.key?(:cloud_project_id)
1388
- @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
1389
- @cloud_region = args[:cloud_region] if args.key?(:cloud_region)
1390
- @cloud_virtual_network_ids = args[:cloud_virtual_network_ids] if args.key?(:cloud_virtual_network_ids)
1391
- @cloud_vpc_id = args[:cloud_vpc_id] if args.key?(:cloud_vpc_id)
1392
- @cloud_zone = args[:cloud_zone] if args.key?(:cloud_zone)
1393
- @os = args[:os] if args.key?(:os)
1394
- end
1395
- end
1396
-
1397
1422
  # For display only. Metadata associated with a hybrid subnet.
1398
1423
  class HybridSubnetInfo
1399
1424
  include Google::Apis::Core::Hashable
@@ -1662,81 +1687,6 @@ module Google
1662
1687
  end
1663
1688
  end
1664
1689
 
1665
- # Message for response to listing MonitoringPoints
1666
- class ListMonitoringPointsResponse
1667
- include Google::Apis::Core::Hashable
1668
-
1669
- # The list of MonitoringPoints.
1670
- # Corresponds to the JSON property `monitoringPoints`
1671
- # @return [Array<Google::Apis::NetworkmanagementV1::MonitoringPoint>]
1672
- attr_accessor :monitoring_points
1673
-
1674
- # A token identifying a page of results the server should return.
1675
- # Corresponds to the JSON property `nextPageToken`
1676
- # @return [String]
1677
- attr_accessor :next_page_token
1678
-
1679
- def initialize(**args)
1680
- update!(**args)
1681
- end
1682
-
1683
- # Update properties of this object
1684
- def update!(**args)
1685
- @monitoring_points = args[:monitoring_points] if args.key?(:monitoring_points)
1686
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1687
- end
1688
- end
1689
-
1690
- # Message for response to listing NetworkMonitoringProviders
1691
- class ListNetworkMonitoringProvidersResponse
1692
- include Google::Apis::Core::Hashable
1693
-
1694
- # The list of NetworkMonitoringProvider
1695
- # Corresponds to the JSON property `networkMonitoringProviders`
1696
- # @return [Array<Google::Apis::NetworkmanagementV1::NetworkMonitoringProvider>]
1697
- attr_accessor :network_monitoring_providers
1698
-
1699
- # A token identifying a page of results the server should return.
1700
- # Corresponds to the JSON property `nextPageToken`
1701
- # @return [String]
1702
- attr_accessor :next_page_token
1703
-
1704
- def initialize(**args)
1705
- update!(**args)
1706
- end
1707
-
1708
- # Update properties of this object
1709
- def update!(**args)
1710
- @network_monitoring_providers = args[:network_monitoring_providers] if args.key?(:network_monitoring_providers)
1711
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1712
- end
1713
- end
1714
-
1715
- # Message for response to listing NetworkPaths
1716
- class ListNetworkPathsResponse
1717
- include Google::Apis::Core::Hashable
1718
-
1719
- # The list of NetworkPath
1720
- # Corresponds to the JSON property `networkPaths`
1721
- # @return [Array<Google::Apis::NetworkmanagementV1::NetworkPath>]
1722
- attr_accessor :network_paths
1723
-
1724
- # A token identifying a page of results the server should return.
1725
- # Corresponds to the JSON property `nextPageToken`
1726
- # @return [String]
1727
- attr_accessor :next_page_token
1728
-
1729
- def initialize(**args)
1730
- update!(**args)
1731
- end
1732
-
1733
- # Update properties of this object
1734
- def update!(**args)
1735
- @network_paths = args[:network_paths] if args.key?(:network_paths)
1736
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1737
- end
1738
- end
1739
-
1740
1690
  # The response message for Operations.ListOperations.
1741
1691
  class ListOperationsResponse
1742
1692
  include Google::Apis::Core::Hashable
@@ -1751,6 +1701,13 @@ module Google
1751
1701
  # @return [Array<Google::Apis::NetworkmanagementV1::Operation>]
1752
1702
  attr_accessor :operations
1753
1703
 
1704
+ # Unordered list. Unreachable resources. Populated when the request sets `
1705
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1706
+ # when attempting to list all resources across all supported locations.
1707
+ # Corresponds to the JSON property `unreachable`
1708
+ # @return [Array<String>]
1709
+ attr_accessor :unreachable
1710
+
1754
1711
  def initialize(**args)
1755
1712
  update!(**args)
1756
1713
  end
@@ -1759,6 +1716,7 @@ module Google
1759
1716
  def update!(**args)
1760
1717
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1761
1718
  @operations = args[:operations] if args.key?(:operations)
1719
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1762
1720
  end
1763
1721
  end
1764
1722
 
@@ -1793,31 +1751,6 @@ module Google
1793
1751
  end
1794
1752
  end
1795
1753
 
1796
- # Message for response to listing WebPaths
1797
- class ListWebPathsResponse
1798
- include Google::Apis::Core::Hashable
1799
-
1800
- # A token identifying a page of results the server should return.
1801
- # Corresponds to the JSON property `nextPageToken`
1802
- # @return [String]
1803
- attr_accessor :next_page_token
1804
-
1805
- # The list of WebPath.
1806
- # Corresponds to the JSON property `webPaths`
1807
- # @return [Array<Google::Apis::NetworkmanagementV1::WebPath>]
1808
- attr_accessor :web_paths
1809
-
1810
- def initialize(**args)
1811
- update!(**args)
1812
- end
1813
-
1814
- # Update properties of this object
1815
- def update!(**args)
1816
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1817
- @web_paths = args[:web_paths] if args.key?(:web_paths)
1818
- end
1819
- end
1820
-
1821
1754
  # For display only. Metadata associated with a specific load balancer backend.
1822
1755
  class LoadBalancerBackend
1823
1756
  include Google::Apis::Core::Hashable
@@ -2034,126 +1967,6 @@ module Google
2034
1967
  end
2035
1968
  end
2036
1969
 
2037
- # Message describing MonitoringPoint resource.
2038
- class MonitoringPoint
2039
- include Google::Apis::Core::Hashable
2040
-
2041
- # Output only. Indicates if automaitic geographic location is enabled for the
2042
- # MonitoringPoint.
2043
- # Corresponds to the JSON property `autoGeoLocationEnabled`
2044
- # @return [Boolean]
2045
- attr_accessor :auto_geo_location_enabled
2046
- alias_method :auto_geo_location_enabled?, :auto_geo_location_enabled
2047
-
2048
- # Output only. Connection status of the MonitoringPoint.
2049
- # Corresponds to the JSON property `connectionStatus`
2050
- # @return [String]
2051
- attr_accessor :connection_status
2052
-
2053
- # Output only. The time the MonitoringPoint was created.
2054
- # Corresponds to the JSON property `createTime`
2055
- # @return [String]
2056
- attr_accessor :create_time
2057
-
2058
- # Output only. Display name of the MonitoringPoint.
2059
- # Corresponds to the JSON property `displayName`
2060
- # @return [String]
2061
- attr_accessor :display_name
2062
-
2063
- # Output only. The codes of errors detected in the MonitoringPoint.
2064
- # Corresponds to the JSON property `errors`
2065
- # @return [Array<String>]
2066
- attr_accessor :errors
2067
-
2068
- # The geographical location of the MonitoringPoint.
2069
- # Corresponds to the JSON property `geoLocation`
2070
- # @return [Google::Apis::NetworkmanagementV1::GeoLocation]
2071
- attr_accessor :geo_location
2072
-
2073
- # Message describing information about the host.
2074
- # Corresponds to the JSON property `host`
2075
- # @return [Google::Apis::NetworkmanagementV1::Host]
2076
- attr_accessor :host
2077
-
2078
- # Output only. The hostname of the MonitoringPoint.
2079
- # Corresponds to the JSON property `hostname`
2080
- # @return [String]
2081
- attr_accessor :hostname
2082
-
2083
- # Identifier. Name of the resource. Format: `projects/`project`/locations/`
2084
- # location`/networkMonitoringProviders/`network_monitoring_provider`/
2085
- # monitoringPoints/`monitoring_point``
2086
- # Corresponds to the JSON property `name`
2087
- # @return [String]
2088
- attr_accessor :name
2089
-
2090
- # Output only. The network interfaces of the MonitoringPoint.
2091
- # Corresponds to the JSON property `networkInterfaces`
2092
- # @return [Array<Google::Apis::NetworkmanagementV1::NetworkInterface>]
2093
- attr_accessor :network_interfaces
2094
-
2095
- # Output only. IP address visible when MonitoringPoint connects to the provider.
2096
- # Corresponds to the JSON property `originatingIp`
2097
- # @return [String]
2098
- attr_accessor :originating_ip
2099
-
2100
- # Output only. The provider tags of the MonitoringPoint.
2101
- # Corresponds to the JSON property `providerTags`
2102
- # @return [Array<Google::Apis::NetworkmanagementV1::ProviderTag>]
2103
- attr_accessor :provider_tags
2104
-
2105
- # Output only. Deployment type of the MonitoringPoint.
2106
- # Corresponds to the JSON property `type`
2107
- # @return [String]
2108
- attr_accessor :type
2109
-
2110
- # Output only. The time the MonitoringPoint was updated.
2111
- # Corresponds to the JSON property `updateTime`
2112
- # @return [String]
2113
- attr_accessor :update_time
2114
-
2115
- # Output only. Indicates if an upgrade is available for the MonitoringPoint.
2116
- # Corresponds to the JSON property `upgradeAvailable`
2117
- # @return [Boolean]
2118
- attr_accessor :upgrade_available
2119
- alias_method :upgrade_available?, :upgrade_available
2120
-
2121
- # Output only. The type of upgrade available for the MonitoringPoint.
2122
- # Corresponds to the JSON property `upgradeType`
2123
- # @return [String]
2124
- attr_accessor :upgrade_type
2125
-
2126
- # Output only. Version of the software running on the MonitoringPoint.
2127
- # Corresponds to the JSON property `version`
2128
- # @return [String]
2129
- attr_accessor :version
2130
-
2131
- def initialize(**args)
2132
- update!(**args)
2133
- end
2134
-
2135
- # Update properties of this object
2136
- def update!(**args)
2137
- @auto_geo_location_enabled = args[:auto_geo_location_enabled] if args.key?(:auto_geo_location_enabled)
2138
- @connection_status = args[:connection_status] if args.key?(:connection_status)
2139
- @create_time = args[:create_time] if args.key?(:create_time)
2140
- @display_name = args[:display_name] if args.key?(:display_name)
2141
- @errors = args[:errors] if args.key?(:errors)
2142
- @geo_location = args[:geo_location] if args.key?(:geo_location)
2143
- @host = args[:host] if args.key?(:host)
2144
- @hostname = args[:hostname] if args.key?(:hostname)
2145
- @name = args[:name] if args.key?(:name)
2146
- @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
2147
- @originating_ip = args[:originating_ip] if args.key?(:originating_ip)
2148
- @provider_tags = args[:provider_tags] if args.key?(:provider_tags)
2149
- @type = args[:type] if args.key?(:type)
2150
- @update_time = args[:update_time] if args.key?(:update_time)
2151
- @upgrade_available = args[:upgrade_available] if args.key?(:upgrade_available)
2152
- @upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
2153
- @version = args[:version] if args.key?(:version)
2154
- end
2155
- end
2156
-
2157
1970
  # For display only. Metadata associated with NAT.
2158
1971
  class NatInfo
2159
1972
  include Google::Apis::Core::Hashable
@@ -2289,230 +2102,6 @@ module Google
2289
2102
  end
2290
2103
  end
2291
2104
 
2292
- # Message describing network interfaces.
2293
- class NetworkInterface
2294
- include Google::Apis::Core::Hashable
2295
-
2296
- # Output only. The description of the interface.
2297
- # Corresponds to the JSON property `adapterDescription`
2298
- # @return [String]
2299
- attr_accessor :adapter_description
2300
-
2301
- # Output only. The IP address of the interface and subnet mask in CIDR format.
2302
- # Examples: 192.168.1.0/24, 2001:db8::/32
2303
- # Corresponds to the JSON property `cidr`
2304
- # @return [String]
2305
- attr_accessor :cidr
2306
-
2307
- # Output only. The name of the network interface. Examples: eth0, eno1
2308
- # Corresponds to the JSON property `interfaceName`
2309
- # @return [String]
2310
- attr_accessor :interface_name
2311
-
2312
- # Output only. The IP address of the interface.
2313
- # Corresponds to the JSON property `ipAddress`
2314
- # @return [String]
2315
- attr_accessor :ip_address
2316
-
2317
- # Output only. The MAC address of the interface.
2318
- # Corresponds to the JSON property `macAddress`
2319
- # @return [String]
2320
- attr_accessor :mac_address
2321
-
2322
- # Output only. Speed of the interface in millions of bits per second.
2323
- # Corresponds to the JSON property `speed`
2324
- # @return [Fixnum]
2325
- attr_accessor :speed
2326
-
2327
- # Output only. The id of the VLAN.
2328
- # Corresponds to the JSON property `vlanId`
2329
- # @return [Fixnum]
2330
- attr_accessor :vlan_id
2331
-
2332
- def initialize(**args)
2333
- update!(**args)
2334
- end
2335
-
2336
- # Update properties of this object
2337
- def update!(**args)
2338
- @adapter_description = args[:adapter_description] if args.key?(:adapter_description)
2339
- @cidr = args[:cidr] if args.key?(:cidr)
2340
- @interface_name = args[:interface_name] if args.key?(:interface_name)
2341
- @ip_address = args[:ip_address] if args.key?(:ip_address)
2342
- @mac_address = args[:mac_address] if args.key?(:mac_address)
2343
- @speed = args[:speed] if args.key?(:speed)
2344
- @vlan_id = args[:vlan_id] if args.key?(:vlan_id)
2345
- end
2346
- end
2347
-
2348
- # Message describing NetworkMonitoringProvider resource.
2349
- class NetworkMonitoringProvider
2350
- include Google::Apis::Core::Hashable
2351
-
2352
- # Output only. The time the NetworkMonitoringProvider was created.
2353
- # Corresponds to the JSON property `createTime`
2354
- # @return [String]
2355
- attr_accessor :create_time
2356
-
2357
- # Output only. The list of error messages detected for the
2358
- # NetworkMonitoringProvider.
2359
- # Corresponds to the JSON property `errors`
2360
- # @return [Array<String>]
2361
- attr_accessor :errors
2362
-
2363
- # Output only. Identifier. Name of the resource. Format: `projects/`project`/
2364
- # locations/`location`/networkMonitoringProviders/`network_monitoring_provider``
2365
- # Corresponds to the JSON property `name`
2366
- # @return [String]
2367
- attr_accessor :name
2368
-
2369
- # Required. Type of the NetworkMonitoringProvider.
2370
- # Corresponds to the JSON property `providerType`
2371
- # @return [String]
2372
- attr_accessor :provider_type
2373
-
2374
- # Output only. Link to the provider's UI.
2375
- # Corresponds to the JSON property `providerUri`
2376
- # @return [String]
2377
- attr_accessor :provider_uri
2378
-
2379
- # Output only. State of the NetworkMonitoringProvider.
2380
- # Corresponds to the JSON property `state`
2381
- # @return [String]
2382
- attr_accessor :state
2383
-
2384
- # Output only. The time the NetworkMonitoringProvider was updated.
2385
- # Corresponds to the JSON property `updateTime`
2386
- # @return [String]
2387
- attr_accessor :update_time
2388
-
2389
- def initialize(**args)
2390
- update!(**args)
2391
- end
2392
-
2393
- # Update properties of this object
2394
- def update!(**args)
2395
- @create_time = args[:create_time] if args.key?(:create_time)
2396
- @errors = args[:errors] if args.key?(:errors)
2397
- @name = args[:name] if args.key?(:name)
2398
- @provider_type = args[:provider_type] if args.key?(:provider_type)
2399
- @provider_uri = args[:provider_uri] if args.key?(:provider_uri)
2400
- @state = args[:state] if args.key?(:state)
2401
- @update_time = args[:update_time] if args.key?(:update_time)
2402
- end
2403
- end
2404
-
2405
- # Message describing NetworkPath resource.
2406
- class NetworkPath
2407
- include Google::Apis::Core::Hashable
2408
-
2409
- # Output only. The time the NetworkPath was created.
2410
- # Corresponds to the JSON property `createTime`
2411
- # @return [String]
2412
- attr_accessor :create_time
2413
-
2414
- # Output only. IP address or hostname of the network path destination.
2415
- # Corresponds to the JSON property `destination`
2416
- # @return [String]
2417
- attr_accessor :destination
2418
-
2419
- # The geographical location of the MonitoringPoint.
2420
- # Corresponds to the JSON property `destinationGeoLocation`
2421
- # @return [Google::Apis::NetworkmanagementV1::GeoLocation]
2422
- attr_accessor :destination_geo_location
2423
-
2424
- # Output only. The display name of the network path.
2425
- # Corresponds to the JSON property `displayName`
2426
- # @return [String]
2427
- attr_accessor :display_name
2428
-
2429
- # Output only. Indicates if the network path is dual ended. When true, the
2430
- # network path is measured both: from both source to destination, and from
2431
- # destination to source. When false, the network path is measured from the
2432
- # source through the destination back to the source (round trip measurement).
2433
- # Corresponds to the JSON property `dualEnded`
2434
- # @return [Boolean]
2435
- attr_accessor :dual_ended
2436
- alias_method :dual_ended?, :dual_ended
2437
-
2438
- # Output only. Is monitoring enabled for the network path.
2439
- # Corresponds to the JSON property `monitoringEnabled`
2440
- # @return [Boolean]
2441
- attr_accessor :monitoring_enabled
2442
- alias_method :monitoring_enabled?, :monitoring_enabled
2443
-
2444
- # Output only. Display name of the monitoring policy.
2445
- # Corresponds to the JSON property `monitoringPolicyDisplayName`
2446
- # @return [String]
2447
- attr_accessor :monitoring_policy_display_name
2448
-
2449
- # Output only. ID of monitoring policy.
2450
- # Corresponds to the JSON property `monitoringPolicyId`
2451
- # @return [String]
2452
- attr_accessor :monitoring_policy_id
2453
-
2454
- # Output only. The monitoring status of the network path.
2455
- # Corresponds to the JSON property `monitoringStatus`
2456
- # @return [String]
2457
- attr_accessor :monitoring_status
2458
-
2459
- # Identifier. Name of the resource. Format: `projects/`project`/locations/`
2460
- # location`/networkMonitoringProviders/`network_monitoring_provider`/
2461
- # networkPaths/`network_path``
2462
- # Corresponds to the JSON property `name`
2463
- # @return [String]
2464
- attr_accessor :name
2465
-
2466
- # Output only. The network protocol of the network path.
2467
- # Corresponds to the JSON property `networkProtocol`
2468
- # @return [String]
2469
- attr_accessor :network_protocol
2470
-
2471
- # Output only. The provider tags of the network path.
2472
- # Corresponds to the JSON property `providerTags`
2473
- # @return [Array<Google::Apis::NetworkmanagementV1::ProviderTag>]
2474
- attr_accessor :provider_tags
2475
-
2476
- # Output only. Link to provider's UI; link shows the NetworkPath.
2477
- # Corresponds to the JSON property `providerUiUri`
2478
- # @return [String]
2479
- attr_accessor :provider_ui_uri
2480
-
2481
- # Output only. Provider's UUID of the source MonitoringPoint. This id may not
2482
- # point to a resource in the GCP.
2483
- # Corresponds to the JSON property `sourceMonitoringPointId`
2484
- # @return [String]
2485
- attr_accessor :source_monitoring_point_id
2486
-
2487
- # Output only. The time the NetworkPath was updated.
2488
- # Corresponds to the JSON property `updateTime`
2489
- # @return [String]
2490
- attr_accessor :update_time
2491
-
2492
- def initialize(**args)
2493
- update!(**args)
2494
- end
2495
-
2496
- # Update properties of this object
2497
- def update!(**args)
2498
- @create_time = args[:create_time] if args.key?(:create_time)
2499
- @destination = args[:destination] if args.key?(:destination)
2500
- @destination_geo_location = args[:destination_geo_location] if args.key?(:destination_geo_location)
2501
- @display_name = args[:display_name] if args.key?(:display_name)
2502
- @dual_ended = args[:dual_ended] if args.key?(:dual_ended)
2503
- @monitoring_enabled = args[:monitoring_enabled] if args.key?(:monitoring_enabled)
2504
- @monitoring_policy_display_name = args[:monitoring_policy_display_name] if args.key?(:monitoring_policy_display_name)
2505
- @monitoring_policy_id = args[:monitoring_policy_id] if args.key?(:monitoring_policy_id)
2506
- @monitoring_status = args[:monitoring_status] if args.key?(:monitoring_status)
2507
- @name = args[:name] if args.key?(:name)
2508
- @network_protocol = args[:network_protocol] if args.key?(:network_protocol)
2509
- @provider_tags = args[:provider_tags] if args.key?(:provider_tags)
2510
- @provider_ui_uri = args[:provider_ui_uri] if args.key?(:provider_ui_uri)
2511
- @source_monitoring_point_id = args[:source_monitoring_point_id] if args.key?(:source_monitoring_point_id)
2512
- @update_time = args[:update_time] if args.key?(:update_time)
2513
- end
2514
- end
2515
-
2516
2105
  # This resource represents a long-running operation that is the result of a
2517
2106
  # network API call.
2518
2107
  class Operation
@@ -2815,37 +2404,6 @@ module Google
2815
2404
  end
2816
2405
  end
2817
2406
 
2818
- # Message describing the provider tag.
2819
- class ProviderTag
2820
- include Google::Apis::Core::Hashable
2821
-
2822
- # Output only. The category of the provider tag.
2823
- # Corresponds to the JSON property `category`
2824
- # @return [String]
2825
- attr_accessor :category
2826
-
2827
- # Output only. The resource type of the provider tag.
2828
- # Corresponds to the JSON property `resourceType`
2829
- # @return [String]
2830
- attr_accessor :resource_type
2831
-
2832
- # Output only. The value of the provider tag.
2833
- # Corresponds to the JSON property `value`
2834
- # @return [String]
2835
- attr_accessor :value
2836
-
2837
- def initialize(**args)
2838
- update!(**args)
2839
- end
2840
-
2841
- # Update properties of this object
2842
- def update!(**args)
2843
- @category = args[:category] if args.key?(:category)
2844
- @resource_type = args[:resource_type] if args.key?(:resource_type)
2845
- @value = args[:value] if args.key?(:value)
2846
- end
2847
- end
2848
-
2849
2407
  # For display only. Metadata associated with ProxyConnection.
2850
2408
  class ProxyConnectionInfo
2851
2409
  include Google::Apis::Core::Hashable
@@ -2926,6 +2484,37 @@ module Google
2926
2484
  end
2927
2485
  end
2928
2486
 
2487
+ # Response for the `QueryVpcFlowLogsConfigs` method.
2488
+ class QueryOrgVpcFlowLogsConfigsResponse
2489
+ include Google::Apis::Core::Hashable
2490
+
2491
+ # Page token to fetch the next set of configurations.
2492
+ # Corresponds to the JSON property `nextPageToken`
2493
+ # @return [String]
2494
+ attr_accessor :next_page_token
2495
+
2496
+ # Locations that could not be reached (when querying all locations with `-`).
2497
+ # Corresponds to the JSON property `unreachable`
2498
+ # @return [Array<String>]
2499
+ attr_accessor :unreachable
2500
+
2501
+ # List of VPC Flow Log configurations.
2502
+ # Corresponds to the JSON property `vpcFlowLogsConfigs`
2503
+ # @return [Array<Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig>]
2504
+ attr_accessor :vpc_flow_logs_configs
2505
+
2506
+ def initialize(**args)
2507
+ update!(**args)
2508
+ end
2509
+
2510
+ # Update properties of this object
2511
+ def update!(**args)
2512
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2513
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2514
+ @vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
2515
+ end
2516
+ end
2517
+
2929
2518
  # Results of the configuration analysis from the last run of the test.
2930
2519
  class ReachabilityDetails
2931
2520
  include Google::Apis::Core::Hashable
@@ -3348,6 +2937,37 @@ module Google
3348
2937
  end
3349
2938
  end
3350
2939
 
2940
+ # Response for the `ShowEffectiveFlowLogsConfigs` method.
2941
+ class ShowEffectiveFlowLogsConfigsResponse
2942
+ include Google::Apis::Core::Hashable
2943
+
2944
+ # List of Effective Vpc Flow Logs configurations.
2945
+ # Corresponds to the JSON property `effectiveFlowLogsConfigs`
2946
+ # @return [Array<Google::Apis::NetworkmanagementV1::EffectiveVpcFlowLogsConfig>]
2947
+ attr_accessor :effective_flow_logs_configs
2948
+
2949
+ # Page token to fetch the next set of configurations.
2950
+ # Corresponds to the JSON property `nextPageToken`
2951
+ # @return [String]
2952
+ attr_accessor :next_page_token
2953
+
2954
+ # Locations that could not be reached (when querying all locations with `-`).
2955
+ # Corresponds to the JSON property `unreachable`
2956
+ # @return [Array<String>]
2957
+ attr_accessor :unreachable
2958
+
2959
+ def initialize(**args)
2960
+ update!(**args)
2961
+ end
2962
+
2963
+ # Update properties of this object
2964
+ def update!(**args)
2965
+ @effective_flow_logs_configs = args[:effective_flow_logs_configs] if args.key?(:effective_flow_logs_configs)
2966
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2967
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2968
+ end
2969
+ end
2970
+
3351
2971
  # Probing results for a single edge device.
3352
2972
  class SingleEdgeResponse
3353
2973
  include Google::Apis::Core::Hashable
@@ -3822,6 +3442,13 @@ module Google
3822
3442
  # @return [String]
3823
3443
  attr_accessor :create_time
3824
3444
 
3445
+ # Optional. Determines whether to include cross project annotations in the logs.
3446
+ # This field is available only for organization configurations. If not specified
3447
+ # in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
3448
+ # Corresponds to the JSON property `crossProjectMetadata`
3449
+ # @return [String]
3450
+ attr_accessor :cross_project_metadata
3451
+
3825
3452
  # Optional. The user-supplied description of the VPC Flow Logs configuration.
3826
3453
  # Maximum of 512 characters.
3827
3454
  # Corresponds to the JSON property `description`
@@ -3873,6 +3500,12 @@ module Google
3873
3500
  # @return [String]
3874
3501
  attr_accessor :name
3875
3502
 
3503
+ # Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
3504
+ # within the network. Format: projects/`project_id`/global/networks/`name`
3505
+ # Corresponds to the JSON property `network`
3506
+ # @return [String]
3507
+ attr_accessor :network
3508
+
3876
3509
  # Optional. The state of the VPC Flow Log configuration. Default value is
3877
3510
  # ENABLED. When creating a new configuration, it must be enabled. Setting state=
3878
3511
  # DISABLED will pause the log generation for this config.
@@ -3880,6 +3513,12 @@ module Google
3880
3513
  # @return [String]
3881
3514
  attr_accessor :state
3882
3515
 
3516
+ # Traffic will be logged from VMs within the subnetwork. Format: projects/`
3517
+ # project_id`/regions/`region`/subnetworks/`name`
3518
+ # Corresponds to the JSON property `subnet`
3519
+ # @return [String]
3520
+ attr_accessor :subnet
3521
+
3883
3522
  # Output only. Describes the state of the configured target resource for
3884
3523
  # diagnostic purposes.
3885
3524
  # Corresponds to the JSON property `targetResourceState`
@@ -3905,6 +3544,7 @@ module Google
3905
3544
  def update!(**args)
3906
3545
  @aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
3907
3546
  @create_time = args[:create_time] if args.key?(:create_time)
3547
+ @cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
3908
3548
  @description = args[:description] if args.key?(:description)
3909
3549
  @filter_expr = args[:filter_expr] if args.key?(:filter_expr)
3910
3550
  @flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
@@ -3913,7 +3553,9 @@ module Google
3913
3553
  @metadata = args[:metadata] if args.key?(:metadata)
3914
3554
  @metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
3915
3555
  @name = args[:name] if args.key?(:name)
3556
+ @network = args[:network] if args.key?(:network)
3916
3557
  @state = args[:state] if args.key?(:state)
3558
+ @subnet = args[:subnet] if args.key?(:subnet)
3917
3559
  @target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
3918
3560
  @update_time = args[:update_time] if args.key?(:update_time)
3919
3561
  @vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
@@ -4037,112 +3679,6 @@ module Google
4037
3679
  @uri = args[:uri] if args.key?(:uri)
4038
3680
  end
4039
3681
  end
4040
-
4041
- # Message describing WebPath resource.
4042
- class WebPath
4043
- include Google::Apis::Core::Hashable
4044
-
4045
- # Output only. The time the WebPath was created.
4046
- # Corresponds to the JSON property `createTime`
4047
- # @return [String]
4048
- attr_accessor :create_time
4049
-
4050
- # Output only. Web monitoring target.
4051
- # Corresponds to the JSON property `destination`
4052
- # @return [String]
4053
- attr_accessor :destination
4054
-
4055
- # Output only. Display name of the WebPath.
4056
- # Corresponds to the JSON property `displayName`
4057
- # @return [String]
4058
- attr_accessor :display_name
4059
-
4060
- # Output only. Monitoring interval.
4061
- # Corresponds to the JSON property `interval`
4062
- # @return [String]
4063
- attr_accessor :interval
4064
-
4065
- # Output only. Is monitoring enabled for the WebPath.
4066
- # Corresponds to the JSON property `monitoringEnabled`
4067
- # @return [Boolean]
4068
- attr_accessor :monitoring_enabled
4069
- alias_method :monitoring_enabled?, :monitoring_enabled
4070
-
4071
- # Output only. Display name of the monitoring policy.
4072
- # Corresponds to the JSON property `monitoringPolicyDisplayName`
4073
- # @return [String]
4074
- attr_accessor :monitoring_policy_display_name
4075
-
4076
- # Output only. ID of the monitoring policy.
4077
- # Corresponds to the JSON property `monitoringPolicyId`
4078
- # @return [String]
4079
- attr_accessor :monitoring_policy_id
4080
-
4081
- # Output only. The monitoring status of the WebPath.
4082
- # Corresponds to the JSON property `monitoringStatus`
4083
- # @return [String]
4084
- attr_accessor :monitoring_status
4085
-
4086
- # Identifier. Name of the resource. Format: `projects/`project`/locations/`
4087
- # location`/networkMonitoringProviders/`network_monitoring_provider`/webPaths/`
4088
- # web_path``
4089
- # Corresponds to the JSON property `name`
4090
- # @return [String]
4091
- attr_accessor :name
4092
-
4093
- # Output only. The provider tags of the web path.
4094
- # Corresponds to the JSON property `providerTags`
4095
- # @return [Array<Google::Apis::NetworkmanagementV1::ProviderTag>]
4096
- attr_accessor :provider_tags
4097
-
4098
- # Output only. Link to provider's UI; link shows the WebPath.
4099
- # Corresponds to the JSON property `providerUiUri`
4100
- # @return [String]
4101
- attr_accessor :provider_ui_uri
4102
-
4103
- # Output only. Provider's UUID of the related NetworkPath.
4104
- # Corresponds to the JSON property `relatedNetworkPathId`
4105
- # @return [String]
4106
- attr_accessor :related_network_path_id
4107
-
4108
- # Output only. ID of the source MonitoringPoint.
4109
- # Corresponds to the JSON property `sourceMonitoringPointId`
4110
- # @return [String]
4111
- attr_accessor :source_monitoring_point_id
4112
-
4113
- # Output only. The time the WebPath was updated.
4114
- # Corresponds to the JSON property `updateTime`
4115
- # @return [String]
4116
- attr_accessor :update_time
4117
-
4118
- # Output only. The workflow type of the WebPath.
4119
- # Corresponds to the JSON property `workflowType`
4120
- # @return [String]
4121
- attr_accessor :workflow_type
4122
-
4123
- def initialize(**args)
4124
- update!(**args)
4125
- end
4126
-
4127
- # Update properties of this object
4128
- def update!(**args)
4129
- @create_time = args[:create_time] if args.key?(:create_time)
4130
- @destination = args[:destination] if args.key?(:destination)
4131
- @display_name = args[:display_name] if args.key?(:display_name)
4132
- @interval = args[:interval] if args.key?(:interval)
4133
- @monitoring_enabled = args[:monitoring_enabled] if args.key?(:monitoring_enabled)
4134
- @monitoring_policy_display_name = args[:monitoring_policy_display_name] if args.key?(:monitoring_policy_display_name)
4135
- @monitoring_policy_id = args[:monitoring_policy_id] if args.key?(:monitoring_policy_id)
4136
- @monitoring_status = args[:monitoring_status] if args.key?(:monitoring_status)
4137
- @name = args[:name] if args.key?(:name)
4138
- @provider_tags = args[:provider_tags] if args.key?(:provider_tags)
4139
- @provider_ui_uri = args[:provider_ui_uri] if args.key?(:provider_ui_uri)
4140
- @related_network_path_id = args[:related_network_path_id] if args.key?(:related_network_path_id)
4141
- @source_monitoring_point_id = args[:source_monitoring_point_id] if args.key?(:source_monitoring_point_id)
4142
- @update_time = args[:update_time] if args.key?(:update_time)
4143
- @workflow_type = args[:workflow_type] if args.key?(:workflow_type)
4144
- end
4145
- end
4146
3682
  end
4147
3683
  end
4148
3684
  end