google-apis-cloudbuild_v1 0.20.0 → 0.24.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudbuild_v1/classes.rb +686 -3
- data/lib/google/apis/cloudbuild_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudbuild_v1/representations.rb +318 -0
- data/lib/google/apis/cloudbuild_v1/service.rb +367 -0
- metadata +4 -4
@@ -49,6 +49,44 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# ReceiveRegionalWebhook is called when the API receives a regional GitHub
|
53
|
+
# webhook.
|
54
|
+
# @param [String] location
|
55
|
+
# Required. The location where the webhook should be sent.
|
56
|
+
# @param [Google::Apis::CloudbuildV1::HttpBody] http_body_object
|
57
|
+
# @param [String] webhook_key
|
58
|
+
# For GitHub Enterprise webhooks, this key is used to associate the webhook
|
59
|
+
# request with the GitHubEnterpriseConfig to use for validation.
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::CloudbuildV1::Empty]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def regional_location_webhook(location, http_body_object = nil, webhook_key: nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:post, 'v1/{+location}/regionalWebhook', options)
|
79
|
+
command.request_representation = Google::Apis::CloudbuildV1::HttpBody::Representation
|
80
|
+
command.request_object = http_body_object
|
81
|
+
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
82
|
+
command.response_class = Google::Apis::CloudbuildV1::Empty
|
83
|
+
command.params['location'] = location unless location.nil?
|
84
|
+
command.query['webhookKey'] = webhook_key unless webhook_key.nil?
|
85
|
+
command.query['fields'] = fields unless fields.nil?
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
+
execute_or_queue_command(command, &block)
|
88
|
+
end
|
89
|
+
|
52
90
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
53
91
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
54
92
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -560,6 +598,335 @@ module Google
|
|
560
598
|
execute_or_queue_command(command, &block)
|
561
599
|
end
|
562
600
|
|
601
|
+
# Add a Bitbucket Server repository to a given BitbucketServerConfig's connected
|
602
|
+
# repositories. This API is experimental.
|
603
|
+
# @param [String] config
|
604
|
+
# Required. The name of the `BitbucketServerConfig` to add a connected
|
605
|
+
# repository. Format: `projects/`project`/locations/`location`/
|
606
|
+
# bitbucketServerConfigs/`config``
|
607
|
+
# @param [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest] add_bitbucket_server_connected_repository_request_object
|
608
|
+
# @param [String] fields
|
609
|
+
# Selector specifying which fields to include in a partial response.
|
610
|
+
# @param [String] quota_user
|
611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
613
|
+
# @param [Google::Apis::RequestOptions] options
|
614
|
+
# Request-specific options
|
615
|
+
#
|
616
|
+
# @yield [result, err] Result & error if block supplied
|
617
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse] parsed result object
|
618
|
+
# @yieldparam err [StandardError] error object if request failed
|
619
|
+
#
|
620
|
+
# @return [Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse]
|
621
|
+
#
|
622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
625
|
+
def add_bitbucket_server_config_bitbucket_server_connected_repository(config, add_bitbucket_server_connected_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
626
|
+
command = make_simple_command(:post, 'v1/{+config}:addBitbucketServerConnectedRepository', options)
|
627
|
+
command.request_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryRequest::Representation
|
628
|
+
command.request_object = add_bitbucket_server_connected_repository_request_object
|
629
|
+
command.response_representation = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse::Representation
|
630
|
+
command.response_class = Google::Apis::CloudbuildV1::AddBitbucketServerConnectedRepositoryResponse
|
631
|
+
command.params['config'] = config unless config.nil?
|
632
|
+
command.query['fields'] = fields unless fields.nil?
|
633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
634
|
+
execute_or_queue_command(command, &block)
|
635
|
+
end
|
636
|
+
|
637
|
+
# Creates a new `BitbucketServerConfig`. This API is experimental.
|
638
|
+
# @param [String] parent
|
639
|
+
# Required. Name of the parent resource.
|
640
|
+
# @param [Google::Apis::CloudbuildV1::BitbucketServerConfig] bitbucket_server_config_object
|
641
|
+
# @param [String] bitbucket_server_config_id
|
642
|
+
# Optional. The ID to use for the BitbucketServerConfig, which will become the
|
643
|
+
# final component of the BitbucketServerConfig's resource name.
|
644
|
+
# bitbucket_server_config_id must meet the following requirements: + They must
|
645
|
+
# contain only alphanumeric characters and dashes. + They can be 1-64 characters
|
646
|
+
# long. + They must begin and end with an alphanumeric character.
|
647
|
+
# @param [String] fields
|
648
|
+
# Selector specifying which fields to include in a partial response.
|
649
|
+
# @param [String] quota_user
|
650
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
651
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
652
|
+
# @param [Google::Apis::RequestOptions] options
|
653
|
+
# Request-specific options
|
654
|
+
#
|
655
|
+
# @yield [result, err] Result & error if block supplied
|
656
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
657
|
+
# @yieldparam err [StandardError] error object if request failed
|
658
|
+
#
|
659
|
+
# @return [Google::Apis::CloudbuildV1::Operation]
|
660
|
+
#
|
661
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
662
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
663
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
664
|
+
def create_project_location_bitbucket_server_config(parent, bitbucket_server_config_object = nil, bitbucket_server_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
665
|
+
command = make_simple_command(:post, 'v1/{+parent}/bitbucketServerConfigs', options)
|
666
|
+
command.request_representation = Google::Apis::CloudbuildV1::BitbucketServerConfig::Representation
|
667
|
+
command.request_object = bitbucket_server_config_object
|
668
|
+
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
669
|
+
command.response_class = Google::Apis::CloudbuildV1::Operation
|
670
|
+
command.params['parent'] = parent unless parent.nil?
|
671
|
+
command.query['bitbucketServerConfigId'] = bitbucket_server_config_id unless bitbucket_server_config_id.nil?
|
672
|
+
command.query['fields'] = fields unless fields.nil?
|
673
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
674
|
+
execute_or_queue_command(command, &block)
|
675
|
+
end
|
676
|
+
|
677
|
+
# Delete a `BitbucketServerConfig`. This API is experimental.
|
678
|
+
# @param [String] name
|
679
|
+
# Required. The config resource name.
|
680
|
+
# @param [String] fields
|
681
|
+
# Selector specifying which fields to include in a partial response.
|
682
|
+
# @param [String] quota_user
|
683
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
684
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
685
|
+
# @param [Google::Apis::RequestOptions] options
|
686
|
+
# Request-specific options
|
687
|
+
#
|
688
|
+
# @yield [result, err] Result & error if block supplied
|
689
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
690
|
+
# @yieldparam err [StandardError] error object if request failed
|
691
|
+
#
|
692
|
+
# @return [Google::Apis::CloudbuildV1::Operation]
|
693
|
+
#
|
694
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
695
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
696
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
697
|
+
def delete_project_location_bitbucket_server_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
698
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
699
|
+
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
700
|
+
command.response_class = Google::Apis::CloudbuildV1::Operation
|
701
|
+
command.params['name'] = name unless name.nil?
|
702
|
+
command.query['fields'] = fields unless fields.nil?
|
703
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
704
|
+
execute_or_queue_command(command, &block)
|
705
|
+
end
|
706
|
+
|
707
|
+
# Retrieve a `BitbucketServerConfig`. This API is experimental.
|
708
|
+
# @param [String] name
|
709
|
+
# Required. The config resource name.
|
710
|
+
# @param [String] fields
|
711
|
+
# Selector specifying which fields to include in a partial response.
|
712
|
+
# @param [String] quota_user
|
713
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
714
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
715
|
+
# @param [Google::Apis::RequestOptions] options
|
716
|
+
# Request-specific options
|
717
|
+
#
|
718
|
+
# @yield [result, err] Result & error if block supplied
|
719
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::BitbucketServerConfig] parsed result object
|
720
|
+
# @yieldparam err [StandardError] error object if request failed
|
721
|
+
#
|
722
|
+
# @return [Google::Apis::CloudbuildV1::BitbucketServerConfig]
|
723
|
+
#
|
724
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
725
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
726
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
727
|
+
def get_project_location_bitbucket_server_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
728
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
729
|
+
command.response_representation = Google::Apis::CloudbuildV1::BitbucketServerConfig::Representation
|
730
|
+
command.response_class = Google::Apis::CloudbuildV1::BitbucketServerConfig
|
731
|
+
command.params['name'] = name unless name.nil?
|
732
|
+
command.query['fields'] = fields unless fields.nil?
|
733
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
734
|
+
execute_or_queue_command(command, &block)
|
735
|
+
end
|
736
|
+
|
737
|
+
# List all `BitbucketServerConfigs` for a given project. This API is
|
738
|
+
# experimental.
|
739
|
+
# @param [String] parent
|
740
|
+
# Required. Name of the parent resource.
|
741
|
+
# @param [Fixnum] page_size
|
742
|
+
# The maximum number of configs to return. The service may return fewer than
|
743
|
+
# this value. If unspecified, at most 50 configs will be returned. The maximum
|
744
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
745
|
+
# @param [String] page_token
|
746
|
+
# A page token, received from a previous `ListBitbucketServerConfigsRequest`
|
747
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
748
|
+
# parameters provided to `ListBitbucketServerConfigsRequest` must match the call
|
749
|
+
# that provided the page token.
|
750
|
+
# @param [String] fields
|
751
|
+
# Selector specifying which fields to include in a partial response.
|
752
|
+
# @param [String] quota_user
|
753
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
754
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
755
|
+
# @param [Google::Apis::RequestOptions] options
|
756
|
+
# Request-specific options
|
757
|
+
#
|
758
|
+
# @yield [result, err] Result & error if block supplied
|
759
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::ListBitbucketServerConfigsResponse] parsed result object
|
760
|
+
# @yieldparam err [StandardError] error object if request failed
|
761
|
+
#
|
762
|
+
# @return [Google::Apis::CloudbuildV1::ListBitbucketServerConfigsResponse]
|
763
|
+
#
|
764
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
765
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
766
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
767
|
+
def list_project_location_bitbucket_server_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
768
|
+
command = make_simple_command(:get, 'v1/{+parent}/bitbucketServerConfigs', options)
|
769
|
+
command.response_representation = Google::Apis::CloudbuildV1::ListBitbucketServerConfigsResponse::Representation
|
770
|
+
command.response_class = Google::Apis::CloudbuildV1::ListBitbucketServerConfigsResponse
|
771
|
+
command.params['parent'] = parent unless parent.nil?
|
772
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
773
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
774
|
+
command.query['fields'] = fields unless fields.nil?
|
775
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
776
|
+
execute_or_queue_command(command, &block)
|
777
|
+
end
|
778
|
+
|
779
|
+
# Updates an existing `BitbucketServerConfig`. This API is experimental.
|
780
|
+
# @param [String] name
|
781
|
+
# The resource name for the config.
|
782
|
+
# @param [Google::Apis::CloudbuildV1::BitbucketServerConfig] bitbucket_server_config_object
|
783
|
+
# @param [String] update_mask
|
784
|
+
# Update mask for the resource. If this is set, the server will only update the
|
785
|
+
# fields specified in the field mask. Otherwise, a full update of the mutable
|
786
|
+
# resource fields will be performed.
|
787
|
+
# @param [String] fields
|
788
|
+
# Selector specifying which fields to include in a partial response.
|
789
|
+
# @param [String] quota_user
|
790
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
791
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
792
|
+
# @param [Google::Apis::RequestOptions] options
|
793
|
+
# Request-specific options
|
794
|
+
#
|
795
|
+
# @yield [result, err] Result & error if block supplied
|
796
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
797
|
+
# @yieldparam err [StandardError] error object if request failed
|
798
|
+
#
|
799
|
+
# @return [Google::Apis::CloudbuildV1::Operation]
|
800
|
+
#
|
801
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
802
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
|
+
def patch_project_location_bitbucket_server_config(name, bitbucket_server_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
805
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
806
|
+
command.request_representation = Google::Apis::CloudbuildV1::BitbucketServerConfig::Representation
|
807
|
+
command.request_object = bitbucket_server_config_object
|
808
|
+
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
809
|
+
command.response_class = Google::Apis::CloudbuildV1::Operation
|
810
|
+
command.params['name'] = name unless name.nil?
|
811
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
812
|
+
command.query['fields'] = fields unless fields.nil?
|
813
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
814
|
+
execute_or_queue_command(command, &block)
|
815
|
+
end
|
816
|
+
|
817
|
+
# Remove a Bitbucket Server repository from an given BitbucketServerConfig’s
|
818
|
+
# connected repositories. This API is experimental.
|
819
|
+
# @param [String] config
|
820
|
+
# Required. The name of the `BitbucketServerConfig` to remove a connected
|
821
|
+
# repository. Format: `projects/`project`/locations/`location`/
|
822
|
+
# bitbucketServerConfigs/`config``
|
823
|
+
# @param [Google::Apis::CloudbuildV1::RemoveBitbucketServerConnectedRepositoryRequest] remove_bitbucket_server_connected_repository_request_object
|
824
|
+
# @param [String] fields
|
825
|
+
# Selector specifying which fields to include in a partial response.
|
826
|
+
# @param [String] quota_user
|
827
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
828
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
829
|
+
# @param [Google::Apis::RequestOptions] options
|
830
|
+
# Request-specific options
|
831
|
+
#
|
832
|
+
# @yield [result, err] Result & error if block supplied
|
833
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
|
834
|
+
# @yieldparam err [StandardError] error object if request failed
|
835
|
+
#
|
836
|
+
# @return [Google::Apis::CloudbuildV1::Empty]
|
837
|
+
#
|
838
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
839
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
840
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
841
|
+
def remove_bitbucket_server_config_bitbucket_server_connected_repository(config, remove_bitbucket_server_connected_repository_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
842
|
+
command = make_simple_command(:post, 'v1/{+config}:removeBitbucketServerConnectedRepository', options)
|
843
|
+
command.request_representation = Google::Apis::CloudbuildV1::RemoveBitbucketServerConnectedRepositoryRequest::Representation
|
844
|
+
command.request_object = remove_bitbucket_server_connected_repository_request_object
|
845
|
+
command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
|
846
|
+
command.response_class = Google::Apis::CloudbuildV1::Empty
|
847
|
+
command.params['config'] = config unless config.nil?
|
848
|
+
command.query['fields'] = fields unless fields.nil?
|
849
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
850
|
+
execute_or_queue_command(command, &block)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Batch connecting Bitbucket Server repositories to Cloud Build.
|
854
|
+
# @param [String] parent
|
855
|
+
# The name of the `BitbucketServerConfig` that added connected repository.
|
856
|
+
# Format: `projects/`project`/locations/`location`/bitbucketServerConfigs/`
|
857
|
+
# config``
|
858
|
+
# @param [Google::Apis::CloudbuildV1::BatchCreateBitbucketServerConnectedRepositoriesRequest] batch_create_bitbucket_server_connected_repositories_request_object
|
859
|
+
# @param [String] fields
|
860
|
+
# Selector specifying which fields to include in a partial response.
|
861
|
+
# @param [String] quota_user
|
862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
864
|
+
# @param [Google::Apis::RequestOptions] options
|
865
|
+
# Request-specific options
|
866
|
+
#
|
867
|
+
# @yield [result, err] Result & error if block supplied
|
868
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
|
869
|
+
# @yieldparam err [StandardError] error object if request failed
|
870
|
+
#
|
871
|
+
# @return [Google::Apis::CloudbuildV1::Operation]
|
872
|
+
#
|
873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
|
+
def batch_connected_repository_create_bitbucket_server_connected_repositories(parent, batch_create_bitbucket_server_connected_repositories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
+
command = make_simple_command(:post, 'v1/{+parent}/connectedRepositories:batchCreate', options)
|
878
|
+
command.request_representation = Google::Apis::CloudbuildV1::BatchCreateBitbucketServerConnectedRepositoriesRequest::Representation
|
879
|
+
command.request_object = batch_create_bitbucket_server_connected_repositories_request_object
|
880
|
+
command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
|
881
|
+
command.response_class = Google::Apis::CloudbuildV1::Operation
|
882
|
+
command.params['parent'] = parent unless parent.nil?
|
883
|
+
command.query['fields'] = fields unless fields.nil?
|
884
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
885
|
+
execute_or_queue_command(command, &block)
|
886
|
+
end
|
887
|
+
|
888
|
+
# List all repositories for a given `BitbucketServerConfig`. This API is
|
889
|
+
# experimental.
|
890
|
+
# @param [String] parent
|
891
|
+
# Required. Name of the parent resource.
|
892
|
+
# @param [Fixnum] page_size
|
893
|
+
# The maximum number of configs to return. The service may return fewer than
|
894
|
+
# this value. If unspecified, at most 50 configs will be returned. The maximum
|
895
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
896
|
+
# @param [String] page_token
|
897
|
+
# A page token, received from a previous `ListBitbucketServerRepositoriesRequest`
|
898
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all
|
899
|
+
# other parameters provided to `ListBitbucketServerConfigsRequest` must match
|
900
|
+
# the call that provided the page token.
|
901
|
+
# @param [String] fields
|
902
|
+
# Selector specifying which fields to include in a partial response.
|
903
|
+
# @param [String] quota_user
|
904
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
905
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
906
|
+
# @param [Google::Apis::RequestOptions] options
|
907
|
+
# Request-specific options
|
908
|
+
#
|
909
|
+
# @yield [result, err] Result & error if block supplied
|
910
|
+
# @yieldparam result [Google::Apis::CloudbuildV1::ListBitbucketServerRepositoriesResponse] parsed result object
|
911
|
+
# @yieldparam err [StandardError] error object if request failed
|
912
|
+
#
|
913
|
+
# @return [Google::Apis::CloudbuildV1::ListBitbucketServerRepositoriesResponse]
|
914
|
+
#
|
915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
918
|
+
def list_project_location_bitbucket_server_config_repos(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
919
|
+
command = make_simple_command(:get, 'v1/{+parent}/repos', options)
|
920
|
+
command.response_representation = Google::Apis::CloudbuildV1::ListBitbucketServerRepositoriesResponse::Representation
|
921
|
+
command.response_class = Google::Apis::CloudbuildV1::ListBitbucketServerRepositoriesResponse
|
922
|
+
command.params['parent'] = parent unless parent.nil?
|
923
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
924
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
925
|
+
command.query['fields'] = fields unless fields.nil?
|
926
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
927
|
+
execute_or_queue_command(command, &block)
|
928
|
+
end
|
929
|
+
|
563
930
|
# Approves or rejects a pending build. If approved, the returned LRO will be
|
564
931
|
# analogous to the LRO returned from a CreateBuild call. If rejected, the
|
565
932
|
# returned LRO will be immediately done.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.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:
|
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-cloudbuild_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.24.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Build API V1
|