google-apis-networkmanagement_v1 0.68.0 → 0.70.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/networkmanagement_v1/classes.rb +244 -0
- data/lib/google/apis/networkmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1/representations.rb +79 -0
- data/lib/google/apis/networkmanagement_v1/service.rb +306 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c45dfe4a1234edcccd16a49cc872abefbf651a940d01a2b60a71ee2bd7e5c6ee
|
4
|
+
data.tar.gz: 0ff0f6cb920580496261fd72166d32191bb74af61199eda5cef642bcf5c0b9a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90010c177d5e5097e8dfc2b20a495d1e6744caebd2c702f7ce19717026d2d7f5c98b1374e12d8437a430f081e9a633ea617f64f6e8eb29509b82dbe725d3b91
|
7
|
+
data.tar.gz: 2524ed282108bcb0605f45083b360da863c30ca55b4a2d693338a7e1962d7f6b9164022932e3fe836c923a0bfc86dc28f0d6e18992a6f3ccafb4ca9340ef69ad
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1
|
2
2
|
|
3
|
+
### v0.70.0 (2025-09-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250905
|
6
|
+
|
7
|
+
### v0.69.0 (2025-09-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250901
|
10
|
+
|
3
11
|
### v0.68.0 (2025-08-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250813
|
@@ -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.
|
@@ -1394,6 +1505,37 @@ module Google
|
|
1394
1505
|
end
|
1395
1506
|
end
|
1396
1507
|
|
1508
|
+
# For display only. Metadata associated with a hybrid subnet.
|
1509
|
+
class HybridSubnetInfo
|
1510
|
+
include Google::Apis::Core::Hashable
|
1511
|
+
|
1512
|
+
# Name of a hybrid subnet.
|
1513
|
+
# Corresponds to the JSON property `displayName`
|
1514
|
+
# @return [String]
|
1515
|
+
attr_accessor :display_name
|
1516
|
+
|
1517
|
+
# Name of a Google Cloud region where the hybrid subnet is configured.
|
1518
|
+
# Corresponds to the JSON property `region`
|
1519
|
+
# @return [String]
|
1520
|
+
attr_accessor :region
|
1521
|
+
|
1522
|
+
# URI of a hybrid subnet.
|
1523
|
+
# Corresponds to the JSON property `uri`
|
1524
|
+
# @return [String]
|
1525
|
+
attr_accessor :uri
|
1526
|
+
|
1527
|
+
def initialize(**args)
|
1528
|
+
update!(**args)
|
1529
|
+
end
|
1530
|
+
|
1531
|
+
# Update properties of this object
|
1532
|
+
def update!(**args)
|
1533
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1534
|
+
@region = args[:region] if args.key?(:region)
|
1535
|
+
@uri = args[:uri] if args.key?(:uri)
|
1536
|
+
end
|
1537
|
+
end
|
1538
|
+
|
1397
1539
|
# For display only. Metadata associated with a Compute Engine instance.
|
1398
1540
|
class InstanceInfo
|
1399
1541
|
include Google::Apis::Core::Hashable
|
@@ -1494,11 +1636,21 @@ module Google
|
|
1494
1636
|
# @return [String]
|
1495
1637
|
attr_accessor :interconnect_uri
|
1496
1638
|
|
1639
|
+
# Appliance IP address that was matched for L2_DEDICATED attachments.
|
1640
|
+
# Corresponds to the JSON property `l2AttachmentMatchedIpAddress`
|
1641
|
+
# @return [String]
|
1642
|
+
attr_accessor :l2_attachment_matched_ip_address
|
1643
|
+
|
1497
1644
|
# Name of a Google Cloud region where the Interconnect attachment is configured.
|
1498
1645
|
# Corresponds to the JSON property `region`
|
1499
1646
|
# @return [String]
|
1500
1647
|
attr_accessor :region
|
1501
1648
|
|
1649
|
+
# The type of interconnect attachment this is.
|
1650
|
+
# Corresponds to the JSON property `type`
|
1651
|
+
# @return [String]
|
1652
|
+
attr_accessor :type
|
1653
|
+
|
1502
1654
|
# URI of an Interconnect attachment.
|
1503
1655
|
# Corresponds to the JSON property `uri`
|
1504
1656
|
# @return [String]
|
@@ -1513,7 +1665,9 @@ module Google
|
|
1513
1665
|
@cloud_router_uri = args[:cloud_router_uri] if args.key?(:cloud_router_uri)
|
1514
1666
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1515
1667
|
@interconnect_uri = args[:interconnect_uri] if args.key?(:interconnect_uri)
|
1668
|
+
@l2_attachment_matched_ip_address = args[:l2_attachment_matched_ip_address] if args.key?(:l2_attachment_matched_ip_address)
|
1516
1669
|
@region = args[:region] if args.key?(:region)
|
1670
|
+
@type = args[:type] if args.key?(:type)
|
1517
1671
|
@uri = args[:uri] if args.key?(:uri)
|
1518
1672
|
end
|
1519
1673
|
end
|
@@ -2883,6 +3037,37 @@ module Google
|
|
2883
3037
|
end
|
2884
3038
|
end
|
2885
3039
|
|
3040
|
+
# Response for the `QueryVpcFlowLogsConfigs` method.
|
3041
|
+
class QueryOrgVpcFlowLogsConfigsResponse
|
3042
|
+
include Google::Apis::Core::Hashable
|
3043
|
+
|
3044
|
+
# Page token to fetch the next set of configurations.
|
3045
|
+
# Corresponds to the JSON property `nextPageToken`
|
3046
|
+
# @return [String]
|
3047
|
+
attr_accessor :next_page_token
|
3048
|
+
|
3049
|
+
# Locations that could not be reached (when querying all locations with `-`).
|
3050
|
+
# Corresponds to the JSON property `unreachable`
|
3051
|
+
# @return [Array<String>]
|
3052
|
+
attr_accessor :unreachable
|
3053
|
+
|
3054
|
+
# List of VPC Flow Log configurations.
|
3055
|
+
# Corresponds to the JSON property `vpcFlowLogsConfigs`
|
3056
|
+
# @return [Array<Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig>]
|
3057
|
+
attr_accessor :vpc_flow_logs_configs
|
3058
|
+
|
3059
|
+
def initialize(**args)
|
3060
|
+
update!(**args)
|
3061
|
+
end
|
3062
|
+
|
3063
|
+
# Update properties of this object
|
3064
|
+
def update!(**args)
|
3065
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3066
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3067
|
+
@vpc_flow_logs_configs = args[:vpc_flow_logs_configs] if args.key?(:vpc_flow_logs_configs)
|
3068
|
+
end
|
3069
|
+
end
|
3070
|
+
|
2886
3071
|
# Results of the configuration analysis from the last run of the test.
|
2887
3072
|
class ReachabilityDetails
|
2888
3073
|
include Google::Apis::Core::Hashable
|
@@ -3305,6 +3490,37 @@ module Google
|
|
3305
3490
|
end
|
3306
3491
|
end
|
3307
3492
|
|
3493
|
+
# Response for the `ShowEffectiveFlowLogsConfigs` method.
|
3494
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
3495
|
+
include Google::Apis::Core::Hashable
|
3496
|
+
|
3497
|
+
# List of Effective Vpc Flow Logs configurations.
|
3498
|
+
# Corresponds to the JSON property `effectiveFlowLogsConfigs`
|
3499
|
+
# @return [Array<Google::Apis::NetworkmanagementV1::EffectiveVpcFlowLogsConfig>]
|
3500
|
+
attr_accessor :effective_flow_logs_configs
|
3501
|
+
|
3502
|
+
# Page token to fetch the next set of configurations.
|
3503
|
+
# Corresponds to the JSON property `nextPageToken`
|
3504
|
+
# @return [String]
|
3505
|
+
attr_accessor :next_page_token
|
3506
|
+
|
3507
|
+
# Locations that could not be reached (when querying all locations with `-`).
|
3508
|
+
# Corresponds to the JSON property `unreachable`
|
3509
|
+
# @return [Array<String>]
|
3510
|
+
attr_accessor :unreachable
|
3511
|
+
|
3512
|
+
def initialize(**args)
|
3513
|
+
update!(**args)
|
3514
|
+
end
|
3515
|
+
|
3516
|
+
# Update properties of this object
|
3517
|
+
def update!(**args)
|
3518
|
+
@effective_flow_logs_configs = args[:effective_flow_logs_configs] if args.key?(:effective_flow_logs_configs)
|
3519
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3520
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
3521
|
+
end
|
3522
|
+
end
|
3523
|
+
|
3308
3524
|
# Probing results for a single edge device.
|
3309
3525
|
class SingleEdgeResponse
|
3310
3526
|
include Google::Apis::Core::Hashable
|
@@ -3490,6 +3706,11 @@ module Google
|
|
3490
3706
|
# @return [Google::Apis::NetworkmanagementV1::GoogleServiceInfo]
|
3491
3707
|
attr_accessor :google_service
|
3492
3708
|
|
3709
|
+
# For display only. Metadata associated with a hybrid subnet.
|
3710
|
+
# Corresponds to the JSON property `hybridSubnet`
|
3711
|
+
# @return [Google::Apis::NetworkmanagementV1::HybridSubnetInfo]
|
3712
|
+
attr_accessor :hybrid_subnet
|
3713
|
+
|
3493
3714
|
# For display only. Metadata associated with a Compute Engine instance.
|
3494
3715
|
# Corresponds to the JSON property `instance`
|
3495
3716
|
# @return [Google::Apis::NetworkmanagementV1::InstanceInfo]
|
@@ -3603,6 +3824,7 @@ module Google
|
|
3603
3824
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
3604
3825
|
@gke_master = args[:gke_master] if args.key?(:gke_master)
|
3605
3826
|
@google_service = args[:google_service] if args.key?(:google_service)
|
3827
|
+
@hybrid_subnet = args[:hybrid_subnet] if args.key?(:hybrid_subnet)
|
3606
3828
|
@instance = args[:instance] if args.key?(:instance)
|
3607
3829
|
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
3608
3830
|
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)
|
@@ -3773,6 +3995,13 @@ module Google
|
|
3773
3995
|
# @return [String]
|
3774
3996
|
attr_accessor :create_time
|
3775
3997
|
|
3998
|
+
# Optional. Determines whether to include cross project annotations in the logs.
|
3999
|
+
# This field is available only for organization configurations. If not specified
|
4000
|
+
# in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
|
4001
|
+
# Corresponds to the JSON property `crossProjectMetadata`
|
4002
|
+
# @return [String]
|
4003
|
+
attr_accessor :cross_project_metadata
|
4004
|
+
|
3776
4005
|
# Optional. The user-supplied description of the VPC Flow Logs configuration.
|
3777
4006
|
# Maximum of 512 characters.
|
3778
4007
|
# Corresponds to the JSON property `description`
|
@@ -3824,6 +4053,12 @@ module Google
|
|
3824
4053
|
# @return [String]
|
3825
4054
|
attr_accessor :name
|
3826
4055
|
|
4056
|
+
# Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments
|
4057
|
+
# within the network. Format: projects/`project_id`/global/networks/`name`
|
4058
|
+
# Corresponds to the JSON property `network`
|
4059
|
+
# @return [String]
|
4060
|
+
attr_accessor :network
|
4061
|
+
|
3827
4062
|
# Optional. The state of the VPC Flow Log configuration. Default value is
|
3828
4063
|
# ENABLED. When creating a new configuration, it must be enabled. Setting state=
|
3829
4064
|
# DISABLED will pause the log generation for this config.
|
@@ -3831,6 +4066,12 @@ module Google
|
|
3831
4066
|
# @return [String]
|
3832
4067
|
attr_accessor :state
|
3833
4068
|
|
4069
|
+
# Traffic will be logged from VMs within the subnetwork. Format: projects/`
|
4070
|
+
# project_id`/regions/`region`/subnetworks/`name`
|
4071
|
+
# Corresponds to the JSON property `subnet`
|
4072
|
+
# @return [String]
|
4073
|
+
attr_accessor :subnet
|
4074
|
+
|
3834
4075
|
# Output only. Describes the state of the configured target resource for
|
3835
4076
|
# diagnostic purposes.
|
3836
4077
|
# Corresponds to the JSON property `targetResourceState`
|
@@ -3856,6 +4097,7 @@ module Google
|
|
3856
4097
|
def update!(**args)
|
3857
4098
|
@aggregation_interval = args[:aggregation_interval] if args.key?(:aggregation_interval)
|
3858
4099
|
@create_time = args[:create_time] if args.key?(:create_time)
|
4100
|
+
@cross_project_metadata = args[:cross_project_metadata] if args.key?(:cross_project_metadata)
|
3859
4101
|
@description = args[:description] if args.key?(:description)
|
3860
4102
|
@filter_expr = args[:filter_expr] if args.key?(:filter_expr)
|
3861
4103
|
@flow_sampling = args[:flow_sampling] if args.key?(:flow_sampling)
|
@@ -3864,7 +4106,9 @@ module Google
|
|
3864
4106
|
@metadata = args[:metadata] if args.key?(:metadata)
|
3865
4107
|
@metadata_fields = args[:metadata_fields] if args.key?(:metadata_fields)
|
3866
4108
|
@name = args[:name] if args.key?(:name)
|
4109
|
+
@network = args[:network] if args.key?(:network)
|
3867
4110
|
@state = args[:state] if args.key?(:state)
|
4111
|
+
@subnet = args[:subnet] if args.key?(:subnet)
|
3868
4112
|
@target_resource_state = args[:target_resource_state] if args.key?(:target_resource_state)
|
3869
4113
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3870
4114
|
@vpn_tunnel = args[:vpn_tunnel] if args.key?(:vpn_tunnel)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkmanagementV1
|
18
18
|
# Version of the google-apis-networkmanagement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.70.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250905"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class EffectiveVpcFlowLogsConfig
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class Empty
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class HybridSubnetInfo
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class InstanceInfo
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -358,6 +370,12 @@ module Google
|
|
358
370
|
include Google::Apis::Core::JsonObjectSupport
|
359
371
|
end
|
360
372
|
|
373
|
+
class QueryOrgVpcFlowLogsConfigsResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
361
379
|
class ReachabilityDetails
|
362
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
381
|
|
@@ -406,6 +424,12 @@ module Google
|
|
406
424
|
include Google::Apis::Core::JsonObjectSupport
|
407
425
|
end
|
408
426
|
|
427
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
409
433
|
class SingleEdgeResponse
|
410
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
435
|
|
@@ -654,6 +678,25 @@ module Google
|
|
654
678
|
end
|
655
679
|
end
|
656
680
|
|
681
|
+
class EffectiveVpcFlowLogsConfig
|
682
|
+
# @private
|
683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
684
|
+
property :aggregation_interval, as: 'aggregationInterval'
|
685
|
+
property :cross_project_metadata, as: 'crossProjectMetadata'
|
686
|
+
property :filter_expr, as: 'filterExpr'
|
687
|
+
property :flow_sampling, as: 'flowSampling'
|
688
|
+
property :interconnect_attachment, as: 'interconnectAttachment'
|
689
|
+
property :metadata, as: 'metadata'
|
690
|
+
collection :metadata_fields, as: 'metadataFields'
|
691
|
+
property :name, as: 'name'
|
692
|
+
property :network, as: 'network'
|
693
|
+
property :scope, as: 'scope'
|
694
|
+
property :state, as: 'state'
|
695
|
+
property :subnet, as: 'subnet'
|
696
|
+
property :vpn_tunnel, as: 'vpnTunnel'
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
657
700
|
class Empty
|
658
701
|
# @private
|
659
702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -797,6 +840,15 @@ module Google
|
|
797
840
|
end
|
798
841
|
end
|
799
842
|
|
843
|
+
class HybridSubnetInfo
|
844
|
+
# @private
|
845
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
846
|
+
property :display_name, as: 'displayName'
|
847
|
+
property :region, as: 'region'
|
848
|
+
property :uri, as: 'uri'
|
849
|
+
end
|
850
|
+
end
|
851
|
+
|
800
852
|
class InstanceInfo
|
801
853
|
# @private
|
802
854
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -820,7 +872,9 @@ module Google
|
|
820
872
|
property :cloud_router_uri, as: 'cloudRouterUri'
|
821
873
|
property :display_name, as: 'displayName'
|
822
874
|
property :interconnect_uri, as: 'interconnectUri'
|
875
|
+
property :l2_attachment_matched_ip_address, as: 'l2AttachmentMatchedIpAddress'
|
823
876
|
property :region, as: 'region'
|
877
|
+
property :type, as: 'type'
|
824
878
|
property :uri, as: 'uri'
|
825
879
|
end
|
826
880
|
end
|
@@ -1156,6 +1210,16 @@ module Google
|
|
1156
1210
|
end
|
1157
1211
|
end
|
1158
1212
|
|
1213
|
+
class QueryOrgVpcFlowLogsConfigsResponse
|
1214
|
+
# @private
|
1215
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1216
|
+
property :next_page_token, as: 'nextPageToken'
|
1217
|
+
collection :unreachable, as: 'unreachable'
|
1218
|
+
collection :vpc_flow_logs_configs, as: 'vpcFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
|
1219
|
+
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1159
1223
|
class ReachabilityDetails
|
1160
1224
|
# @private
|
1161
1225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1251,6 +1315,16 @@ module Google
|
|
1251
1315
|
end
|
1252
1316
|
end
|
1253
1317
|
|
1318
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
1319
|
+
# @private
|
1320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1321
|
+
collection :effective_flow_logs_configs, as: 'effectiveFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1::EffectiveVpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1::EffectiveVpcFlowLogsConfig::Representation
|
1322
|
+
|
1323
|
+
property :next_page_token, as: 'nextPageToken'
|
1324
|
+
collection :unreachable, as: 'unreachable'
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
|
1254
1328
|
class SingleEdgeResponse
|
1255
1329
|
# @private
|
1256
1330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1307,6 +1381,8 @@ module Google
|
|
1307
1381
|
|
1308
1382
|
property :google_service, as: 'googleService', class: Google::Apis::NetworkmanagementV1::GoogleServiceInfo, decorator: Google::Apis::NetworkmanagementV1::GoogleServiceInfo::Representation
|
1309
1383
|
|
1384
|
+
property :hybrid_subnet, as: 'hybridSubnet', class: Google::Apis::NetworkmanagementV1::HybridSubnetInfo, decorator: Google::Apis::NetworkmanagementV1::HybridSubnetInfo::Representation
|
1385
|
+
|
1310
1386
|
property :instance, as: 'instance', class: Google::Apis::NetworkmanagementV1::InstanceInfo, decorator: Google::Apis::NetworkmanagementV1::InstanceInfo::Representation
|
1311
1387
|
|
1312
1388
|
property :interconnect_attachment, as: 'interconnectAttachment', class: Google::Apis::NetworkmanagementV1::InterconnectAttachmentInfo, decorator: Google::Apis::NetworkmanagementV1::InterconnectAttachmentInfo::Representation
|
@@ -1390,6 +1466,7 @@ module Google
|
|
1390
1466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1391
1467
|
property :aggregation_interval, as: 'aggregationInterval'
|
1392
1468
|
property :create_time, as: 'createTime'
|
1469
|
+
property :cross_project_metadata, as: 'crossProjectMetadata'
|
1393
1470
|
property :description, as: 'description'
|
1394
1471
|
property :filter_expr, as: 'filterExpr'
|
1395
1472
|
property :flow_sampling, as: 'flowSampling'
|
@@ -1398,7 +1475,9 @@ module Google
|
|
1398
1475
|
property :metadata, as: 'metadata'
|
1399
1476
|
collection :metadata_fields, as: 'metadataFields'
|
1400
1477
|
property :name, as: 'name'
|
1478
|
+
property :network, as: 'network'
|
1401
1479
|
property :state, as: 'state'
|
1480
|
+
property :subnet, as: 'subnet'
|
1402
1481
|
property :target_resource_state, as: 'targetResourceState'
|
1403
1482
|
property :update_time, as: 'updateTime'
|
1404
1483
|
property :vpn_tunnel, as: 'vpnTunnel'
|
@@ -86,8 +86,8 @@ module Google
|
|
86
86
|
# @param [String] name
|
87
87
|
# The resource that owns the locations collection, if applicable.
|
88
88
|
# @param [Array<String>, String] extra_location_types
|
89
|
-
# Optional.
|
90
|
-
#
|
89
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
90
|
+
# field which is primarily intended for internal usage.
|
91
91
|
# @param [String] filter
|
92
92
|
# A filter to narrow down results to a preferred subset. The filtering language
|
93
93
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -273,6 +273,216 @@ module Google
|
|
273
273
|
execute_or_queue_command(command, &block)
|
274
274
|
end
|
275
275
|
|
276
|
+
# Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
|
277
|
+
# settings already exists (even if the ID is different), the creation fails.
|
278
|
+
# Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The
|
279
|
+
# following fields are not considered as settings for the purpose of the check
|
280
|
+
# mentioned above, therefore - creating another configuration with the same
|
281
|
+
# fields but different values for the following fields will fail as well: * name
|
282
|
+
# * create_time * update_time * labels * description
|
283
|
+
# @param [String] parent
|
284
|
+
# Required. The parent resource of the VpcFlowLogsConfig to create, in one of
|
285
|
+
# the following formats: - For project-level resources: `projects/`project_id`/
|
286
|
+
# locations/global` - For organization-level resources: `organizations/`
|
287
|
+
# organization_id`/locations/global`
|
288
|
+
# @param [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
289
|
+
# @param [String] vpc_flow_logs_config_id
|
290
|
+
# Required. ID of the `VpcFlowLogsConfig`.
|
291
|
+
# @param [String] fields
|
292
|
+
# Selector specifying which fields to include in a partial response.
|
293
|
+
# @param [String] quota_user
|
294
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
295
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
296
|
+
# @param [Google::Apis::RequestOptions] options
|
297
|
+
# Request-specific options
|
298
|
+
#
|
299
|
+
# @yield [result, err] Result & error if block supplied
|
300
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
|
301
|
+
# @yieldparam err [StandardError] error object if request failed
|
302
|
+
#
|
303
|
+
# @return [Google::Apis::NetworkmanagementV1::Operation]
|
304
|
+
#
|
305
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
306
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
307
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
308
|
+
def create_organization_location_vpc_flow_logs_config(parent, vpc_flow_logs_config_object = nil, vpc_flow_logs_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
309
|
+
command = make_simple_command(:post, 'v1/{+parent}/vpcFlowLogsConfigs', options)
|
310
|
+
command.request_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
|
311
|
+
command.request_object = vpc_flow_logs_config_object
|
312
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
|
313
|
+
command.response_class = Google::Apis::NetworkmanagementV1::Operation
|
314
|
+
command.params['parent'] = parent unless parent.nil?
|
315
|
+
command.query['vpcFlowLogsConfigId'] = vpc_flow_logs_config_id unless vpc_flow_logs_config_id.nil?
|
316
|
+
command.query['fields'] = fields unless fields.nil?
|
317
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
318
|
+
execute_or_queue_command(command, &block)
|
319
|
+
end
|
320
|
+
|
321
|
+
# Deletes a specific `VpcFlowLogsConfig`.
|
322
|
+
# @param [String] name
|
323
|
+
# Required. The resource name of the VpcFlowLogsConfig, in one of the following
|
324
|
+
# formats: - For a project-level resource: `projects/`project_id`/locations/
|
325
|
+
# global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` - For an organization-
|
326
|
+
# level resource: `organizations/`organization_id`/locations/global/
|
327
|
+
# vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
328
|
+
# @param [String] fields
|
329
|
+
# Selector specifying which fields to include in a partial response.
|
330
|
+
# @param [String] quota_user
|
331
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
332
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
333
|
+
# @param [Google::Apis::RequestOptions] options
|
334
|
+
# Request-specific options
|
335
|
+
#
|
336
|
+
# @yield [result, err] Result & error if block supplied
|
337
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
|
338
|
+
# @yieldparam err [StandardError] error object if request failed
|
339
|
+
#
|
340
|
+
# @return [Google::Apis::NetworkmanagementV1::Operation]
|
341
|
+
#
|
342
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
343
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
344
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
345
|
+
def delete_organization_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
346
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
347
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
|
348
|
+
command.response_class = Google::Apis::NetworkmanagementV1::Operation
|
349
|
+
command.params['name'] = name unless name.nil?
|
350
|
+
command.query['fields'] = fields unless fields.nil?
|
351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
352
|
+
execute_or_queue_command(command, &block)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Gets the details of a specific `VpcFlowLogsConfig`.
|
356
|
+
# @param [String] name
|
357
|
+
# Required. The resource name of the VpcFlowLogsConfig, in one of the following
|
358
|
+
# formats: - For project-level resources: `projects/`project_id`/locations/
|
359
|
+
# global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` - For organization-level
|
360
|
+
# resources: `organizations/`organization_id`/locations/global/
|
361
|
+
# vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
362
|
+
# @param [String] fields
|
363
|
+
# Selector specifying which fields to include in a partial response.
|
364
|
+
# @param [String] quota_user
|
365
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
366
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
367
|
+
# @param [Google::Apis::RequestOptions] options
|
368
|
+
# Request-specific options
|
369
|
+
#
|
370
|
+
# @yield [result, err] Result & error if block supplied
|
371
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] parsed result object
|
372
|
+
# @yieldparam err [StandardError] error object if request failed
|
373
|
+
#
|
374
|
+
# @return [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig]
|
375
|
+
#
|
376
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
377
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
378
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
379
|
+
def get_organization_location_vpc_flow_logs_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
380
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
381
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
|
382
|
+
command.response_class = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig
|
383
|
+
command.params['name'] = name unless name.nil?
|
384
|
+
command.query['fields'] = fields unless fields.nil?
|
385
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
386
|
+
execute_or_queue_command(command, &block)
|
387
|
+
end
|
388
|
+
|
389
|
+
# Lists all `VpcFlowLogsConfigs` in a given organization.
|
390
|
+
# @param [String] parent
|
391
|
+
# Required. The parent resource of the VpcFlowLogsConfig, in one of the
|
392
|
+
# following formats: - For project-level resourcs: `projects/`project_id`/
|
393
|
+
# locations/global` - For organization-level resources: `organizations/`
|
394
|
+
# organization_id`/locations/global`
|
395
|
+
# @param [String] filter
|
396
|
+
# Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
|
397
|
+
# filter expression must use the supported [CEL logic operators] (https://cloud.
|
398
|
+
# google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
|
399
|
+
# @param [String] order_by
|
400
|
+
# Optional. Field to use to sort the list.
|
401
|
+
# @param [Fixnum] page_size
|
402
|
+
# Optional. Number of `VpcFlowLogsConfigs` to return.
|
403
|
+
# @param [String] page_token
|
404
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
405
|
+
# @param [String] fields
|
406
|
+
# Selector specifying which fields to include in a partial response.
|
407
|
+
# @param [String] quota_user
|
408
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
409
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
410
|
+
# @param [Google::Apis::RequestOptions] options
|
411
|
+
# Request-specific options
|
412
|
+
#
|
413
|
+
# @yield [result, err] Result & error if block supplied
|
414
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse] parsed result object
|
415
|
+
# @yieldparam err [StandardError] error object if request failed
|
416
|
+
#
|
417
|
+
# @return [Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse]
|
418
|
+
#
|
419
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
420
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
421
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
422
|
+
def list_organization_location_vpc_flow_logs_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
423
|
+
command = make_simple_command(:get, 'v1/{+parent}/vpcFlowLogsConfigs', options)
|
424
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse::Representation
|
425
|
+
command.response_class = Google::Apis::NetworkmanagementV1::ListVpcFlowLogsConfigsResponse
|
426
|
+
command.params['parent'] = parent unless parent.nil?
|
427
|
+
command.query['filter'] = filter unless filter.nil?
|
428
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
429
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
430
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
431
|
+
command.query['fields'] = fields unless fields.nil?
|
432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
433
|
+
execute_or_queue_command(command, &block)
|
434
|
+
end
|
435
|
+
|
436
|
+
# Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
|
437
|
+
# same settings already exists (even if the ID is different), the creation fails.
|
438
|
+
# Notes: 1. Updating a configuration with `state=DISABLED` will fail 2. The
|
439
|
+
# following fields are not considered as settings for the purpose of the check
|
440
|
+
# mentioned above, therefore - updating another configuration with the same
|
441
|
+
# fields but different values for the following fields will fail as well: * name
|
442
|
+
# * create_time * update_time * labels * description
|
443
|
+
# @param [String] name
|
444
|
+
# Identifier. Unique name of the configuration. The name can have one of the
|
445
|
+
# following forms: - For project-level configurations: `projects/`project_id`/
|
446
|
+
# locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` - For
|
447
|
+
# organization-level configurations: `organizations/`organization_id`/locations/
|
448
|
+
# global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
449
|
+
# @param [Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
450
|
+
# @param [String] update_mask
|
451
|
+
# Required. Mask of fields to update. At least one path must be supplied in this
|
452
|
+
# field. For example, to change the state of the configuration to ENABLED,
|
453
|
+
# specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be: `
|
454
|
+
# vpc_flow_logs_config = ` name = "projects/my-project/locations/global/
|
455
|
+
# vpcFlowLogsConfigs/my-config" state = "ENABLED" ``
|
456
|
+
# @param [String] fields
|
457
|
+
# Selector specifying which fields to include in a partial response.
|
458
|
+
# @param [String] quota_user
|
459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
461
|
+
# @param [Google::Apis::RequestOptions] options
|
462
|
+
# Request-specific options
|
463
|
+
#
|
464
|
+
# @yield [result, err] Result & error if block supplied
|
465
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
|
466
|
+
# @yieldparam err [StandardError] error object if request failed
|
467
|
+
#
|
468
|
+
# @return [Google::Apis::NetworkmanagementV1::Operation]
|
469
|
+
#
|
470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
473
|
+
def patch_organization_location_vpc_flow_logs_config(name, vpc_flow_logs_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
474
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
475
|
+
command.request_representation = Google::Apis::NetworkmanagementV1::VpcFlowLogsConfig::Representation
|
476
|
+
command.request_object = vpc_flow_logs_config_object
|
477
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
|
478
|
+
command.response_class = Google::Apis::NetworkmanagementV1::Operation
|
479
|
+
command.params['name'] = name unless name.nil?
|
480
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
481
|
+
command.query['fields'] = fields unless fields.nil?
|
482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
483
|
+
execute_or_queue_command(command, &block)
|
484
|
+
end
|
485
|
+
|
276
486
|
# Gets information about a location.
|
277
487
|
# @param [String] name
|
278
488
|
# Resource name for the location.
|
@@ -307,8 +517,8 @@ module Google
|
|
307
517
|
# @param [String] name
|
308
518
|
# The resource that owns the locations collection, if applicable.
|
309
519
|
# @param [Array<String>, String] extra_location_types
|
310
|
-
# Optional.
|
311
|
-
#
|
520
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
521
|
+
# field which is primarily intended for internal usage.
|
312
522
|
# @param [String] filter
|
313
523
|
# A filter to narrow down results to a preferred subset. The filtering language
|
314
524
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1439,6 +1649,98 @@ module Google
|
|
1439
1649
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1440
1650
|
execute_or_queue_command(command, &block)
|
1441
1651
|
end
|
1652
|
+
|
1653
|
+
# QueryOrgVpcFlowLogsConfigs returns a list of all organization-level VPC Flow
|
1654
|
+
# Logs configurations applicable to the specified project.
|
1655
|
+
# @param [String] parent
|
1656
|
+
# Required. The parent resource of the VpcFlowLogsConfig, specified in the
|
1657
|
+
# following format: `projects/`project_id`/locations/global`
|
1658
|
+
# @param [String] filter
|
1659
|
+
# Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
|
1660
|
+
# filter expression must use the supported [CEL logic operators] (https://cloud.
|
1661
|
+
# google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
|
1662
|
+
# @param [Fixnum] page_size
|
1663
|
+
# Optional. Number of `VpcFlowLogsConfigs` to return.
|
1664
|
+
# @param [String] page_token
|
1665
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
1666
|
+
# @param [String] fields
|
1667
|
+
# Selector specifying which fields to include in a partial response.
|
1668
|
+
# @param [String] quota_user
|
1669
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1670
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1671
|
+
# @param [Google::Apis::RequestOptions] options
|
1672
|
+
# Request-specific options
|
1673
|
+
#
|
1674
|
+
# @yield [result, err] Result & error if block supplied
|
1675
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::QueryOrgVpcFlowLogsConfigsResponse] parsed result object
|
1676
|
+
# @yieldparam err [StandardError] error object if request failed
|
1677
|
+
#
|
1678
|
+
# @return [Google::Apis::NetworkmanagementV1::QueryOrgVpcFlowLogsConfigsResponse]
|
1679
|
+
#
|
1680
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1681
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1682
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1683
|
+
def query_project_location_vpc_flow_logs_config_org_vpc_flow_logs_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1684
|
+
command = make_simple_command(:get, 'v1/{+parent}/vpcFlowLogsConfigs:queryOrgVpcFlowLogsConfigs', options)
|
1685
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::QueryOrgVpcFlowLogsConfigsResponse::Representation
|
1686
|
+
command.response_class = Google::Apis::NetworkmanagementV1::QueryOrgVpcFlowLogsConfigsResponse
|
1687
|
+
command.params['parent'] = parent unless parent.nil?
|
1688
|
+
command.query['filter'] = filter unless filter.nil?
|
1689
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1690
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1691
|
+
command.query['fields'] = fields unless fields.nil?
|
1692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1693
|
+
execute_or_queue_command(command, &block)
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs
|
1697
|
+
# configurations applicable to a specified resource.
|
1698
|
+
# @param [String] parent
|
1699
|
+
# Required. The parent resource of the VpcFlowLogsConfig, specified in the
|
1700
|
+
# following format: `projects/`project_id`/locations/global`
|
1701
|
+
# @param [String] filter
|
1702
|
+
# Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
|
1703
|
+
# expression. A filter expression must use the supported [CEL logic operators] (
|
1704
|
+
# https://cloud.google.com/vpc/docs/about-flow-logs-records#
|
1705
|
+
# supported_cel_logic_operators).
|
1706
|
+
# @param [Fixnum] page_size
|
1707
|
+
# Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
|
1708
|
+
# @param [String] page_token
|
1709
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
1710
|
+
# @param [String] resource
|
1711
|
+
# Required. The resource to get the effective VPC Flow Logs configuration for.
|
1712
|
+
# The resource must belong to the same project as the parent. The resource must
|
1713
|
+
# be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.
|
1714
|
+
# @param [String] fields
|
1715
|
+
# Selector specifying which fields to include in a partial response.
|
1716
|
+
# @param [String] quota_user
|
1717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1719
|
+
# @param [Google::Apis::RequestOptions] options
|
1720
|
+
# Request-specific options
|
1721
|
+
#
|
1722
|
+
# @yield [result, err] Result & error if block supplied
|
1723
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1::ShowEffectiveFlowLogsConfigsResponse] parsed result object
|
1724
|
+
# @yieldparam err [StandardError] error object if request failed
|
1725
|
+
#
|
1726
|
+
# @return [Google::Apis::NetworkmanagementV1::ShowEffectiveFlowLogsConfigsResponse]
|
1727
|
+
#
|
1728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1731
|
+
def show_project_location_vpc_flow_logs_config_effective_flow_logs_configs(parent, filter: nil, page_size: nil, page_token: nil, resource: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1732
|
+
command = make_simple_command(:get, 'v1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs', options)
|
1733
|
+
command.response_representation = Google::Apis::NetworkmanagementV1::ShowEffectiveFlowLogsConfigsResponse::Representation
|
1734
|
+
command.response_class = Google::Apis::NetworkmanagementV1::ShowEffectiveFlowLogsConfigsResponse
|
1735
|
+
command.params['parent'] = parent unless parent.nil?
|
1736
|
+
command.query['filter'] = filter unless filter.nil?
|
1737
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1738
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1739
|
+
command.query['resource'] = resource unless resource.nil?
|
1740
|
+
command.query['fields'] = fields unless fields.nil?
|
1741
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1742
|
+
execute_or_queue_command(command, &block)
|
1743
|
+
end
|
1442
1744
|
|
1443
1745
|
protected
|
1444
1746
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.70.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.70.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|