@@ -1644,6 +1644,223 @@ def patch_project_location_application(projects_id, locations_id, applications_i
1644
1644
execute_or_queue_command ( command , &block )
1645
1645
end
1646
1646
1647
+ # Uploads the specified SSL certificate.
1648
+ # @param [String] projects_id
1649
+ # Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
1650
+ # @param [String] locations_id
1651
+ # Part of `parent`. See documentation of `projectsId`.
1652
+ # @param [String] applications_id
1653
+ # Part of `parent`. See documentation of `projectsId`.
1654
+ # @param [Google::Apis::AppengineV1::AuthorizedCertificate] authorized_certificate_object
1655
+ # @param [String] fields
1656
+ # Selector specifying which fields to include in a partial response.
1657
+ # @param [String] quota_user
1658
+ # Available to use for quota purposes for server-side applications. Can be any
1659
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1660
+ # @param [Google::Apis::RequestOptions] options
1661
+ # Request-specific options
1662
+ #
1663
+ # @yield [result, err] Result & error if block supplied
1664
+ # @yieldparam result [Google::Apis::AppengineV1::AuthorizedCertificate] parsed result object
1665
+ # @yieldparam err [StandardError] error object if request failed
1666
+ #
1667
+ # @return [Google::Apis::AppengineV1::AuthorizedCertificate]
1668
+ #
1669
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1670
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1671
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1672
+ def create_project_location_application_authorized_certificate ( projects_id , locations_id , applications_id , authorized_certificate_object = nil , fields : nil , quota_user : nil , options : nil , &block )
1673
+ command = make_simple_command ( :post , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates' , options )
1674
+ command . request_representation = Google ::Apis ::AppengineV1 ::AuthorizedCertificate ::Representation
1675
+ command . request_object = authorized_certificate_object
1676
+ command . response_representation = Google ::Apis ::AppengineV1 ::AuthorizedCertificate ::Representation
1677
+ command . response_class = Google ::Apis ::AppengineV1 ::AuthorizedCertificate
1678
+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1679
+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1680
+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1681
+ command . query [ 'fields' ] = fields unless fields . nil?
1682
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1683
+ execute_or_queue_command ( command , &block )
1684
+ end
1685
+
1686
+ # Deletes the specified SSL certificate.
1687
+ # @param [String] projects_id
1688
+ # Part of `name`. Name of the resource to delete. Example: apps/myapp/
1689
+ # authorizedCertificates/12345.
1690
+ # @param [String] locations_id
1691
+ # Part of `name`. See documentation of `projectsId`.
1692
+ # @param [String] applications_id
1693
+ # Part of `name`. See documentation of `projectsId`.
1694
+ # @param [String] authorized_certificates_id
1695
+ # Part of `name`. See documentation of `projectsId`.
1696
+ # @param [String] fields
1697
+ # Selector specifying which fields to include in a partial response.
1698
+ # @param [String] quota_user
1699
+ # Available to use for quota purposes for server-side applications. Can be any
1700
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1701
+ # @param [Google::Apis::RequestOptions] options
1702
+ # Request-specific options
1703
+ #
1704
+ # @yield [result, err] Result & error if block supplied
1705
+ # @yieldparam result [Google::Apis::AppengineV1::Empty] parsed result object
1706
+ # @yieldparam err [StandardError] error object if request failed
1707
+ #
1708
+ # @return [Google::Apis::AppengineV1::Empty]
1709
+ #
1710
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1711
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1712
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1713
+ def delete_project_location_application_authorized_certificate ( projects_id , locations_id , applications_id , authorized_certificates_id , fields : nil , quota_user : nil , options : nil , &block )
1714
+ command = make_simple_command ( :delete , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}' , options )
1715
+ command . response_representation = Google ::Apis ::AppengineV1 ::Empty ::Representation
1716
+ command . response_class = Google ::Apis ::AppengineV1 ::Empty
1717
+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1718
+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1719
+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1720
+ command . params [ 'authorizedCertificatesId' ] = authorized_certificates_id unless authorized_certificates_id . nil?
1721
+ command . query [ 'fields' ] = fields unless fields . nil?
1722
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1723
+ execute_or_queue_command ( command , &block )
1724
+ end
1725
+
1726
+ # Gets the specified SSL certificate.
1727
+ # @param [String] projects_id
1728
+ # Part of `name`. Name of the resource requested. Example: apps/myapp/
1729
+ # authorizedCertificates/12345.
1730
+ # @param [String] locations_id
1731
+ # Part of `name`. See documentation of `projectsId`.
1732
+ # @param [String] applications_id
1733
+ # Part of `name`. See documentation of `projectsId`.
1734
+ # @param [String] authorized_certificates_id
1735
+ # Part of `name`. See documentation of `projectsId`.
1736
+ # @param [String] view
1737
+ # Controls the set of fields returned in the GET response.
1738
+ # @param [String] fields
1739
+ # Selector specifying which fields to include in a partial response.
1740
+ # @param [String] quota_user
1741
+ # Available to use for quota purposes for server-side applications. Can be any
1742
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1743
+ # @param [Google::Apis::RequestOptions] options
1744
+ # Request-specific options
1745
+ #
1746
+ # @yield [result, err] Result & error if block supplied
1747
+ # @yieldparam result [Google::Apis::AppengineV1::AuthorizedCertificate] parsed result object
1748
+ # @yieldparam err [StandardError] error object if request failed
1749
+ #
1750
+ # @return [Google::Apis::AppengineV1::AuthorizedCertificate]
1751
+ #
1752
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1753
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1754
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1755
+ def get_project_location_application_authorized_certificate ( projects_id , locations_id , applications_id , authorized_certificates_id , view : nil , fields : nil , quota_user : nil , options : nil , &block )
1756
+ command = make_simple_command ( :get , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}' , options )
1757
+ command . response_representation = Google ::Apis ::AppengineV1 ::AuthorizedCertificate ::Representation
1758
+ command . response_class = Google ::Apis ::AppengineV1 ::AuthorizedCertificate
1759
+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1760
+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1761
+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1762
+ command . params [ 'authorizedCertificatesId' ] = authorized_certificates_id unless authorized_certificates_id . nil?
1763
+ command . query [ 'view' ] = view unless view . nil?
1764
+ command . query [ 'fields' ] = fields unless fields . nil?
1765
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1766
+ execute_or_queue_command ( command , &block )
1767
+ end
1768
+
1769
+ # Lists all SSL certificates the user is authorized to administer.
1770
+ # @param [String] projects_id
1771
+ # Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
1772
+ # @param [String] locations_id
1773
+ # Part of `parent`. See documentation of `projectsId`.
1774
+ # @param [String] applications_id
1775
+ # Part of `parent`. See documentation of `projectsId`.
1776
+ # @param [Fixnum] page_size
1777
+ # Maximum results to return per page.
1778
+ # @param [String] page_token
1779
+ # Continuation token for fetching the next page of results.
1780
+ # @param [String] view
1781
+ # Controls the set of fields returned in the LIST response.
1782
+ # @param [String] fields
1783
+ # Selector specifying which fields to include in a partial response.
1784
+ # @param [String] quota_user
1785
+ # Available to use for quota purposes for server-side applications. Can be any
1786
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1787
+ # @param [Google::Apis::RequestOptions] options
1788
+ # Request-specific options
1789
+ #
1790
+ # @yield [result, err] Result & error if block supplied
1791
+ # @yieldparam result [Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse] parsed result object
1792
+ # @yieldparam err [StandardError] error object if request failed
1793
+ #
1794
+ # @return [Google::Apis::AppengineV1::ListAuthorizedCertificatesResponse]
1795
+ #
1796
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1797
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1798
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1799
+ def list_project_location_application_authorized_certificates ( projects_id , locations_id , applications_id , page_size : nil , page_token : nil , view : nil , fields : nil , quota_user : nil , options : nil , &block )
1800
+ command = make_simple_command ( :get , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates' , options )
1801
+ command . response_representation = Google ::Apis ::AppengineV1 ::ListAuthorizedCertificatesResponse ::Representation
1802
+ command . response_class = Google ::Apis ::AppengineV1 ::ListAuthorizedCertificatesResponse
1803
+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1804
+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1805
+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1806
+ command . query [ 'pageSize' ] = page_size unless page_size . nil?
1807
+ command . query [ 'pageToken' ] = page_token unless page_token . nil?
1808
+ command . query [ 'view' ] = view unless view . nil?
1809
+ command . query [ 'fields' ] = fields unless fields . nil?
1810
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1811
+ execute_or_queue_command ( command , &block )
1812
+ end
1813
+
1814
+ # Updates the specified SSL certificate. To renew a certificate and maintain its
1815
+ # existing domain mappings, update certificate_data with a new certificate. The
1816
+ # new certificate must be applicable to the same domains as the original
1817
+ # certificate. The certificate display_name may also be updated.
1818
+ # @param [String] projects_id
1819
+ # Part of `name`. Name of the resource to update. Example: apps/myapp/
1820
+ # authorizedCertificates/12345.
1821
+ # @param [String] locations_id
1822
+ # Part of `name`. See documentation of `projectsId`.
1823
+ # @param [String] applications_id
1824
+ # Part of `name`. See documentation of `projectsId`.
1825
+ # @param [String] authorized_certificates_id
1826
+ # Part of `name`. See documentation of `projectsId`.
1827
+ # @param [Google::Apis::AppengineV1::AuthorizedCertificate] authorized_certificate_object
1828
+ # @param [String] update_mask
1829
+ # Standard field mask for the set of fields to be updated. Updates are only
1830
+ # supported on the certificate_raw_data and display_name fields.
1831
+ # @param [String] fields
1832
+ # Selector specifying which fields to include in a partial response.
1833
+ # @param [String] quota_user
1834
+ # Available to use for quota purposes for server-side applications. Can be any
1835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1836
+ # @param [Google::Apis::RequestOptions] options
1837
+ # Request-specific options
1838
+ #
1839
+ # @yield [result, err] Result & error if block supplied
1840
+ # @yieldparam result [Google::Apis::AppengineV1::AuthorizedCertificate] parsed result object
1841
+ # @yieldparam err [StandardError] error object if request failed
1842
+ #
1843
+ # @return [Google::Apis::AppengineV1::AuthorizedCertificate]
1844
+ #
1845
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1846
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1847
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1848
+ def patch_project_location_application_authorized_certificate ( projects_id , locations_id , applications_id , authorized_certificates_id , authorized_certificate_object = nil , update_mask : nil , fields : nil , quota_user : nil , options : nil , &block )
1849
+ command = make_simple_command ( :patch , 'v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}' , options )
1850
+ command . request_representation = Google ::Apis ::AppengineV1 ::AuthorizedCertificate ::Representation
1851
+ command . request_object = authorized_certificate_object
1852
+ command . response_representation = Google ::Apis ::AppengineV1 ::AuthorizedCertificate ::Representation
1853
+ command . response_class = Google ::Apis ::AppengineV1 ::AuthorizedCertificate
1854
+ command . params [ 'projectsId' ] = projects_id unless projects_id . nil?
1855
+ command . params [ 'locationsId' ] = locations_id unless locations_id . nil?
1856
+ command . params [ 'applicationsId' ] = applications_id unless applications_id . nil?
1857
+ command . params [ 'authorizedCertificatesId' ] = authorized_certificates_id unless authorized_certificates_id . nil?
1858
+ command . query [ 'updateMask' ] = update_mask unless update_mask . nil?
1859
+ command . query [ 'fields' ] = fields unless fields . nil?
1860
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1861
+ execute_or_queue_command ( command , &block )
1862
+ end
1863
+
1647
1864
# Lists all domains the user is authorized to administer.
1648
1865
# @param [String] projects_id
1649
1866
# Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
0 commit comments