google-apis-networkmanagement_v1beta1 0.52.0 → 0.53.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 +5 -0
- data/lib/google/apis/networkmanagement_v1beta1/classes.rb +86 -2
- data/lib/google/apis/networkmanagement_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/networkmanagement_v1beta1/representations.rb +35 -0
- data/lib/google/apis/networkmanagement_v1beta1/service.rb +237 -13
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c149f8b49273024b35a53c91946e9b2d89f4d1936f3bbc93e4a911adf8531e7
|
4
|
+
data.tar.gz: 4570a8e28a439db52bd8662721235eba2e9482673d1c30659a2c1b7bf53f479a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d958bd9f806a9cb42d9ffbbe1a32490d6782685391062dd46e3164e90b35a8a144251bc4154480a906068df524e3b5e80319b1753c855d47cd90eb59764464fe
|
7
|
+
data.tar.gz: b8fa2f35c1f01831d521164fdf4c34d2de79d699f0c6efacfc941884095766845b02d5d0cef3e74072136e21b1c41ab97facb7fdc531346196f9072871440884
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-networkmanagement_v1beta1
|
2
2
|
|
3
|
+
### v0.53.0 (2025-03-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250219
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.52.0 (2024-12-22)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241210
|
@@ -620,6 +620,50 @@ module Google
|
|
620
620
|
end
|
621
621
|
end
|
622
622
|
|
623
|
+
# For display only. Metadata associated with a serverless direct VPC egress
|
624
|
+
# connection.
|
625
|
+
class DirectVpcEgressConnectionInfo
|
626
|
+
include Google::Apis::Core::Hashable
|
627
|
+
|
628
|
+
# URI of direct access network.
|
629
|
+
# Corresponds to the JSON property `networkUri`
|
630
|
+
# @return [String]
|
631
|
+
attr_accessor :network_uri
|
632
|
+
|
633
|
+
# Region in which the Direct VPC egress is deployed.
|
634
|
+
# Corresponds to the JSON property `region`
|
635
|
+
# @return [String]
|
636
|
+
attr_accessor :region
|
637
|
+
|
638
|
+
# Selected starting IP address, from the selected IP range.
|
639
|
+
# Corresponds to the JSON property `selectedIpAddress`
|
640
|
+
# @return [String]
|
641
|
+
attr_accessor :selected_ip_address
|
642
|
+
|
643
|
+
# Selected IP range.
|
644
|
+
# Corresponds to the JSON property `selectedIpRange`
|
645
|
+
# @return [String]
|
646
|
+
attr_accessor :selected_ip_range
|
647
|
+
|
648
|
+
# URI of direct access subnetwork.
|
649
|
+
# Corresponds to the JSON property `subnetworkUri`
|
650
|
+
# @return [String]
|
651
|
+
attr_accessor :subnetwork_uri
|
652
|
+
|
653
|
+
def initialize(**args)
|
654
|
+
update!(**args)
|
655
|
+
end
|
656
|
+
|
657
|
+
# Update properties of this object
|
658
|
+
def update!(**args)
|
659
|
+
@network_uri = args[:network_uri] if args.key?(:network_uri)
|
660
|
+
@region = args[:region] if args.key?(:region)
|
661
|
+
@selected_ip_address = args[:selected_ip_address] if args.key?(:selected_ip_address)
|
662
|
+
@selected_ip_range = args[:selected_ip_range] if args.key?(:selected_ip_range)
|
663
|
+
@subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
623
667
|
# Details of the final state "drop" and associated resource.
|
624
668
|
class DropInfo
|
625
669
|
include Google::Apis::Core::Hashable
|
@@ -703,6 +747,11 @@ module Google
|
|
703
747
|
class Endpoint
|
704
748
|
include Google::Apis::Core::Hashable
|
705
749
|
|
750
|
+
# An [AlloyDB Instance](https://cloud.google.com/alloydb) URI.
|
751
|
+
# Corresponds to the JSON property `alloyDbInstance`
|
752
|
+
# @return [String]
|
753
|
+
attr_accessor :alloy_db_instance
|
754
|
+
|
706
755
|
# Wrapper for the App Engine service version attributes.
|
707
756
|
# Corresponds to the JSON property `appEngineVersion`
|
708
757
|
# @return [Google::Apis::NetworkmanagementV1beta1::AppEngineVersionEndpoint]
|
@@ -817,6 +866,7 @@ module Google
|
|
817
866
|
|
818
867
|
# Update properties of this object
|
819
868
|
def update!(**args)
|
869
|
+
@alloy_db_instance = args[:alloy_db_instance] if args.key?(:alloy_db_instance)
|
820
870
|
@app_engine_version = args[:app_engine_version] if args.key?(:app_engine_version)
|
821
871
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
822
872
|
@cloud_run_revision = args[:cloud_run_revision] if args.key?(:cloud_run_revision)
|
@@ -2500,6 +2550,25 @@ module Google
|
|
2500
2550
|
end
|
2501
2551
|
end
|
2502
2552
|
|
2553
|
+
# For display only. Metadata associated with a serverless public connection.
|
2554
|
+
class ServerlessExternalConnectionInfo
|
2555
|
+
include Google::Apis::Core::Hashable
|
2556
|
+
|
2557
|
+
# Selected starting IP address, from the Google dynamic address pool.
|
2558
|
+
# Corresponds to the JSON property `selectedIpAddress`
|
2559
|
+
# @return [String]
|
2560
|
+
attr_accessor :selected_ip_address
|
2561
|
+
|
2562
|
+
def initialize(**args)
|
2563
|
+
update!(**args)
|
2564
|
+
end
|
2565
|
+
|
2566
|
+
# Update properties of this object
|
2567
|
+
def update!(**args)
|
2568
|
+
@selected_ip_address = args[:selected_ip_address] if args.key?(:selected_ip_address)
|
2569
|
+
end
|
2570
|
+
end
|
2571
|
+
|
2503
2572
|
# For display only. Metadata associated with the serverless network endpoint
|
2504
2573
|
# group backend.
|
2505
2574
|
class ServerlessNegInfo
|
@@ -2658,6 +2727,12 @@ module Google
|
|
2658
2727
|
# @return [String]
|
2659
2728
|
attr_accessor :description
|
2660
2729
|
|
2730
|
+
# For display only. Metadata associated with a serverless direct VPC egress
|
2731
|
+
# connection.
|
2732
|
+
# Corresponds to the JSON property `directVpcEgressConnection`
|
2733
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::DirectVpcEgressConnectionInfo]
|
2734
|
+
attr_accessor :direct_vpc_egress_connection
|
2735
|
+
|
2661
2736
|
# Details of the final state "drop" and associated resource.
|
2662
2737
|
# Corresponds to the JSON property `drop`
|
2663
2738
|
# @return [Google::Apis::NetworkmanagementV1beta1::DropInfo]
|
@@ -2752,6 +2827,11 @@ module Google
|
|
2752
2827
|
# @return [Google::Apis::NetworkmanagementV1beta1::RouteInfo]
|
2753
2828
|
attr_accessor :route
|
2754
2829
|
|
2830
|
+
# For display only. Metadata associated with a serverless public connection.
|
2831
|
+
# Corresponds to the JSON property `serverlessExternalConnection`
|
2832
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ServerlessExternalConnectionInfo]
|
2833
|
+
attr_accessor :serverless_external_connection
|
2834
|
+
|
2755
2835
|
# For display only. Metadata associated with the serverless network endpoint
|
2756
2836
|
# group backend.
|
2757
2837
|
# Corresponds to the JSON property `serverlessNeg`
|
@@ -2797,6 +2877,7 @@ module Google
|
|
2797
2877
|
@cloud_sql_instance = args[:cloud_sql_instance] if args.key?(:cloud_sql_instance)
|
2798
2878
|
@deliver = args[:deliver] if args.key?(:deliver)
|
2799
2879
|
@description = args[:description] if args.key?(:description)
|
2880
|
+
@direct_vpc_egress_connection = args[:direct_vpc_egress_connection] if args.key?(:direct_vpc_egress_connection)
|
2800
2881
|
@drop = args[:drop] if args.key?(:drop)
|
2801
2882
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
2802
2883
|
@firewall = args[:firewall] if args.key?(:firewall)
|
@@ -2814,6 +2895,7 @@ module Google
|
|
2814
2895
|
@redis_cluster = args[:redis_cluster] if args.key?(:redis_cluster)
|
2815
2896
|
@redis_instance = args[:redis_instance] if args.key?(:redis_instance)
|
2816
2897
|
@route = args[:route] if args.key?(:route)
|
2898
|
+
@serverless_external_connection = args[:serverless_external_connection] if args.key?(:serverless_external_connection)
|
2817
2899
|
@serverless_neg = args[:serverless_neg] if args.key?(:serverless_neg)
|
2818
2900
|
@state = args[:state] if args.key?(:state)
|
2819
2901
|
@storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket)
|
@@ -3014,8 +3096,10 @@ module Google
|
|
3014
3096
|
# @return [Array<String>]
|
3015
3097
|
attr_accessor :metadata_fields
|
3016
3098
|
|
3017
|
-
# Identifier. Unique name of the configuration using the
|
3018
|
-
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
3099
|
+
# Identifier. Unique name of the configuration using one of the forms: `projects/
|
3100
|
+
# `project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` `
|
3101
|
+
# organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
|
3102
|
+
# vpc_flow_logs_config_id``
|
3019
3103
|
# Corresponds to the JSON property `name`
|
3020
3104
|
# @return [String]
|
3021
3105
|
attr_accessor :name
|
@@ -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.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class DirectVpcEgressConnectionInfo
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class DropInfo
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -310,6 +316,12 @@ module Google
|
|
310
316
|
include Google::Apis::Core::JsonObjectSupport
|
311
317
|
end
|
312
318
|
|
319
|
+
class ServerlessExternalConnectionInfo
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
313
325
|
class ServerlessNegInfo
|
314
326
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
327
|
|
@@ -525,6 +537,17 @@ module Google
|
|
525
537
|
end
|
526
538
|
end
|
527
539
|
|
540
|
+
class DirectVpcEgressConnectionInfo
|
541
|
+
# @private
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
543
|
+
property :network_uri, as: 'networkUri'
|
544
|
+
property :region, as: 'region'
|
545
|
+
property :selected_ip_address, as: 'selectedIpAddress'
|
546
|
+
property :selected_ip_range, as: 'selectedIpRange'
|
547
|
+
property :subnetwork_uri, as: 'subnetworkUri'
|
548
|
+
end
|
549
|
+
end
|
550
|
+
|
528
551
|
class DropInfo
|
529
552
|
# @private
|
530
553
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -552,6 +575,7 @@ module Google
|
|
552
575
|
class Endpoint
|
553
576
|
# @private
|
554
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :alloy_db_instance, as: 'alloyDbInstance'
|
555
579
|
property :app_engine_version, as: 'appEngineVersion', class: Google::Apis::NetworkmanagementV1beta1::AppEngineVersionEndpoint, decorator: Google::Apis::NetworkmanagementV1beta1::AppEngineVersionEndpoint::Representation
|
556
580
|
|
557
581
|
property :cloud_function, as: 'cloudFunction', class: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint, decorator: Google::Apis::NetworkmanagementV1beta1::CloudFunctionEndpoint::Representation
|
@@ -956,6 +980,13 @@ module Google
|
|
956
980
|
end
|
957
981
|
end
|
958
982
|
|
983
|
+
class ServerlessExternalConnectionInfo
|
984
|
+
# @private
|
985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
986
|
+
property :selected_ip_address, as: 'selectedIpAddress'
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
959
990
|
class ServerlessNegInfo
|
960
991
|
# @private
|
961
992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -998,6 +1029,8 @@ module Google
|
|
998
1029
|
property :deliver, as: 'deliver', class: Google::Apis::NetworkmanagementV1beta1::DeliverInfo, decorator: Google::Apis::NetworkmanagementV1beta1::DeliverInfo::Representation
|
999
1030
|
|
1000
1031
|
property :description, as: 'description'
|
1032
|
+
property :direct_vpc_egress_connection, as: 'directVpcEgressConnection', class: Google::Apis::NetworkmanagementV1beta1::DirectVpcEgressConnectionInfo, decorator: Google::Apis::NetworkmanagementV1beta1::DirectVpcEgressConnectionInfo::Representation
|
1033
|
+
|
1001
1034
|
property :drop, as: 'drop', class: Google::Apis::NetworkmanagementV1beta1::DropInfo, decorator: Google::Apis::NetworkmanagementV1beta1::DropInfo::Representation
|
1002
1035
|
|
1003
1036
|
property :endpoint, as: 'endpoint', class: Google::Apis::NetworkmanagementV1beta1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1beta1::EndpointInfo::Representation
|
@@ -1031,6 +1064,8 @@ module Google
|
|
1031
1064
|
|
1032
1065
|
property :route, as: 'route', class: Google::Apis::NetworkmanagementV1beta1::RouteInfo, decorator: Google::Apis::NetworkmanagementV1beta1::RouteInfo::Representation
|
1033
1066
|
|
1067
|
+
property :serverless_external_connection, as: 'serverlessExternalConnection', class: Google::Apis::NetworkmanagementV1beta1::ServerlessExternalConnectionInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ServerlessExternalConnectionInfo::Representation
|
1068
|
+
|
1034
1069
|
property :serverless_neg, as: 'serverlessNeg', class: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo, decorator: Google::Apis::NetworkmanagementV1beta1::ServerlessNegInfo::Representation
|
1035
1070
|
|
1036
1071
|
property :state, as: 'state'
|
@@ -52,6 +52,223 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Gets information about a location.
|
56
|
+
# @param [String] name
|
57
|
+
# Resource name for the location.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Location] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Location]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
77
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Location::Representation
|
78
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Location
|
79
|
+
command.params['name'] = name unless name.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Lists information about the supported locations for this service.
|
86
|
+
# @param [String] name
|
87
|
+
# The resource that owns the locations collection, if applicable.
|
88
|
+
# @param [String] filter
|
89
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
90
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
91
|
+
# in [AIP-160](https://google.aip.dev/160).
|
92
|
+
# @param [Fixnum] page_size
|
93
|
+
# The maximum number of results to return. If not set, the service selects a
|
94
|
+
# default.
|
95
|
+
# @param [String] page_token
|
96
|
+
# A page token received from the `next_page_token` field in the response. Send
|
97
|
+
# that page token to receive the subsequent page.
|
98
|
+
# @param [String] fields
|
99
|
+
# Selector specifying which fields to include in a partial response.
|
100
|
+
# @param [String] quota_user
|
101
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
102
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
103
|
+
# @param [Google::Apis::RequestOptions] options
|
104
|
+
# Request-specific options
|
105
|
+
#
|
106
|
+
# @yield [result, err] Result & error if block supplied
|
107
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse] parsed result object
|
108
|
+
# @yieldparam err [StandardError] error object if request failed
|
109
|
+
#
|
110
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse]
|
111
|
+
#
|
112
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
+
def list_organization_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
116
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
117
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse::Representation
|
118
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::ListLocationsResponse
|
119
|
+
command.params['name'] = name unless name.nil?
|
120
|
+
command.query['filter'] = filter unless filter.nil?
|
121
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
122
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
123
|
+
command.query['fields'] = fields unless fields.nil?
|
124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
125
|
+
execute_or_queue_command(command, &block)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
129
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
130
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
131
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
132
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
133
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
134
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
135
|
+
# , corresponding to `Code.CANCELLED`.
|
136
|
+
# @param [String] name
|
137
|
+
# The name of the operation resource to be cancelled.
|
138
|
+
# @param [Google::Apis::NetworkmanagementV1beta1::CancelOperationRequest] cancel_operation_request_object
|
139
|
+
# @param [String] fields
|
140
|
+
# Selector specifying which fields to include in a partial response.
|
141
|
+
# @param [String] quota_user
|
142
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
143
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
144
|
+
# @param [Google::Apis::RequestOptions] options
|
145
|
+
# Request-specific options
|
146
|
+
#
|
147
|
+
# @yield [result, err] Result & error if block supplied
|
148
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Empty] parsed result object
|
149
|
+
# @yieldparam err [StandardError] error object if request failed
|
150
|
+
#
|
151
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Empty]
|
152
|
+
#
|
153
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
154
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
|
+
def cancel_organization_location_global_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
157
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
158
|
+
command.request_representation = Google::Apis::NetworkmanagementV1beta1::CancelOperationRequest::Representation
|
159
|
+
command.request_object = cancel_operation_request_object
|
160
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Empty::Representation
|
161
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Empty
|
162
|
+
command.params['name'] = name unless name.nil?
|
163
|
+
command.query['fields'] = fields unless fields.nil?
|
164
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
|
+
execute_or_queue_command(command, &block)
|
166
|
+
end
|
167
|
+
|
168
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
169
|
+
# longer interested in the operation result. It does not cancel the operation.
|
170
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
171
|
+
# UNIMPLEMENTED`.
|
172
|
+
# @param [String] name
|
173
|
+
# The name of the operation resource to be deleted.
|
174
|
+
# @param [String] fields
|
175
|
+
# Selector specifying which fields to include in a partial response.
|
176
|
+
# @param [String] quota_user
|
177
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
178
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
179
|
+
# @param [Google::Apis::RequestOptions] options
|
180
|
+
# Request-specific options
|
181
|
+
#
|
182
|
+
# @yield [result, err] Result & error if block supplied
|
183
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Empty] parsed result object
|
184
|
+
# @yieldparam err [StandardError] error object if request failed
|
185
|
+
#
|
186
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Empty]
|
187
|
+
#
|
188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
+
def delete_organization_location_global_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
192
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
193
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Empty::Representation
|
194
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Empty
|
195
|
+
command.params['name'] = name unless name.nil?
|
196
|
+
command.query['fields'] = fields unless fields.nil?
|
197
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
198
|
+
execute_or_queue_command(command, &block)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
202
|
+
# to poll the operation result at intervals as recommended by the API service.
|
203
|
+
# @param [String] name
|
204
|
+
# The name of the operation resource.
|
205
|
+
# @param [String] fields
|
206
|
+
# Selector specifying which fields to include in a partial response.
|
207
|
+
# @param [String] quota_user
|
208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
210
|
+
# @param [Google::Apis::RequestOptions] options
|
211
|
+
# Request-specific options
|
212
|
+
#
|
213
|
+
# @yield [result, err] Result & error if block supplied
|
214
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::Operation] parsed result object
|
215
|
+
# @yieldparam err [StandardError] error object if request failed
|
216
|
+
#
|
217
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Operation]
|
218
|
+
#
|
219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
222
|
+
def get_organization_location_global_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
224
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::Operation::Representation
|
225
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::Operation
|
226
|
+
command.params['name'] = name unless name.nil?
|
227
|
+
command.query['fields'] = fields unless fields.nil?
|
228
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
229
|
+
execute_or_queue_command(command, &block)
|
230
|
+
end
|
231
|
+
|
232
|
+
# Lists operations that match the specified filter in the request. If the server
|
233
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
234
|
+
# @param [String] name
|
235
|
+
# The name of the operation's parent resource.
|
236
|
+
# @param [String] filter
|
237
|
+
# The standard list filter.
|
238
|
+
# @param [Fixnum] page_size
|
239
|
+
# The standard list page size.
|
240
|
+
# @param [String] page_token
|
241
|
+
# The standard list page token.
|
242
|
+
# @param [String] fields
|
243
|
+
# Selector specifying which fields to include in a partial response.
|
244
|
+
# @param [String] quota_user
|
245
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
246
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
247
|
+
# @param [Google::Apis::RequestOptions] options
|
248
|
+
# Request-specific options
|
249
|
+
#
|
250
|
+
# @yield [result, err] Result & error if block supplied
|
251
|
+
# @yieldparam result [Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse] parsed result object
|
252
|
+
# @yieldparam err [StandardError] error object if request failed
|
253
|
+
#
|
254
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse]
|
255
|
+
#
|
256
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
257
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
258
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
259
|
+
def list_organization_location_global_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
260
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
261
|
+
command.response_representation = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse::Representation
|
262
|
+
command.response_class = Google::Apis::NetworkmanagementV1beta1::ListOperationsResponse
|
263
|
+
command.params['name'] = name unless name.nil?
|
264
|
+
command.query['filter'] = filter unless filter.nil?
|
265
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
266
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
267
|
+
command.query['fields'] = fields unless fields.nil?
|
268
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
+
execute_or_queue_command(command, &block)
|
270
|
+
end
|
271
|
+
|
55
272
|
# Gets information about a location.
|
56
273
|
# @param [String] name
|
57
274
|
# Resource name for the location.
|
@@ -641,14 +858,15 @@ module Google
|
|
641
858
|
|
642
859
|
# Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same
|
643
860
|
# settings already exists (even if the ID is different), the creation fails.
|
644
|
-
# Notes: 1. Creating a configuration with state=DISABLED will fail
|
861
|
+
# Notes: 1. Creating a configuration with state=DISABLED will fail 2. The
|
645
862
|
# following fields are not considered as `settings` for the purpose of the check
|
646
863
|
# mentioned above, therefore - creating another configuration with the same
|
647
|
-
# fields but different values for the following fields will fail as well:
|
648
|
-
#
|
864
|
+
# fields but different values for the following fields will fail as well: * name
|
865
|
+
# * create_time * update_time * labels * description
|
649
866
|
# @param [String] parent
|
650
867
|
# Required. The parent resource of the VPC Flow Logs configuration to create: `
|
651
|
-
# projects/`project_id`/locations/global`
|
868
|
+
# projects/`project_id`/locations/global` `organizations/`organization_id`/
|
869
|
+
# locations/global`
|
652
870
|
# @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
653
871
|
# @param [String] vpc_flow_logs_config_id
|
654
872
|
# Required. ID of the `VpcFlowLogsConfig`.
|
@@ -684,8 +902,10 @@ module Google
|
|
684
902
|
|
685
903
|
# Deletes a specific `VpcFlowLogsConfig`.
|
686
904
|
# @param [String] name
|
687
|
-
# Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
|
688
|
-
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
|
905
|
+
# Required. `VpcFlowLogsConfig` resource name using one of the form: `projects/`
|
906
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config`` `
|
907
|
+
# organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
|
908
|
+
# vpc_flow_logs_config``
|
689
909
|
# @param [String] fields
|
690
910
|
# Selector specifying which fields to include in a partial response.
|
691
911
|
# @param [String] quota_user
|
@@ -716,7 +936,9 @@ module Google
|
|
716
936
|
# Gets the details of a specific `VpcFlowLogsConfig`.
|
717
937
|
# @param [String] name
|
718
938
|
# Required. `VpcFlowLogsConfig` resource name using the form: `projects/`
|
719
|
-
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config``
|
939
|
+
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config`` `
|
940
|
+
# organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
|
941
|
+
# vpc_flow_logs_config``
|
720
942
|
# @param [String] fields
|
721
943
|
# Selector specifying which fields to include in a partial response.
|
722
944
|
# @param [String] quota_user
|
@@ -747,7 +969,7 @@ module Google
|
|
747
969
|
# Lists all `VpcFlowLogsConfigs` in a given project.
|
748
970
|
# @param [String] parent
|
749
971
|
# Required. The parent resource of the VpcFlowLogsConfig: `projects/`project_id`/
|
750
|
-
# locations/global`
|
972
|
+
# locations/global` `organizations/`organization_id`/locations/global`
|
751
973
|
# @param [String] filter
|
752
974
|
# Optional. Lists the `VpcFlowLogsConfigs` that match the filter expression. A
|
753
975
|
# filter expression must use the supported [CEL logic operators] (https://cloud.
|
@@ -791,14 +1013,16 @@ module Google
|
|
791
1013
|
|
792
1014
|
# Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact
|
793
1015
|
# same settings already exists (even if the ID is different), the creation fails.
|
794
|
-
# Notes: 1. Updating a configuration with state=DISABLED will fail
|
1016
|
+
# Notes: 1. Updating a configuration with state=DISABLED will fail 2. The
|
795
1017
|
# following fields are not considered as `settings` for the purpose of the check
|
796
1018
|
# mentioned above, therefore - updating another configuration with the same
|
797
|
-
# fields but different values for the following fields will fail as well:
|
798
|
-
#
|
1019
|
+
# fields but different values for the following fields will fail as well: * name
|
1020
|
+
# * create_time * update_time * labels * description
|
799
1021
|
# @param [String] name
|
800
|
-
# Identifier. Unique name of the configuration using the
|
801
|
-
# project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id``
|
1022
|
+
# Identifier. Unique name of the configuration using one of the forms: `projects/
|
1023
|
+
# `project_id`/locations/global/vpcFlowLogsConfigs/`vpc_flow_logs_config_id`` `
|
1024
|
+
# organizations/`organization_id`/locations/global/vpcFlowLogsConfigs/`
|
1025
|
+
# vpc_flow_logs_config_id``
|
802
1026
|
# @param [Google::Apis::NetworkmanagementV1beta1::VpcFlowLogsConfig] vpc_flow_logs_config_object
|
803
1027
|
# @param [String] update_mask
|
804
1028
|
# Required. Mask of fields to update. At least one path must be supplied in this
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1beta1/v0.53.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1beta1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Network Management API V1beta1
|
82
79
|
test_files: []
|