google-apis-servicenetworking_v1 0.5.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 889bbc56b665e6d747ed3c41f479e2daf99b185f195a34f4e9626085ee1187db
4
- data.tar.gz: 02e387b2df81e29fd562f12f22cdea326393b752c70f28c1775e160b7292b4ff
3
+ metadata.gz: 4f07275bff6e1db6a75521224d7468ee257abe0264019c4dbfb6cba6eb83940a
4
+ data.tar.gz: 37de704f06a7d0823ca11753c13c228d4ac83323492f1e40e1ad275d93ee1ed1
5
5
  SHA512:
6
- metadata.gz: 6262abc7e20dbb81886962d77ca58f2e0a8d3aef1c9ba047a9cb14fcb05a39bf10f34397036cbb72c3afa9428e334f2cdb5e83fd3ae09767cc7f7c1691fd9600
7
- data.tar.gz: 1423e952d2d6c178d99a545e33ae8a5fe0c368855efc282c5268e2f11b112fe3448e8ac415a059eab7583c1592f1dbaea63883eb9a79c948d8c93a3ab66c7c2e
6
+ metadata.gz: 5846ae34e4feaa7dd88f226fe2368535bcfa04afaea08e17a16ed87c90f410ed2ee80dd16568582c4f325f803083aacbbcd3366eec78cc59bf5b07ad85280e73
7
+ data.tar.gz: 8a62ffc69bb04f97f9ad753235117a2f6e1c6b62cf011f5ef729bd3efe1a2b2ae82d371b11b0168aa2ece91152df7df3b4ba3a3203c0899498d57d76ae89d176
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.10.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.9.0 (2021-05-27)
8
+
9
+ * Regenerated from discovery document revision 20210525
10
+
11
+ ### v0.8.0 (2021-05-22)
12
+
13
+ * Regenerated from discovery document revision 20210519
14
+ * Unspecified changes
15
+
16
+ ### v0.7.0 (2021-05-08)
17
+
18
+ * Regenerated from discovery document revision 20210505
19
+
20
+ ### v0.6.0 (2021-04-02)
21
+
22
+ * Regenerated from discovery document revision 20210331
23
+
3
24
  ### v0.5.0 (2021-03-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210319
@@ -494,11 +494,13 @@ module Google
494
494
  end
495
495
  end
496
496
 
497
- # `Authentication` defines the authentication configuration for an API. Example
498
- # for an API targeted for external use: name: calendar.googleapis.com
497
+ # `Authentication` defines the authentication configuration for API methods
498
+ # provided by an API service. Example: name: calendar.googleapis.com
499
499
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
500
500
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
501
- # selector: "*" requirements: provider_id: google_calendar_auth
501
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
502
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
503
+ # auth/calendar.read
502
504
  class Authentication
503
505
  include Google::Apis::Core::Hashable
504
506
 
@@ -637,12 +639,6 @@ module Google
637
639
  # @return [String]
638
640
  attr_accessor :jwt_audience
639
641
 
640
- # Minimum deadline in seconds needed for this method. Calls having deadline
641
- # value lower than this will be rejected.
642
- # Corresponds to the JSON property `minDeadline`
643
- # @return [Float]
644
- attr_accessor :min_deadline
645
-
646
642
  # The number of seconds to wait for the completion of a long running operation.
647
643
  # The default is no deadline.
648
644
  # Corresponds to the JSON property `operationDeadline`
@@ -683,7 +679,6 @@ module Google
683
679
  @deadline = args[:deadline] if args.key?(:deadline)
684
680
  @disable_auth = args[:disable_auth] if args.key?(:disable_auth)
685
681
  @jwt_audience = args[:jwt_audience] if args.key?(:jwt_audience)
686
- @min_deadline = args[:min_deadline] if args.key?(:min_deadline)
687
682
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
688
683
  @path_translation = args[:path_translation] if args.key?(:path_translation)
689
684
  @protocol = args[:protocol] if args.key?(:protocol)
@@ -1147,6 +1142,28 @@ module Google
1147
1142
  end
1148
1143
  end
1149
1144
 
1145
+ # Request to delete a private service access connection. The call will fail if
1146
+ # there are any managed service instances using this connection.
1147
+ class DeleteConnectionRequest
1148
+ include Google::Apis::Core::Hashable
1149
+
1150
+ # Required. The network that the consumer is using to connect with services.
1151
+ # Must be in the form of projects/`project`/global/networks/`network` `project`
1152
+ # is a project number, as in '12345' `network` is a network name.
1153
+ # Corresponds to the JSON property `consumerNetwork`
1154
+ # @return [String]
1155
+ attr_accessor :consumer_network
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
1164
+ end
1165
+ end
1166
+
1150
1167
  # Metadata provided through GetOperation request for the LRO generated by
1151
1168
  # DeletePeeredDnsDomain API.
1152
1169
  class DeletePeeredDnsDomainMetadata
@@ -1404,26 +1421,21 @@ module Google
1404
1421
  end
1405
1422
  end
1406
1423
 
1407
- # `Endpoint` describes a network endpoint of a service that serves a set of APIs.
1408
- # It is commonly known as a service endpoint. A service may expose any number
1409
- # of service endpoints, and all service endpoints share the same service
1410
- # definition, such as quota limits and monitoring metrics. Example service
1411
- # configuration: name: library-example.googleapis.com endpoints: # Below entry
1412
- # makes 'google.example.library.v1.Library' # API be served from endpoint
1413
- # address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to
1414
- # be passed to the backend, for # it to decide whether the subsequent cross-
1415
- # origin request is # allowed to proceed. - name: library-example.googleapis.com
1416
- # allow_cors: true
1424
+ # `Endpoint` describes a network address of a service that serves a set of APIs.
1425
+ # It is commonly known as a service endpoint. A service may expose any number of
1426
+ # service endpoints, and all service endpoints share the same service definition,
1427
+ # such as quota limits and monitoring metrics. Example: type: google.api.
1428
+ # Service name: library-example.googleapis.com endpoints: # Declares network
1429
+ # address `https://library-example.googleapis.com` # for service `library-
1430
+ # example.googleapis.com`. The `https` scheme # is implicit for all service
1431
+ # endpoints. Other schemes may be # supported in the future. - name: library-
1432
+ # example.googleapis.com allow_cors: false - name: content-staging-library-
1433
+ # example.googleapis.com # Allows HTTP OPTIONS calls to be passed to the API
1434
+ # frontend, for it # to decide whether the subsequent cross-origin request is
1435
+ # allowed # to proceed. allow_cors: true
1417
1436
  class Endpoint
1418
1437
  include Google::Apis::Core::Hashable
1419
1438
 
1420
- # DEPRECATED: This field is no longer supported. Instead of using aliases,
1421
- # please specify multiple google.api.Endpoint for each of the intended aliases.
1422
- # Additional names that this endpoint will be hosted on.
1423
- # Corresponds to the JSON property `aliases`
1424
- # @return [Array<String>]
1425
- attr_accessor :aliases
1426
-
1427
1439
  # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1428
1440
  # aka cross-domain traffic, would allow the backends served from this endpoint
1429
1441
  # to receive and respond to HTTP OPTIONS requests. The response will be used by
@@ -1453,7 +1465,6 @@ module Google
1453
1465
 
1454
1466
  # Update properties of this object
1455
1467
  def update!(**args)
1456
- @aliases = args[:aliases] if args.key?(:aliases)
1457
1468
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1458
1469
  @name = args[:name] if args.key?(:name)
1459
1470
  @target = args[:target] if args.key?(:target)
@@ -2857,6 +2868,20 @@ module Google
2857
2868
  end
2858
2869
  end
2859
2870
 
2871
+ # Metadata provided through GetOperation request for the LRO generated by
2872
+ # Partial Delete Connection API
2873
+ class PartialDeleteConnectionMetadata
2874
+ include Google::Apis::Core::Hashable
2875
+
2876
+ def initialize(**args)
2877
+ update!(**args)
2878
+ end
2879
+
2880
+ # Update properties of this object
2881
+ def update!(**args)
2882
+ end
2883
+ end
2884
+
2860
2885
  # DNS domain suffix for which requests originating in the producer VPC network
2861
2886
  # are resolved in the associated consumer VPC network.
2862
2887
  class PeeredDnsDomain
@@ -3413,13 +3438,16 @@ module Google
3413
3438
  end
3414
3439
  end
3415
3440
 
3416
- # `Service` is the root object of Google service configuration schema. It
3417
- # describes basic information about a service, such as the name and the title,
3418
- # and delegates other aspects to sub-sections. Each sub-section is either a
3419
- # proto message or a repeated proto message that configures a specific aspect,
3420
- # such as auth. See each proto message definition for details. Example: type:
3421
- # google.api.Service name: calendar.googleapis.com title: Google Calendar API
3422
- # apis: - name: google.calendar.v3.Calendar authentication: providers: - id:
3441
+ # `Service` is the root object of Google API service configuration (service
3442
+ # config). It describes the basic information about a logical service, such as
3443
+ # the service name and the user-facing title, and delegates other aspects to sub-
3444
+ # sections. Each sub-section is either a proto message or a repeated proto
3445
+ # message that configures a specific aspect, such as auth. For more information,
3446
+ # see each proto message definition. Example: type: google.api.Service name:
3447
+ # calendar.googleapis.com title: Google Calendar API apis: - name: google.
3448
+ # calendar.v3.Calendar visibility: rules: - selector: "google.calendar.v3.*"
3449
+ # restriction: PREVIEW backend: rules: - selector: "google.calendar.v3.*"
3450
+ # address: calendar.example.com authentication: providers: - id:
3423
3451
  # google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3424
3452
  # issuer: https://securetoken.google.com rules: - selector: "*" requirements:
3425
3453
  # provider_id: google_calendar_auth
@@ -3435,11 +3463,13 @@ module Google
3435
3463
  # @return [Array<Google::Apis::ServicenetworkingV1::Api>]
3436
3464
  attr_accessor :apis
3437
3465
 
3438
- # `Authentication` defines the authentication configuration for an API. Example
3439
- # for an API targeted for external use: name: calendar.googleapis.com
3466
+ # `Authentication` defines the authentication configuration for API methods
3467
+ # provided by an API service. Example: name: calendar.googleapis.com
3440
3468
  # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
3441
3469
  # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
3442
- # selector: "*" requirements: provider_id: google_calendar_auth
3470
+ # selector: "*" requirements: provider_id: google_calendar_auth - selector:
3471
+ # google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/
3472
+ # auth/calendar.read
3443
3473
  # Corresponds to the JSON property `authentication`
3444
3474
  # @return [Google::Apis::ServicenetworkingV1::Authentication]
3445
3475
  attr_accessor :authentication
@@ -3468,7 +3498,8 @@ module Google
3468
3498
  # @return [Google::Apis::ServicenetworkingV1::Billing]
3469
3499
  attr_accessor :billing
3470
3500
 
3471
- # Deprecated. The service config compiler always sets this field to `3`.
3501
+ # Obsolete. Do not use. This field has no semantic meaning. The service config
3502
+ # compiler always sets this field to `3`.
3472
3503
  # Corresponds to the JSON property `configVersion`
3473
3504
  # @return [Fixnum]
3474
3505
  attr_accessor :config_version
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicenetworkingV1
18
18
  # Version of the google-apis-servicenetworking_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210319"
25
+ REVISION = "20210525"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class DeleteConnectionRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class DeletePeeredDnsDomainMetadata
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -424,6 +430,12 @@ module Google
424
430
  include Google::Apis::Core::JsonObjectSupport
425
431
  end
426
432
 
433
+ class PartialDeleteConnectionMetadata
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
427
439
  class PeeredDnsDomain
428
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
441
 
@@ -778,7 +790,6 @@ module Google
778
790
  property :deadline, as: 'deadline'
779
791
  property :disable_auth, as: 'disableAuth'
780
792
  property :jwt_audience, as: 'jwtAudience'
781
- property :min_deadline, as: 'minDeadline'
782
793
  property :operation_deadline, as: 'operationDeadline'
783
794
  property :path_translation, as: 'pathTranslation'
784
795
  property :protocol, as: 'protocol'
@@ -906,6 +917,13 @@ module Google
906
917
  end
907
918
  end
908
919
 
920
+ class DeleteConnectionRequest
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ property :consumer_network, as: 'consumerNetwork'
924
+ end
925
+ end
926
+
909
927
  class DeletePeeredDnsDomainMetadata
910
928
  # @private
911
929
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -976,7 +994,6 @@ module Google
976
994
  class Endpoint
977
995
  # @private
978
996
  class Representation < Google::Apis::Core::JsonRepresentation
979
- collection :aliases, as: 'aliases'
980
997
  property :allow_cors, as: 'allowCors'
981
998
  property :name, as: 'name'
982
999
  property :target, as: 'target'
@@ -1278,6 +1295,12 @@ module Google
1278
1295
  end
1279
1296
  end
1280
1297
 
1298
+ class PartialDeleteConnectionMetadata
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ end
1302
+ end
1303
+
1281
1304
  class PeeredDnsDomain
1282
1305
  # @private
1283
1306
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -432,6 +432,44 @@ module Google
432
432
  execute_or_queue_command(command, &block)
433
433
  end
434
434
 
435
+ # Deletes a private service access connection.
436
+ # @param [String] name
437
+ # Required. The private service connection that connects to a service producer
438
+ # organization. The name includes both the private service name and the VPC
439
+ # network peering name in the format of `services/`peering_service_name`/
440
+ # connections/`vpc_peering_name``. For Google services that support this
441
+ # functionality, this is `services/servicenetworking.googleapis.com/connections/
442
+ # servicenetworking-googleapis-com`.
443
+ # @param [Google::Apis::ServicenetworkingV1::DeleteConnectionRequest] delete_connection_request_object
444
+ # @param [String] fields
445
+ # Selector specifying which fields to include in a partial response.
446
+ # @param [String] quota_user
447
+ # Available to use for quota purposes for server-side applications. Can be any
448
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
449
+ # @param [Google::Apis::RequestOptions] options
450
+ # Request-specific options
451
+ #
452
+ # @yield [result, err] Result & error if block supplied
453
+ # @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
454
+ # @yieldparam err [StandardError] error object if request failed
455
+ #
456
+ # @return [Google::Apis::ServicenetworkingV1::Operation]
457
+ #
458
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
459
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
460
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
461
+ def delete_connection(name, delete_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
462
+ command = make_simple_command(:post, 'v1/{+name}', options)
463
+ command.request_representation = Google::Apis::ServicenetworkingV1::DeleteConnectionRequest::Representation
464
+ command.request_object = delete_connection_request_object
465
+ command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
466
+ command.response_class = Google::Apis::ServicenetworkingV1::Operation
467
+ command.params['name'] = name unless name.nil?
468
+ command.query['fields'] = fields unless fields.nil?
469
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
470
+ execute_or_queue_command(command, &block)
471
+ end
472
+
435
473
  # List the private connections that are configured in a service consumer's VPC
436
474
  # network.
437
475
  # @param [String] parent
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.10.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: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Service Networking API V1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.10.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Service Networking API V1