google-apis-apigee_v1 0.84.0 → 0.86.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: a8b60b48dc8f987c6409b743c8f2867ade0dc923ea84ccbf22fed285aa673b73
4
- data.tar.gz: 04e252d78f208f3a55743cb9523dfa1a2026d102661ba4c39d3b77f30dbe0a44
3
+ metadata.gz: 543f58efb7dc66daf60f595a1e72274cdec0ffb59ce93672a5387c3394847c6e
4
+ data.tar.gz: 2aed68265e9d3ebd190ddb5fc4168950b4fa46c941d606580632b99908bbaba3
5
5
  SHA512:
6
- metadata.gz: 0ccea4d388773e9ed554d5bea149d5257d30001a2d1cf4407cc7093891914c24fa34dae5cbbe08b42cebf3e567db8a40852d2313a15a9065a0bd17b29f4df639
7
- data.tar.gz: 1a1918bf8dca8aa4bdd5a4c4c638cb0e5c933b832eb83cd5b363624a4860844914fc5f2364fc42da355a87b29ce4b795fec0b9e45d6b24803a3fb48d1614e359
6
+ metadata.gz: 3768cf670799b91638e8ee0d0b21b96c0b096f898d7ed1bbbec5303701acc222f74be50c1d0fae8a35465da0f6b89ce240a1f8b122051d8f64b483cd41db3826
7
+ data.tar.gz: ca247a86caa8ce13bff0b722f671b3a8e7e4e2c44cc0c4ee31ce6af5f16e0b0106db55df822d9b3ba5635388cd533335ce995c080707124dad65c26fd03f3f56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-apigee_v1
2
2
 
3
+ ### v0.86.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
7
+ ### v0.85.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240222
10
+
3
11
  ### v0.84.0 (2024-02-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20240220
@@ -553,6 +553,275 @@ module Google
553
553
  end
554
554
  end
555
555
 
556
+ # `ApiDoc` represents an API catalog item. Catalog items are used in two ways in
557
+ # a portal: - Users can browse and interact with a visual representation of the
558
+ # API documentation - The `api_product_name` field provides a link to a backing [
559
+ # API product] (/apigee/docs/reference/apis/apigee/rest/v1/organizations.
560
+ # apiproducts). Through this link, portal users can create and manage developer
561
+ # apps linked to one or more API products.
562
+ class GoogleCloudApigeeV1ApiDoc
563
+ include Google::Apis::Core::Hashable
564
+
565
+ # Optional. Boolean flag that manages user access to the catalog item. When true,
566
+ # the catalog item can be viewed anonymously; otherwise, only registered users
567
+ # may view it. Note: when the parent portal is enrolled in the [audience
568
+ # management feature](https://cloud.google.com/apigee/docs/api-platform/publish/
569
+ # portal/portal-audience#
570
+ # enrolling_in_the_beta_release_of_the_audience_management_feature), this flag
571
+ # is ignored; instead visibility must be further managed in the management UI (
572
+ # see [Manage the visibility of an API in your portal](https://cloud.google.com/
573
+ # apigee/docs/api-platform/publish/portal/publish-apis#visibility)).
574
+ # Corresponds to the JSON property `anonAllowed`
575
+ # @return [Boolean]
576
+ attr_accessor :anon_allowed
577
+ alias_method :anon_allowed?, :anon_allowed
578
+
579
+ # Required. Immutable. The `name` field of the associated [API product](/apigee/
580
+ # docs/reference/apis/apigee/rest/v1/organizations.apiproducts). A portal may
581
+ # have only one catalog item associated with a given API product.
582
+ # Corresponds to the JSON property `apiProductName`
583
+ # @return [String]
584
+ attr_accessor :api_product_name
585
+
586
+ # Optional. The IDs of the API categories to which this catalog item belongs.
587
+ # Corresponds to the JSON property `categoryIds`
588
+ # @return [Array<String>]
589
+ attr_accessor :category_ids
590
+
591
+ # Optional. Description of the catalog item. Max length is 10,000 characters.
592
+ # Corresponds to the JSON property `description`
593
+ # @return [String]
594
+ attr_accessor :description
595
+
596
+ # Optional. Immutable. DEPRECATED: use the `apiProductName` field instead
597
+ # Corresponds to the JSON property `edgeAPIProductName`
598
+ # @return [String]
599
+ attr_accessor :edge_api_product_name
600
+
601
+ # Optional. DEPRECATED: manage documentation through the `getDocumentation` and `
602
+ # updateDocumentation` methods
603
+ # Corresponds to the JSON property `graphqlEndpointUrl`
604
+ # @return [String]
605
+ attr_accessor :graphql_endpoint_url
606
+
607
+ # Optional. DEPRECATED: manage documentation through the `getDocumentation` and `
608
+ # updateDocumentation` methods
609
+ # Corresponds to the JSON property `graphqlSchema`
610
+ # @return [String]
611
+ attr_accessor :graphql_schema
612
+
613
+ # Optional. DEPRECATED: manage documentation through the `getDocumentation` and `
614
+ # updateDocumentation` methods
615
+ # Corresponds to the JSON property `graphqlSchemaDisplayName`
616
+ # @return [String]
617
+ attr_accessor :graphql_schema_display_name
618
+
619
+ # Output only. The ID of the catalog item.
620
+ # Corresponds to the JSON property `id`
621
+ # @return [Fixnum]
622
+ attr_accessor :id
623
+
624
+ # Optional. Location of the image used for the catalog item in the catalog. For
625
+ # portal files, this can have the format `/files/`filename``. Max length is 2,
626
+ # 083 characters.
627
+ # Corresponds to the JSON property `imageUrl`
628
+ # @return [String]
629
+ attr_accessor :image_url
630
+
631
+ # Output only. Time the catalog item was last modified in milliseconds since
632
+ # epoch.
633
+ # Corresponds to the JSON property `modified`
634
+ # @return [Fixnum]
635
+ attr_accessor :modified
636
+
637
+ # Optional. Denotes whether the catalog item is published to the portal or is in
638
+ # a draft state. When the parent portal is enrolled in the [audience management
639
+ # feature](https://cloud.google.com/apigee/docs/api-platform/publish/portal/
640
+ # portal-audience#
641
+ # enrolling_in_the_beta_release_of_the_audience_management_feature), the
642
+ # visibility must be further managed in the management UI (see [Manage the
643
+ # visibility of an API in your portal](https://cloud.google.com/apigee/docs/api-
644
+ # platform/publish/portal/publish-apis#visibility)) before it can be visible to
645
+ # any users. If not enrolled in the audience management feature, the visibility
646
+ # is further managed by the `anonAllowed` flag.
647
+ # Corresponds to the JSON property `published`
648
+ # @return [Boolean]
649
+ attr_accessor :published
650
+ alias_method :published?, :published
651
+
652
+ # Optional. Whether a callback URL is required when this catalog item's API
653
+ # product is enabled in a developer app. When true, a portal user will be
654
+ # required to input a URL when managing the app (this is typically used for the
655
+ # app's OAuth flow).
656
+ # Corresponds to the JSON property `requireCallbackUrl`
657
+ # @return [Boolean]
658
+ attr_accessor :require_callback_url
659
+ alias_method :require_callback_url?, :require_callback_url
660
+
661
+ # Output only. The ID of the parent portal.
662
+ # Corresponds to the JSON property `siteId`
663
+ # @return [String]
664
+ attr_accessor :site_id
665
+
666
+ # Optional. DEPRECATED: DO NOT USE
667
+ # Corresponds to the JSON property `specId`
668
+ # @return [String]
669
+ attr_accessor :spec_id
670
+
671
+ # Required. The user-facing name of the catalog item. `title` must be a non-
672
+ # empty string with a max length of 255 characters.
673
+ # Corresponds to the JSON property `title`
674
+ # @return [String]
675
+ attr_accessor :title
676
+
677
+ # Optional. DEPRECATED: use the `published` field instead
678
+ # Corresponds to the JSON property `visibility`
679
+ # @return [Boolean]
680
+ attr_accessor :visibility
681
+ alias_method :visibility?, :visibility
682
+
683
+ def initialize(**args)
684
+ update!(**args)
685
+ end
686
+
687
+ # Update properties of this object
688
+ def update!(**args)
689
+ @anon_allowed = args[:anon_allowed] if args.key?(:anon_allowed)
690
+ @api_product_name = args[:api_product_name] if args.key?(:api_product_name)
691
+ @category_ids = args[:category_ids] if args.key?(:category_ids)
692
+ @description = args[:description] if args.key?(:description)
693
+ @edge_api_product_name = args[:edge_api_product_name] if args.key?(:edge_api_product_name)
694
+ @graphql_endpoint_url = args[:graphql_endpoint_url] if args.key?(:graphql_endpoint_url)
695
+ @graphql_schema = args[:graphql_schema] if args.key?(:graphql_schema)
696
+ @graphql_schema_display_name = args[:graphql_schema_display_name] if args.key?(:graphql_schema_display_name)
697
+ @id = args[:id] if args.key?(:id)
698
+ @image_url = args[:image_url] if args.key?(:image_url)
699
+ @modified = args[:modified] if args.key?(:modified)
700
+ @published = args[:published] if args.key?(:published)
701
+ @require_callback_url = args[:require_callback_url] if args.key?(:require_callback_url)
702
+ @site_id = args[:site_id] if args.key?(:site_id)
703
+ @spec_id = args[:spec_id] if args.key?(:spec_id)
704
+ @title = args[:title] if args.key?(:title)
705
+ @visibility = args[:visibility] if args.key?(:visibility)
706
+ end
707
+ end
708
+
709
+ # The documentation for a catalog item.
710
+ class GoogleCloudApigeeV1ApiDocDocumentation
711
+ include Google::Apis::Core::Hashable
712
+
713
+ # GraphQL documentation for a catalog item.
714
+ # Corresponds to the JSON property `graphqlDocumentation`
715
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation]
716
+ attr_accessor :graphql_documentation
717
+
718
+ # OpenAPI Specification documentation for a catalog item.
719
+ # Corresponds to the JSON property `oasDocumentation`
720
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation]
721
+ attr_accessor :oas_documentation
722
+
723
+ def initialize(**args)
724
+ update!(**args)
725
+ end
726
+
727
+ # Update properties of this object
728
+ def update!(**args)
729
+ @graphql_documentation = args[:graphql_documentation] if args.key?(:graphql_documentation)
730
+ @oas_documentation = args[:oas_documentation] if args.key?(:oas_documentation)
731
+ end
732
+ end
733
+
734
+ # The catalog item documentation wrapped with response status, error_code, etc.
735
+ class GoogleCloudApigeeV1ApiDocDocumentationResponse
736
+ include Google::Apis::Core::Hashable
737
+
738
+ # The documentation for a catalog item.
739
+ # Corresponds to the JSON property `data`
740
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation]
741
+ attr_accessor :data
742
+
743
+ # Output only. Unique error code for the request, if any.
744
+ # Corresponds to the JSON property `errorCode`
745
+ # @return [String]
746
+ attr_accessor :error_code
747
+
748
+ # Output only. Description of the operation.
749
+ # Corresponds to the JSON property `message`
750
+ # @return [String]
751
+ attr_accessor :message
752
+
753
+ # Output only. Unique ID of the request.
754
+ # Corresponds to the JSON property `requestId`
755
+ # @return [String]
756
+ attr_accessor :request_id
757
+
758
+ # Output only. Status of the operation.
759
+ # Corresponds to the JSON property `status`
760
+ # @return [String]
761
+ attr_accessor :status
762
+
763
+ def initialize(**args)
764
+ update!(**args)
765
+ end
766
+
767
+ # Update properties of this object
768
+ def update!(**args)
769
+ @data = args[:data] if args.key?(:data)
770
+ @error_code = args[:error_code] if args.key?(:error_code)
771
+ @message = args[:message] if args.key?(:message)
772
+ @request_id = args[:request_id] if args.key?(:request_id)
773
+ @status = args[:status] if args.key?(:status)
774
+ end
775
+ end
776
+
777
+ # The catalog item resource wrapped with response status, error_code, etc.
778
+ class GoogleCloudApigeeV1ApiDocResponse
779
+ include Google::Apis::Core::Hashable
780
+
781
+ # `ApiDoc` represents an API catalog item. Catalog items are used in two ways in
782
+ # a portal: - Users can browse and interact with a visual representation of the
783
+ # API documentation - The `api_product_name` field provides a link to a backing [
784
+ # API product] (/apigee/docs/reference/apis/apigee/rest/v1/organizations.
785
+ # apiproducts). Through this link, portal users can create and manage developer
786
+ # apps linked to one or more API products.
787
+ # Corresponds to the JSON property `data`
788
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc]
789
+ attr_accessor :data
790
+
791
+ # Unique error code for the request, if any.
792
+ # Corresponds to the JSON property `errorCode`
793
+ # @return [String]
794
+ attr_accessor :error_code
795
+
796
+ # Description of the operation.
797
+ # Corresponds to the JSON property `message`
798
+ # @return [String]
799
+ attr_accessor :message
800
+
801
+ # Unique ID of the request.
802
+ # Corresponds to the JSON property `requestId`
803
+ # @return [String]
804
+ attr_accessor :request_id
805
+
806
+ # Status of the operation.
807
+ # Corresponds to the JSON property `status`
808
+ # @return [String]
809
+ attr_accessor :status
810
+
811
+ def initialize(**args)
812
+ update!(**args)
813
+ end
814
+
815
+ # Update properties of this object
816
+ def update!(**args)
817
+ @data = args[:data] if args.key?(:data)
818
+ @error_code = args[:error_code] if args.key?(:error_code)
819
+ @message = args[:message] if args.key?(:message)
820
+ @request_id = args[:request_id] if args.key?(:request_id)
821
+ @status = args[:status] if args.key?(:status)
822
+ end
823
+ end
824
+
556
825
  #
557
826
  class GoogleCloudApigeeV1ApiProduct
558
827
  include Google::Apis::Core::Hashable
@@ -3602,6 +3871,33 @@ module Google
3602
3871
  end
3603
3872
  end
3604
3873
 
3874
+ # Documentation file contents for a catalog item.
3875
+ class GoogleCloudApigeeV1DocumentationFile
3876
+ include Google::Apis::Core::Hashable
3877
+
3878
+ # Required. The file contents. The max size is 4 MB.
3879
+ # Corresponds to the JSON property `contents`
3880
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3881
+ # @return [String]
3882
+ attr_accessor :contents
3883
+
3884
+ # Required. A display name for the file, shown in the management UI. Max length
3885
+ # is 255 characters.
3886
+ # Corresponds to the JSON property `displayName`
3887
+ # @return [String]
3888
+ attr_accessor :display_name
3889
+
3890
+ def initialize(**args)
3891
+ update!(**args)
3892
+ end
3893
+
3894
+ # Update properties of this object
3895
+ def update!(**args)
3896
+ @contents = args[:contents] if args.key?(:contents)
3897
+ @display_name = args[:display_name] if args.key?(:display_name)
3898
+ end
3899
+ end
3900
+
3605
3901
  # Message to enable a disabled SecurityAction.
3606
3902
  class GoogleCloudApigeeV1EnableSecurityActionRequest
3607
3903
  include Google::Apis::Core::Hashable
@@ -4617,6 +4913,32 @@ module Google
4617
4913
  end
4618
4914
  end
4619
4915
 
4916
+ # GraphQL documentation for a catalog item.
4917
+ class GoogleCloudApigeeV1GraphqlDocumentation
4918
+ include Google::Apis::Core::Hashable
4919
+
4920
+ # Required. The GraphQL endpoint URI to be queried by API consumers. Max length
4921
+ # is 2,083 characters.
4922
+ # Corresponds to the JSON property `endpointUri`
4923
+ # @return [String]
4924
+ attr_accessor :endpoint_uri
4925
+
4926
+ # Documentation file contents for a catalog item.
4927
+ # Corresponds to the JSON property `schema`
4928
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile]
4929
+ attr_accessor :schema
4930
+
4931
+ def initialize(**args)
4932
+ update!(**args)
4933
+ end
4934
+
4935
+ # Update properties of this object
4936
+ def update!(**args)
4937
+ @endpoint_uri = args[:endpoint_uri] if args.key?(:endpoint_uri)
4938
+ @schema = args[:schema] if args.key?(:schema)
4939
+ end
4940
+ end
4941
+
4620
4942
  # Binds the resources in a proxy or remote service with the gRPC operation and
4621
4943
  # its associated quota enforcement.
4622
4944
  class GoogleCloudApigeeV1GrpcOperationConfig
@@ -5188,6 +5510,56 @@ module Google
5188
5510
  end
5189
5511
  end
5190
5512
 
5513
+ #
5514
+ class GoogleCloudApigeeV1ListApiDocsResponse
5515
+ include Google::Apis::Core::Hashable
5516
+
5517
+ # The catalog item resources.
5518
+ # Corresponds to the JSON property `data`
5519
+ # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc>]
5520
+ attr_accessor :data
5521
+
5522
+ # Unique error code for the request, if any.
5523
+ # Corresponds to the JSON property `errorCode`
5524
+ # @return [String]
5525
+ attr_accessor :error_code
5526
+
5527
+ # Description of the operation.
5528
+ # Corresponds to the JSON property `message`
5529
+ # @return [String]
5530
+ attr_accessor :message
5531
+
5532
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
5533
+ # field is omitted, there are no subsequent pages.
5534
+ # Corresponds to the JSON property `nextPageToken`
5535
+ # @return [String]
5536
+ attr_accessor :next_page_token
5537
+
5538
+ # Unique ID of the request.
5539
+ # Corresponds to the JSON property `requestId`
5540
+ # @return [String]
5541
+ attr_accessor :request_id
5542
+
5543
+ # Status of the operation.
5544
+ # Corresponds to the JSON property `status`
5545
+ # @return [String]
5546
+ attr_accessor :status
5547
+
5548
+ def initialize(**args)
5549
+ update!(**args)
5550
+ end
5551
+
5552
+ # Update properties of this object
5553
+ def update!(**args)
5554
+ @data = args[:data] if args.key?(:data)
5555
+ @error_code = args[:error_code] if args.key?(:error_code)
5556
+ @message = args[:message] if args.key?(:message)
5557
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5558
+ @request_id = args[:request_id] if args.key?(:request_id)
5559
+ @status = args[:status] if args.key?(:status)
5560
+ end
5561
+ end
5562
+
5191
5563
  #
5192
5564
  class GoogleCloudApigeeV1ListApiProductsResponse
5193
5565
  include Google::Apis::Core::Hashable
@@ -6182,6 +6554,31 @@ module Google
6182
6554
  end
6183
6555
  end
6184
6556
 
6557
+ # OpenAPI Specification documentation for a catalog item.
6558
+ class GoogleCloudApigeeV1OasDocumentation
6559
+ include Google::Apis::Core::Hashable
6560
+
6561
+ # Output only. The format of the input specification file contents.
6562
+ # Corresponds to the JSON property `format`
6563
+ # @return [String]
6564
+ attr_accessor :format
6565
+
6566
+ # Documentation file contents for a catalog item.
6567
+ # Corresponds to the JSON property `spec`
6568
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile]
6569
+ attr_accessor :spec
6570
+
6571
+ def initialize(**args)
6572
+ update!(**args)
6573
+ end
6574
+
6575
+ # Update properties of this object
6576
+ def update!(**args)
6577
+ @format = args[:format] if args.key?(:format)
6578
+ @spec = args[:spec] if args.key?(:spec)
6579
+ end
6580
+ end
6581
+
6185
6582
  # Represents the pairing of REST resource path and the actions (verbs) allowed
6186
6583
  # on the resource path.
6187
6584
  class GoogleCloudApigeeV1Operation
@@ -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.84.0"
19
+ GEM_VERSION = "0.86.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240220"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,30 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudApigeeV1ApiDoc
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudApigeeV1ApiDocDocumentation
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudApigeeV1ApiDocDocumentationResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudApigeeV1ApiDocResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
127
151
  class GoogleCloudApigeeV1ApiProduct
128
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
153
 
@@ -472,6 +496,12 @@ module Google
472
496
  include Google::Apis::Core::JsonObjectSupport
473
497
  end
474
498
 
499
+ class GoogleCloudApigeeV1DocumentationFile
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
475
505
  class GoogleCloudApigeeV1EnableSecurityActionRequest
476
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
507
 
@@ -616,6 +646,12 @@ module Google
616
646
  include Google::Apis::Core::JsonObjectSupport
617
647
  end
618
648
 
649
+ class GoogleCloudApigeeV1GraphqlDocumentation
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
619
655
  class GoogleCloudApigeeV1GrpcOperationConfig
620
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
657
 
@@ -706,6 +742,12 @@ module Google
706
742
  include Google::Apis::Core::JsonObjectSupport
707
743
  end
708
744
 
745
+ class GoogleCloudApigeeV1ListApiDocsResponse
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
709
751
  class GoogleCloudApigeeV1ListApiProductsResponse
710
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
753
 
@@ -946,6 +988,12 @@ module Google
946
988
  include Google::Apis::Core::JsonObjectSupport
947
989
  end
948
990
 
991
+ class GoogleCloudApigeeV1OasDocumentation
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
949
997
  class GoogleCloudApigeeV1Operation
950
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
951
999
 
@@ -1826,6 +1874,63 @@ module Google
1826
1874
  end
1827
1875
  end
1828
1876
 
1877
+ class GoogleCloudApigeeV1ApiDoc
1878
+ # @private
1879
+ class Representation < Google::Apis::Core::JsonRepresentation
1880
+ property :anon_allowed, as: 'anonAllowed'
1881
+ property :api_product_name, as: 'apiProductName'
1882
+ collection :category_ids, as: 'categoryIds'
1883
+ property :description, as: 'description'
1884
+ property :edge_api_product_name, as: 'edgeAPIProductName'
1885
+ property :graphql_endpoint_url, as: 'graphqlEndpointUrl'
1886
+ property :graphql_schema, as: 'graphqlSchema'
1887
+ property :graphql_schema_display_name, as: 'graphqlSchemaDisplayName'
1888
+ property :id, :numeric_string => true, as: 'id'
1889
+ property :image_url, as: 'imageUrl'
1890
+ property :modified, :numeric_string => true, as: 'modified'
1891
+ property :published, as: 'published'
1892
+ property :require_callback_url, as: 'requireCallbackUrl'
1893
+ property :site_id, as: 'siteId'
1894
+ property :spec_id, as: 'specId'
1895
+ property :title, as: 'title'
1896
+ property :visibility, as: 'visibility'
1897
+ end
1898
+ end
1899
+
1900
+ class GoogleCloudApigeeV1ApiDocDocumentation
1901
+ # @private
1902
+ class Representation < Google::Apis::Core::JsonRepresentation
1903
+ property :graphql_documentation, as: 'graphqlDocumentation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1GraphqlDocumentation::Representation
1904
+
1905
+ property :oas_documentation, as: 'oasDocumentation', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OasDocumentation::Representation
1906
+
1907
+ end
1908
+ end
1909
+
1910
+ class GoogleCloudApigeeV1ApiDocDocumentationResponse
1911
+ # @private
1912
+ class Representation < Google::Apis::Core::JsonRepresentation
1913
+ property :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation::Representation
1914
+
1915
+ property :error_code, as: 'errorCode'
1916
+ property :message, as: 'message'
1917
+ property :request_id, as: 'requestId'
1918
+ property :status, as: 'status'
1919
+ end
1920
+ end
1921
+
1922
+ class GoogleCloudApigeeV1ApiDocResponse
1923
+ # @private
1924
+ class Representation < Google::Apis::Core::JsonRepresentation
1925
+ property :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc::Representation
1926
+
1927
+ property :error_code, as: 'errorCode'
1928
+ property :message, as: 'message'
1929
+ property :request_id, as: 'requestId'
1930
+ property :status, as: 'status'
1931
+ end
1932
+ end
1933
+
1829
1934
  class GoogleCloudApigeeV1ApiProduct
1830
1935
  # @private
1831
1936
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2564,6 +2669,14 @@ module Google
2564
2669
  end
2565
2670
  end
2566
2671
 
2672
+ class GoogleCloudApigeeV1DocumentationFile
2673
+ # @private
2674
+ class Representation < Google::Apis::Core::JsonRepresentation
2675
+ property :contents, :base64 => true, as: 'contents'
2676
+ property :display_name, as: 'displayName'
2677
+ end
2678
+ end
2679
+
2567
2680
  class GoogleCloudApigeeV1EnableSecurityActionRequest
2568
2681
  # @private
2569
2682
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2828,6 +2941,15 @@ module Google
2828
2941
  end
2829
2942
  end
2830
2943
 
2944
+ class GoogleCloudApigeeV1GraphqlDocumentation
2945
+ # @private
2946
+ class Representation < Google::Apis::Core::JsonRepresentation
2947
+ property :endpoint_uri, as: 'endpointUri'
2948
+ property :schema, as: 'schema', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile::Representation
2949
+
2950
+ end
2951
+ end
2952
+
2831
2953
  class GoogleCloudApigeeV1GrpcOperationConfig
2832
2954
  # @private
2833
2955
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2980,6 +3102,19 @@ module Google
2980
3102
  end
2981
3103
  end
2982
3104
 
3105
+ class GoogleCloudApigeeV1ListApiDocsResponse
3106
+ # @private
3107
+ class Representation < Google::Apis::Core::JsonRepresentation
3108
+ collection :data, as: 'data', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc::Representation
3109
+
3110
+ property :error_code, as: 'errorCode'
3111
+ property :message, as: 'message'
3112
+ property :next_page_token, as: 'nextPageToken'
3113
+ property :request_id, as: 'requestId'
3114
+ property :status, as: 'status'
3115
+ end
3116
+ end
3117
+
2983
3118
  class GoogleCloudApigeeV1ListApiProductsResponse
2984
3119
  # @private
2985
3120
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3325,6 +3460,15 @@ module Google
3325
3460
  end
3326
3461
  end
3327
3462
 
3463
+ class GoogleCloudApigeeV1OasDocumentation
3464
+ # @private
3465
+ class Representation < Google::Apis::Core::JsonRepresentation
3466
+ property :format, as: 'format'
3467
+ property :spec, as: 'spec', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DocumentationFile::Representation
3468
+
3469
+ end
3470
+ end
3471
+
3328
3472
  class GoogleCloudApigeeV1Operation
3329
3473
  # @private
3330
3474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11532,6 +11532,244 @@ module Google
11532
11532
  execute_or_queue_command(command, &block)
11533
11533
  end
11534
11534
 
11535
+ # Creates a new catalog item.
11536
+ # @param [String] parent
11537
+ # Required. Name of the portal. Use the following structure in your request: `
11538
+ # organizations/`org`/sites/`site``
11539
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc] google_cloud_apigee_v1_api_doc_object
11540
+ # @param [String] fields
11541
+ # Selector specifying which fields to include in a partial response.
11542
+ # @param [String] quota_user
11543
+ # Available to use for quota purposes for server-side applications. Can be any
11544
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11545
+ # @param [Google::Apis::RequestOptions] options
11546
+ # Request-specific options
11547
+ #
11548
+ # @yield [result, err] Result & error if block supplied
11549
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse] parsed result object
11550
+ # @yieldparam err [StandardError] error object if request failed
11551
+ #
11552
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse]
11553
+ #
11554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11557
+ def create_organization_site_apidoc(parent, google_cloud_apigee_v1_api_doc_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11558
+ command = make_simple_command(:post, 'v1/{+parent}/apidocs', options)
11559
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc::Representation
11560
+ command.request_object = google_cloud_apigee_v1_api_doc_object
11561
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse::Representation
11562
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse
11563
+ command.params['parent'] = parent unless parent.nil?
11564
+ command.query['fields'] = fields unless fields.nil?
11565
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11566
+ execute_or_queue_command(command, &block)
11567
+ end
11568
+
11569
+ # Deletes a catalog item.
11570
+ # @param [String] name
11571
+ # Required. Name of the catalog item. Use the following structure in your
11572
+ # request: `organizations/`org`/sites/`site`/apidocs/`apidoc``
11573
+ # @param [String] fields
11574
+ # Selector specifying which fields to include in a partial response.
11575
+ # @param [String] quota_user
11576
+ # Available to use for quota purposes for server-side applications. Can be any
11577
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11578
+ # @param [Google::Apis::RequestOptions] options
11579
+ # Request-specific options
11580
+ #
11581
+ # @yield [result, err] Result & error if block supplied
11582
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse] parsed result object
11583
+ # @yieldparam err [StandardError] error object if request failed
11584
+ #
11585
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse]
11586
+ #
11587
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11588
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11589
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11590
+ def delete_organization_site_apidoc(name, fields: nil, quota_user: nil, options: nil, &block)
11591
+ command = make_simple_command(:delete, 'v1/{+name}', options)
11592
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse::Representation
11593
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeleteResponse
11594
+ command.params['name'] = name unless name.nil?
11595
+ command.query['fields'] = fields unless fields.nil?
11596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11597
+ execute_or_queue_command(command, &block)
11598
+ end
11599
+
11600
+ # Gets a catalog item.
11601
+ # @param [String] name
11602
+ # Required. Name of the catalog item. Use the following structure in your
11603
+ # request: `organizations/`org`/sites/`site`/apidocs/`apidoc``
11604
+ # @param [String] fields
11605
+ # Selector specifying which fields to include in a partial response.
11606
+ # @param [String] quota_user
11607
+ # Available to use for quota purposes for server-side applications. Can be any
11608
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11609
+ # @param [Google::Apis::RequestOptions] options
11610
+ # Request-specific options
11611
+ #
11612
+ # @yield [result, err] Result & error if block supplied
11613
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse] parsed result object
11614
+ # @yieldparam err [StandardError] error object if request failed
11615
+ #
11616
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse]
11617
+ #
11618
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11619
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11620
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11621
+ def get_organization_site_apidoc(name, fields: nil, quota_user: nil, options: nil, &block)
11622
+ command = make_simple_command(:get, 'v1/{+name}', options)
11623
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse::Representation
11624
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse
11625
+ command.params['name'] = name unless name.nil?
11626
+ command.query['fields'] = fields unless fields.nil?
11627
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11628
+ execute_or_queue_command(command, &block)
11629
+ end
11630
+
11631
+ # Gets the documentation for the specified catalog item.
11632
+ # @param [String] name
11633
+ # Required. Resource name of the catalog item documentation. Use the following
11634
+ # structure in your request: `organizations/`org`/sites/`site`/apidocs/`apidoc`/
11635
+ # documentation`
11636
+ # @param [String] fields
11637
+ # Selector specifying which fields to include in a partial response.
11638
+ # @param [String] quota_user
11639
+ # Available to use for quota purposes for server-side applications. Can be any
11640
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11641
+ # @param [Google::Apis::RequestOptions] options
11642
+ # Request-specific options
11643
+ #
11644
+ # @yield [result, err] Result & error if block supplied
11645
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse] parsed result object
11646
+ # @yieldparam err [StandardError] error object if request failed
11647
+ #
11648
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse]
11649
+ #
11650
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11651
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11652
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11653
+ def get_organization_site_apidoc_documentation(name, fields: nil, quota_user: nil, options: nil, &block)
11654
+ command = make_simple_command(:get, 'v1/{+name}', options)
11655
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse::Representation
11656
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse
11657
+ command.params['name'] = name unless name.nil?
11658
+ command.query['fields'] = fields unless fields.nil?
11659
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11660
+ execute_or_queue_command(command, &block)
11661
+ end
11662
+
11663
+ # Returns the catalog items associated with a portal.
11664
+ # @param [String] parent
11665
+ # Required. Name of the portal. Use the following structure in your request: `
11666
+ # organizations/`org`/sites/`site``
11667
+ # @param [Fixnum] page_size
11668
+ # Optional. The maximum number of items to return. The service may return fewer
11669
+ # than this value. If unspecified, at most 25 books will be returned. The
11670
+ # maximum value is 100; values above 100 will be coerced to 100.
11671
+ # @param [String] page_token
11672
+ # Optional. A page token, received from a previous `ListApiDocs` call. Provide
11673
+ # this to retrieve the subsequent page.
11674
+ # @param [String] fields
11675
+ # Selector specifying which fields to include in a partial response.
11676
+ # @param [String] quota_user
11677
+ # Available to use for quota purposes for server-side applications. Can be any
11678
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11679
+ # @param [Google::Apis::RequestOptions] options
11680
+ # Request-specific options
11681
+ #
11682
+ # @yield [result, err] Result & error if block supplied
11683
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDocsResponse] parsed result object
11684
+ # @yieldparam err [StandardError] error object if request failed
11685
+ #
11686
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDocsResponse]
11687
+ #
11688
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11689
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11690
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11691
+ def list_organization_site_apidocs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11692
+ command = make_simple_command(:get, 'v1/{+parent}/apidocs', options)
11693
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDocsResponse::Representation
11694
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListApiDocsResponse
11695
+ command.params['parent'] = parent unless parent.nil?
11696
+ command.query['pageSize'] = page_size unless page_size.nil?
11697
+ command.query['pageToken'] = page_token unless page_token.nil?
11698
+ command.query['fields'] = fields unless fields.nil?
11699
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11700
+ execute_or_queue_command(command, &block)
11701
+ end
11702
+
11703
+ # Updates a catalog item.
11704
+ # @param [String] name
11705
+ # Required. Name of the catalog item. Use the following structure in your
11706
+ # request: `organizations/`org`/sites/`site`/apidocs/`apidoc``
11707
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc] google_cloud_apigee_v1_api_doc_object
11708
+ # @param [String] fields
11709
+ # Selector specifying which fields to include in a partial response.
11710
+ # @param [String] quota_user
11711
+ # Available to use for quota purposes for server-side applications. Can be any
11712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11713
+ # @param [Google::Apis::RequestOptions] options
11714
+ # Request-specific options
11715
+ #
11716
+ # @yield [result, err] Result & error if block supplied
11717
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse] parsed result object
11718
+ # @yieldparam err [StandardError] error object if request failed
11719
+ #
11720
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse]
11721
+ #
11722
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11723
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11724
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11725
+ def update_organization_site_apidoc(name, google_cloud_apigee_v1_api_doc_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11726
+ command = make_simple_command(:put, 'v1/{+name}', options)
11727
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDoc::Representation
11728
+ command.request_object = google_cloud_apigee_v1_api_doc_object
11729
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse::Representation
11730
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocResponse
11731
+ command.params['name'] = name unless name.nil?
11732
+ command.query['fields'] = fields unless fields.nil?
11733
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11734
+ execute_or_queue_command(command, &block)
11735
+ end
11736
+
11737
+ # Updates the documentation for the specified catalog item. Note that the
11738
+ # documentation file contents will not be populated in the return message.
11739
+ # @param [String] name
11740
+ # Required. Resource name of the catalog item documentation. Use the following
11741
+ # structure in your request: `organizations/`org`/sites/`site`/apidocs/`apidoc`/
11742
+ # documentation`
11743
+ # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation] google_cloud_apigee_v1_api_doc_documentation_object
11744
+ # @param [String] fields
11745
+ # Selector specifying which fields to include in a partial response.
11746
+ # @param [String] quota_user
11747
+ # Available to use for quota purposes for server-side applications. Can be any
11748
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
11749
+ # @param [Google::Apis::RequestOptions] options
11750
+ # Request-specific options
11751
+ #
11752
+ # @yield [result, err] Result & error if block supplied
11753
+ # @yieldparam result [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse] parsed result object
11754
+ # @yieldparam err [StandardError] error object if request failed
11755
+ #
11756
+ # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse]
11757
+ #
11758
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11759
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11760
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
11761
+ def update_organization_site_apidoc_documentation(name, google_cloud_apigee_v1_api_doc_documentation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11762
+ command = make_simple_command(:patch, 'v1/{+name}', options)
11763
+ command.request_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentation::Representation
11764
+ command.request_object = google_cloud_apigee_v1_api_doc_documentation_object
11765
+ command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse::Representation
11766
+ command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiDocDocumentationResponse
11767
+ command.params['name'] = name unless name.nil?
11768
+ command.query['fields'] = fields unless fields.nil?
11769
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
11770
+ execute_or_queue_command(command, &block)
11771
+ end
11772
+
11535
11773
  # Provisions a new Apigee organization with a functioning runtime. This is the
11536
11774
  # standard way to create trial organizations for a free Apigee trial.
11537
11775
  # @param [String] project
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.84.0
4
+ version: 0.86.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apigee_v1/v0.86.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: []