google-apis-networkmanagement_v1beta1 0.65.0 → 0.67.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 +156 -0
- data/lib/google/apis/networkmanagement_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkmanagement_v1beta1/representations.rb +43 -0
- data/lib/google/apis/networkmanagement_v1beta1/service.rb +71 -6
- 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: 4428c34524591ee7096ad5064c84b738ed317f3802593665a7f93870edb6f58c
|
4
|
+
data.tar.gz: 4f48dba9bf9f0189311dcede1d378e858b6d1890aacfd6648ca22e7aec31e36a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6f15603381783b8e27ba184d4729ac77e6e812dc908e6761c06bc019d188c3aad532f86a06b778e3b336166972f130ab73086af5ddbc2c6b12c463f77c8fd3c
|
7
|
+
data.tar.gz: a58523b01ced0fb829c828d2aa3a4f9ddef7dae642f3a7e185e81555796cc8e18040cd7b17c67434ae769f284605258ef977e3f74d9e9771fb1945a217acac21
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1beta1
|
2
2
|
|
3
|
+
### v0.67.0 (2025-10-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250925
|
6
|
+
|
7
|
+
### v0.66.0 (2025-09-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250905
|
10
|
+
|
3
11
|
### v0.65.0 (2025-09-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250901
|
@@ -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)
|
@@ -1596,6 +1713,13 @@ module Google
|
|
1596
1713
|
# @return [Array<Google::Apis::NetworkmanagementV1beta1::Operation>]
|
1597
1714
|
attr_accessor :operations
|
1598
1715
|
|
1716
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
1717
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
1718
|
+
# when attempting to list all resources across all supported locations.
|
1719
|
+
# Corresponds to the JSON property `unreachable`
|
1720
|
+
# @return [Array<String>]
|
1721
|
+
attr_accessor :unreachable
|
1722
|
+
|
1599
1723
|
def initialize(**args)
|
1600
1724
|
update!(**args)
|
1601
1725
|
end
|
@@ -1604,6 +1728,7 @@ module Google
|
|
1604
1728
|
def update!(**args)
|
1605
1729
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1606
1730
|
@operations = args[:operations] if args.key?(:operations)
|
1731
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1607
1732
|
end
|
1608
1733
|
end
|
1609
1734
|
|
@@ -2824,6 +2949,37 @@ module Google
|
|
2824
2949
|
end
|
2825
2950
|
end
|
2826
2951
|
|
2952
|
+
# Response for the `ShowEffectiveFlowLogsConfigs` method.
|
2953
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
2954
|
+
include Google::Apis::Core::Hashable
|
2955
|
+
|
2956
|
+
# List of Effective Vpc Flow Logs configurations.
|
2957
|
+
# Corresponds to the JSON property `effectiveFlowLogsConfigs`
|
2958
|
+
# @return [Array<Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig>]
|
2959
|
+
attr_accessor :effective_flow_logs_configs
|
2960
|
+
|
2961
|
+
# Page token to fetch the next set of configurations.
|
2962
|
+
# Corresponds to the JSON property `nextPageToken`
|
2963
|
+
# @return [String]
|
2964
|
+
attr_accessor :next_page_token
|
2965
|
+
|
2966
|
+
# Locations that could not be reached (when querying all locations with `-`).
|
2967
|
+
# Corresponds to the JSON property `unreachable`
|
2968
|
+
# @return [Array<String>]
|
2969
|
+
attr_accessor :unreachable
|
2970
|
+
|
2971
|
+
def initialize(**args)
|
2972
|
+
update!(**args)
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# Update properties of this object
|
2976
|
+
def update!(**args)
|
2977
|
+
@effective_flow_logs_configs = args[:effective_flow_logs_configs] if args.key?(:effective_flow_logs_configs)
|
2978
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2979
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2827
2983
|
# Probing results for a single edge device.
|
2828
2984
|
class SingleEdgeResponse
|
2829
2985
|
include Google::Apis::Core::Hashable
|
@@ -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.67.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 = "20250925"
|
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
|
|
@@ -352,6 +358,12 @@ module Google
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
353
359
|
end
|
354
360
|
|
361
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
355
367
|
class SingleEdgeResponse
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
369
|
|
@@ -594,6 +606,25 @@ module Google
|
|
594
606
|
end
|
595
607
|
end
|
596
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
|
+
|
597
628
|
class Empty
|
598
629
|
# @private
|
599
630
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -615,6 +646,7 @@ module Google
|
|
615
646
|
property :forwarding_rule_target, as: 'forwardingRuleTarget'
|
616
647
|
property :fqdn, as: 'fqdn'
|
617
648
|
property :gke_master_cluster, as: 'gkeMasterCluster'
|
649
|
+
property :gke_pod, as: 'gkePod'
|
618
650
|
property :instance, as: 'instance'
|
619
651
|
property :ip_address, as: 'ipAddress'
|
620
652
|
property :load_balancer_id, as: 'loadBalancerId'
|
@@ -796,6 +828,7 @@ module Google
|
|
796
828
|
property :next_page_token, as: 'nextPageToken'
|
797
829
|
collection :operations, as: 'operations', class: Google::Apis::NetworkmanagementV1beta1::Operation, decorator: Google::Apis::NetworkmanagementV1beta1::Operation::Representation
|
798
830
|
|
831
|
+
collection :unreachable, as: 'unreachable'
|
799
832
|
end
|
800
833
|
end
|
801
834
|
|
@@ -1070,6 +1103,16 @@ module Google
|
|
1070
1103
|
end
|
1071
1104
|
end
|
1072
1105
|
|
1106
|
+
class ShowEffectiveFlowLogsConfigsResponse
|
1107
|
+
# @private
|
1108
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1109
|
+
collection :effective_flow_logs_configs, as: 'effectiveFlowLogsConfigs', class: Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig, decorator: Google::Apis::NetworkmanagementV1beta1::EffectiveVpcFlowLogsConfig::Representation
|
1110
|
+
|
1111
|
+
property :next_page_token, as: 'nextPageToken'
|
1112
|
+
collection :unreachable, as: 'unreachable'
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
|
1073
1116
|
class SingleEdgeResponse
|
1074
1117
|
# @private
|
1075
1118
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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
|
@@ -243,6 +243,13 @@ module Google
|
|
243
243
|
# The standard list page size.
|
244
244
|
# @param [String] page_token
|
245
245
|
# The standard list page token.
|
246
|
+
# @param [Boolean] return_partial_success
|
247
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
248
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
249
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
250
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
251
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
252
|
+
# explicitly documented otherwise in service or product specific documentation.
|
246
253
|
# @param [String] fields
|
247
254
|
# Selector specifying which fields to include in a partial response.
|
248
255
|
# @param [String] quota_user
|
@@ -260,7 +267,7 @@ module Google
|
|
260
267
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
261
268
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
269
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
|
-
def list_organization_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
270
|
+
def list_organization_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
264
271
|
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
265
272
|
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse::Representation
|
266
273
|
command.response_class = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse
|
@@ -268,6 +275,7 @@ module Google
|
|
268
275
|
command.query['filter'] = filter unless filter.nil?
|
269
276
|
command.query['pageSize'] = page_size unless page_size.nil?
|
270
277
|
command.query['pageToken'] = page_token unless page_token.nil?
|
278
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
271
279
|
command.query['fields'] = fields unless fields.nil?
|
272
280
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
281
|
execute_or_queue_command(command, &block)
|
@@ -517,8 +525,8 @@ module Google
|
|
517
525
|
# @param [String] name
|
518
526
|
# The resource that owns the locations collection, if applicable.
|
519
527
|
# @param [Array<String>, String] extra_location_types
|
520
|
-
# Optional.
|
521
|
-
#
|
528
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
529
|
+
# field which is primarily intended for internal usage.
|
522
530
|
# @param [String] filter
|
523
531
|
# A filter to narrow down results to a preferred subset. The filtering language
|
524
532
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -1044,6 +1052,13 @@ module Google
|
|
1044
1052
|
# The standard list page size.
|
1045
1053
|
# @param [String] page_token
|
1046
1054
|
# The standard list page token.
|
1055
|
+
# @param [Boolean] return_partial_success
|
1056
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
1057
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
1058
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
1059
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
1060
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
1061
|
+
# explicitly documented otherwise in service or product specific documentation.
|
1047
1062
|
# @param [String] fields
|
1048
1063
|
# Selector specifying which fields to include in a partial response.
|
1049
1064
|
# @param [String] quota_user
|
@@ -1061,7 +1076,7 @@ module Google
|
|
1061
1076
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1062
1077
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
1078
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1064
|
-
def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
|
+
def list_project_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1065
1080
|
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
1066
1081
|
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse::Representation
|
1067
1082
|
command.response_class = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse
|
@@ -1069,6 +1084,7 @@ module Google
|
|
1069
1084
|
command.query['filter'] = filter unless filter.nil?
|
1070
1085
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1071
1086
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1087
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
1072
1088
|
command.query['fields'] = fields unless fields.nil?
|
1073
1089
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1074
1090
|
execute_or_queue_command(command, &block)
|
@@ -1326,6 +1342,55 @@ module Google
|
|
1326
1342
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1327
1343
|
execute_or_queue_command(command, &block)
|
1328
1344
|
end
|
1345
|
+
|
1346
|
+
# ShowEffectiveFlowLogsConfigs returns a list of all VPC Flow Logs
|
1347
|
+
# configurations applicable to a specified resource.
|
1348
|
+
# @param [String] parent
|
1349
|
+
# Required. The parent resource of the VpcFlowLogsConfig, specified in the
|
1350
|
+
# following format: `projects/`project_id`/locations/global`
|
1351
|
+
# @param [String] filter
|
1352
|
+
# Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
|
1353
|
+
# expression. A filter expression must use the supported [CEL logic operators] (
|
1354
|
+
# https://cloud.google.com/vpc/docs/about-flow-logs-records#
|
1355
|
+
# supported_cel_logic_operators).
|
1356
|
+
# @param [Fixnum] page_size
|
1357
|
+
# Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
|
1358
|
+
# @param [String] page_token
|
1359
|
+
# Optional. Page token from an earlier query, as returned in `next_page_token`.
|
1360
|
+
# @param [String] resource
|
1361
|
+
# Required. The resource to get the effective VPC Flow Logs configuration for.
|
1362
|
+
# The resource must belong to the same project as the parent. The resource must
|
1363
|
+
# be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.
|
1364
|
+
# @param [String] fields
|
1365
|
+
# Selector specifying which fields to include in a partial response.
|
1366
|
+
# @param [String] quota_user
|
1367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1369
|
+
# @param [Google::Apis::RequestOptions] options
|
1370
|
+
# Request-specific options
|
1371
|
+
#
|
1372
|
+
# @yield [result, err] Result & error if block supplied
|
1373
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse] parsed result object
|
1374
|
+
# @yieldparam err [StandardError] error object if request failed
|
1375
|
+
#
|
1376
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse]
|
1377
|
+
#
|
1378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1381
|
+
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)
|
1382
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/vpcFlowLogsConfigs:showEffectiveFlowLogsConfigs', options)
|
1383
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse::Representation
|
1384
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::ShowEffectiveFlowLogsConfigsResponse
|
1385
|
+
command.params['parent'] = parent unless parent.nil?
|
1386
|
+
command.query['filter'] = filter unless filter.nil?
|
1387
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1388
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1389
|
+
command.query['resource'] = resource unless resource.nil?
|
1390
|
+
command.query['fields'] = fields unless fields.nil?
|
1391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1392
|
+
execute_or_queue_command(command, &block)
|
1393
|
+
end
|
1329
1394
|
|
1330
1395
|
protected
|
1331
1396
|
|
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.67.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.67.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:
|