google-cloud-video-live_stream-v1 0.5.1 → 0.7.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/lib/google/cloud/video/live_stream/v1/livestream_service/client.rb +662 -1
- data/lib/google/cloud/video/live_stream/v1/livestream_service/operations.rb +10 -1
- data/lib/google/cloud/video/live_stream/v1/livestream_service/paths.rb +55 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/client.rb +933 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/operations.rb +75 -0
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/service_stub.rb +356 -0
- data/lib/google/cloud/video/live_stream/v1/version.rb +1 -1
- data/lib/google/cloud/video/livestream/v1/resources_pb.rb +8 -1
- data/lib/google/cloud/video/livestream/v1/service_pb.rb +9 -2
- data/lib/google/cloud/video/livestream/v1/service_services_pb.rb +13 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/video/livestream/v1/resources.rb +163 -5
- data/proto_docs/google/cloud/video/livestream/v1/service.rb +149 -0
- metadata +5 -5
| @@ -94,7 +94,8 @@ module Google | |
| 94 94 | 
             
                              credentials:  credentials,
         | 
| 95 95 | 
             
                              endpoint:     @config.endpoint,
         | 
| 96 96 | 
             
                              channel_args: @config.channel_args,
         | 
| 97 | 
            -
                              interceptors: @config.interceptors
         | 
| 97 | 
            +
                              interceptors: @config.interceptors,
         | 
| 98 | 
            +
                              channel_pool_config: @config.channel_pool
         | 
| 98 99 | 
             
                            )
         | 
| 99 100 |  | 
| 100 101 | 
             
                            # Used by an LRO wrapper for some methods of this service
         | 
| @@ -702,6 +703,14 @@ module Google | |
| 702 703 | 
             
                              end
         | 
| 703 704 | 
             
                            end
         | 
| 704 705 |  | 
| 706 | 
            +
                            ##
         | 
| 707 | 
            +
                            # Configuration for the channel pool
         | 
| 708 | 
            +
                            # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 709 | 
            +
                            #
         | 
| 710 | 
            +
                            def channel_pool
         | 
| 711 | 
            +
                              @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 712 | 
            +
                            end
         | 
| 713 | 
            +
             | 
| 705 714 | 
             
                            ##
         | 
| 706 715 | 
             
                            # Configuration RPC class for the Operations API.
         | 
| 707 716 | 
             
                            #
         | 
| @@ -25,6 +25,25 @@ module Google | |
| 25 25 | 
             
                      module LivestreamService
         | 
| 26 26 | 
             
                        # Path helper methods for the LivestreamService API.
         | 
| 27 27 | 
             
                        module Paths
         | 
| 28 | 
            +
                          ##
         | 
| 29 | 
            +
                          # Create a fully-qualified Asset resource string.
         | 
| 30 | 
            +
                          #
         | 
| 31 | 
            +
                          # The resource will be in the following format:
         | 
| 32 | 
            +
                          #
         | 
| 33 | 
            +
                          # `projects/{project}/locations/{location}/assets/{asset}`
         | 
| 34 | 
            +
                          #
         | 
| 35 | 
            +
                          # @param project [String]
         | 
| 36 | 
            +
                          # @param location [String]
         | 
| 37 | 
            +
                          # @param asset [String]
         | 
| 38 | 
            +
                          #
         | 
| 39 | 
            +
                          # @return [::String]
         | 
| 40 | 
            +
                          def asset_path project:, location:, asset:
         | 
| 41 | 
            +
                            raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         | 
| 42 | 
            +
                            raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                            "projects/#{project}/locations/#{location}/assets/#{asset}"
         | 
| 45 | 
            +
                          end
         | 
| 46 | 
            +
             | 
| 28 47 | 
             
                          ##
         | 
| 29 48 | 
             
                          # Create a fully-qualified Channel resource string.
         | 
| 30 49 | 
             
                          #
         | 
| @@ -101,6 +120,42 @@ module Google | |
| 101 120 | 
             
                            "projects/#{project}/locations/#{location}"
         | 
| 102 121 | 
             
                          end
         | 
| 103 122 |  | 
| 123 | 
            +
                          ##
         | 
| 124 | 
            +
                          # Create a fully-qualified Network resource string.
         | 
| 125 | 
            +
                          #
         | 
| 126 | 
            +
                          # The resource will be in the following format:
         | 
| 127 | 
            +
                          #
         | 
| 128 | 
            +
                          # `projects/{project}/global/networks/{network}`
         | 
| 129 | 
            +
                          #
         | 
| 130 | 
            +
                          # @param project [String]
         | 
| 131 | 
            +
                          # @param network [String]
         | 
| 132 | 
            +
                          #
         | 
| 133 | 
            +
                          # @return [::String]
         | 
| 134 | 
            +
                          def network_path project:, network:
         | 
| 135 | 
            +
                            raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         | 
| 136 | 
            +
             | 
| 137 | 
            +
                            "projects/#{project}/global/networks/#{network}"
         | 
| 138 | 
            +
                          end
         | 
| 139 | 
            +
             | 
| 140 | 
            +
                          ##
         | 
| 141 | 
            +
                          # Create a fully-qualified Pool resource string.
         | 
| 142 | 
            +
                          #
         | 
| 143 | 
            +
                          # The resource will be in the following format:
         | 
| 144 | 
            +
                          #
         | 
| 145 | 
            +
                          # `projects/{project}/locations/{location}/pools/{pool}`
         | 
| 146 | 
            +
                          #
         | 
| 147 | 
            +
                          # @param project [String]
         | 
| 148 | 
            +
                          # @param location [String]
         | 
| 149 | 
            +
                          # @param pool [String]
         | 
| 150 | 
            +
                          #
         | 
| 151 | 
            +
                          # @return [::String]
         | 
| 152 | 
            +
                          def pool_path project:, location:, pool:
         | 
| 153 | 
            +
                            raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         | 
| 154 | 
            +
                            raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
         | 
| 155 | 
            +
             | 
| 156 | 
            +
                            "projects/#{project}/locations/#{location}/pools/#{pool}"
         | 
| 157 | 
            +
                          end
         | 
| 158 | 
            +
             | 
| 104 159 | 
             
                          ##
         | 
| 105 160 | 
             
                          # Create a fully-qualified SecretVersion resource string.
         | 
| 106 161 | 
             
                          #
         |