gapic-generator/lib/gapic/presenters/method_rest_presenter.rb
##
# Whether the REGAPIC method should be rendered as LRO
# [TODO (virost, 2021-08) Update this when DiReGapic LRO annotations are added to the Compute protos]
#
# @return [Boolean]
#
Whether the REGAPIC method should be rendered as LRO
[TODO (virost, 2021-08) Update this when DiReGapic LRO annotations are added to the Compute protos]
Whether the REGAPIC method should be rendered as LRO [ TODO ( virost 2021 - 08 ) Update this when DiReGapic LRO annotations are added to the Compute protos ]
def lro?
        return_type == "::Google::Cloud::Compute::V1::Operation" &&
          @main_method.service.name != "ZoneOperations" &&
          @main_method.service.name != "RegionOperations" &&
          @main_method.service.name != "GlobalOperations" &&
          @main_method.service.name != "GlobalOrganizationOperations"
      end
def lro? return_type == "::Google::Cloud::Compute::V1::Operation" && @main_method . service . name != "ZoneOperations" && @main_method . service . name != "RegionOperations" && @main_method . service . name != "GlobalOperations" && @main_method . service . name != "GlobalOrganizationOperations" end
Whether the REGAPIC method should be rendered as LRO
[TODO (virost, 2021-08) Update this when DiReGapic LRO annotations are added to the Compute protos]
Whether the REGAPIC method should be rendered as LRO [ TODO ( virost 2021 - 08 ) Update this when DiReGapic LRO annotations are added to the Compute protos ]
None
Boolean