google-apis-networkservices_v1beta1 0.76.0 → 0.77.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 +121 -0
- data/lib/google/apis/networkservices_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/networkservices_v1beta1/representations.rb +50 -0
- data/lib/google/apis/networkservices_v1beta1/service.rb +221 -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: 9e35a71d3b25e83347f093be36167c6816736124e6b3b99a0b60422d1c1c8e0a
|
|
4
|
+
data.tar.gz: 9e00bde4af590af1a20632bd93c79982c804330a018339557b81f61c6c062f17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42e4530687ab73fca0e4e8ae569ec0fd2e2d01a6a660bd77106c9454245d35bc937d40fc299be311e599a9bf8c1f74b741040be4c756928f72594f6e53b529e9
|
|
7
|
+
data.tar.gz: 8c2598daa35d08019678c52c2cdd15bbb7d05e2026f59a8f6b0fd5a9fcf9df13d21bc587a2cd567c39168dd6459a4b6351f69e9e2ff2c4f333cf36e0c6ee8440
|
data/CHANGELOG.md
CHANGED
|
@@ -529,6 +529,96 @@ module Google
|
|
|
529
529
|
end
|
|
530
530
|
end
|
|
531
531
|
|
|
532
|
+
# `CdnEdgeExtension` is a resource that lets the extension service modify the
|
|
533
|
+
# headers of both requests to the cache and responses from the cache served by
|
|
534
|
+
# an [`EdgeCacheService`](https://cloud.google.com/media-cdn/docs/reference/rest/
|
|
535
|
+
# v1/projects.locations.edgeCacheServices).
|
|
536
|
+
class CdnEdgeExtension
|
|
537
|
+
include Google::Apis::Core::Hashable
|
|
538
|
+
|
|
539
|
+
# Output only. The timestamp when the resource was created.
|
|
540
|
+
# Corresponds to the JSON property `createTime`
|
|
541
|
+
# @return [String]
|
|
542
|
+
attr_accessor :create_time
|
|
543
|
+
|
|
544
|
+
# Optional. A human-readable description of the resource.
|
|
545
|
+
# Corresponds to the JSON property `description`
|
|
546
|
+
# @return [String]
|
|
547
|
+
attr_accessor :description
|
|
548
|
+
|
|
549
|
+
# Required. A set of ordered extension chains that contain the match conditions
|
|
550
|
+
# and extensions to execute. Match conditions for each extension chain are
|
|
551
|
+
# evaluated in sequence for a given request. The first extension chain that has
|
|
552
|
+
# a condition that matches the request is executed. Any subsequent extension
|
|
553
|
+
# chains do not execute. Limited to 5 extension chains per resource.
|
|
554
|
+
# Corresponds to the JSON property `extensionChains`
|
|
555
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::ExtensionChain>]
|
|
556
|
+
attr_accessor :extension_chains
|
|
557
|
+
|
|
558
|
+
# Optional. Set of labels associated with the `CdnEdgeExtension` resource. The
|
|
559
|
+
# format must comply with [the requirements for labels](https://cloud.google.com/
|
|
560
|
+
# compute/docs/labeling-resources#requirements) for Google Cloud resources.
|
|
561
|
+
# Corresponds to the JSON property `labels`
|
|
562
|
+
# @return [Hash<String,String>]
|
|
563
|
+
attr_accessor :labels
|
|
564
|
+
|
|
565
|
+
# Required. Identifier. Name of the `CdnEdgeExtension` resource in the following
|
|
566
|
+
# format: `projects/`project`/locations/`location`/cdnEdgeExtensions/`
|
|
567
|
+
# cdn_edge_extension``.
|
|
568
|
+
# Corresponds to the JSON property `name`
|
|
569
|
+
# @return [String]
|
|
570
|
+
attr_accessor :name
|
|
571
|
+
|
|
572
|
+
# Specifies the set of targets to which `CdnEdgeExtension` should be applied to.
|
|
573
|
+
# Corresponds to the JSON property `target`
|
|
574
|
+
# @return [Google::Apis::NetworkservicesV1beta1::CdnEdgeExtensionTarget]
|
|
575
|
+
attr_accessor :target
|
|
576
|
+
|
|
577
|
+
# Output only. The timestamp when the resource was updated.
|
|
578
|
+
# Corresponds to the JSON property `updateTime`
|
|
579
|
+
# @return [String]
|
|
580
|
+
attr_accessor :update_time
|
|
581
|
+
|
|
582
|
+
def initialize(**args)
|
|
583
|
+
update!(**args)
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
# Update properties of this object
|
|
587
|
+
def update!(**args)
|
|
588
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
589
|
+
@description = args[:description] if args.key?(:description)
|
|
590
|
+
@extension_chains = args[:extension_chains] if args.key?(:extension_chains)
|
|
591
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
592
|
+
@name = args[:name] if args.key?(:name)
|
|
593
|
+
@target = args[:target] if args.key?(:target)
|
|
594
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
# Specifies the set of targets to which `CdnEdgeExtension` should be applied to.
|
|
599
|
+
class CdnEdgeExtensionTarget
|
|
600
|
+
include Google::Apis::Core::Hashable
|
|
601
|
+
|
|
602
|
+
# Required. A list of references to the resources that are targeted by `
|
|
603
|
+
# CdnEdgeExtension`. Types of resources supported: `EdgeCacheService`. The
|
|
604
|
+
# format must be the full resource name of [EdgeCacheService](https://cloud.
|
|
605
|
+
# google.com/media-cdn/docs/reference/rest/v1/projects.locations.
|
|
606
|
+
# edgeCacheServices) in the following format: `//networkservices.googleapis.com/
|
|
607
|
+
# projects/`project`/locations/`location`/edgeCacheServices/`edgeCacheService``.
|
|
608
|
+
# Corresponds to the JSON property `resources`
|
|
609
|
+
# @return [Array<String>]
|
|
610
|
+
attr_accessor :resources
|
|
611
|
+
|
|
612
|
+
def initialize(**args)
|
|
613
|
+
update!(**args)
|
|
614
|
+
end
|
|
615
|
+
|
|
616
|
+
# Update properties of this object
|
|
617
|
+
def update!(**args)
|
|
618
|
+
@resources = args[:resources] if args.key?(:resources)
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
532
622
|
# DNS Peering configuration.
|
|
533
623
|
class DnsPeeringConfig
|
|
534
624
|
include Google::Apis::Core::Hashable
|
|
@@ -3358,6 +3448,37 @@ module Google
|
|
|
3358
3448
|
end
|
|
3359
3449
|
end
|
|
3360
3450
|
|
|
3451
|
+
# Message for response to listing `CdnEdgeExtension` resources.
|
|
3452
|
+
class ListCdnEdgeExtensionsResponse
|
|
3453
|
+
include Google::Apis::Core::Hashable
|
|
3454
|
+
|
|
3455
|
+
# The list of `CdnEdgeExtension` resources.
|
|
3456
|
+
# Corresponds to the JSON property `cdnEdgeExtensions`
|
|
3457
|
+
# @return [Array<Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension>]
|
|
3458
|
+
attr_accessor :cdn_edge_extensions
|
|
3459
|
+
|
|
3460
|
+
# A token identifying a page of results that the server returns.
|
|
3461
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
3462
|
+
# @return [String]
|
|
3463
|
+
attr_accessor :next_page_token
|
|
3464
|
+
|
|
3465
|
+
# Locations that could not be reached.
|
|
3466
|
+
# Corresponds to the JSON property `unreachable`
|
|
3467
|
+
# @return [Array<String>]
|
|
3468
|
+
attr_accessor :unreachable
|
|
3469
|
+
|
|
3470
|
+
def initialize(**args)
|
|
3471
|
+
update!(**args)
|
|
3472
|
+
end
|
|
3473
|
+
|
|
3474
|
+
# Update properties of this object
|
|
3475
|
+
def update!(**args)
|
|
3476
|
+
@cdn_edge_extensions = args[:cdn_edge_extensions] if args.key?(:cdn_edge_extensions)
|
|
3477
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3478
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3479
|
+
end
|
|
3480
|
+
end
|
|
3481
|
+
|
|
3361
3482
|
# Response returned by the ListEndpointPolicies method.
|
|
3362
3483
|
class ListEndpointPoliciesResponse
|
|
3363
3484
|
include Google::Apis::Core::Hashable
|
|
@@ -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.77.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 = "20260821"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -82,6 +82,18 @@ module Google
|
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
+
class CdnEdgeExtension
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class CdnEdgeExtensionTarget
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
85
97
|
class DnsPeeringConfig
|
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
99
|
|
|
@@ -424,6 +436,12 @@ module Google
|
|
|
424
436
|
include Google::Apis::Core::JsonObjectSupport
|
|
425
437
|
end
|
|
426
438
|
|
|
439
|
+
class ListCdnEdgeExtensionsResponse
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
427
445
|
class ListEndpointPoliciesResponse
|
|
428
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
429
447
|
|
|
@@ -865,6 +883,28 @@ module Google
|
|
|
865
883
|
end
|
|
866
884
|
end
|
|
867
885
|
|
|
886
|
+
class CdnEdgeExtension
|
|
887
|
+
# @private
|
|
888
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
889
|
+
property :create_time, as: 'createTime'
|
|
890
|
+
property :description, as: 'description'
|
|
891
|
+
collection :extension_chains, as: 'extensionChains', class: Google::Apis::NetworkservicesV1beta1::ExtensionChain, decorator: Google::Apis::NetworkservicesV1beta1::ExtensionChain::Representation
|
|
892
|
+
|
|
893
|
+
hash :labels, as: 'labels'
|
|
894
|
+
property :name, as: 'name'
|
|
895
|
+
property :target, as: 'target', class: Google::Apis::NetworkservicesV1beta1::CdnEdgeExtensionTarget, decorator: Google::Apis::NetworkservicesV1beta1::CdnEdgeExtensionTarget::Representation
|
|
896
|
+
|
|
897
|
+
property :update_time, as: 'updateTime'
|
|
898
|
+
end
|
|
899
|
+
end
|
|
900
|
+
|
|
901
|
+
class CdnEdgeExtensionTarget
|
|
902
|
+
# @private
|
|
903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
904
|
+
collection :resources, as: 'resources'
|
|
905
|
+
end
|
|
906
|
+
end
|
|
907
|
+
|
|
868
908
|
class DnsPeeringConfig
|
|
869
909
|
# @private
|
|
870
910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1522,6 +1562,16 @@ module Google
|
|
|
1522
1562
|
end
|
|
1523
1563
|
end
|
|
1524
1564
|
|
|
1565
|
+
class ListCdnEdgeExtensionsResponse
|
|
1566
|
+
# @private
|
|
1567
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1568
|
+
collection :cdn_edge_extensions, as: 'cdnEdgeExtensions', class: Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension, decorator: Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension::Representation
|
|
1569
|
+
|
|
1570
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1571
|
+
collection :unreachable, as: 'unreachable'
|
|
1572
|
+
end
|
|
1573
|
+
end
|
|
1574
|
+
|
|
1525
1575
|
class ListEndpointPoliciesResponse
|
|
1526
1576
|
# @private
|
|
1527
1577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -732,6 +732,227 @@ module Google
|
|
|
732
732
|
execute_or_queue_command(command, &block)
|
|
733
733
|
end
|
|
734
734
|
|
|
735
|
+
# Creates a new `CdnEdgeExtension` resource in a given project and location.
|
|
736
|
+
# @param [String] parent
|
|
737
|
+
# Required. The parent resource of the `CdnEdgeExtension` resource. Must be in
|
|
738
|
+
# the format `projects/`project`/locations/`location``.
|
|
739
|
+
# @param [Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension] cdn_edge_extension_object
|
|
740
|
+
# @param [String] cdn_edge_extension_id
|
|
741
|
+
# Required. User-provided ID of the `CdnEdgeExtension` resource to be created.
|
|
742
|
+
# @param [String] request_id
|
|
743
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
744
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
745
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
746
|
+
# minutes since the first request. For example, consider a situation where you
|
|
747
|
+
# make an initial request and the request times out. If you make the request
|
|
748
|
+
# again with the same request ID, the server ignores the second request This
|
|
749
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
750
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
751
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
752
|
+
# @param [String] fields
|
|
753
|
+
# Selector specifying which fields to include in a partial response.
|
|
754
|
+
# @param [String] quota_user
|
|
755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
757
|
+
# @param [Google::Apis::RequestOptions] options
|
|
758
|
+
# Request-specific options
|
|
759
|
+
#
|
|
760
|
+
# @yield [result, err] Result & error if block supplied
|
|
761
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
762
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
763
|
+
#
|
|
764
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
765
|
+
#
|
|
766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
769
|
+
def create_project_location_cdn_edge_extension(parent, cdn_edge_extension_object = nil, cdn_edge_extension_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
770
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/cdnEdgeExtensions', options)
|
|
771
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension::Representation
|
|
772
|
+
command.request_object = cdn_edge_extension_object
|
|
773
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
774
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
775
|
+
command.params['parent'] = parent unless parent.nil?
|
|
776
|
+
command.query['cdnEdgeExtensionId'] = cdn_edge_extension_id unless cdn_edge_extension_id.nil?
|
|
777
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
778
|
+
command.query['fields'] = fields unless fields.nil?
|
|
779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
780
|
+
execute_or_queue_command(command, &block)
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
# Deletes the specified `CdnEdgeExtension` resource.
|
|
784
|
+
# @param [String] name
|
|
785
|
+
# Required. The name of the `CdnEdgeExtension` resource to delete. Must be in
|
|
786
|
+
# the format `projects/`project`/locations/`location`/cdnEdgeExtensions/`
|
|
787
|
+
# cdn_edge_extension``.
|
|
788
|
+
# @param [String] request_id
|
|
789
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
790
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
791
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
792
|
+
# minutes after the first request. For example, consider a situation where you
|
|
793
|
+
# make an initial request and the request times out. If you make the request
|
|
794
|
+
# again with the same request ID, the server ignores the second request This
|
|
795
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
796
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
797
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
798
|
+
# @param [String] fields
|
|
799
|
+
# Selector specifying which fields to include in a partial response.
|
|
800
|
+
# @param [String] quota_user
|
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
803
|
+
# @param [Google::Apis::RequestOptions] options
|
|
804
|
+
# Request-specific options
|
|
805
|
+
#
|
|
806
|
+
# @yield [result, err] Result & error if block supplied
|
|
807
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
808
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
809
|
+
#
|
|
810
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
811
|
+
#
|
|
812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
815
|
+
def delete_project_location_cdn_edge_extension(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
816
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
817
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
818
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
819
|
+
command.params['name'] = name unless name.nil?
|
|
820
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
823
|
+
execute_or_queue_command(command, &block)
|
|
824
|
+
end
|
|
825
|
+
|
|
826
|
+
# Gets details of the specified `CdnEdgeExtension` resource.
|
|
827
|
+
# @param [String] name
|
|
828
|
+
# Required. A name of the `CdnEdgeExtension` resource to get. Must be in the
|
|
829
|
+
# format `projects/`project`/locations/`location`/cdnEdgeExtensions/`
|
|
830
|
+
# cdn_edge_extension``.
|
|
831
|
+
# @param [String] fields
|
|
832
|
+
# Selector specifying which fields to include in a partial response.
|
|
833
|
+
# @param [String] quota_user
|
|
834
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
835
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
836
|
+
# @param [Google::Apis::RequestOptions] options
|
|
837
|
+
# Request-specific options
|
|
838
|
+
#
|
|
839
|
+
# @yield [result, err] Result & error if block supplied
|
|
840
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension] parsed result object
|
|
841
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
842
|
+
#
|
|
843
|
+
# @return [Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension]
|
|
844
|
+
#
|
|
845
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
846
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
847
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
848
|
+
def get_project_location_cdn_edge_extension(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
849
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
850
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension::Representation
|
|
851
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension
|
|
852
|
+
command.params['name'] = name unless name.nil?
|
|
853
|
+
command.query['fields'] = fields unless fields.nil?
|
|
854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
855
|
+
execute_or_queue_command(command, &block)
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# Lists `CdnEdgeExtensions` resources in a given project and location.
|
|
859
|
+
# @param [String] parent
|
|
860
|
+
# Required. The project and location from which the `CdnEdgeExtension` resources
|
|
861
|
+
# are listed. These values are specified in the following format: `projects/`
|
|
862
|
+
# project`/locations/`location``.
|
|
863
|
+
# @param [String] filter
|
|
864
|
+
# Optional. Filtering results.
|
|
865
|
+
# @param [String] order_by
|
|
866
|
+
# Optional. Hint about how to order the results.
|
|
867
|
+
# @param [Fixnum] page_size
|
|
868
|
+
# Optional. Requested page size. The server might return fewer items than
|
|
869
|
+
# requested. If unspecified, the server picks an appropriate default.
|
|
870
|
+
# @param [String] page_token
|
|
871
|
+
# Optional. A token identifying a page of results that the server returns.
|
|
872
|
+
# @param [String] fields
|
|
873
|
+
# Selector specifying which fields to include in a partial response.
|
|
874
|
+
# @param [String] quota_user
|
|
875
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
876
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
877
|
+
# @param [Google::Apis::RequestOptions] options
|
|
878
|
+
# Request-specific options
|
|
879
|
+
#
|
|
880
|
+
# @yield [result, err] Result & error if block supplied
|
|
881
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::ListCdnEdgeExtensionsResponse] parsed result object
|
|
882
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
883
|
+
#
|
|
884
|
+
# @return [Google::Apis::NetworkservicesV1beta1::ListCdnEdgeExtensionsResponse]
|
|
885
|
+
#
|
|
886
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
887
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
888
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
889
|
+
def list_project_location_cdn_edge_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
890
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/cdnEdgeExtensions', options)
|
|
891
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListCdnEdgeExtensionsResponse::Representation
|
|
892
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::ListCdnEdgeExtensionsResponse
|
|
893
|
+
command.params['parent'] = parent unless parent.nil?
|
|
894
|
+
command.query['filter'] = filter unless filter.nil?
|
|
895
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
896
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
897
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
898
|
+
command.query['fields'] = fields unless fields.nil?
|
|
899
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
900
|
+
execute_or_queue_command(command, &block)
|
|
901
|
+
end
|
|
902
|
+
|
|
903
|
+
# Updates the parameters of the specified `CdnEdgeExtension` resource.
|
|
904
|
+
# @param [String] name
|
|
905
|
+
# Required. Identifier. Name of the `CdnEdgeExtension` resource in the following
|
|
906
|
+
# format: `projects/`project`/locations/`location`/cdnEdgeExtensions/`
|
|
907
|
+
# cdn_edge_extension``.
|
|
908
|
+
# @param [Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension] cdn_edge_extension_object
|
|
909
|
+
# @param [String] request_id
|
|
910
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
911
|
+
# request ID so that if you must retry your request, the server can ignore the
|
|
912
|
+
# request if it has already been completed. The server guarantees that for 60
|
|
913
|
+
# minutes since the first request. For example, consider a situation where you
|
|
914
|
+
# make an initial request and the request times out. If you make the request
|
|
915
|
+
# again with the same request ID, the server ignores the second request This
|
|
916
|
+
# prevents clients from accidentally creating duplicate commitments. The request
|
|
917
|
+
# ID must be a valid UUID with the exception that zero UUID is not supported (
|
|
918
|
+
# 00000000-0000-0000-0000-000000000000).
|
|
919
|
+
# @param [String] update_mask
|
|
920
|
+
# Optional. Used to specify the fields to be overwritten in the `
|
|
921
|
+
# CdnEdgeExtension` resource by the update. The fields specified in the `
|
|
922
|
+
# update_mask` are relative to the resource, not the full request. A field is
|
|
923
|
+
# overwritten if it is in the mask. If the user does not specify a mask, then
|
|
924
|
+
# all fields are overwritten.
|
|
925
|
+
# @param [String] fields
|
|
926
|
+
# Selector specifying which fields to include in a partial response.
|
|
927
|
+
# @param [String] quota_user
|
|
928
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
929
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
930
|
+
# @param [Google::Apis::RequestOptions] options
|
|
931
|
+
# Request-specific options
|
|
932
|
+
#
|
|
933
|
+
# @yield [result, err] Result & error if block supplied
|
|
934
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Operation] parsed result object
|
|
935
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
936
|
+
#
|
|
937
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Operation]
|
|
938
|
+
#
|
|
939
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
940
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
941
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
942
|
+
def patch_project_location_cdn_edge_extension(name, cdn_edge_extension_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
943
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
944
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::CdnEdgeExtension::Representation
|
|
945
|
+
command.request_object = cdn_edge_extension_object
|
|
946
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Operation::Representation
|
|
947
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Operation
|
|
948
|
+
command.params['name'] = name unless name.nil?
|
|
949
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
950
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
951
|
+
command.query['fields'] = fields unless fields.nil?
|
|
952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
953
|
+
execute_or_queue_command(command, &block)
|
|
954
|
+
end
|
|
955
|
+
|
|
735
956
|
# Creates a new EndpointPolicy in a given project and location.
|
|
736
957
|
# @param [String] parent
|
|
737
958
|
# Required. The parent resource of the EndpointPolicy. 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.77.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.77.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:
|