google-apis-networkservices_v1beta1 0.73.0 → 0.74.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 +4 -0
- data/lib/google/apis/networkservices_v1beta1/classes.rb +194 -11
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +70 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +188 -0
- 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: 3b5008d172ce53fc2cfb8fced9f620601efab6c3b5a3b12bcbcce441a011151c
|
|
4
|
+
data.tar.gz: e2f714f11f4216ed08c42a59e4ec44b07b83581499f5640078d173d0e672d3d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0dbbf86793bdd1a0f6da3a8bd3668d17ae17b10dae3de1984c8d4b10b7e0e9cd76895b4b4722c25f036ba3939304cc693e00f133d5c9a56f0b549d34c91dff3
|
|
7
|
+
data.tar.gz: bbc698d6ea2e4920c1265b0a7a450ad239efd2bd5b09b7d2a5ff4f0541d3a804bd3d872d806957d2cc3e1c17c7997921f3a0c3248765f72d7c34a03ceeb583ea
|
data/CHANGELOG.md
CHANGED
|
@@ -22,10 +22,91 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module NetworkservicesV1beta1
|
|
24
24
|
|
|
25
|
+
# AgentConnectivityTemplate represents a reusable network configuration.
|
|
26
|
+
class AgentConnectivityTemplate
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Required. Immutable. The path of the access. Maps roughly to ingress/egress,
|
|
30
|
+
# though we keep CLIENT_TO_AGENT and AGENT_TO_ANYWHERE as carryovers from Agent
|
|
31
|
+
# Gateway's original resource model. The path is immutable once set. Exactly one
|
|
32
|
+
# path can be set.
|
|
33
|
+
# Corresponds to the JSON property `accessPath`
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :access_path
|
|
36
|
+
|
|
37
|
+
# Optional. The types of network access provided to the gateway. Both PUBLIC and
|
|
38
|
+
# PRIVATE can be configured.
|
|
39
|
+
# Corresponds to the JSON property `accessTypes`
|
|
40
|
+
# @return [Array<String>]
|
|
41
|
+
attr_accessor :access_types
|
|
42
|
+
|
|
43
|
+
# Output only. The timestamp when the resource was created.
|
|
44
|
+
# Corresponds to the JSON property `createTime`
|
|
45
|
+
# @return [String]
|
|
46
|
+
attr_accessor :create_time
|
|
47
|
+
|
|
48
|
+
# Optional. A free-text description of the resource. Max length 1024 characters.
|
|
49
|
+
# Corresponds to the JSON property `description`
|
|
50
|
+
# @return [String]
|
|
51
|
+
attr_accessor :description
|
|
52
|
+
|
|
53
|
+
# Optional. Configuration for egress network traffic.
|
|
54
|
+
# Corresponds to the JSON property `egressNetworkConfig`
|
|
55
|
+
# @return [Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig]
|
|
56
|
+
attr_accessor :egress_network_config
|
|
57
|
+
|
|
58
|
+
# Optional. Etag of the resource. If this is provided, it must match the server'
|
|
59
|
+
# s etag. If the provided etag does not match the server's etag, the request
|
|
60
|
+
# will fail with a 409 ABORTED error.
|
|
61
|
+
# Corresponds to the JSON property `etag`
|
|
62
|
+
# @return [String]
|
|
63
|
+
attr_accessor :etag
|
|
64
|
+
|
|
65
|
+
# Optional. Set of label tags associated with the AgentConnectivityTemplate
|
|
66
|
+
# resource.
|
|
67
|
+
# Corresponds to the JSON property `labels`
|
|
68
|
+
# @return [Hash<String,String>]
|
|
69
|
+
attr_accessor :labels
|
|
70
|
+
|
|
71
|
+
# Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern
|
|
72
|
+
# `projects/*/locations/*/agentConnectivityTemplates/`.
|
|
73
|
+
# Corresponds to the JSON property `name`
|
|
74
|
+
# @return [String]
|
|
75
|
+
attr_accessor :name
|
|
76
|
+
|
|
77
|
+
# Output only. The timestamp when the resource was updated.
|
|
78
|
+
# Corresponds to the JSON property `updateTime`
|
|
79
|
+
# @return [String]
|
|
80
|
+
attr_accessor :update_time
|
|
81
|
+
|
|
82
|
+
def initialize(**args)
|
|
83
|
+
update!(**args)
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Update properties of this object
|
|
87
|
+
def update!(**args)
|
|
88
|
+
@access_path = args[:access_path] if args.key?(:access_path)
|
|
89
|
+
@access_types = args[:access_types] if args.key?(:access_types)
|
|
90
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
91
|
+
@description = args[:description] if args.key?(:description)
|
|
92
|
+
@egress_network_config = args[:egress_network_config] if args.key?(:egress_network_config)
|
|
93
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
94
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
95
|
+
@name = args[:name] if args.key?(:name)
|
|
96
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
25
100
|
# AgentGateway represents the agent gateway resource.
|
|
26
101
|
class AgentGateway
|
|
27
102
|
include Google::Apis::Core::Hashable
|
|
28
103
|
|
|
104
|
+
# Optional. The resource name of the AgentConnectivityTemplate. Format: projects/
|
|
105
|
+
# `project`/locations/`location`/agentConnectivityTemplates/`template`
|
|
106
|
+
# Corresponds to the JSON property `agentConnectivityTemplate`
|
|
107
|
+
# @return [String]
|
|
108
|
+
attr_accessor :agent_connectivity_template
|
|
109
|
+
|
|
29
110
|
# AgentGatewayOutputCard contains informational output-only fields
|
|
30
111
|
# Corresponds to the JSON property `agentGatewayCard`
|
|
31
112
|
# @return [Google::Apis::NetworkservicesV1beta1::AgentGatewayAgentGatewayOutputCard]
|
|
@@ -100,6 +181,7 @@ module Google
|
|
|
100
181
|
|
|
101
182
|
# Update properties of this object
|
|
102
183
|
def update!(**args)
|
|
184
|
+
@agent_connectivity_template = args[:agent_connectivity_template] if args.key?(:agent_connectivity_template)
|
|
103
185
|
@agent_gateway_card = args[:agent_gateway_card] if args.key?(:agent_gateway_card)
|
|
104
186
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
105
187
|
@description = args[:description] if args.key?(:description)
|
|
@@ -434,6 +516,71 @@ module Google
|
|
|
434
516
|
end
|
|
435
517
|
end
|
|
436
518
|
|
|
519
|
+
# DNS Peering configuration.
|
|
520
|
+
class DnsPeeringConfig
|
|
521
|
+
include Google::Apis::Core::Hashable
|
|
522
|
+
|
|
523
|
+
# Optional. The domain to peer.
|
|
524
|
+
# Corresponds to the JSON property `domain`
|
|
525
|
+
# @return [String]
|
|
526
|
+
attr_accessor :domain
|
|
527
|
+
|
|
528
|
+
# Optional. The target network resource name for DNS peering. Format: projects/`
|
|
529
|
+
# project`/global/networks/`network_id`
|
|
530
|
+
# Corresponds to the JSON property `targetNetwork`
|
|
531
|
+
# @return [String]
|
|
532
|
+
attr_accessor :target_network
|
|
533
|
+
|
|
534
|
+
def initialize(**args)
|
|
535
|
+
update!(**args)
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# Update properties of this object
|
|
539
|
+
def update!(**args)
|
|
540
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
541
|
+
@target_network = args[:target_network] if args.key?(:target_network)
|
|
542
|
+
end
|
|
543
|
+
end
|
|
544
|
+
|
|
545
|
+
#
|
|
546
|
+
class EgressNetworkConfig
|
|
547
|
+
include Google::Apis::Core::Hashable
|
|
548
|
+
|
|
549
|
+
# DNS Peering configuration.
|
|
550
|
+
# Corresponds to the JSON property `dnsPeeringConfig`
|
|
551
|
+
# @return [Google::Apis::NetworkservicesV1beta1::DnsPeeringConfig]
|
|
552
|
+
attr_accessor :dns_peering_config
|
|
553
|
+
|
|
554
|
+
# Optional. The network attachment resource name. Format: projects/`project`/
|
|
555
|
+
# regions/`region`/networkAttachments/`network_attachment_id`
|
|
556
|
+
# Corresponds to the JSON property `networkAttachment`
|
|
557
|
+
# @return [String]
|
|
558
|
+
attr_accessor :network_attachment
|
|
559
|
+
|
|
560
|
+
# Optional. Deprecated: Use tls_config instead. The trust config resource name.
|
|
561
|
+
# Format: projects/`project`/locations/`location`/trustConfigs/`trust_config`
|
|
562
|
+
# Corresponds to the JSON property `trustConfig`
|
|
563
|
+
# @return [String]
|
|
564
|
+
attr_accessor :trust_config
|
|
565
|
+
|
|
566
|
+
# Optional. The VPC egress setting.
|
|
567
|
+
# Corresponds to the JSON property `vpcEgress`
|
|
568
|
+
# @return [String]
|
|
569
|
+
attr_accessor :vpc_egress
|
|
570
|
+
|
|
571
|
+
def initialize(**args)
|
|
572
|
+
update!(**args)
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
# Update properties of this object
|
|
576
|
+
def update!(**args)
|
|
577
|
+
@dns_peering_config = args[:dns_peering_config] if args.key?(:dns_peering_config)
|
|
578
|
+
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
|
579
|
+
@trust_config = args[:trust_config] if args.key?(:trust_config)
|
|
580
|
+
@vpc_egress = args[:vpc_egress] if args.key?(:vpc_egress)
|
|
581
|
+
end
|
|
582
|
+
end
|
|
583
|
+
|
|
437
584
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
438
585
|
# messages in your APIs. A typical example is to use it as the request or the
|
|
439
586
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
@@ -2753,6 +2900,41 @@ module Google
|
|
|
2753
2900
|
end
|
|
2754
2901
|
end
|
|
2755
2902
|
|
|
2903
|
+
# Response returned by the ListAgentConnectivityTemplates method.
|
|
2904
|
+
class ListAgentConnectivityTemplatesResponse
|
|
2905
|
+
include Google::Apis::Core::Hashable
|
|
2906
|
+
|
|
2907
|
+
# List of AgentConnectivityTemplate resources.
|
|
2908
|
+
# Corresponds to the JSON property `agentConnectivityTemplates`
|
|
2909
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate>]
|
|
2910
|
+
attr_accessor :agent_connectivity_templates
|
|
2911
|
+
|
|
2912
|
+
# If there might be more results than those appearing in this response, then `
|
|
2913
|
+
# next_page_token` is included. To get the next set of results, call this method
|
|
2914
|
+
# again using the value of `next_page_token` as `page_token`.
|
|
2915
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
2916
|
+
# @return [String]
|
|
2917
|
+
attr_accessor :next_page_token
|
|
2918
|
+
|
|
2919
|
+
# Unordered list. Unreachable resources. Populated when the request attempts to
|
|
2920
|
+
# list all resources across all supported locations, while some locations are
|
|
2921
|
+
# temporarily unavailable.
|
|
2922
|
+
# Corresponds to the JSON property `unreachable`
|
|
2923
|
+
# @return [Array<String>]
|
|
2924
|
+
attr_accessor :unreachable
|
|
2925
|
+
|
|
2926
|
+
def initialize(**args)
|
|
2927
|
+
update!(**args)
|
|
2928
|
+
end
|
|
2929
|
+
|
|
2930
|
+
# Update properties of this object
|
|
2931
|
+
def update!(**args)
|
|
2932
|
+
@agent_connectivity_templates = args[:agent_connectivity_templates] if args.key?(:agent_connectivity_templates)
|
|
2933
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2934
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
2935
|
+
end
|
|
2936
|
+
end
|
|
2937
|
+
|
|
2756
2938
|
# Response returned by the ListAgentGateways method.
|
|
2757
2939
|
class ListAgentGatewaysResponse
|
|
2758
2940
|
include Google::Apis::Core::Hashable
|
|
@@ -4653,21 +4835,22 @@ module Google
|
|
|
4653
4835
|
attr_accessor :enable
|
|
4654
4836
|
alias_method :enable?, :enable
|
|
4655
4837
|
|
|
4656
|
-
# Non-empty default. Specifies the lowest level of the plugin logs
|
|
4657
|
-
# exported to Cloud Logging. This setting relates to the logs generated
|
|
4658
|
-
# logging statements in your Wasm code. This field is can be set only
|
|
4659
|
-
# is enabled for the plugin. If the field is not provided when
|
|
4660
|
-
# enabled, it is set to `INFO` by default.
|
|
4838
|
+
# Optional. Non-empty default. Specifies the lowest level of the plugin logs
|
|
4839
|
+
# that are exported to Cloud Logging. This setting relates to the logs generated
|
|
4840
|
+
# by using logging statements in your Wasm code. This field is can be set only
|
|
4841
|
+
# if logging is enabled for the plugin. If the field is not provided when
|
|
4842
|
+
# logging is enabled, it is set to `INFO` by default.
|
|
4661
4843
|
# Corresponds to the JSON property `minLogLevel`
|
|
4662
4844
|
# @return [String]
|
|
4663
4845
|
attr_accessor :min_log_level
|
|
4664
4846
|
|
|
4665
|
-
# Non-empty default. Configures the sampling rate of activity logs,
|
|
4666
|
-
# means all logged activity is reported and `0.0` means no activity
|
|
4667
|
-
# A floating point value between `0.0` and `1.0` indicates that a
|
|
4668
|
-
# log messages is stored. The default value when logging is
|
|
4669
|
-
# The value of the field must be between `0` and `1` (
|
|
4670
|
-
# be specified only if logging is enabled for this
|
|
4847
|
+
# Optional. Non-empty default. Configures the sampling rate of activity logs,
|
|
4848
|
+
# where `1.0` means all logged activity is reported and `0.0` means no activity
|
|
4849
|
+
# is reported. A floating point value between `0.0` and `1.0` indicates that a
|
|
4850
|
+
# percentage of log messages is stored. The default value when logging is
|
|
4851
|
+
# enabled is `1.0`. The value of the field must be between `0` and `1` (
|
|
4852
|
+
# inclusive). This field can be specified only if logging is enabled for this
|
|
4853
|
+
# plugin.
|
|
4671
4854
|
# Corresponds to the JSON property `sampleRate`
|
|
4672
4855
|
# @return [Float]
|
|
4673
4856
|
attr_accessor :sample_rate
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module NetworkservicesV1beta1
|
|
18
18
|
# Version of the google-apis-networkservices_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.74.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260803"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module NetworkservicesV1beta1
|
|
24
24
|
|
|
25
|
+
class AgentConnectivityTemplate
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
class AgentGateway
|
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
33
|
|
|
@@ -76,6 +82,18 @@ module Google
|
|
|
76
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
83
|
end
|
|
78
84
|
|
|
85
|
+
class DnsPeeringConfig
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class EgressNetworkConfig
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
79
97
|
class Empty
|
|
80
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
99
|
|
|
@@ -334,6 +352,12 @@ module Google
|
|
|
334
352
|
include Google::Apis::Core::JsonObjectSupport
|
|
335
353
|
end
|
|
336
354
|
|
|
355
|
+
class ListAgentConnectivityTemplatesResponse
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
337
361
|
class ListAgentGatewaysResponse
|
|
338
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
363
|
|
|
@@ -646,9 +670,26 @@ module Google
|
|
|
646
670
|
include Google::Apis::Core::JsonObjectSupport
|
|
647
671
|
end
|
|
648
672
|
|
|
673
|
+
class AgentConnectivityTemplate
|
|
674
|
+
# @private
|
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
676
|
+
property :access_path, as: 'accessPath'
|
|
677
|
+
collection :access_types, as: 'accessTypes'
|
|
678
|
+
property :create_time, as: 'createTime'
|
|
679
|
+
property :description, as: 'description'
|
|
680
|
+
property :egress_network_config, as: 'egressNetworkConfig', class: Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig, decorator: Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig::Representation
|
|
681
|
+
|
|
682
|
+
property :etag, as: 'etag'
|
|
683
|
+
hash :labels, as: 'labels'
|
|
684
|
+
property :name, as: 'name'
|
|
685
|
+
property :update_time, as: 'updateTime'
|
|
686
|
+
end
|
|
687
|
+
end
|
|
688
|
+
|
|
649
689
|
class AgentGateway
|
|
650
690
|
# @private
|
|
651
691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
692
|
+
property :agent_connectivity_template, as: 'agentConnectivityTemplate'
|
|
652
693
|
property :agent_gateway_card, as: 'agentGatewayCard', class: Google::Apis::NetworkservicesV1beta1::AgentGatewayAgentGatewayOutputCard, decorator: Google::Apis::NetworkservicesV1beta1::AgentGatewayAgentGatewayOutputCard::Representation
|
|
653
694
|
|
|
654
695
|
property :create_time, as: 'createTime'
|
|
@@ -744,6 +785,25 @@ module Google
|
|
|
744
785
|
end
|
|
745
786
|
end
|
|
746
787
|
|
|
788
|
+
class DnsPeeringConfig
|
|
789
|
+
# @private
|
|
790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
791
|
+
property :domain, as: 'domain'
|
|
792
|
+
property :target_network, as: 'targetNetwork'
|
|
793
|
+
end
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
class EgressNetworkConfig
|
|
797
|
+
# @private
|
|
798
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
799
|
+
property :dns_peering_config, as: 'dnsPeeringConfig', class: Google::Apis::NetworkservicesV1beta1::DnsPeeringConfig, decorator: Google::Apis::NetworkservicesV1beta1::DnsPeeringConfig::Representation
|
|
800
|
+
|
|
801
|
+
property :network_attachment, as: 'networkAttachment'
|
|
802
|
+
property :trust_config, as: 'trustConfig'
|
|
803
|
+
property :vpc_egress, as: 'vpcEgress'
|
|
804
|
+
end
|
|
805
|
+
end
|
|
806
|
+
|
|
747
807
|
class Empty
|
|
748
808
|
# @private
|
|
749
809
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1255,6 +1315,16 @@ module Google
|
|
|
1255
1315
|
end
|
|
1256
1316
|
end
|
|
1257
1317
|
|
|
1318
|
+
class ListAgentConnectivityTemplatesResponse
|
|
1319
|
+
# @private
|
|
1320
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1321
|
+
collection :agent_connectivity_templates, as: 'agentConnectivityTemplates', class: Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate, decorator: Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate::Representation
|
|
1322
|
+
|
|
1323
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1324
|
+
collection :unreachable, as: 'unreachable'
|
|
1325
|
+
end
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1258
1328
|
class ListAgentGatewaysResponse
|
|
1259
1329
|
# @private
|
|
1260
1330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -137,6 +137,194 @@ module Google
|
|
|
137
137
|
execute_or_queue_command(command, &block)
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
+
# Creates a new AgentConnectivityTemplate in a given project and location.
|
|
141
|
+
# @param [String] parent
|
|
142
|
+
# Required. The parent resource of the AgentConnectivityTemplate. Must be in the
|
|
143
|
+
# format `projects/*/locations/*`.
|
|
144
|
+
# @param [Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate] agent_connectivity_template_object
|
|
145
|
+
# @param [String] agent_connectivity_template_id
|
|
146
|
+
# Required. Short name of the AgentConnectivityTemplate resource to be created.
|
|
147
|
+
# @param [String] fields
|
|
148
|
+
# Selector specifying which fields to include in a partial response.
|
|
149
|
+
# @param [String] quota_user
|
|
150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
152
|
+
# @param [Google::Apis::RequestOptions] options
|
|
153
|
+
# Request-specific options
|
|
154
|
+
#
|
|
155
|
+
# @yield [result, err] Result & error if block supplied
|
|
156
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
157
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
158
|
+
#
|
|
159
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
160
|
+
#
|
|
161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
164
|
+
def create_project_location_agent_connectivity_template(parent, agent_connectivity_template_object = nil, agent_connectivity_template_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
165
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/agentConnectivityTemplates', options)
|
|
166
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate::Representation
|
|
167
|
+
command.request_object = agent_connectivity_template_object
|
|
168
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
169
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
170
|
+
command.params['parent'] = parent unless parent.nil?
|
|
171
|
+
command.query['agentConnectivityTemplateId'] = agent_connectivity_template_id unless agent_connectivity_template_id.nil?
|
|
172
|
+
command.query['fields'] = fields unless fields.nil?
|
|
173
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
174
|
+
execute_or_queue_command(command, &block)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Deletes a single AgentConnectivityTemplate.
|
|
178
|
+
# @param [String] name
|
|
179
|
+
# Required. A name of the AgentConnectivityTemplate to delete. Must be in the
|
|
180
|
+
# format `projects/*/locations/*/agentConnectivityTemplates/*`.
|
|
181
|
+
# @param [String] etag
|
|
182
|
+
# Optional. The etag of the AgentConnectivityTemplate to delete.
|
|
183
|
+
# @param [String] fields
|
|
184
|
+
# Selector specifying which fields to include in a partial response.
|
|
185
|
+
# @param [String] quota_user
|
|
186
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
187
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
188
|
+
# @param [Google::Apis::RequestOptions] options
|
|
189
|
+
# Request-specific options
|
|
190
|
+
#
|
|
191
|
+
# @yield [result, err] Result & error if block supplied
|
|
192
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
193
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
194
|
+
#
|
|
195
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
196
|
+
#
|
|
197
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
198
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
199
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
200
|
+
def delete_project_location_agent_connectivity_template(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
201
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
202
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
203
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
204
|
+
command.params['name'] = name unless name.nil?
|
|
205
|
+
command.query['etag'] = etag unless etag.nil?
|
|
206
|
+
command.query['fields'] = fields unless fields.nil?
|
|
207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
208
|
+
execute_or_queue_command(command, &block)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Gets details of a single AgentConnectivityTemplate.
|
|
212
|
+
# @param [String] name
|
|
213
|
+
# Required. A name of the AgentConnectivityTemplate to get. Must be in the
|
|
214
|
+
# format `projects/*/locations/*/agentConnectivityTemplates/*`.
|
|
215
|
+
# @param [String] fields
|
|
216
|
+
# Selector specifying which fields to include in a partial response.
|
|
217
|
+
# @param [String] quota_user
|
|
218
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
219
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
220
|
+
# @param [Google::Apis::RequestOptions] options
|
|
221
|
+
# Request-specific options
|
|
222
|
+
#
|
|
223
|
+
# @yield [result, err] Result & error if block supplied
|
|
224
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate] parsed result object
|
|
225
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
226
|
+
#
|
|
227
|
+
# @return [Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate]
|
|
228
|
+
#
|
|
229
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
230
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
231
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
232
|
+
def get_project_location_agent_connectivity_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
233
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
234
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate::Representation
|
|
235
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate
|
|
236
|
+
command.params['name'] = name unless name.nil?
|
|
237
|
+
command.query['fields'] = fields unless fields.nil?
|
|
238
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
239
|
+
execute_or_queue_command(command, &block)
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Lists AgentConnectivityTemplates in a given project and location.
|
|
243
|
+
# @param [String] parent
|
|
244
|
+
# Required. The project and location from which the AgentConnectivityTemplates
|
|
245
|
+
# should be listed, specified in the format `projects/*/locations/*`.
|
|
246
|
+
# @param [Fixnum] page_size
|
|
247
|
+
# Optional. Maximum number of AgentConnectivityTemplates to return per call.
|
|
248
|
+
# @param [String] page_token
|
|
249
|
+
# Optional. The value returned by the last `
|
|
250
|
+
# ListAgentConnectivityTemplatesResponse` Indicates that this is a continuation
|
|
251
|
+
# of a prior `ListAgentConnectivityTemplates` call, and that the system should
|
|
252
|
+
# return the next page of data.
|
|
253
|
+
# @param [Boolean] return_partial_success
|
|
254
|
+
# Optional. If true, allow partial responses for multi-regional Aggregated List
|
|
255
|
+
# requests. Otherwise if one of the locations is down or unreachable, the
|
|
256
|
+
# Aggregated List request will fail.
|
|
257
|
+
# @param [String] fields
|
|
258
|
+
# Selector specifying which fields to include in a partial response.
|
|
259
|
+
# @param [String] quota_user
|
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
262
|
+
# @param [Google::Apis::RequestOptions] options
|
|
263
|
+
# Request-specific options
|
|
264
|
+
#
|
|
265
|
+
# @yield [result, err] Result & error if block supplied
|
|
266
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListAgentConnectivityTemplatesResponse] parsed result object
|
|
267
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
268
|
+
#
|
|
269
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListAgentConnectivityTemplatesResponse]
|
|
270
|
+
#
|
|
271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
274
|
+
def list_project_location_agent_connectivity_templates(parent, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
275
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/agentConnectivityTemplates', options)
|
|
276
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListAgentConnectivityTemplatesResponse::Representation
|
|
277
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListAgentConnectivityTemplatesResponse
|
|
278
|
+
command.params['parent'] = parent unless parent.nil?
|
|
279
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
280
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
281
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
282
|
+
command.query['fields'] = fields unless fields.nil?
|
|
283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
284
|
+
execute_or_queue_command(command, &block)
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# Updates the parameters of a single AgentConnectivityTemplate.
|
|
288
|
+
# @param [String] name
|
|
289
|
+
# Identifier. Name of the AgentConnectivityTemplate resource. It matches pattern
|
|
290
|
+
# `projects/*/locations/*/agentConnectivityTemplates/`.
|
|
291
|
+
# @param [Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate] agent_connectivity_template_object
|
|
292
|
+
# @param [String] update_mask
|
|
293
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
294
|
+
# AgentConnectivityTemplate resource by the update. The fields specified in the
|
|
295
|
+
# update_mask are relative to the resource, not the full request. A field will
|
|
296
|
+
# be overwritten if it is in the mask. If the user does not provide a mask then
|
|
297
|
+
# all fields will be overwritten.
|
|
298
|
+
# @param [String] fields
|
|
299
|
+
# Selector specifying which fields to include in a partial response.
|
|
300
|
+
# @param [String] quota_user
|
|
301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
303
|
+
# @param [Google::Apis::RequestOptions] options
|
|
304
|
+
# Request-specific options
|
|
305
|
+
#
|
|
306
|
+
# @yield [result, err] Result & error if block supplied
|
|
307
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
308
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
309
|
+
#
|
|
310
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
311
|
+
#
|
|
312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
315
|
+
def patch_project_location_agent_connectivity_template(name, agent_connectivity_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
316
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
317
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::AgentConnectivityTemplate::Representation
|
|
318
|
+
command.request_object = agent_connectivity_template_object
|
|
319
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
320
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
321
|
+
command.params['name'] = name unless name.nil?
|
|
322
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
323
|
+
command.query['fields'] = fields unless fields.nil?
|
|
324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
325
|
+
execute_or_queue_command(command, &block)
|
|
326
|
+
end
|
|
327
|
+
|
|
140
328
|
# Creates a new AgentGateway in a given project and location.
|
|
141
329
|
# @param [String] parent
|
|
142
330
|
# Required. The parent resource of the AgentGateway. Must be in the format `
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-networkservices_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.74.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-networkservices_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.74.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|