google-apis-apigee_v1 0.33.0 → 0.34.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: b215f17311989d86700e89952f729a740ef5c2801c4e06213e2e69594f8efefd
4
- data.tar.gz: 3875836b7868a657eb84f5e02dd2b6908f93f910d18e0035e92870e8c25590de
3
+ metadata.gz: d044dc5ccd8945937a6ffef690ffec6d012e532266992af9bd3c8451c9f1f3a6
4
+ data.tar.gz: 4bb078b5158ab959509ac90db27dca9dda72996838c7be58ad94f56490f47b87
5
5
  SHA512:
6
- metadata.gz: 619dafc595aa59b6069b338342362046eb16be5d4cb00c1423a466705d1efffade2c4eedef9082ed5bd39e84f8bab150f829c9679f8ada723697c63a804ebeb0
7
- data.tar.gz: 15cc013073a8ddcdc53ff498cb699f6a8060b4d2f54e937ea07eb638302c1c43112afdb469c34514852330b5fb5b54db44adbba4e09ca1db2ffb71f395053409
6
+ metadata.gz: 8da60016af457ad4c1f06a861ae91fcd67ad6b7c6915e15d9b4c559226e66af479ddc098cd9b8c3d8b0adfaca2de55b04cf35b10e2c8721234dc83c9571a2b4f
7
+ data.tar.gz: 19dc40bc9de5dd75dc8bb28260083127d4fc8183eee0ed6555f097dc4adc867853db7b6c845032083d9223071a4685a565b54063d2de65d03b18578d73ae56f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.34.0 (2022-02-08)
4
+
5
+ * Regenerated from discovery document revision 20220205
6
+
3
7
  ### v0.33.0 (2022-02-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20220127
@@ -2909,6 +2909,45 @@ module Google
2909
2909
  end
2910
2910
  end
2911
2911
 
2912
+ # Apigee Endpoint Attachment.
2913
+ class GoogleCloudApigeeV1EndpointAttachment
2914
+ include Google::Apis::Core::Hashable
2915
+
2916
+ # Output only. Host that can be used in either HTTP Target Endpoint directly, or
2917
+ # as the host in Target Server.
2918
+ # Corresponds to the JSON property `host`
2919
+ # @return [String]
2920
+ attr_accessor :host
2921
+
2922
+ # Required. Location of the endpoint attachment.
2923
+ # Corresponds to the JSON property `location`
2924
+ # @return [String]
2925
+ attr_accessor :location
2926
+
2927
+ # Name of the Endpoint Attachment in the following format: `organizations/`
2928
+ # organization`/endpointAttachments/`endpoint_attachment``.
2929
+ # Corresponds to the JSON property `name`
2930
+ # @return [String]
2931
+ attr_accessor :name
2932
+
2933
+ # Format: projects/*/regions/*/serviceAttachments/*
2934
+ # Corresponds to the JSON property `serviceAttachment`
2935
+ # @return [String]
2936
+ attr_accessor :service_attachment
2937
+
2938
+ def initialize(**args)
2939
+ update!(**args)
2940
+ end
2941
+
2942
+ # Update properties of this object
2943
+ def update!(**args)
2944
+ @host = args[:host] if args.key?(:host)
2945
+ @location = args[:location] if args.key?(:location)
2946
+ @name = args[:name] if args.key?(:name)
2947
+ @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
2948
+ end
2949
+ end
2950
+
2912
2951
  # Metadata common to many entities in this API.
2913
2952
  class GoogleCloudApigeeV1EntityMetadata
2914
2953
  include Google::Apis::Core::Hashable
@@ -4390,6 +4429,32 @@ module Google
4390
4429
  end
4391
4430
  end
4392
4431
 
4432
+ # Response for ListEndpointAttachments method.
4433
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
4434
+ include Google::Apis::Core::Hashable
4435
+
4436
+ # Endpoint Attachments in the specified organization.
4437
+ # Corresponds to the JSON property `endpointAttachments`
4438
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment>]
4439
+ attr_accessor :endpoint_attachments
4440
+
4441
+ # Page token that you can include in a ListEndpointAttachments request to
4442
+ # retrieve the next page. If omitted, no subsequent pages exist.
4443
+ # Corresponds to the JSON property `nextPageToken`
4444
+ # @return [String]
4445
+ attr_accessor :next_page_token
4446
+
4447
+ def initialize(**args)
4448
+ update!(**args)
4449
+ end
4450
+
4451
+ # Update properties of this object
4452
+ def update!(**args)
4453
+ @endpoint_attachments = args[:endpoint_attachments] if args.key?(:endpoint_attachments)
4454
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4455
+ end
4456
+ end
4457
+
4393
4458
  # Response for ListEnvironmentGroupAttachments.
4394
4459
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
4395
4460
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApigeeV1
18
18
  # Version of the google-apis-apigee_v1 gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220127"
25
+ REVISION = "20220205"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class GoogleCloudApigeeV1EndpointAttachment
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class GoogleCloudApigeeV1EntityMetadata
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -646,6 +652,12 @@ module Google
646
652
  include Google::Apis::Core::JsonObjectSupport
647
653
  end
648
654
 
655
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
649
661
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
650
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
663
 
@@ -1933,6 +1945,16 @@ module Google
1933
1945
  end
1934
1946
  end
1935
1947
 
1948
+ class GoogleCloudApigeeV1EndpointAttachment
1949
+ # @private
1950
+ class Representation < Google::Apis::Core::JsonRepresentation
1951
+ property :host, as: 'host'
1952
+ property :location, as: 'location'
1953
+ property :name, as: 'name'
1954
+ property :service_attachment, as: 'serviceAttachment'
1955
+ end
1956
+ end
1957
+
1936
1958
  class GoogleCloudApigeeV1EntityMetadata
1937
1959
  # @private
1938
1960
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2360,6 +2382,15 @@ module Google
2360
2382
  end
2361
2383
  end
2362
2384
 
2385
+ class GoogleCloudApigeeV1ListEndpointAttachmentsResponse
2386
+ # @private
2387
+ class Representation < Google::Apis::Core::JsonRepresentation
2388
+ collection :endpoint_attachments, as: 'endpointAttachments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
2389
+
2390
+ property :next_page_token, as: 'nextPageToken'
2391
+ end
2392
+ end
2393
+
2363
2394
  class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
2364
2395
  # @private
2365
2396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3470,6 +3470,144 @@ module Google
3470
3470
  execute_or_queue_command(command, &block)
3471
3471
  end
3472
3472
 
3473
+ # Creates an EndpointAttachment. **Note:** Not supported for Apigee hybrid.
3474
+ # @param [String] parent
3475
+ # Required. The Organization this EndpointAttachment will be created in.
3476
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment] google_cloud_apigee_v1_endpoint_attachment_object
3477
+ # @param [String] endpoint_attachment_id
3478
+ # The ID to use for the endpoint attachment. ID must be a 1-20 characters string
3479
+ # with lowercase letters and numbers and must start with a letter.
3480
+ # @param [String] fields
3481
+ # Selector specifying which fields to include in a partial response.
3482
+ # @param [String] quota_user
3483
+ # Available to use for quota purposes for server-side applications. Can be any
3484
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3485
+ # @param [Google::Apis::RequestOptions] options
3486
+ # Request-specific options
3487
+ #
3488
+ # @yield [result, err] Result & error if block supplied
3489
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3490
+ # @yieldparam err [StandardError] error object if request failed
3491
+ #
3492
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3493
+ #
3494
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3495
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3496
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3497
+ def create_organization_endpoint_attachment(parent, google_cloud_apigee_v1_endpoint_attachment_object = nil, endpoint_attachment_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3498
+ command = make_simple_command(:post, 'v1/{+parent}/endpointAttachments', options)
3499
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
3500
+ command.request_object = google_cloud_apigee_v1_endpoint_attachment_object
3501
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3502
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3503
+ command.params['parent'] = parent unless parent.nil?
3504
+ command.query['endpointAttachmentId'] = endpoint_attachment_id unless endpoint_attachment_id.nil?
3505
+ command.query['fields'] = fields unless fields.nil?
3506
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3507
+ execute_or_queue_command(command, &block)
3508
+ end
3509
+
3510
+ # Deletes an endpoint attachment.
3511
+ # @param [String] name
3512
+ # Required. Name of the Endpoint Attachment in the following format: `
3513
+ # organizations/`organization`/endpointAttachments/`endpoint_attachment``.
3514
+ # @param [String] fields
3515
+ # Selector specifying which fields to include in a partial response.
3516
+ # @param [String] quota_user
3517
+ # Available to use for quota purposes for server-side applications. Can be any
3518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3519
+ # @param [Google::Apis::RequestOptions] options
3520
+ # Request-specific options
3521
+ #
3522
+ # @yield [result, err] Result & error if block supplied
3523
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleLongrunningOperation] parsed result object
3524
+ # @yieldparam err [StandardError] error object if request failed
3525
+ #
3526
+ # @return [Google::Apis::ApigeeV1::GoogleLongrunningOperation]
3527
+ #
3528
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3529
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3530
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3531
+ def delete_organization_endpoint_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3532
+ command = make_simple_command(:delete, 'v1/{+name}', options)
3533
+ command.response_representation = Google::Apis::ApigeeV1::GoogleLongrunningOperation::Representation
3534
+ command.response_class = Google::Apis::ApigeeV1::GoogleLongrunningOperation
3535
+ command.params['name'] = name unless name.nil?
3536
+ command.query['fields'] = fields unless fields.nil?
3537
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3538
+ execute_or_queue_command(command, &block)
3539
+ end
3540
+
3541
+ # Gets the specified EndpointAttachment.
3542
+ # @param [String] name
3543
+ # Required. Name of the Endpoint Attachment in the following format: `
3544
+ # organizations/`organization`/endpointAttachments/`endpoint_attachment``.
3545
+ # @param [String] fields
3546
+ # Selector specifying which fields to include in a partial response.
3547
+ # @param [String] quota_user
3548
+ # Available to use for quota purposes for server-side applications. Can be any
3549
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3550
+ # @param [Google::Apis::RequestOptions] options
3551
+ # Request-specific options
3552
+ #
3553
+ # @yield [result, err] Result & error if block supplied
3554
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment] parsed result object
3555
+ # @yieldparam err [StandardError] error object if request failed
3556
+ #
3557
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment]
3558
+ #
3559
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3560
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3561
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3562
+ def get_organization_endpoint_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
3563
+ command = make_simple_command(:get, 'v1/{+name}', options)
3564
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment::Representation
3565
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointAttachment
3566
+ command.params['name'] = name unless name.nil?
3567
+ command.query['fields'] = fields unless fields.nil?
3568
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3569
+ execute_or_queue_command(command, &block)
3570
+ end
3571
+
3572
+ # Lists the EndpointAttachments in the specified Organization.
3573
+ # @param [String] parent
3574
+ # Required. Name of the Organization for which to list Endpoint Attachments in
3575
+ # the format: `organizations/`organization``.
3576
+ # @param [Fixnum] page_size
3577
+ # Optional. Maximum number of Endpoint Attachments to return. If unspecified, at
3578
+ # most 25 attachments will be returned.
3579
+ # @param [String] page_token
3580
+ # Optional. Page token, returned from a previous ListEndpointAttachments call,
3581
+ # that you can use to retrieve the next page.
3582
+ # @param [String] fields
3583
+ # Selector specifying which fields to include in a partial response.
3584
+ # @param [String] quota_user
3585
+ # Available to use for quota purposes for server-side applications. Can be any
3586
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3587
+ # @param [Google::Apis::RequestOptions] options
3588
+ # Request-specific options
3589
+ #
3590
+ # @yield [result, err] Result & error if block supplied
3591
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse] parsed result object
3592
+ # @yieldparam err [StandardError] error object if request failed
3593
+ #
3594
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse]
3595
+ #
3596
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3597
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3598
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3599
+ def list_organization_endpoint_attachments(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3600
+ command = make_simple_command(:get, 'v1/{+parent}/endpointAttachments', options)
3601
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse::Representation
3602
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListEndpointAttachmentsResponse
3603
+ command.params['parent'] = parent unless parent.nil?
3604
+ command.query['pageSize'] = page_size unless page_size.nil?
3605
+ command.query['pageToken'] = page_token unless page_token.nil?
3606
+ command.query['fields'] = fields unless fields.nil?
3607
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3608
+ execute_or_queue_command(command, &block)
3609
+ end
3610
+
3473
3611
  # Creates a new environment group.
3474
3612
  # @param [String] parent
3475
3613
  # Required. Name of the organization in which to create the environment group in
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apigee_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-02-14 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-apigee_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apigee_v1
63
63
  post_install_message:
64
64
  rdoc_options: []