google-apis-connectors_v1 0.25.0 → 0.27.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50382dd0ffff5ebb3b5979b886f70625100c0e2bb95f8ab82bae2eee9701d991
|
4
|
+
data.tar.gz: 9e84aa21efb6d694afe2850639cc82493183a4d1338e1acf1eb9904d5da7fac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6a97f8578942f52b056445db066e9f8543a65bc248894693bb42eaa2bea69429e71b318eeaa62c458de415865e5d4e2e112e53610e4d6cbebb65633a4bced3c
|
7
|
+
data.tar.gz: 7b0294dbb593a84309b542fbc8aa4c4fac6d76202f4cf4358f2a4458192252cd92a100858f955fdeb051b9e9b4ffa7dd742541611217e86cba3d52bc2d1c27af
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230403
|
6
|
+
|
7
|
+
### v0.26.0 (2023-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230318
|
10
|
+
|
3
11
|
### v0.25.0 (2023-03-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230222
|
@@ -107,6 +107,12 @@ module Google
|
|
107
107
|
# @return [String]
|
108
108
|
attr_accessor :auth_type
|
109
109
|
|
110
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
111
|
+
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
112
|
+
# Corresponds to the JSON property `oauth2AuthCodeFlow`
|
113
|
+
# @return [Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow]
|
114
|
+
attr_accessor :oauth2_auth_code_flow
|
115
|
+
|
110
116
|
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
111
117
|
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
112
118
|
# Corresponds to the JSON property `oauth2ClientCredentials`
|
@@ -138,6 +144,7 @@ module Google
|
|
138
144
|
def update!(**args)
|
139
145
|
@additional_variables = args[:additional_variables] if args.key?(:additional_variables)
|
140
146
|
@auth_type = args[:auth_type] if args.key?(:auth_type)
|
147
|
+
@oauth2_auth_code_flow = args[:oauth2_auth_code_flow] if args.key?(:oauth2_auth_code_flow)
|
141
148
|
@oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
|
142
149
|
@oauth2_jwt_bearer = args[:oauth2_jwt_bearer] if args.key?(:oauth2_jwt_bearer)
|
143
150
|
@ssh_public_key = args[:ssh_public_key] if args.key?(:ssh_public_key)
|
@@ -508,6 +515,11 @@ module Google
|
|
508
515
|
# @return [Google::Apis::ConnectorsV1::LockConfig]
|
509
516
|
attr_accessor :lock_config
|
510
517
|
|
518
|
+
# Log configuration for the connection.
|
519
|
+
# Corresponds to the JSON property `logConfig`
|
520
|
+
# @return [Google::Apis::ConnectorsV1::ConnectorsLogConfig]
|
521
|
+
attr_accessor :log_config
|
522
|
+
|
511
523
|
# Output only. Resource name of the Connection. Format: projects/`project`/
|
512
524
|
# locations/`location`/connections/`connection`
|
513
525
|
# Corresponds to the JSON property `name`
|
@@ -569,6 +581,7 @@ module Google
|
|
569
581
|
@image_location = args[:image_location] if args.key?(:image_location)
|
570
582
|
@labels = args[:labels] if args.key?(:labels)
|
571
583
|
@lock_config = args[:lock_config] if args.key?(:lock_config)
|
584
|
+
@log_config = args[:log_config] if args.key?(:log_config)
|
572
585
|
@name = args[:name] if args.key?(:name)
|
573
586
|
@node_config = args[:node_config] if args.key?(:node_config)
|
574
587
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -760,6 +773,11 @@ module Google
|
|
760
773
|
# @return [String]
|
761
774
|
attr_accessor :create_time
|
762
775
|
|
776
|
+
# Output only. List of destination configs needed to create a connection.
|
777
|
+
# Corresponds to the JSON property `destinationConfigTemplates`
|
778
|
+
# @return [Array<Google::Apis::ConnectorsV1::DestinationConfigTemplate>]
|
779
|
+
attr_accessor :destination_config_templates
|
780
|
+
|
763
781
|
# Output only. Display name.
|
764
782
|
# Corresponds to the JSON property `displayName`
|
765
783
|
# @return [String]
|
@@ -838,6 +856,7 @@ module Google
|
|
838
856
|
@auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
|
839
857
|
@config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
|
840
858
|
@create_time = args[:create_time] if args.key?(:create_time)
|
859
|
+
@destination_config_templates = args[:destination_config_templates] if args.key?(:destination_config_templates)
|
841
860
|
@display_name = args[:display_name] if args.key?(:display_name)
|
842
861
|
@egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
|
843
862
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -852,6 +871,26 @@ module Google
|
|
852
871
|
end
|
853
872
|
end
|
854
873
|
|
874
|
+
# Log configuration for the connection.
|
875
|
+
class ConnectorsLogConfig
|
876
|
+
include Google::Apis::Core::Hashable
|
877
|
+
|
878
|
+
# Enabled represents whether logging is enabled or not for a connection.
|
879
|
+
# Corresponds to the JSON property `enabled`
|
880
|
+
# @return [Boolean]
|
881
|
+
attr_accessor :enabled
|
882
|
+
alias_method :enabled?, :enabled
|
883
|
+
|
884
|
+
def initialize(**args)
|
885
|
+
update!(**args)
|
886
|
+
end
|
887
|
+
|
888
|
+
# Update properties of this object
|
889
|
+
def update!(**args)
|
890
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
855
894
|
#
|
856
895
|
class Destination
|
857
896
|
include Google::Apis::Core::Hashable
|
@@ -908,6 +947,75 @@ module Google
|
|
908
947
|
end
|
909
948
|
end
|
910
949
|
|
950
|
+
# DestinationConfigTemplate defines required destinations supported by the
|
951
|
+
# Connector.
|
952
|
+
class DestinationConfigTemplate
|
953
|
+
include Google::Apis::Core::Hashable
|
954
|
+
|
955
|
+
# The default port.
|
956
|
+
# Corresponds to the JSON property `defaultPort`
|
957
|
+
# @return [Fixnum]
|
958
|
+
attr_accessor :default_port
|
959
|
+
|
960
|
+
# Description.
|
961
|
+
# Corresponds to the JSON property `description`
|
962
|
+
# @return [String]
|
963
|
+
attr_accessor :description
|
964
|
+
|
965
|
+
# Display name of the parameter.
|
966
|
+
# Corresponds to the JSON property `displayName`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :display_name
|
969
|
+
|
970
|
+
# Whether the current destination tempalate is part of Advanced settings
|
971
|
+
# Corresponds to the JSON property `isAdvanced`
|
972
|
+
# @return [Boolean]
|
973
|
+
attr_accessor :is_advanced
|
974
|
+
alias_method :is_advanced?, :is_advanced
|
975
|
+
|
976
|
+
# Key of the destination.
|
977
|
+
# Corresponds to the JSON property `key`
|
978
|
+
# @return [String]
|
979
|
+
attr_accessor :key
|
980
|
+
|
981
|
+
# The maximum number of destinations supported for this key.
|
982
|
+
# Corresponds to the JSON property `max`
|
983
|
+
# @return [Fixnum]
|
984
|
+
attr_accessor :max
|
985
|
+
|
986
|
+
# The minimum number of destinations supported for this key.
|
987
|
+
# Corresponds to the JSON property `min`
|
988
|
+
# @return [Fixnum]
|
989
|
+
attr_accessor :min
|
990
|
+
|
991
|
+
# Whether port number should be provided by customers.
|
992
|
+
# Corresponds to the JSON property `portFieldType`
|
993
|
+
# @return [String]
|
994
|
+
attr_accessor :port_field_type
|
995
|
+
|
996
|
+
# Regex pattern for host.
|
997
|
+
# Corresponds to the JSON property `regexPattern`
|
998
|
+
# @return [String]
|
999
|
+
attr_accessor :regex_pattern
|
1000
|
+
|
1001
|
+
def initialize(**args)
|
1002
|
+
update!(**args)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# Update properties of this object
|
1006
|
+
def update!(**args)
|
1007
|
+
@default_port = args[:default_port] if args.key?(:default_port)
|
1008
|
+
@description = args[:description] if args.key?(:description)
|
1009
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1010
|
+
@is_advanced = args[:is_advanced] if args.key?(:is_advanced)
|
1011
|
+
@key = args[:key] if args.key?(:key)
|
1012
|
+
@max = args[:max] if args.key?(:max)
|
1013
|
+
@min = args[:min] if args.key?(:min)
|
1014
|
+
@port_field_type = args[:port_field_type] if args.key?(:port_field_type)
|
1015
|
+
@regex_pattern = args[:regex_pattern] if args.key?(:regex_pattern)
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
911
1019
|
# Egress control config for connector runtime. These configurations define the
|
912
1020
|
# rules to identify which outbound domains/hosts needs to be whitelisted. It may
|
913
1021
|
# be a static information for a particular connector version or it is derived
|
@@ -1546,6 +1654,63 @@ module Google
|
|
1546
1654
|
end
|
1547
1655
|
end
|
1548
1656
|
|
1657
|
+
# Parameters to support Oauth 2.0 Auth Code Grant Authentication. See https://
|
1658
|
+
# www.rfc-editor.org/rfc/rfc6749#section-1.3.1 for more details.
|
1659
|
+
class Oauth2AuthCodeFlow
|
1660
|
+
include Google::Apis::Core::Hashable
|
1661
|
+
|
1662
|
+
# Authorization code to be exchanged for access and refresh tokens.
|
1663
|
+
# Corresponds to the JSON property `authCode`
|
1664
|
+
# @return [String]
|
1665
|
+
attr_accessor :auth_code
|
1666
|
+
|
1667
|
+
# Client ID for user-provided OAuth app.
|
1668
|
+
# Corresponds to the JSON property `clientId`
|
1669
|
+
# @return [String]
|
1670
|
+
attr_accessor :client_id
|
1671
|
+
|
1672
|
+
# Secret provides a reference to entries in Secret Manager.
|
1673
|
+
# Corresponds to the JSON property `clientSecret`
|
1674
|
+
# @return [Google::Apis::ConnectorsV1::Secret]
|
1675
|
+
attr_accessor :client_secret
|
1676
|
+
|
1677
|
+
# Whether to enable PKCE when the user performs the auth code flow.
|
1678
|
+
# Corresponds to the JSON property `enablePkce`
|
1679
|
+
# @return [Boolean]
|
1680
|
+
attr_accessor :enable_pkce
|
1681
|
+
alias_method :enable_pkce?, :enable_pkce
|
1682
|
+
|
1683
|
+
# PKCE verifier to be used during the auth code exchange.
|
1684
|
+
# Corresponds to the JSON property `pkceVerifier`
|
1685
|
+
# @return [String]
|
1686
|
+
attr_accessor :pkce_verifier
|
1687
|
+
|
1688
|
+
# Redirect URI to be provided during the auth code exchange.
|
1689
|
+
# Corresponds to the JSON property `redirectUri`
|
1690
|
+
# @return [String]
|
1691
|
+
attr_accessor :redirect_uri
|
1692
|
+
|
1693
|
+
# Scopes the connection will request when the user performs the auth code flow.
|
1694
|
+
# Corresponds to the JSON property `scopes`
|
1695
|
+
# @return [Array<String>]
|
1696
|
+
attr_accessor :scopes
|
1697
|
+
|
1698
|
+
def initialize(**args)
|
1699
|
+
update!(**args)
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
# Update properties of this object
|
1703
|
+
def update!(**args)
|
1704
|
+
@auth_code = args[:auth_code] if args.key?(:auth_code)
|
1705
|
+
@client_id = args[:client_id] if args.key?(:client_id)
|
1706
|
+
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
1707
|
+
@enable_pkce = args[:enable_pkce] if args.key?(:enable_pkce)
|
1708
|
+
@pkce_verifier = args[:pkce_verifier] if args.key?(:pkce_verifier)
|
1709
|
+
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
1710
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
1711
|
+
end
|
1712
|
+
end
|
1713
|
+
|
1549
1714
|
# Parameters to support Oauth 2.0 Client Credentials Grant Authentication. See
|
1550
1715
|
# https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
|
1551
1716
|
class Oauth2ClientCredentials
|
@@ -2213,6 +2378,40 @@ module Google
|
|
2213
2378
|
end
|
2214
2379
|
end
|
2215
2380
|
|
2381
|
+
# Global Settings details.
|
2382
|
+
class Settings
|
2383
|
+
include Google::Apis::Core::Hashable
|
2384
|
+
|
2385
|
+
# Output only. Resource name of the Connection. Format: projects/`project`/
|
2386
|
+
# locations/global/settings`
|
2387
|
+
# Corresponds to the JSON property `name`
|
2388
|
+
# @return [String]
|
2389
|
+
attr_accessor :name
|
2390
|
+
|
2391
|
+
# Output only. Flag indicates if user is in PayG model
|
2392
|
+
# Corresponds to the JSON property `payg`
|
2393
|
+
# @return [Boolean]
|
2394
|
+
attr_accessor :payg
|
2395
|
+
alias_method :payg?, :payg
|
2396
|
+
|
2397
|
+
# Optional. Flag indicates whether vpc-sc is enabled.
|
2398
|
+
# Corresponds to the JSON property `vpcsc`
|
2399
|
+
# @return [Boolean]
|
2400
|
+
attr_accessor :vpcsc
|
2401
|
+
alias_method :vpcsc?, :vpcsc
|
2402
|
+
|
2403
|
+
def initialize(**args)
|
2404
|
+
update!(**args)
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
# Update properties of this object
|
2408
|
+
def update!(**args)
|
2409
|
+
@name = args[:name] if args.key?(:name)
|
2410
|
+
@payg = args[:payg] if args.key?(:payg)
|
2411
|
+
@vpcsc = args[:vpcsc] if args.key?(:vpcsc)
|
2412
|
+
end
|
2413
|
+
end
|
2414
|
+
|
2216
2415
|
# Source to extract the backend from.
|
2217
2416
|
class Source
|
2218
2417
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ConnectorsV1
|
18
18
|
# Version of the google-apis-connectors_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230403"
|
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 ConnectorsLogConfig
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class Destination
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class DestinationConfigTemplate
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class EgressControlConfig
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -238,6 +250,12 @@ module Google
|
|
238
250
|
include Google::Apis::Core::JsonObjectSupport
|
239
251
|
end
|
240
252
|
|
253
|
+
class Oauth2AuthCodeFlow
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
241
259
|
class Oauth2ClientCredentials
|
242
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
261
|
|
@@ -328,6 +346,12 @@ module Google
|
|
328
346
|
include Google::Apis::Core::JsonObjectSupport
|
329
347
|
end
|
330
348
|
|
349
|
+
class Settings
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
331
355
|
class Source
|
332
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
357
|
|
@@ -405,6 +429,8 @@ module Google
|
|
405
429
|
collection :additional_variables, as: 'additionalVariables', class: Google::Apis::ConnectorsV1::ConfigVariable, decorator: Google::Apis::ConnectorsV1::ConfigVariable::Representation
|
406
430
|
|
407
431
|
property :auth_type, as: 'authType'
|
432
|
+
property :oauth2_auth_code_flow, as: 'oauth2AuthCodeFlow', class: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow, decorator: Google::Apis::ConnectorsV1::Oauth2AuthCodeFlow::Representation
|
433
|
+
|
408
434
|
property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::ConnectorsV1::Oauth2ClientCredentials, decorator: Google::Apis::ConnectorsV1::Oauth2ClientCredentials::Representation
|
409
435
|
|
410
436
|
property :oauth2_jwt_bearer, as: 'oauth2JwtBearer', class: Google::Apis::ConnectorsV1::Oauth2JwtBearer, decorator: Google::Apis::ConnectorsV1::Oauth2JwtBearer::Representation
|
@@ -502,6 +528,8 @@ module Google
|
|
502
528
|
hash :labels, as: 'labels'
|
503
529
|
property :lock_config, as: 'lockConfig', class: Google::Apis::ConnectorsV1::LockConfig, decorator: Google::Apis::ConnectorsV1::LockConfig::Representation
|
504
530
|
|
531
|
+
property :log_config, as: 'logConfig', class: Google::Apis::ConnectorsV1::ConnectorsLogConfig, decorator: Google::Apis::ConnectorsV1::ConnectorsLogConfig::Representation
|
532
|
+
|
505
533
|
property :name, as: 'name'
|
506
534
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ConnectorsV1::NodeConfig, decorator: Google::Apis::ConnectorsV1::NodeConfig::Representation
|
507
535
|
|
@@ -561,6 +589,8 @@ module Google
|
|
561
589
|
collection :config_variable_templates, as: 'configVariableTemplates', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
|
562
590
|
|
563
591
|
property :create_time, as: 'createTime'
|
592
|
+
collection :destination_config_templates, as: 'destinationConfigTemplates', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
|
593
|
+
|
564
594
|
property :display_name, as: 'displayName'
|
565
595
|
property :egress_control_config, as: 'egressControlConfig', class: Google::Apis::ConnectorsV1::EgressControlConfig, decorator: Google::Apis::ConnectorsV1::EgressControlConfig::Representation
|
566
596
|
|
@@ -580,6 +610,13 @@ module Google
|
|
580
610
|
end
|
581
611
|
end
|
582
612
|
|
613
|
+
class ConnectorsLogConfig
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :enabled, as: 'enabled'
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
583
620
|
class Destination
|
584
621
|
# @private
|
585
622
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -598,6 +635,21 @@ module Google
|
|
598
635
|
end
|
599
636
|
end
|
600
637
|
|
638
|
+
class DestinationConfigTemplate
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
property :default_port, as: 'defaultPort'
|
642
|
+
property :description, as: 'description'
|
643
|
+
property :display_name, as: 'displayName'
|
644
|
+
property :is_advanced, as: 'isAdvanced'
|
645
|
+
property :key, as: 'key'
|
646
|
+
property :max, as: 'max'
|
647
|
+
property :min, as: 'min'
|
648
|
+
property :port_field_type, as: 'portFieldType'
|
649
|
+
property :regex_pattern, as: 'regexPattern'
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
601
653
|
class EgressControlConfig
|
602
654
|
# @private
|
603
655
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -785,6 +837,20 @@ module Google
|
|
785
837
|
end
|
786
838
|
end
|
787
839
|
|
840
|
+
class Oauth2AuthCodeFlow
|
841
|
+
# @private
|
842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
843
|
+
property :auth_code, as: 'authCode'
|
844
|
+
property :client_id, as: 'clientId'
|
845
|
+
property :client_secret, as: 'clientSecret', class: Google::Apis::ConnectorsV1::Secret, decorator: Google::Apis::ConnectorsV1::Secret::Representation
|
846
|
+
|
847
|
+
property :enable_pkce, as: 'enablePkce'
|
848
|
+
property :pkce_verifier, as: 'pkceVerifier'
|
849
|
+
property :redirect_uri, as: 'redirectUri'
|
850
|
+
collection :scopes, as: 'scopes'
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
788
854
|
class Oauth2ClientCredentials
|
789
855
|
# @private
|
790
856
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -943,6 +1009,15 @@ module Google
|
|
943
1009
|
end
|
944
1010
|
end
|
945
1011
|
|
1012
|
+
class Settings
|
1013
|
+
# @private
|
1014
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1015
|
+
property :name, as: 'name'
|
1016
|
+
property :payg, as: 'payg'
|
1017
|
+
property :vpcsc, as: 'vpcsc'
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
946
1021
|
class Source
|
947
1022
|
# @private
|
948
1023
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -614,6 +614,37 @@ module Google
|
|
614
614
|
execute_or_queue_command(command, &block)
|
615
615
|
end
|
616
616
|
|
617
|
+
# GetGlobalSettings gets settings of a project. GlobalSettings is a singleton
|
618
|
+
# resource.
|
619
|
+
# @param [String] name
|
620
|
+
# Required. The resource name of the Settings.
|
621
|
+
# @param [String] fields
|
622
|
+
# Selector specifying which fields to include in a partial response.
|
623
|
+
# @param [String] quota_user
|
624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
626
|
+
# @param [Google::Apis::RequestOptions] options
|
627
|
+
# Request-specific options
|
628
|
+
#
|
629
|
+
# @yield [result, err] Result & error if block supplied
|
630
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Settings] parsed result object
|
631
|
+
# @yieldparam err [StandardError] error object if request failed
|
632
|
+
#
|
633
|
+
# @return [Google::Apis::ConnectorsV1::Settings]
|
634
|
+
#
|
635
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
636
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
637
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
638
|
+
def get_project_location_global_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
639
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
640
|
+
command.response_representation = Google::Apis::ConnectorsV1::Settings::Representation
|
641
|
+
command.response_class = Google::Apis::ConnectorsV1::Settings
|
642
|
+
command.params['name'] = name unless name.nil?
|
643
|
+
command.query['fields'] = fields unless fields.nil?
|
644
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
645
|
+
execute_or_queue_command(command, &block)
|
646
|
+
end
|
647
|
+
|
617
648
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
618
649
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
619
650
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -719,13 +750,7 @@ module Google
|
|
719
750
|
end
|
720
751
|
|
721
752
|
# Lists operations that match the specified filter in the request. If the server
|
722
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
723
|
-
# binding allows API services to override the binding to use different resource
|
724
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
725
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
726
|
-
# service configuration. For backwards compatibility, the default name includes
|
727
|
-
# the operations collection id, however overriding users must ensure the name
|
728
|
-
# binding is the parent resource, without the operations collection id.
|
753
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
729
754
|
# @param [String] name
|
730
755
|
# The name of the operation's parent resource.
|
731
756
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|