google-apis-servicenetworking_v1 0.4.0 → 0.9.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: c24355c708b6feca14c7f93b07fe0491c6eddcd766f19121fd444c61ceb9a656
4
- data.tar.gz: 593c7c5b6d14f9fbac4a7db065f43e04d3c307cfc530555eb40e60f223fdfaee
3
+ metadata.gz: 2d95a6e721c8928d93e55e904e9f5ec96ec1ab92518b930d0fd76e9e17c3369d
4
+ data.tar.gz: b2eef422736718d29acde70dee4be46c11e35e3b32c849d4053685662ac1e4a2
5
5
  SHA512:
6
- metadata.gz: 511d6190375b35a02edc468468363f72eb1356327783f10680fe6ff717e163be98f99476d69e7e974501ed585933cd24464744e306081bb86635a5e977d228f9
7
- data.tar.gz: 3ee29c5c567a436cc198da7d1ab92d26f9251a0473594ebaeade8e92100d62e77810e257dd27da6317720b314b7f54d0b1cfa13bfa7fd1e8301d1d6a828a02f9
6
+ metadata.gz: 2ba2d60fa4bc3a68e636966e2934bd13848554232b28ce1cd93810f99de600cf095212b546624a0cd94cc257930b2853ac8a4fb4f078332863392ae4ab2a4dd1
7
+ data.tar.gz: def02cdb35f1d13b7f883464c52576b3944a5a4b2a9ea771165e4513be0cc5e1bc2809bdbae87f26b7e0407833705c052a43cd91605a85ba36e721903ce6021e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-servicenetworking_v1
2
2
 
3
+ ### v0.9.0 (2021-05-27)
4
+
5
+ * Regenerated from discovery document revision 20210525
6
+
7
+ ### v0.8.0 (2021-05-22)
8
+
9
+ * Regenerated from discovery document revision 20210519
10
+ * Unspecified changes
11
+
12
+ ### v0.7.0 (2021-05-08)
13
+
14
+ * Regenerated from discovery document revision 20210505
15
+
16
+ ### v0.6.0 (2021-04-02)
17
+
18
+ * Regenerated from discovery document revision 20210331
19
+
20
+ ### v0.5.0 (2021-03-23)
21
+
22
+ * Regenerated from discovery document revision 20210319
23
+ * Regenerated using generator version 0.2.0
24
+
3
25
  ### v0.4.0 (2021-03-04)
4
26
 
5
27
  * Unspecified changes
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # Manage your Google API service configuration
@@ -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.4.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210217"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicenetworking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.9.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-08 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicenetworking_v1/v0.9.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicenetworking_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Service Networking API V1