google-apis-networkmanagement_v1beta1 0.64.0 → 0.66.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_v1beta1/classes.rb +197 -0
- data/lib/google/apis/networkmanagement_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1beta1/representations.rb +61 -0
- data/lib/google/apis/networkmanagement_v1beta1/service.rb +53 -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: 745fe234c954e9364289b8f2250896984842aa7e4575ae982e50776f18b3c189
|
4
|
+
data.tar.gz: e023d990a9a774323992ad417ebc4ca8831865f5caed51b13e3b56fd233a20a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e295a913ddbe1ee341ad98c9fd1cfeb77499428bb5304e57d62601319da81fca1e35d642f1c12685c4331632dbf0fc531f1e79f02514e00a652f324cdaaad0da
|
7
|
+
data.tar.gz: 9a075e0a4ee45bfeb2d9f925d1ef020934903beac2c911bf3d911ae9ec6309aa4f514decebc16efe35351c4293e18ccce49b30302e7fab9f52d02477e19f191a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1beta1
|
2
2
|
|
3
|
+
### v0.66.0 (2025-09-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250905
|
6
|
+
|
7
|
+
### v0.65.0 (2025-09-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250901
|
10
|
+
|
3
11
|
### v0.64.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.
|
@@ -825,6 +936,11 @@ module Google
|
|
825
936
|
# @return [String]
|
826
937
|
attr_accessor :gke_master_cluster
|
827
938
|
|
939
|
+
# A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
|
940
|
+
# Corresponds to the JSON property `gkePod`
|
941
|
+
# @return [String]
|
942
|
+
attr_accessor :gke_pod
|
943
|
+
|
828
944
|
# A Compute Engine instance URI.
|
829
945
|
# Corresponds to the JSON property `instance`
|
830
946
|
# @return [String]
|
@@ -901,6 +1017,7 @@ module Google
|
|
901
1017
|
@forwarding_rule_target = args[:forwarding_rule_target] if args.key?(:forwarding_rule_target)
|
902
1018
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
903
1019
|
@gke_master_cluster = args[:gke_master_cluster] if args.key?(:gke_master_cluster)
|
1020
|
+
@gke_pod = args[:gke_pod] if args.key?(:gke_pod)
|
904
1021
|
@instance = args[:instance] if args.key?(:instance)
|
905
1022
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
906
1023
|
@load_balancer_id = args[:load_balancer_id] if args.key?(:load_balancer_id)
|
@@ -1314,6 +1431,37 @@ module Google
|
|
1314
1431
|
end
|
1315
1432
|
end
|
1316
1433
|
|
1434
|
+
# For display only. Metadata associated with a hybrid subnet.
|
1435
|
+
class HybridSubnetInfo
|
1436
|
+
include Google::Apis::Core::Hashable
|
1437
|
+
|
1438
|
+
# Name of a hybrid subnet.
|
1439
|
+
# Corresponds to the JSON property `displayName`
|
1440
|
+
# @return [String]
|
1441
|
+
attr_accessor :display_name
|
1442
|
+
|
1443
|
+
# Name of a Google Cloud region where the hybrid subnet is configured.
|
1444
|
+
# Corresponds to the JSON property `region`
|
1445
|
+
# @return [String]
|
1446
|
+
attr_accessor :region
|
1447
|
+
|
1448
|
+
# URI of a hybrid subnet.
|
1449
|
+
# Corresponds to the JSON property `uri`
|
1450
|
+
# @return [String]
|
1451
|
+
attr_accessor :uri
|
1452
|
+
|
1453
|
+
def initialize(**args)
|
1454
|
+
update!(**args)
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
# Update properties of this object
|
1458
|
+
def update!(**args)
|
1459
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1460
|
+
@region = args[:region] if args.key?(:region)
|
1461
|
+
@uri = args[:uri] if args.key?(:uri)
|
1462
|
+
end
|
1463
|
+
end
|
1464
|
+
|
1317
1465
|
# For display only. Metadata associated with a Compute Engine instance.
|
1318
1466
|
class InstanceInfo
|
1319
1467
|
include Google::Apis::Core::Hashable
|
@@ -1414,11 +1562,21 @@ module Google
|
|
1414
1562
|
# @return [String]
|
1415
1563
|
attr_accessor :interconnect_uri
|
1416
1564
|
|
1565
|
+
# Appliance IP address that was matched for L2_DEDICATED attachments.
|
1566
|
+
# Corresponds to the JSON property `l2AttachmentMatchedIpAddress`
|
1567
|
+
# @return [String]
|
1568
|
+
attr_accessor :l2_attachment_matched_ip_address
|
1569
|
+
|
1417
1570
|
# Name of a Google Cloud region where the Interconnect attachment is configured.
|
1418
1571
|
# Corresponds to the JSON property `region`
|
1419
1572
|
# @return [String]
|
1420
1573
|
attr_accessor :region
|
1421
1574
|
|
1575
|
+
# The type of interconnect attachment this is.
|
1576
|
+
# Corresponds to the JSON property `type`
|
1577
|
+
# @return [String]
|
1578
|
+
attr_accessor :type
|
1579
|
+
|
1422
1580
|
# URI of an Interconnect attachment.
|
1423
1581
|
# Corresponds to the JSON property `uri`
|
1424
1582
|
# @return [String]
|
@@ -1433,7 +1591,9 @@ module Google
|
|
1433
1591
|
@cloud_router_uri = args[:cloud_router_uri] if args.key?(:cloud_router_uri)
|
1434
1592
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1435
1593
|
@interconnect_uri = args[:interconnect_uri] if args.key?(:interconnect_uri)
|
1594
|
+
@l2_attachment_matched_ip_address = args[:l2_attachment_matched_ip_address] if args.key?(:l2_attachment_matched_ip_address)
|
1436
1595
|
@region = args[:region] if args.key?(:region)
|
1596
|
+
@type = args[:type] if args.key?(:type)
|
1437
1597
|
@uri = args[:uri] if args.key?(:uri)
|
1438
1598
|
end
|
1439
1599
|
end
|
@@ -2781,6 +2941,37 @@ module Google
|
|
2781
2941
|
end
|
2782
2942
|
end
|
2783
2943
|
|
2944
|
+
# Response for the `ShowEffectiveFlowLogsConfigs` method.
|
2945
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
2946
|
+
include Google::Apis::Core::Hashable
|
2947
|
+
|
2948
|
+
# List of Effective Vpc Flow Logs configurations.
|
2949
|
+
# Corresponds to the JSON property `effectiveFlowLogsConfigs`
|
2950
|
+
# @return [Array<Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig>]
|
2951
|
+
attr_accessor :effective_flow_logs_configs
|
2952
|
+
|
2953
|
+
# Page token to fetch the next set of configurations.
|
2954
|
+
# Corresponds to the JSON property `nextPageToken`
|
2955
|
+
# @return [String]
|
2956
|
+
attr_accessor :next_page_token
|
2957
|
+
|
2958
|
+
# Locations that could not be reached (when querying all locations with `-`).
|
2959
|
+
# Corresponds to the JSON property `unreachable`
|
2960
|
+
# @return [Array<String>]
|
2961
|
+
attr_accessor :unreachable
|
2962
|
+
|
2963
|
+
def initialize(**args)
|
2964
|
+
update!(**args)
|
2965
|
+
end
|
2966
|
+
|
2967
|
+
# Update properties of this object
|
2968
|
+
def update!(**args)
|
2969
|
+
@effective_flow_logs_configs = args[:effective_flow_logs_configs] if args.key?(:effective_flow_logs_configs)
|
2970
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2971
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2972
|
+
end
|
2973
|
+
end
|
2974
|
+
|
2784
2975
|
# Probing results for a single edge device.
|
2785
2976
|
class SingleEdgeResponse
|
2786
2977
|
include Google::Apis::Core::Hashable
|
@@ -2966,6 +3157,11 @@ module Google
|
|
2966
3157
|
# @return [Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo]
|
2967
3158
|
attr_accessor :google_service
|
2968
3159
|
|
3160
|
+
# For display only. Metadata associated with a hybrid subnet.
|
3161
|
+
# Corresponds to the JSON property `hybridSubnet`
|
3162
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo]
|
3163
|
+
attr_accessor :hybrid_subnet
|
3164
|
+
|
2969
3165
|
# For display only. Metadata associated with a Compute Engine instance.
|
2970
3166
|
# Corresponds to the JSON property `instance`
|
2971
3167
|
# @return [Google::Apis::NetworkmanagementV1beta1::InstanceInfo]
|
@@ -3079,6 +3275,7 @@ module Google
|
|
3079
3275
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
3080
3276
|
@gke_master = args[:gke_master] if args.key?(:gke_master)
|
3081
3277
|
@google_service = args[:google_service] if args.key?(:google_service)
|
3278
|
+
@hybrid_subnet = args[:hybrid_subnet] if args.key?(:hybrid_subnet)
|
3082
3279
|
@instance = args[:instance] if args.key?(:instance)
|
3083
3280
|
@interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment)
|
3084
3281
|
@load_balancer = args[:load_balancer] if args.key?(:load_balancer)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module NetworkmanagementV1beta1
|
18
18
|
# Version of the google-apis-networkmanagement_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.66.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
|
|
@@ -178,6 +184,12 @@ module Google
|
|
178
184
|
include Google::Apis::Core::JsonObjectSupport
|
179
185
|
end
|
180
186
|
|
187
|
+
class HybridSubnetInfo
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class InstanceInfo
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -346,6 +358,12 @@ module Google
|
|
346
358
|
include Google::Apis::Core::JsonObjectSupport
|
347
359
|
end
|
348
360
|
|
361
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
349
367
|
class SingleEdgeResponse
|
350
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
369
|
|
@@ -588,6 +606,25 @@ module Google
|
|
588
606
|
end
|
589
607
|
end
|
590
608
|
|
609
|
+
class EffectiveVpcFlowLogsConfig
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
property :aggregation_interval, as: 'aggregationInterval'
|
613
|
+
property :cross_project_metadata, as: 'crossProjectMetadata'
|
614
|
+
property :filter_expr, as: 'filterExpr'
|
615
|
+
property :flow_sampling, as: 'flowSampling'
|
616
|
+
property :interconnect_attachment, as: 'interconnectAttachment'
|
617
|
+
property :metadata, as: 'metadata'
|
618
|
+
collection :metadata_fields, as: 'metadataFields'
|
619
|
+
property :name, as: 'name'
|
620
|
+
property :network, as: 'network'
|
621
|
+
property :scope, as: 'scope'
|
622
|
+
property :state, as: 'state'
|
623
|
+
property :subnet, as: 'subnet'
|
624
|
+
property :vpn_tunnel, as: 'vpnTunnel'
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
591
628
|
class Empty
|
592
629
|
# @private
|
593
630
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -609,6 +646,7 @@ module Google
|
|
609
646
|
property :forwarding_rule_target, as: 'forwardingRuleTarget'
|
610
647
|
property :fqdn, as: 'fqdn'
|
611
648
|
property :gke_master_cluster, as: 'gkeMasterCluster'
|
649
|
+
property :gke_pod, as: 'gkePod'
|
612
650
|
property :instance, as: 'instance'
|
613
651
|
property :ip_address, as: 'ipAddress'
|
614
652
|
property :load_balancer_id, as: 'loadBalancerId'
|
@@ -710,6 +748,15 @@ module Google
|
|
710
748
|
end
|
711
749
|
end
|
712
750
|
|
751
|
+
class HybridSubnetInfo
|
752
|
+
# @private
|
753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
+
property :display_name, as: 'displayName'
|
755
|
+
property :region, as: 'region'
|
756
|
+
property :uri, as: 'uri'
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
713
760
|
class InstanceInfo
|
714
761
|
# @private
|
715
762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -733,7 +780,9 @@ module Google
|
|
733
780
|
property :cloud_router_uri, as: 'cloudRouterUri'
|
734
781
|
property :display_name, as: 'displayName'
|
735
782
|
property :interconnect_uri, as: 'interconnectUri'
|
783
|
+
property :l2_attachment_matched_ip_address, as: 'l2AttachmentMatchedIpAddress'
|
736
784
|
property :region, as: 'region'
|
785
|
+
property :type, as: 'type'
|
737
786
|
property :uri, as: 'uri'
|
738
787
|
end
|
739
788
|
end
|
@@ -1053,6 +1102,16 @@ module Google
|
|
1053
1102
|
end
|
1054
1103
|
end
|
1055
1104
|
|
1105
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
1106
|
+
# @private
|
1107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1108
|
+
collection :effective_flow_logs_configs, as: 'effectiveFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig::Representation
|
1109
|
+
|
1110
|
+
property :next_page_token, as: 'nextPageToken'
|
1111
|
+
collection :unreachable, as: 'unreachable'
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
|
1056
1115
|
class SingleEdgeResponse
|
1057
1116
|
# @private
|
1058
1117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1109,6 +1168,8 @@ module Google
|
|
1109
1168
|
|
1110
1169
|
property :google_service, as: 'googleService', class: Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::GoogleServiceInfo::Representation
|
1111
1170
|
|
1171
|
+
property :hybrid_subnet, as: 'hybridSubnet', class: Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo, decorator: Google::Apis::NetworkmanagementV1beta1::HybridSubnetInfo::Representation
|
1172
|
+
|
1112
1173
|
property :instance, as: 'instance', class: Google::Apis::NetworkmanagementV1beta1::InstanceInfo, decorator: Google::Apis::NetworkmanagementV1beta1::InstanceInfo::Representation
|
1113
1174
|
|
1114
1175
|
property :interconnect_attachment, as: 'interconnectAttachment', class: Google::Apis::NetworkmanagementV1beta1::InterconnectAttachmentInfo, decorator: Google::Apis::NetworkmanagementV1beta1::InterconnectAttachmentInfo::Representation
|
@@ -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
|
@@ -517,8 +517,8 @@ module Google
|
|
517
517
|
# @param [String] name
|
518
518
|
# The resource that owns the locations collection, if applicable.
|
519
519
|
# @param [Array<String>, String] extra_location_types
|
520
|
-
# Optional.
|
521
|
-
#
|
520
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
521
|
+
# field which is primarily intended for internal usage.
|
522
522
|
# @param [String] filter
|
523
523
|
# A filter to narrow down results to a preferred subset. The filtering language
|
524
524
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1326,6 +1326,55 @@ module Google
|
|
1326
1326
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1327
1327
|
execute_or_queue_command(command, &block)
|
1328
1328
|
end
|
1329
|
+
|
1330
|
+
# ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs
|
1331
|
+
# configurations applicable to a specified resource.
|
1332
|
+
# @param [String] parent
|
1333
|
+
# Required. The parent resource of the VpcFlowLogsConfig, specified in the
|
1334
|
+
# following format: `projects/`project_id`/locations/global`
|
1335
|
+
# @param [String] filter
|
1336
|
+
# Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
|
1337
|
+
# expression. A filter expression must use the supported [CEL logic operators] (
|
1338
|
+
# https://cloud.google.com/vpc/docs/about-flow-logs-records#
|
1339
|
+
# supported_cel_logic_operators).
|
1340
|
+
# @param [Fixnum] page_size
|
1341
|
+
# Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
|
1342
|
+
# @param [String] page_token
|
1343
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
1344
|
+
# @param [String] resource
|
1345
|
+
# Required. The resource to get the effective VPC Flow Logs configuration for.
|
1346
|
+
# The resource must belong to the same project as the parent. The resource must
|
1347
|
+
# be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.
|
1348
|
+
# @param [String] fields
|
1349
|
+
# Selector specifying which fields to include in a partial response.
|
1350
|
+
# @param [String] quota_user
|
1351
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1352
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1353
|
+
# @param [Google::Apis::RequestOptions] options
|
1354
|
+
# Request-specific options
|
1355
|
+
#
|
1356
|
+
# @yield [result, err] Result & error if block supplied
|
1357
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse] parsed result object
|
1358
|
+
# @yieldparam err [StandardError] error object if request failed
|
1359
|
+
#
|
1360
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse]
|
1361
|
+
#
|
1362
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1363
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1364
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1365
|
+
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)
|
1366
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs', options)
|
1367
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse::Representation
|
1368
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse
|
1369
|
+
command.params['parent'] = parent unless parent.nil?
|
1370
|
+
command.query['filter'] = filter unless filter.nil?
|
1371
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1372
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1373
|
+
command.query['resource'] = resource unless resource.nil?
|
1374
|
+
command.query['fields'] = fields unless fields.nil?
|
1375
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1376
|
+
execute_or_queue_command(command, &block)
|
1377
|
+
end
|
1329
1378
|
|
1330
1379
|
protected
|
1331
1380
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-networkmanagement_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.66.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_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.66.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|